/* Single Post Page */
.single-post-page {
    padding: 40px 0;
}

.single-post-page .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.breadcrumb {
    grid-column: 1 / -1;
    padding: 15px 0;
    color: #64748B;
    font-size: 14px;
}

.breadcrumb a {
    color: #64748B;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.single-post-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.post-header h1 {
    font-size: 32px;
    color: var(--secondary-color);
    margin: 15px 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.post-meta img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #E2E8F0;
}

.post-share a, .post-share button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: var(--white);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.post-share a:nth-child(2) { background: #3B5998; }
.post-share a:nth-child(3) { background: #1DA1F2; }
.post-share a:nth-child(4) { background: #25D366; }
.post-share a:nth-child(5) { background: #0077B5; }
.post-share button { background: var(--text-color); padding: 0 15px; width: auto; }

.post-featured-image {
    margin: 30px 0;
}

.post-featured-image img {
    width: 100%;
    border-radius: 10px;
}

.post-body {
    margin: 30px 0;
    line-height: 1.8;
    font-size: 16px;
}

.post-body h2 {
    margin: 25px 0 15px;
    color: var(--secondary-color);
}

.post-body p {
    margin-bottom: 15px;
}

.post-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #E2E8F0;
}

.post-tags a {
    display: inline-block;
    background: var(--light-bg);
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid #E2E8F0;
}

.post-navigation a {
    text-decoration: none;
    color: var(--text-color);
    padding: 20px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    transition: all 0.3s;
}

.post-navigation a:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
}

.next-post {
    text-align: right;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.sidebar-post {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E2E8F0;
}

.sidebar-post:last-child {
    border-bottom: none;
}

.sidebar-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.sidebar-post h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.sidebar-post a {
    text-decoration: none;
    color: var(--secondary-color);
}

.sidebar-post p {
    font-size: 12px;
    color: #94A3B8;
}

.category-list {
    list-style: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid #E2E8F0;
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-list span {
    background: var(--light-bg);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.social-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 5px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.social-item.facebook { background: #3B5998; }
.social-item.instagram { background: #E4405F; }
.social-item.youtube { background: #FF0000; }
.social-item.twitter { background: #1DA1F2; }

.social-item span {
    font-size: 12px;
    opacity: 0.9;
}

/* Event Date Badge */
.event-date {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.event-date strong {
    font-size: 24px;
    display: block;
}

.event-date span {
    font-size: 12px;
}

/* Add Business Widget */
.add-business-widget {
    background: linear-gradient(135deg, var(--primary-color), #059669);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.add-business-widget img {
    width: 120px;
    margin-bottom: 20px;
}

.add-business-widget h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.add-business-widget button {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

/* Responsive for Single Post */
@media (max-width: 768px) {
    .single-post-page .container {
        grid-template-columns: 1fr;
    }
    
    .single-post-content {
        padding: 20px;
    }
    
    .post-header h1 {
        font-size: 24px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: relative;
        top: 0;
    }
}
