/* ===================================================
   SINGLE POST/PAGE PREMIUM DESIGN
   =================================================== */

/* Main Container */
.single-post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section */
.post-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.post-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.post-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 60px 40px 40px;
    color: #fff;
}

.post-hero-category {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    opacity: 0.95;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta-item i {
    font-size: 16px;
}

/* Content Section */
.post-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-bottom: 60px;
}

.post-main-content {
    background: #fff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.post-content {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin: 48px 0 24px 0;
    color: #2c3e50;
}

.post-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 36px 0 20px 0;
    color: #34495e;
}

.post-content img {
    width: 100%;
    border-radius: 12px;
    margin: 32px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-content blockquote {
    border-left: 4px solid #667eea;
    padding: 24px 32px;
    margin: 32px 0;
    background: #f8f9ff;
    border-radius: 8px;
    font-style: italic;
    color: #555;
}

.post-content ul,
.post-content ol {
    margin: 24px 0;
    padding-left: 32px;
}

.post-content li {
    margin-bottom: 12px;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.sidebar-widget-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.sidebar-author {
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 4px solid #f0f0f0;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.author-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.post-tag {
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Share Buttons */
.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
}

.share-label {
    font-weight: 700;
    font-size: 16px;
}

.share-button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-button:hover {
    background: #fff;
    color: #667eea;
    transform: scale(1.1);
}

/* Related Posts */
.related-posts {
    margin-top: 80px;
}

.related-posts-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.related-post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.related-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post-content {
    padding: 24px;
}

.related-post-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #2c3e50;
    line-height: 1.4;
}

.related-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .post-content-wrapper {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        position: static;
    }

    .post-main-content {
        padding: 40px 32px;
    }

    .post-hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .single-post-container {
        padding: 40px 16px;
    }

    .post-hero-image {
        height: 300px;
    }

    .post-hero-overlay {
        padding: 32px 24px 24px;
    }

    .post-hero-title {
        font-size: 28px;
    }

    .post-main-content {
        padding: 24px 20px;
    }

    .post-content {
        font-size: 16px;
    }

    .post-content h2 {
        font-size: 28px;
    }

    .post-content h3 {
        font-size: 20px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}