/*
 * KSG News — main-site theme.
 * Layout rule: News uses the parent .section-shell exactly.
 * Do not add width/max-width/margin-inline/padding-inline to .ksg-news-shell.
 */

.ksg-news-shell{
    /* Horizontal width, margins and gutters come only from .section-shell. */
    box-sizing:border-box;
}

/* Landing banner */
.ksg-news-banner{
    position:relative;
    overflow:hidden;
    background:#140f2d;
    color:#fff;
}
.ksg-news-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(115deg,transparent 0 52%,rgba(215,38,56,.16) 52% 53%,transparent 53% 100%),
        radial-gradient(circle at 88% 25%,rgba(215,38,56,.22),transparent 24%);
    pointer-events:none;
}
.ksg-news-banner .ksg-news-shell{
    position:relative;
    min-height:300px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
    padding-top:64px;
    padding-bottom:50px;
}
.ksg-news-banner .eyebrow{color:#fff;opacity:.76}
.ksg-news-banner h1{
    margin:4px 0 10px;
    font-family:"Barlow Condensed",sans-serif;
    font-size:clamp(4.6rem,9vw,8.8rem);
    font-weight:800;
    line-height:.78;
    letter-spacing:-.045em;
    text-transform:uppercase;
}
.ksg-news-banner p{
    max-width:700px;
    margin:0;
    color:rgba(255,255,255,.74);
    font-size:1rem;
    line-height:1.65;
}
.ksg-news-banner-mark{
    align-self:stretch;
    display:flex;
    align-items:center;
    overflow:hidden;
}
.ksg-news-banner-mark span{
    font-family:"Barlow Condensed",sans-serif;
    font-size:clamp(6rem,13vw,13rem);
    font-weight:800;
    line-height:.75;
    letter-spacing:-.06em;
    color:transparent;
    -webkit-text-stroke:1px rgba(255,255,255,.12);
    transform:translateY(8px);
}

/* Landing feature */
.ksg-news-feature-shell{padding-top:38px}
.ksg-news-feature{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(430px,1fr);
    min-height:350px;
    overflow:hidden;
    background:#fff;
    border-top:4px solid #d72638;
    border-bottom:1px solid rgba(20,15,45,.13);
    color:inherit;
}
.ksg-news-feature-media{
    min-width:0;
    min-height:350px;
    overflow:hidden;
    background:#140f2d;
}
.ksg-news-feature-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .3s ease;
}
.ksg-news-feature:hover .ksg-news-feature-media img{transform:scale(1.015)}
.ksg-news-feature-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:clamp(28px,4vw,54px);
}
.ksg-news-feature-copy time{
    display:block;
    margin-top:3px;
    color:#767386;
    font-size:.76rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.ksg-news-feature-copy h2{
    margin:12px 0 14px;
    font-family:"Barlow Condensed",sans-serif;
    font-size:clamp(2.3rem,4vw,4.3rem);
    font-weight:800;
    line-height:.95;
    letter-spacing:-.035em;
}
.ksg-news-feature-copy p{
    margin:0 0 24px;
    color:#666274;
    line-height:1.65;
}
.ksg-news-feature-copy .button{align-self:flex-start}

/* Landing latest cards reuse the main site's news-card/news-grid styles. */
.ksg-news-latest{padding-top:56px;padding-bottom:78px}
.ksg-news-grid .ksg-news-card{min-width:0}
.ksg-news-card-thumb{background-size:cover;background-position:center}
.ksg-news-read{
    display:block;
    margin-top:18px;
    color:#d72638;
    font-size:.82rem;
    font-weight:800;
}
.ksg-news-empty{
    grid-column:1/-1;
    padding:34px 0;
    border-top:1px solid rgba(20,15,45,.14);
    color:#74707f;
}
.ksg-news-pagination{margin-top:30px}

/* Article header */
.ksg-news-article-head{
    background:#f7f7f8;
    border-bottom:1px solid rgba(20,15,45,.1);
}
.ksg-news-article-head .ksg-news-shell{
    padding-top:30px;
    padding-bottom:38px;
}
.ksg-news-back{
    display:inline-flex;
    margin-bottom:34px;
    color:#625e70;
    font-size:.82rem;
    font-weight:700;
}
.ksg-news-back:hover{color:#d72638}
.ksg-news-article-heading{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:end;
    gap:40px;
}
.ksg-news-article-heading h1{
    max-width:1100px;
    margin:8px 0 0;
    font-family:"Barlow Condensed",sans-serif;
    font-size:clamp(3rem,6.4vw,7rem);
    font-weight:800;
    line-height:.88;
    letter-spacing:-.047em;
}
.ksg-news-article-meta{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:5px;
    padding-bottom:7px;
    color:#6f6a7a;
    font-size:.78rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.07em;
    white-space:nowrap;
}
.ksg-news-article-deck{
    max-width:920px;
    margin:26px 0 0;
    color:#625e70;
    font-size:clamp(1rem,1.5vw,1.16rem);
    line-height:1.7;
}

/* Article visual */
.ksg-news-article-cover{
    position:relative;
    aspect-ratio:16/7;
    margin:38px 0 0;
    overflow:hidden;
    background:#140f2d;
    border-bottom:5px solid #d72638;
}
.ksg-news-article-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.ksg-news-article-cover::after{
    content:"";
    position:absolute;
    inset:0;
    box-shadow:inset 0 0 0 1px rgba(20,15,45,.08);
    pointer-events:none;
}

/* Topic facts: different article content, same KSG treatment. */
.ksg-news-facts{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border-bottom:1px solid rgba(20,15,45,.14);
}
.ksg-news-facts div{
    min-width:0;
    padding:20px 22px;
    border-right:1px solid rgba(20,15,45,.12);
}
.ksg-news-facts div:first-child{padding-left:0}
.ksg-news-facts div:last-child{border-right:0}
.ksg-news-facts span,
.ksg-news-facts strong{display:block}
.ksg-news-facts span{
    margin-bottom:4px;
    color:#777381;
    font-size:.68rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.09em;
}
.ksg-news-facts strong{
    font-family:"Barlow Condensed",sans-serif;
    color:#140f2d;
    font-size:1.38rem;
    font-weight:700;
    line-height:1.1;
}

/* Article body */
.ksg-news-content-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:clamp(40px,6vw,88px);
    align-items:start;
    padding-top:44px;
    padding-bottom:70px;
}
.ksg-news-body{
    min-width:0;
    color:#2e2b36;
    font-size:1.02rem;
    line-height:1.86;
}
.ksg-news-body > :first-child{margin-top:0}
.ksg-news-body p{margin:0 0 1.42em}
.ksg-news-body h2{
    margin:2.15em 0 .65em;
    font-family:"Barlow Condensed",sans-serif;
    color:#140f2d;
    font-size:clamp(2rem,3.2vw,3.15rem);
    font-weight:800;
    line-height:1;
    letter-spacing:-.025em;
}
.ksg-news-body h3{
    margin:1.8em 0 .55em;
    font-family:"Barlow Condensed",sans-serif;
    color:#140f2d;
    font-size:1.65rem;
    line-height:1.05;
}
.ksg-news-body strong{color:#181522}
.ksg-news-body a{
    color:#d72638;
    font-weight:700;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}
.ksg-news-body ul,
.ksg-news-body ol{
    margin:1.1em 0 1.6em;
    padding-left:1.25em;
}
.ksg-news-body li{margin:.65em 0}
.ksg-news-body blockquote{
    margin:2em 0;
    padding:4px 0 4px 24px;
    border-left:4px solid #d72638;
    color:#393542;
    font-size:1.14rem;
    font-weight:600;
}
.ksg-news-body figure{margin:2em 0}
.ksg-news-body figure img{width:100%;height:auto;display:block}
.ksg-news-body figcaption{
    margin-top:8px;
    color:#777381;
    font-size:.78rem;
}
.ksg-role-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    margin:1.25em 0 1.8em;
    background:rgba(20,15,45,.12);
    border:1px solid rgba(20,15,45,.12);
}
.ksg-role-list p{
    margin:0;
    padding:18px;
    background:#fff;
    font-size:.93rem;
    line-height:1.6;
}

/* Article side rail */
.ksg-news-side{
    position:sticky;
    top:96px;
    display:grid;
    gap:14px;
}
.ksg-news-side-card{
    padding:22px 0 24px;
    border-top:4px solid #140f2d;
    border-bottom:1px solid rgba(20,15,45,.14);
}
.ksg-news-side-card > strong{
    display:block;
    margin-top:10px;
    font-family:"Barlow Condensed",sans-serif;
    color:#140f2d;
    font-size:1.85rem;
    line-height:1;
}
.ksg-news-side-card p{
    margin:12px 0 0;
    color:#6c6875;
    font-size:.88rem;
    line-height:1.6;
}
.ksg-news-side-card--dark{
    padding:24px;
    border:0;
    background:#140f2d;
    color:#fff;
}
.ksg-news-side-card--dark .eyebrow{color:#fff;opacity:.72}
.ksg-news-side-card--dark > strong{color:#fff}
.ksg-news-side-card--dark p{color:rgba(255,255,255,.68)}
.ksg-news-side-cta{
    display:flex;
    justify-content:center;
    text-align:center;
}

.ksg-news-bottom-nav{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:22px 0 54px;
    border-top:1px solid rgba(20,15,45,.14);
    font-size:.84rem;
    font-weight:800;
}
.ksg-news-bottom-nav a:hover{color:#d72638}

/* Keep article children on exactly the same horizontal edge as .section-shell. */
.ksg-news-banner-copy,
.ksg-news-feature,
.ksg-news-article-heading,
.ksg-news-article-deck,
.ksg-news-article-cover,
.ksg-news-facts,
.ksg-news-content-grid,
.ksg-news-bottom-nav{
    margin-left:0;
    margin-right:0;
}

@media(max-width:980px){
    .ksg-news-banner .ksg-news-shell{min-height:260px}
    .ksg-news-banner-mark{display:none}

    .ksg-news-feature{grid-template-columns:1fr}
    .ksg-news-feature-media{min-height:320px}
    .ksg-news-feature-copy{padding:30px 0 10px}

    .ksg-news-article-heading{grid-template-columns:1fr}
    .ksg-news-article-meta{
        align-items:flex-start;
        padding-bottom:0;
    }
    .ksg-news-article-cover{aspect-ratio:16/8}

    .ksg-news-content-grid{grid-template-columns:1fr}
    .ksg-news-side{
        position:static;
        grid-template-columns:minmax(0,1fr) minmax(220px,.55fr);
    }
}

@media(max-width:680px){
    .ksg-news-banner .ksg-news-shell{
        min-height:220px;
        padding-top:46px;
        padding-bottom:34px;
    }
    .ksg-news-banner h1{font-size:4.7rem}

    .ksg-news-feature-shell{padding-top:24px}
    .ksg-news-feature{min-height:0}
    .ksg-news-feature-media{min-height:230px}
    .ksg-news-feature-copy{padding:24px 0 4px}
    .ksg-news-feature-copy h2{font-size:2.6rem}

    .ksg-news-latest{padding-top:44px;padding-bottom:56px}

    .ksg-news-article-head .ksg-news-shell{
        padding-top:22px;
        padding-bottom:28px;
    }
    .ksg-news-back{margin-bottom:24px}
    .ksg-news-article-heading h1{
        font-size:clamp(3rem,14vw,4.7rem);
        line-height:.9;
    }
    .ksg-news-article-deck{margin-top:20px}

    .ksg-news-article-cover{
        aspect-ratio:4/3;
        margin-top:24px;
    }
    .ksg-news-facts{grid-template-columns:1fr}
    .ksg-news-facts div{
        padding:14px 0;
        border-right:0;
        border-bottom:1px solid rgba(20,15,45,.1);
    }
    .ksg-news-facts div:last-child{border-bottom:0}

    .ksg-news-content-grid{
        gap:34px;
        padding-top:32px;
        padding-bottom:52px;
    }
    .ksg-news-body{font-size:1rem;line-height:1.78}
    .ksg-role-list{grid-template-columns:1fr}
    .ksg-news-side{grid-template-columns:1fr}

    .ksg-news-bottom-nav{
        flex-direction:column;
        padding-bottom:42px;
    }
}
