.blog-page {
    padding-top: var(--header-h);
}

    .blog-page .header_section {
        background: #fff;
    }

    .blog-page .blog-hero {
        background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 100%);
        color: #fff;
        padding: 64px 0 56px;
    }

        .blog-page .blog-hero h1 {
            color: #fff;
            font-size: clamp(1.9rem, 4vw, 2.9rem);
            margin-bottom: 14px;
            max-width: 24ch;
        }

        .blog-page .blog-hero p {
            color: rgba(255,255,255,.85);
            font-size: 1.08rem;
            max-width: 62ch;
            margin: 0;
        }

    .blog-page .breadcrumb-nav {
        font-size: .9rem;
        margin-bottom: 18px;
    }

        .blog-page .breadcrumb-nav ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 0;
            margin: 0;
        }

        .blog-page .breadcrumb-nav li + li::before {
            content: "‹";
            margin-inline-end: 8px;
            opacity: .6;
        }

        .blog-page .breadcrumb-nav a {
            color: var(--accent);
        }

        .blog-page .breadcrumb-nav [aria-current] {
            color: rgba(255,255,255,.8);
        }

    /* Listing */
    .blog-page .post-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
        gap: 28px;
    }

    .blog-page .post-card {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1.5px solid var(--gray-2);
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }

    .blog-page .post-card-top {
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 16 / 7;
        background: linear-gradient(135deg, var(--brand-l), #D4EEE1);
        color: var(--brand);
        font-size: 3rem;
    }

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

    .blog-page .post-card h2 {
        font-size: 1.3rem;
        line-height: 1.5;
        margin: 0;
    }

        .blog-page .post-card h2 a {
            color: var(--night);
        }

            .blog-page .post-card h2 a:hover {
                color: var(--brand);
            }

    .blog-page .post-card p {
        margin: 0;
        font-size: .96rem;
        line-height: 1.85;
    }

    .blog-page .post-meta {
        font-size: .85rem;
        color: var(--muted);
    }

    .blog-page .post-card .btn-primary-cta {
        margin-top: auto;
        align-self: flex-start;
    }

    /* Article */
    .blog-page .article-wrap {
        max-width: 800px;
        margin-inline: auto;
        padding: 56px 15px 72px;
    }

        .blog-page .article-wrap > .post-meta {
            margin-bottom: 8px;
        }

    .blog-page .article-body h2 {
        font-size: clamp(1.5rem, 2.6vw, 1.95rem);
        margin: 2.4rem 0 1rem;
        scroll-margin-top: 96px;
    }

    .blog-page .article-body h3 {
        font-size: 1.2rem;
        margin: 1.6rem 0 .6rem;
    }

    .blog-page .article-body p {
        font-size: 1.05rem;
        line-height: 2;
        color: var(--text);
        max-width: 70ch;
    }

    .blog-page .article-body ul, .blog-page .article-body ol {
        padding-inline-start: 1.4rem;
        margin: 0 0 1.2rem;
    }

    .blog-page .article-body li {
        font-size: 1.03rem;
        line-height: 1.95;
        color: var(--text);
        margin-bottom: .35rem;
    }

        .blog-page .article-body li::marker {
            color: var(--brand);
            font-weight: 800;
        }

    .blog-page .article-body a:not(.btn1):not(.btn2):not(.btn-primary-cta) {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .blog-page .article-image {
        margin: 2rem 0;
    }

        .blog-page .article-image img {
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            border-radius: var(--radius);
            background: var(--gray-2);
            box-shadow: var(--shadow-md);
        }

    .blog-page .toc {
        background: var(--brand-l);
        border-inline-start: 5px solid var(--brand);
        border-radius: var(--radius-sm);
        padding: 20px 24px;
        margin: 1.5rem 0 2rem;
    }

        .blog-page .toc h2 {
            font-size: 1.1rem;
            margin: 0 0 8px;
        }

        .blog-page .toc ol {
            margin: 0;
            padding-inline-start: 1.3rem;
        }

        .blog-page .toc li {
            font-size: .98rem;
            line-height: 1.9;
            margin: 0;
        }

    .blog-page .note-box {
        background: var(--cream);
        border: 1.5px solid #F3E3C2;
        border-radius: var(--radius-sm);
        padding: 18px 22px;
        margin: 1.5rem 0;
    }

        .blog-page .note-box p {
            margin: 0;
            font-size: 1rem;
        }

    .blog-page .inline-cta {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin: 1.5rem 0 0;
    }

        .blog-page .inline-cta .btn1 {
            background: var(--brand);
            color: #fff;
            box-shadow: var(--shadow-brand);
        }

            .blog-page .inline-cta .btn1:hover {
                background: var(--brand-d);
                color: #fff;
            }

        .blog-page .inline-cta .btn2 {
            background: #25D366;
            color: #fff;
            border-color: #25D366;
            backdrop-filter: none;
        }

            .blog-page .inline-cta .btn2:hover {
                background: #1DA851;
                border-color: #1DA851;
                color: #fff;
            }

    .blog-page .related-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        list-style: none;
        padding: 0;
        margin: 1rem 0 0;
    }

        .blog-page .related-links a {
            display: inline-flex;
            align-items: center;
            min-height: 44px;
            padding: 8px 18px;
            background: var(--gray-1);
            border: 1.5px solid var(--gray-2);
            border-radius: var(--radius-pill);
            font-weight: 700;
            text-decoration: none !important;
        }

            .blog-page .related-links a:hover {
                background: var(--brand-l);
                border-color: var(--brand);
            }

    /* FAQ: article uses h3 (heading hierarchy); mirrors homepage .faq_item h5 */
    .blog-page .faq_item h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.02rem;
        margin-bottom: 10px;
    }

        .blog-page .faq_item h3::before {
            content: "؟";
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            background: var(--brand);
            color: #fff;
            border-radius: 8px;
            font-size: .9rem;
            font-weight: 900;
            flex-shrink: 0;
        }

    .blog-page .article-body .faq_item p {
        font-size: .98rem;
        line-height: 1.85;
        color: var(--muted);
        margin: 0;
    }

