.blog-content {
    padding: 76px 0 92px;
    background: #f8f6ee;
}

.blog-heading {
    width: min(calc(100% - 48px), 760px);
    margin: 0 auto 46px;
    text-align: center;
}

.blog-heading > span {
    display: block;
    margin-bottom: 9px;
    color: #095bb5;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.blog-heading h2 {
    color: #0a2550;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.03em;
}

.blog-heading p {
    max-width: 650px;
    margin: 14px auto 0;
    color: #61728a;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.blog-grid {
    width: min(calc(100% - 48px), 1215px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.blog-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dde4de;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(31, 49, 39, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.blog-card:hover {
    border-color: rgba(9, 91, 181, .32);
    box-shadow: 0 18px 38px rgba(31, 49, 39, .11);
    transform: translateY(-5px);
}

.blog-card__image {
    position: relative;
    height: 235px;
    display: block;
    overflow: hidden;
    background: #edf2eb;
}

.blog-card__image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .8s ease;
}

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

.blog-card__image > span {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    padding: 7px 11px;
    color: #fff;
    background: rgba(9, 91, 181, .94);
    border-radius: 999px;
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 7px 16px rgba(9, 91, 181, .2);
}

.blog-card__content {
    padding: 22px 21px 24px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7b8a82;
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.blog-card__meta > span {
    width: 4px;
    height: 4px;
    background: #095bb5;
    border-radius: 50%;
}

.blog-card h3 {
    margin-top: 11px;
    color: #142b20;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    line-height: 1.22;
    font-weight: 600;
}

.blog-card h3 a {
    transition: color .2s ease;
}

.blog-card h3 a:hover {
    color: #095bb5;
}

.blog-card__content > p:not(.blog-card__meta) {
    margin-top: 11px;
    color: #63756c;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

.blog-card__link {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #095bb5;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.blog-card__link span {
    font-size: 17px;
    transition: transform .2s ease;
}

.blog-card__link:hover span {
    transform: translateX(4px);
}

/* Blog listing: smooth heading reveal and staggered editorial cards. */
.blog-content.blog-animation-ready .blog-heading {
    opacity: 0;
    transform: translateY(52px);
    transition: opacity 1s ease, transform 1.3s cubic-bezier(.16, 1, .3, 1);
}

.blog-content.blog-animation-ready.is-visible .blog-heading {
    opacity: 1;
    transform: translateY(0);
}

.blog-content.blog-animation-ready .blog-card {
    opacity: 0;
    transform: translate3d(0, 82px, 0) scale(.97);
    transition: opacity 1s ease, transform 1.45s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .35s ease;
    will-change: opacity, transform;
}

.blog-content.blog-animation-ready.is-visible .blog-card {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.blog-content.blog-animation-ready.is-visible .blog-card:nth-child(1) { transition-delay: .20s; }
.blog-content.blog-animation-ready.is-visible .blog-card:nth-child(2) { transition-delay: .38s; }
.blog-content.blog-animation-ready.is-visible .blog-card:nth-child(3) { transition-delay: .56s; }

.blog-content.blog-animation-ready .blog-card__image img {
    filter: saturate(.82) brightness(.95);
    transform: scale(1.08);
}

.blog-content.blog-animation-ready.is-visible .blog-card__image img {
    filter: saturate(1) brightness(1);
    transform: scale(1);
}

.blog-content.blog-animation-ready.is-visible .blog-card:hover {
    transform: translateY(-7px);
}

.blog-content.blog-animation-ready.is-visible .blog-card:hover .blog-card__image img {
    transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
    .blog-content.blog-animation-ready .blog-heading,
    .blog-content.blog-animation-ready .blog-card,
    .blog-content.blog-animation-ready .blog-card__image img {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

@media screen and (max-width: 1000px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 650px) {
    .blog-content {
        padding: 54px 0 66px;
    }

    .blog-heading,
    .blog-grid {
        width: calc(100% - 24px);
    }

    .blog-heading {
        margin-bottom: 32px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card__image {
        height: auto;
        aspect-ratio: 16 / 10;
    }
}
