/* ═══ Blog Styles ═══ */

.blog-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(196, 0, 0, .04), rgba(255, 157, 0, .04));
}

.blog-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}

.blog-hero p {
    color: var(--text);
    font-size: 1.1rem;
}

/* Blog Grid */
.blog-listing {
    padding: 60px 0 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Blog Card */
.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    overflow: hidden;
    height: 220px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-tag {
    display: inline-block;
    width: fit-content;
    padding: 3px 12px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--red);
    background: rgba(196, 0, 0, .08);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 12px;
}

.blog-card-body h2 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -.01em;
}

.blog-card-body p {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.6;
    flex: 1;
}

.blog-read {
    display: inline-block;
    margin-top: 16px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--red);
    transition: color .2s;
}

.blog-card:hover .blog-read {
    color: var(--orange);
}

/* Blog Post — Article Page */
.blog-post-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-top: 64px;
}

.blog-post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .15), rgba(32, 15, 7, .85));
    z-index: 1;
}

.blog-post-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 0 48px;
}

.blog-post-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(90deg, var(--red), var(--orange));
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.blog-post-hero-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
    margin-bottom: 12px;
}

.blog-post-hero-content .blog-meta {
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: .85rem;
    color: var(--text);
    border-bottom: 1px solid var(--grey-light);
}

.breadcrumb a {
    color: var(--red);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    color: var(--grey);
}

/* Article Content */
.blog-article {
    padding: 48px 0 64px;
    max-width: 800px;
    margin: 0 auto;
}

.blog-article h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 40px 0 16px;
    letter-spacing: -.01em;
}

.blog-article h2:first-child {
    margin-top: 0;
}

.blog-article p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-article .cta-link {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--orange));
    border-radius: 100px;
    margin: 16px 0 32px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(196, 0, 0, .2);
}

.blog-article .cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 0, 0, .3);
}

/* FAQ in blog post */
.faq-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--grey-light);
}

.faq-section h2 {
    margin-top: 0;
}

.faq-item {
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.faq-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.faq-item summary {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    color: var(--dark);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: .95rem;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

/* Related Posts */
.related-posts {
    padding: 60px 0 80px;
    background: var(--white);
}

.related-posts h2 {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
}

.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.related-link {
    padding: 10px 24px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
    background: var(--bg);
    border: 1px solid var(--grey-light);
    border-radius: 100px;
    transition: all .2s;
}

.related-link:hover {
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(196, 0, 0, .2);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-img {
        height: 180px;
    }

    .blog-post-hero {
        height: 300px;
    }

    .blog-article {
        padding: 32px 24px 48px;
    }

    .faq-item summary {
        padding: 14px 18px;
    }

    .faq-item p {
        padding: 0 18px 16px;
    }
}