@media (max-width: 575px) {
    .blog-page .blog-hero {
        padding: 44px 0 40px;
    }

    .blog-page .article-wrap {
        padding-top: 36px;
    }

    .blog-page .inline-cta .btn1, .blog-page .inline-cta .btn2 {
        width: 100%;
    }

    .blog-page .post-card .btn-primary-cta {
        align-self: stretch;
    }
}
```css
/* Blog listing page */
.blog-page .blog-listing {
    padding: 48px 0 72px;
    background: #f7f9f8;
}

.blog-page .blog-listing .post-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.blog-page .post-card-top {
    display: block;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #eef4f0;
}

    .blog-page .post-card-top img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.blog-page .post-card:hover .post-card-top img {
    transform: scale(1.03);
}

.blog-page .post-card-body {
    padding: 24px;
}

.blog-page .post-card h2 a {
    text-decoration: none;
}

.blog-page .post-card p {
    color: var(--text);
}

.blog-page .post-card .btn-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

    .blog-page .post-card .btn-primary-cta:hover {
        background: var(--brand-d);
        color: #fff;
    }

@media (max-width: 575px) {
    .blog-page .blog-listing {
        padding: 30px 0 48px;
    }

    .blog-page .post-card-body {
        padding: 18px;
    }
}



/* Blog listing layout fixes */
body.blog-page {
    padding-top: 0;
    margin: 0;
    direction: rtl;
    text-align: right;
    background: #f7f9f8;
    color: #263238;
    font-family: 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
}

.blog-page .header_section {
    position: relative;
    top: auto;
    width: 100%;
    z-index: 100;
    background: #fff;
}

.blog-page .blog-hero {
    padding: 55px 0;
    background: linear-gradient(135deg, #0F2C3F, #174D48);
    color: #fff;
}

    .blog-page .blog-hero h1 {
        color: #fff;
        font-family: 'Cairo', Tahoma, sans-serif;
        font-size: clamp(1.8rem, 4vw, 2.7rem);
        font-weight: 800;
        line-height: 1.5;
        margin: 0 0 12px;
    }

    .blog-page .blog-hero p {
        color: #f1f5f4;
        max-width: 720px;
        line-height: 1.9;
        margin: 0;
    }

.blog-page .breadcrumb-nav {
    margin-bottom: 18px;
}

    .blog-page .breadcrumb-nav ol {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .blog-page .breadcrumb-nav a {
        color: #FFB800;
    }

.blog-page .blog-listing {
    padding: 48px 0 70px;
    min-height: 300px;
}

.blog-page .post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 420px));
    gap: 28px;
    align-items: stretch;
}

.blog-page .post-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8e5;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(15, 44, 63, .08);
}

.blog-page .post-card-top {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #e8f3ee;
}

    .blog-page .post-card-top img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

    .blog-page .post-card-top:hover img {
        transform: scale(1.03);
    }

.blog-page .post-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
}

.blog-page .post-card .post-meta {
    color: #00875A;
    font-size: .9rem;
    font-weight: 700;
}

.blog-page .post-card h2 {
    width: 100%;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.7;
}

    .blog-page .post-card h2 a {
        color: #0F2C3F;
        text-decoration: none;
    }

        .blog-page .post-card h2 a:hover {
            color: #00875A;
        }

.blog-page .post-card p {
    margin: 0 0 10px;
    color: #58645f;
    font-size: .98rem;
    line-height: 1.9;
}

.blog-page .post-card .btn-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 20px;
    border-radius: 7px;
    background: #00875A;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

    .blog-page .post-card .btn-primary-cta:hover {
        background: #006b46;
        color: #fff;
    }

.blog-page .footer_section {
    margin-top: 0;
}

    .blog-page .footer_section a {
        overflow-wrap: anywhere;
    }

@media (max-width: 767px) {
    .blog-page .blog-hero {
        padding: 38px 0;
    }

    .blog-page .blog-listing {
        padding: 30px 0 45px;
    }

    .blog-page .post-grid {
        grid-template-columns: 1fr;
    }

    .blog-page .post-card-body {
        padding: 18px;
    }
}
