.blog-page-title {
    position: relative;
    overflow: hidden;
    padding: 54px 0 58px;
    background: linear-gradient(112deg, #f2f3f4 0%, #fff 72%);
}

.blog-page-title::after {
    content: 'Ex';
    position: absolute;
    right: max(5vw, 30px);
    top: 50%;
    color: transparent;
    border: 4px solid rgba(176, 0, 32, .09);
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    transform: translateY(-50%) rotate(5deg);
    font-size: 68px;
    font-weight: 900;
}

.blog-page-title h1,
.blog-page-title p { position: relative; z-index: 1; }

.blog-toolbar {
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.blog-toolbar .eyebrow { margin-bottom: 5px; }
.blog-toolbar h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 3vw, 40px); }
.blog-toolbar p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.blog-toolbar form { width: min(100%, 410px); height: 46px; display: flex; }
.blog-toolbar input { min-width: 0; flex: 1; padding: 0 14px; border: 1px solid #cfd3d6; outline: 0; }
.blog-toolbar input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(176, 0, 32, .08); }
.blog-toolbar button { padding: 0 21px; border: 0; color: #fff; background: var(--red); font-weight: 800; cursor: pointer; }
.blog-toolbar button:hover { background: var(--red-dark); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.blog-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.blog-card:hover { transform: translateY(-4px); border-color: #c9cdd1; box-shadow: var(--shadow); }
.blog-card-media {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: transparent;
    border-bottom: 1px solid var(--line);
}
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    transition: transform .28s;
}




.blog-card:hover .blog-card-media img { transform: scale(1.035); }
.blog-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; background: #25282c; border-left: 7px solid var(--red); }
.blog-placeholder b { width: 74px; height: 74px; display: grid; place-items: center; border: 3px solid currentColor; font-size: 31px; }
.blog-placeholder small { color: #bfc3c7; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.blog-card-body { flex: 1; padding: 23px 24px 25px; display: flex; flex-direction: column; }
.blog-meta { min-height: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .045em; }
.blog-meta i { font-style: normal; opacity: .55; }
.blog-card h2 { margin: 13px 0 10px; color: var(--ink); font-size: 22px; line-height: 1.27; letter-spacing: -.015em; }
.blog-card h2 a:hover { color: var(--red); }
.blog-card-body > p { margin: 0 0 24px; color: #626970; font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.blog-read-more { margin-top: auto; padding-top: 16px; border-top: 1px solid #eceeef; color: var(--ink); font-size: 13px; font-weight: 800; }
.blog-read-more span { float: right; color: var(--red); font-size: 18px; line-height: 1; }
.blog-read-more:hover { color: var(--red); }

.blog-article-header { color: #fff; background: #202326; border-bottom: 7px solid var(--red); }
.blog-article-head-grid { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .8fr); gap: 72px; align-items: center; padding-top: 55px; padding-bottom: 55px; }
.blog-article-header .breadcrumbs { color: #afb4b9; }
.blog-article-header .breadcrumbs a:hover { color: #fff; }
.blog-article-header h1 { max-width: 780px; margin: 0; font-size: clamp(43px, 5vw, 68px); line-height: 1.04; letter-spacing: -.043em; overflow-wrap: anywhere; }
.blog-lead { max-width: 720px; margin: 24px 0 0; color: #c8ccd0; font-size: 18px; line-height: 1.65; }
.blog-byline { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #aeb4ba; font-size: 12px; text-transform: uppercase; letter-spacing: .055em; }
.blog-byline i { color: #e2677e; font-style: normal; }
.blog-byline span:first-child { color: #fff; font-weight: 800; }


.blog-article-banner {
    height: 390px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
}

.blog-article-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}




.blog-article-banner.blog-placeholder { border-left-width: 7px; }

.blog-article-layout { display: grid; grid-template-columns: 190px minmax(0, 820px); justify-content: center; gap: 70px; padding-top: 74px; padding-bottom: 90px; }
.blog-article-side { position: sticky; top: 24px; align-self: start; display: grid; border-top: 1px solid var(--line); }
.blog-article-side > span { padding: 17px 0 12px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.blog-article-side a,
.blog-article-side button { padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font-size: 13px; font-weight: 800; cursor: pointer; }
.blog-article-side a:hover,
.blog-article-side button:hover { color: var(--red); }
.blog-article-side button.copied { color: var(--green); }

.blog-content { color: #3f454a; font-size: 18px; line-height: 1.82; }
.blog-content > *:first-child { margin-top: 0; }
.blog-content h2,
.blog-content h3,
.blog-content h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.025em; }
.blog-content h2 { margin: 52px 0 17px; padding-top: 7px; font-size: 34px; }
.blog-content h3 { margin: 38px 0 13px; font-size: 27px; }
.blog-content h4 { margin: 30px 0 11px; font-size: 22px; }
.blog-content p { margin: 0 0 23px; }
.blog-content ul,
.blog-content ol { margin: 0 0 26px; padding-left: 28px; }
.blog-content li { margin: 8px 0; padding-left: 5px; }
.blog-content li::marker { color: var(--red); font-weight: 800; }
.blog-content blockquote { margin: 36px 0; padding: 24px 28px; border-left: 5px solid var(--red); background: var(--soft); color: var(--ink); font-size: 20px; font-weight: 700; }
.blog-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.blog-content hr { margin: 45px 0; border: 0; border-top: 1px solid var(--line); }

.blog-gallery { margin-top: 65px; padding-top: 42px; border-top: 1px solid var(--line); }
.blog-gallery-head h2 { margin: 0 0 23px; color: var(--ink); font-size: 30px; }
.blog-gallery-head .eyebrow { margin-bottom: 5px; }
.blog-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.blog-gallery-grid button { height: 250px; padding: 0; overflow: hidden; border: 1px solid var(--line); background: #f2f3f4; cursor: zoom-in; }
.blog-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.blog-gallery-grid button:hover img { transform: scale(1.035); }

.blog-article-cta { margin-top: 62px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--soft); border-left: 6px solid var(--red); }
.blog-article-cta div { display: flex; flex-direction: column; }
.blog-article-cta span { color: var(--muted); font-size: 12px; }
.blog-article-cta strong { color: var(--ink); font-size: 19px; }
.blog-article-cta .btn { flex: 0 0 auto; }

.blog-related { background: var(--soft); }
.blog-grid-related .blog-card-media { height: 205px; }

.blog-lightbox { width: min(1100px, calc(100% - 32px)); max-width: none; height: min(88vh, 820px); padding: 0; overflow: hidden; border: 0; background: #151719; box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.blog-lightbox::backdrop { background: rgba(7, 8, 9, .84); }
.blog-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.blog-lightbox > button { position: absolute; z-index: 2; top: 12px; right: 12px; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .64); font-size: 28px; cursor: pointer; }

@media (max-width: 1100px) {
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-article-head-grid { grid-template-columns: 1fr 390px; gap: 45px; }
    .blog-article-banner { height: 350px; }
}

@media (max-width: 900px) {
    .blog-article-head-grid { grid-template-columns: 1fr; gap: 38px; }
    .blog-article-banner { width: min(100%, 680px); }
    .blog-article-layout { grid-template-columns: 1fr; gap: 32px; }
    .blog-article-side { position: static; display: flex; flex-wrap: wrap; gap: 9px; border: 0; }
    .blog-article-side > span { flex-basis: 100%; padding: 0; }
    .blog-article-side a,
    .blog-article-side button { padding: 8px 12px; border: 1px solid var(--line); }
}

@media (max-width: 680px) {
    .blog-page-title { padding: 36px 0 39px; }
    .blog-page-title::after { display: none; }
    .blog-toolbar { align-items: start; flex-direction: column; }
    .blog-toolbar form { width: 100%; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card-media { height: 225px; }
    .blog-article-head-grid { min-height: 0; padding-top: 37px; padding-bottom: 42px; }
    .blog-article-header h1 { font-size: 40px; }
    .blog-lead { font-size: 16px; }
    .blog-article-banner { height: 270px; }
    .blog-article-layout { padding-top: 45px; padding-bottom: 60px; }
    .blog-content { font-size: 16px; line-height: 1.75; }
    .blog-content h2 { margin-top: 42px; font-size: 29px; }
    .blog-content h3 { font-size: 24px; }
    .blog-gallery-grid { grid-template-columns: 1fr; }
    .blog-gallery-grid button { height: 230px; }
    .blog-article-cta { align-items: start; flex-direction: column; padding: 24px 22px; }
}
