/**
 * Single Post Page Styles
 * Modern single post design matching Eventify theme
 */

/* Single Post Header */
.sc-single-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color2) 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.sc-single-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.sc-single-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.sc-single-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-single-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* Single Post Content */
.sc-single-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.sc-post-featured-image {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.sc-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.sc-post-article {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sc-post-article h2,
.sc-post-article h3,
.sc-post-article h4 {
    color: #1B1E4A;
    margin: 30px 0 15px;
    font-weight: 700;
}

.sc-post-article h2 {
    font-size: 32px;
}

.sc-post-article h3 {
    font-size: 26px;
}

.sc-post-article p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    font-size: 17px;
}

.sc-post-article ul,
.sc-post-article ol {
    margin: 20px 0;
    padding-left: 30px;
    color: #666;
    line-height: 1.8;
}

.sc-post-article blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #666;
}

.sc-post-article img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Post Footer */
.sc-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.sc-post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sc-post-tag {
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sc-post-tag:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color2) 100%);
    color: #fff;
}

/* Author Box */
.sc-author-box {
    background: linear-gradient(135deg, var(--primary-rgba-10), var(--secondary-rgba-10));
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.sc-author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.sc-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-author-info h3 {
    margin: 0 0 10px;
    color: #1B1E4A;
    font-size: 24px;
}

.sc-author-bio {
    color: #666;
    line-height: 1.6;
}

/* Post Navigation */
.sc-post-navigation {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.sc-nav-post {
    flex: 1;
    display: flex;
    gap: 15px;
    text-decoration: none;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sc-nav-post:hover {
    background: linear-gradient(135deg, var(--primary-rgba-10), var(--secondary-rgba-10));
    transform: translateX(5px);
}

.sc-nav-post.prev:hover {
    transform: translateX(-5px);
}

.sc-nav-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.sc-nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-nav-info {
    flex: 1;
}

.sc-nav-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.sc-nav-title {
    color: #1B1E4A;
    font-weight: 600;
    font-size: 16px;
    display: block;
}

/* Comments Section */
.sc-comments-area {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sc-comments-title {
    font-size: 28px;
    font-weight: 700;
    color: #1B1E4A;
    margin: 0 0 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .sc-single-header {
        padding: 80px 0 50px;
    }

    .sc-single-title {
        font-size: 36px;
    }

    .sc-post-article {
        padding: 35px;
    }

    .sc-author-box {
        flex-direction: column;
        text-align: center;
    }

    .sc-post-navigation {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .sc-single-header {
        padding: 60px 0 40px;
    }

    .sc-single-title {
        font-size: 28px;
    }

    .sc-single-meta {
        font-size: 14px;
        gap: 15px;
    }

    .sc-post-article {
        padding: 25px 20px;
    }

    .sc-post-article h2 {
        font-size: 26px;
    }

    .sc-post-article h3 {
        font-size: 22px;
    }

    .sc-post-article p {
        font-size: 16px;
    }

    .sc-comments-area {
        padding: 30px 20px;
    }

    .sc-post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
