.blog-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #160d3e;
    background-position: center;
    background-size: cover;
}

.blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 10, 55, .97) 0%, rgba(35, 17, 82, .92) 52%, rgba(35, 17, 82, .48) 100%);
}

.blog-hero .container,
.blog-hero__content,
.blog-hero__art {
    position: relative;
    z-index: 1;
}

.blog-hero__content {
    max-width: 780px;
    padding: 80px 0;
}

.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #ff5438;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.blog-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f2282f, #ff6638);
}

.blog-hero h1 {
    max-width: 850px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 66px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.blog-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 19px;
    line-height: 1.75;
}

.blog-hero__art {
    position: absolute;
    right: 3vw;
    bottom: -54px;
    width: min(39vw, 640px);
    height: auto;
    filter: drop-shadow(0 26px 35px rgba(0, 0, 0, .22));
}

.blog-index,
.blog-article-wrap {
    position: relative;
    padding: 88px 0 104px;
    background: #f7f7fa;
}

.blog-index::before,
.blog-article-wrap::before {
    content: "";
    position: absolute;
    top: 36px;
    right: 5%;
    width: 110px;
    height: 110px;
    opacity: .22;
    background: radial-gradient(circle, #d92957 3px, transparent 4px) 0 0 / 18px 18px;
}

.blog-section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.blog-section-heading h2 {
    margin-bottom: 14px;
    color: #2f2e31;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
}

.blog-section-heading h2 span {
    color: #bd22cc;
}

.blog-section-heading p {
    margin: 0;
    color: #66646b;
    font-size: 18px;
    line-height: 1.7;
}

.blog-card {
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(26, 25, 31, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(24, 18, 64, .10);
}

.blog-card__media {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, #201052, #32146d);
}

.blog-card__media::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .34;
    background: url('/assets/images/banner/banner-wd.jpg') center / cover;
}

.blog-card__media img {
    position: relative;
    z-index: 1;
    width: 92%;
    height: auto;
    transform: translateY(22px);
    transition: transform .35s ease;
}

.blog-card:hover .blog-card__media img {
    transform: translateY(14px) scale(1.02);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 64px);
}

.blog-card__meta,
.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-bottom: 18px;
    color: #76737c;
    font-size: 14px;
    font-weight: 600;
}

.blog-card__category,
.blog-article__category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 13px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #d3262d, #1c235e);
}

.blog-card h3 {
    margin: 0 0 18px;
    color: #302e32;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.22;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h3 a:hover,
.blog-card h3 a:focus-visible {
    color: #b820be;
}

.blog-card p {
    margin-bottom: 28px;
    color: #5f5d63;
    font-size: 17px;
    line-height: 1.75;
}

.blog-read-more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #d3262d, #182463);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog-read-more:hover,
.blog-read-more:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(33, 28, 94, .2);
}

.blog-post-hero {
    min-height: 520px;
}

.blog-post-hero .blog-hero__content {
    max-width: 920px;
}

.blog-post-hero h1 {
    font-size: clamp(37px, 4.6vw, 64px);
}

.blog-post-hero .blog-article__meta {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .78);
}

.blog-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
}

.blog-article {
    padding: clamp(30px, 5vw, 66px);
    border: 1px solid rgba(26, 25, 31, .07);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(24, 18, 64, .08);
}

.blog-article__lead {
    margin-bottom: 34px;
    padding: 24px 26px;
    border-left: 4px solid #d52a35;
    border-radius: 0 14px 14px 0;
    color: #403e44;
    background: #f8f6fb;
    font-size: 19px;
    line-height: 1.8;
}

.blog-article h2 {
    margin: 46px 0 16px;
    color: #302e32;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.blog-article h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d62b31, #b31ed0);
}

.blog-article p {
    margin: 0 0 20px;
    color: #58565d;
    font-size: 17px;
    line-height: 1.85;
}

.blog-article a:not(.blog-read-more) {
    color: #9d20bd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-sidebar {
    position: sticky;
    top: 28px;
}

.blog-sidebar__card {
    position: relative;
    overflow: hidden;
    padding: 34px 30px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(150deg, #21104e 0%, #321467 58%, #c52743 135%);
    box-shadow: 0 22px 55px rgba(25, 16, 67, .18);
}

.blog-sidebar__card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -50px;
    width: 140px;
    height: 140px;
    border: 2px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.blog-sidebar__card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
}

.blog-sidebar__card p {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.7;
}

.blog-sidebar__card .blog-read-more {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #241151;
}

.blog-sidebar__card .blog-read-more:hover,
.blog-sidebar__card .blog-read-more:focus-visible {
    color: #241151;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: #2f2e31;
    font-weight: 700;
    text-decoration: none;
}

.blog-back-link:hover,
.blog-back-link:focus-visible {
    color: #b820be;
}

@media (max-width: 1199px) {
    .blog-hero__art {
        right: -7vw;
        width: 48vw;
        opacity: .72;
    }

    .blog-article-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .blog-hero {
        min-height: 410px;
    }

    .blog-hero::after {
        background: rgba(25, 12, 66, .92);
    }

    .blog-hero__art {
        right: -18%;
        width: 68vw;
        opacity: .23;
    }

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

    .blog-card__media {
        min-height: 330px;
    }

    .blog-card__media img {
        width: min(78%, 600px);
    }

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

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 575px) {
    .blog-hero__content {
        padding: 58px 0;
    }

    .blog-hero h1,
    .blog-post-hero h1 {
        font-size: 34px;
        line-height: 1.16;
    }

    .blog-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .blog-index,
    .blog-article-wrap {
        padding: 60px 0 74px;
    }

    .blog-card,
    .blog-article,
    .blog-sidebar__card {
        border-radius: 18px;
    }

    .blog-card__media {
        min-height: 245px;
    }

    .blog-card__body,
    .blog-article {
        padding: 28px 22px;
    }

    .blog-card h3 {
        font-size: 26px;
    }

    .blog-article__lead {
        padding: 19px 18px;
        font-size: 17px;
    }

    .blog-article h2 {
        margin-top: 38px;
        font-size: 27px;
    }

    .blog-article p {
        font-size: 16px;
        line-height: 1.78;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-card__media img,
    .blog-read-more {
        transition: none;
    }
}
