body.blog-page-view,
body.post-page-view {
    background-color: #fff;
}

.blog-banner-header {
    min-height: 540px;
}

.blog-banner-header .container {
    position: relative;
    z-index: 2;
}

.blog-banner-subtitle {
    max-width: 680px;
    margin: 1.25rem auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-banner-meta {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 600;
}

.post-related__eyebrow .icon {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--theme-color);
    display: inline-block;
}

.blog-featured-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(17, 34, 68, 0.08);
}

.blog-featured-card__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.blog-featured-card__media {
    min-height: 420px;
}

.blog-featured-card__media img,
.blog-card__media img,
.post-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.blog-featured-card:hover .blog-featured-card__media img,
.blog-card:hover .blog-card__media img,
.post-related-card:hover .post-related-card__media img {
    transform: scale(1.04);
}

.blog-featured-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 2.25rem;
}

.blog-card-kicker,
.post-related-card__date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.blog-card-date i,
.post-related-card__date i {
    margin-right: 0.45rem;
    color: #00bde0;
}

.blog-card-chip {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(17, 172, 226, 0.12);
    color: #00bde0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-featured-card__title,
.blog-card__title,
.post-related__title {
    margin: 0;
    line-height: 1.2;
}

.blog-featured-card__title a,
.blog-card__title a,
.post-related__title a {
    color: #0a1d4d;
}

.blog-featured-card__title {
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.blog-card__title,
.post-related__title {
    font-size: 1.35rem;
}

.blog-featured-card__excerpt,
.blog-card__excerpt,
.post-related-card__excerpt {
    margin: 0;
    color: #667085;
    line-height: 1.8;
}

.blog-read-more,
.blog-card__link,
.post-related-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.4rem;
    color: #0a1d4d;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-card .img,
.post-related-card .img {
    min-height: 260px;
}

.blog-card .cont,
.post-related-card .cont {
    padding: 1.6rem 1.5rem 1.75rem;
}

.blog-empty-state,
.post-related__empty {
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(17, 34, 68, 0.08);
}

.post-detail {
    padding-top: 56px;
    padding-bottom: 80px;
}

.post-detail__content {
    padding: 2.25rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(17, 34, 68, 0.08);
}

.post-detail__featured-media {
    margin: 0 0 2rem;
    overflow: hidden;
    border-radius: 18px;
}

.post-detail__featured-media img {
    width: 100%;
    min-height: 320px;
    height: auto;
    object-fit: cover;
    display: block;
}

.post-detail__content > *:last-child {
    margin-bottom: 0;
}

.post-detail__content ul,
.post-detail__content ol {
    display: grid;
    gap: 0.7rem;
    margin: 1.25rem 0 1.6rem;
    padding: 0;
}

.post-detail__content li {
    position: relative;
    list-style: none;
    padding-left: 1.85rem;
    color: #667085;
    line-height: 1.8;
}

.post-detail__content ul li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 0.18rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: rgba(0, 189, 224, 0.12);
    color: #00bde0;
    font-family: "Font Awesome 6 Pro";
    font-size: 0.62rem;
    font-weight: 400;
}

.post-detail__content ol {
    counter-reset: blog-detail-list;
}

.post-detail__content ol li {
    counter-increment: blog-detail-list;
}

.post-detail__content ol li::before {
    content: counter(blog-detail-list);
    position: absolute;
    left: 0;
    top: 0.16rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: rgba(0, 189, 224, 0.12);
    color: #00bde0;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

html[dir="rtl"] .post-detail__content li {
    padding-right: 1.85rem;
    padding-left: 0;
}

html[dir="rtl"] .post-detail__content li::before {
    right: 0;
    left: auto;
}

.post-detail__content img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.post-related__header {
    margin-bottom: 2rem;
}

.post-related__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
    color: var(--theme-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-related__heading {
    margin: 0;
    color: #0a1d4d;
    font-size: clamp(2rem, 3vw, 3rem);
}

.post-related-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(17, 34, 68, 0.08);
}

.post-related-card .img {
    min-height: 240px;
}

.post-related-card .cont {
    padding: 1.6rem 1.5rem 1.75rem;
}

@media only screen and (max-width: 991px) {
    .blog-banner-header {
        min-height: 460px;
    }

    .blog-featured-card__layout {
        grid-template-columns: 1fr;
    }

    .blog-featured-card__media {
        min-height: 300px;
    }

    .blog-banner-subtitle {
        max-width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .blog-banner-header {
        min-height: 400px;
    }

    .post-detail__content {
        padding: 1.35rem;
        border-radius: 14px;
    }

    .post-detail {
        padding-top: 34px;
    }

    .post-detail__featured-media {
        margin-bottom: 1.35rem;
        border-radius: 14px;
    }

    .blog-featured-card__body,
    .blog-card .cont,
    .post-related-card .cont {
        padding: 1.35rem;
    }
}
