/* ===== BLOG DETAIL PAGE ===== */

/* Hero */
.blog-detail-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
}

.blog-detail-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.blog-detail-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.9));
}

.blog-detail-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.post-category {
    display: inline-block;
    background: rgba(43, 158, 217, 0.2);
    color: #7dd3fc;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.post-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2B9ED9, #1B7AB0);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(43, 158, 217, 0.2);
}

.blog-detail-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: white;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.post-meta i {
    margin-right: 0.4rem;
}

/* Article */
.blog-article {
    padding: 2rem 2rem 4rem;
    background: white;
}

.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Playfair Display', serif;
    color: #1e293b;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.article-content h2 {
    font-size: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-content a {
    color: #2B9ED9;
    text-decoration: underline;
}

.article-content a:hover {
    color: #1B7AB0;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #2B9ED9;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.article-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-content code {
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e11d48;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-content th,
.article-content td {
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.article-content th {
    background: #f8fafc;
    font-weight: 600;
}

/* Breadcrumb */
.post-breadcrumb a {
    color: #2B9ED9;
    text-decoration: none;
    transition: color 0.2s;
}

.post-breadcrumb a:hover {
    color: #1B7AB0;
    text-decoration: underline;
}

/* Back Link */
.blog-back-section {
    padding: 2rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.blog-back-section .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2B9ED9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: #1B7AB0;
}

/* CTA */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #2B9ED9, #1B7AB0);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .blog-detail-hero {
        min-height: 35vh;
        padding: 6rem 1.5rem 3rem;
    }

    .blog-detail-hero h1 {
        font-size: 2.2rem;
    }

    .blog-article {
        padding: 1.5rem 1.5rem 3rem;
    }

    .article-content {
        font-size: 1.05rem;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-detail-hero h1 {
        font-size: 1.8rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-article {
        padding: 2rem 1rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }

    .article-content img {
        margin: 1.5rem 0;
        border-radius: 8px;
    }
}