html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at 8% 5%, color-mix(in srgb, var(--news-accent, #ff6a00) 13%, transparent), transparent 30%),
        radial-gradient(circle at 92% 88%, rgba(123, 47, 247, 0.10), transparent 28%),
        #faf8fb;
    background-attachment: fixed;
}

.news-detail-page {
    --news-accent: #ff6a00;
    width: min(1180px, calc(100vw - 32px));
    min-height: calc(100vh - 55px);
    margin: 0 auto;
    padding: 28px 0 80px;
    box-sizing: border-box;
}

.news-detail-page--custom {
    width: 100%;
    padding-top: 18px;
}

.news-detail__back {
    width: fit-content;
    margin: 0 0 18px;
    padding: 10px 14px;
    border: 1px solid #e9e3ec;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b3740;
    background: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 9px 24px rgba(37, 24, 47, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-detail-page--custom > .news-detail__back {
    position: relative;
    z-index: 20;
    margin-left: max(16px, calc((100vw - 1180px) / 2));
}

.news-detail__back:hover {
    transform: translateX(-3px);
    box-shadow: 0 13px 28px rgba(37, 24, 47, 0.1);
}

.news-layout {
    overflow: hidden;
    border: 1px solid rgba(231, 224, 235, 0.95);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 27px 70px rgba(39, 24, 50, 0.1);
}

.news-layout--classic {
    padding: 52px;
}

.news-layout__intro {
    max-width: 900px;
}

.news-layout__date,
.news-feature-hero__date,
.news-briefing__date {
    color: var(--news-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-layout__intro h1,
.news-briefing__lead + h1 {
    color: #19171c;
}

.news-layout__intro h1 {
    max-width: 1000px;
    margin: 13px 0 0;
    font-size: clamp(38px, 5.3vw, 72px);
    font-weight: 880;
    line-height: 1.01;
    letter-spacing: -0.047em;
}

.news-layout__lead {
    max-width: 820px;
    margin: 20px 0 0;
    color: #66606b;
    font-size: clamp(17px, 1.75vw, 23px);
    line-height: 1.55;
}

.news-layout__cover {
    height: clamp(360px, 50vw, 650px);
    margin: 38px 0 0;
    border-radius: 25px;
    overflow: hidden;
    background: #eee9f0;
}

.news-layout__cover img,
.news-briefing__cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.news-layout__body,
.news-feature-content,
.news-briefing__body {
    max-width: 800px;
    margin: 40px auto 0;
}

.news-rich-text {
    color: #37323b;
    font-size: 17px;
    line-height: 1.82;
}

.news-rich-text p {
    margin: 0 0 1.35em;
}

.news-rich-text p:last-child {
    margin-bottom: 0;
}

.news-layout__highlight {
    margin: 32px 0;
    padding: 23px 25px;
    border-left: 5px solid var(--news-accent);
    border-radius: 0 18px 18px 0;
    color: #2e2932;
    background: color-mix(in srgb, var(--news-accent) 8%, #ffffff);
    font-size: 18px;
    font-weight: 720;
    line-height: 1.58;
}

.news-layout__cta {
    min-height: 48px;
    margin-top: 30px;
    padding: 0 23px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--news-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--news-accent) 24%, transparent);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.news-layout__cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.news-layout--feature {
    background: #ffffff;
}

.news-feature-hero {
    position: relative;
    min-height: clamp(520px, 67vw, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #242027;
}

.news-feature-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-feature-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 12, 20, 0.05) 15%, rgba(16, 12, 20, 0.84) 100%),
        linear-gradient(90deg, rgba(16, 12, 20, 0.4), transparent 70%);
}

.news-feature-hero__content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    padding: 70px 64px;
    color: #ffffff;
}

.news-feature-hero__date {
    color: #ffffff;
    opacity: 0.88;
}

.news-feature-hero h1 {
    margin: 14px 0 0;
    font-size: clamp(42px, 6.3vw, 82px);
    font-weight: 880;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.news-feature-hero p {
    max-width: 760px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 1.9vw, 24px);
    line-height: 1.55;
}

.news-feature-content {
    padding: 18px 20px 70px;
}

.news-layout__highlight--feature {
    margin-top: 0;
}

.news-layout--briefing {
    max-width: 920px;
    margin: 0 auto;
    padding: 58px 64px 66px;
    text-align: center;
}

.news-briefing__tag {
    width: fit-content;
    margin: 0 auto 15px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--news-accent);
    background: color-mix(in srgb, var(--news-accent) 9%, #ffffff);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-layout--briefing h1 {
    margin: 15px 0 0;
    color: #1b181e;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 880;
    line-height: 1.02;
    letter-spacing: -0.047em;
}

.news-briefing__lead {
    max-width: 710px;
    margin: 19px auto 0;
    color: #6c6671;
    font-size: 18px;
    line-height: 1.6;
}

.news-briefing__cover {
    height: clamp(310px, 43vw, 520px);
    margin: 34px 0 0;
    border-radius: 23px;
    overflow: hidden;
}

.news-layout__highlight--briefing {
    margin: 32px auto 0;
    text-align: left;
}

.news-briefing__body {
    text-align: left;
}

.news-custom-root {
    min-height: calc(100vh - 130px);
}

@media (max-width: 760px) {
    .news-detail-page {
        width: calc(100vw - 24px);
        padding: 18px 0 54px;
    }

    .news-detail-page--custom {
        width: 100%;
    }

    .news-detail-page--custom > .news-detail__back {
        margin-left: 12px;
    }

    .news-detail__back {
        margin-bottom: 13px;
        padding: 9px 12px;
    }

    .news-layout {
        border-radius: 24px;
    }

    .news-layout--classic {
        padding: 25px 18px 34px;
    }

    .news-layout__intro h1 {
        font-size: 38px;
        line-height: 1.04;
    }

    .news-layout__lead {
        margin-top: 14px;
        font-size: 16px;
    }

    .news-layout__cover {
        height: 58vw;
        min-height: 220px;
        margin-top: 24px;
        border-radius: 18px;
    }

    .news-layout__body,
    .news-feature-content,
    .news-briefing__body {
        margin-top: 28px;
    }

    .news-rich-text {
        font-size: 15.5px;
        line-height: 1.75;
    }

    .news-layout__highlight {
        margin: 25px 0;
        padding: 19px 18px;
        font-size: 16px;
    }

    .news-feature-hero {
        min-height: 560px;
    }

    .news-feature-hero__content {
        padding: 34px 22px;
    }

    .news-feature-hero h1 {
        font-size: 43px;
        line-height: 1.01;
    }

    .news-feature-hero p {
        margin-top: 15px;
        font-size: 16px;
    }

    .news-feature-content {
        padding: 4px 20px 40px;
    }

    .news-layout--briefing {
        padding: 35px 18px 42px;
    }

    .news-layout--briefing h1 {
        font-size: 38px;
    }

    .news-briefing__lead {
        margin-top: 14px;
        font-size: 16px;
    }

    .news-briefing__cover {
        height: 57vw;
        min-height: 210px;
        margin-top: 25px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-detail__back,
    .news-layout__cta {
        transition: none;
    }
}

.news-preview-bar {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--news-accent, #ff6a00) 24%, #e7e1e9);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #302b34;
    box-sizing: border-box;
}

.news-preview-bar div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.news-preview-bar strong {
    font-size: 14px;
}

.news-preview-bar span {
    color: #766e79;
    font-size: 12px;
}

.news-preview-bar a {
    color: var(--news-accent, #ff6a00);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .news-preview-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* Unified full-width template news */
.news-detail-page--template{width:100%;max-width:none;padding-top:18px}.news-detail-page--template>.news-detail__back,.news-detail-page--template>.news-preview-bar{margin-left:max(16px,calc((100vw - 1180px)/2));margin-right:max(16px,calc((100vw - 1180px)/2))}.news-template-layout{width:100%;overflow:hidden;background:#fff}.news-template-hero{padding:clamp(45px,7vw,110px) max(22px,7vw);background:linear-gradient(135deg,color-mix(in srgb,var(--news-accent) 8%,#fff),#fff 60%)}.news-template-hero__inner{max-width:1500px;margin:0 auto}.news-template-hero time{color:var(--news-accent);font-size:12px;font-weight:900;letter-spacing:.12em}.news-template-hero h1{max-width:1300px;margin:16px 0 0;color:#19171c;font-size:clamp(44px,7vw,104px);font-weight:900;line-height:.96;letter-spacing:-.055em}.news-template-hero p{max-width:900px;margin:25px 0 0;color:#665f69;font-size:clamp(18px,2vw,28px);line-height:1.55}.news-template-cover{width:100%;height:clamp(360px,58vw,900px);margin:0;overflow:hidden;background:#eee}.news-template-cover img{width:100%;height:100%;display:block;object-fit:cover}.news-template-content{width:min(100%,1600px);min-height:300px;margin:0 auto;padding:clamp(40px,7vw,100px) max(22px,7vw) 100px;box-sizing:border-box;color:#352f38}.news-template-block,.news-template-heading,.news-template-quote,.news-template-divider,.news-template-button-row,.news-template-file{max-width:980px;margin-left:auto;margin-right:auto}.news-template-rich{font-size:clamp(16px,1.35vw,20px);line-height:1.86}.news-template-rich p{margin:0 0 1.35em}.news-template-rich h2,.news-template-rich h3{line-height:1.15}.news-template-rich a{color:var(--news-accent)}.news-template-heading{margin-top:1.3em;margin-bottom:.55em;color:#1c191f;font-size:clamp(30px,4vw,58px);line-height:1.08}.news-template-quote{margin-top:35px;margin-bottom:35px;padding:24px 28px;border-left:6px solid var(--news-accent);border-radius:0 18px 18px 0;background:color-mix(in srgb,var(--news-accent) 8%,#fff);font-size:clamp(18px,2vw,25px);font-weight:750;line-height:1.55}.news-template-divider{height:1px;margin-top:45px;margin-bottom:45px;border:0;background:#ded7e1}.news-template-button{display:inline-flex;min-height:50px;padding:0 25px;border-radius:15px;align-items:center;background:var(--news-accent);color:#fff;text-decoration:none;font-weight:850}.news-template-file{margin-top:20px;margin-bottom:20px;padding:18px;border:1px solid #e6dfe8;border-radius:15px;background:#faf8fb}.news-template-file a{color:#332d36;font-weight:800}.news-template-media{margin-top:30px;margin-bottom:30px;box-sizing:border-box}.news-template-media--center,.news-template-media--full{margin-left:auto;margin-right:auto}.news-template-media--left{margin-left:0;margin-right:auto}.news-template-media--right{margin-left:auto;margin-right:0}.news-template-media.is-wrapped.news-template-media--left{float:left;margin:8px 34px 22px 0}.news-template-media.is-wrapped.news-template-media--right{float:right;margin:8px 0 22px 34px}.news-template-media__frame{width:100%;height:100%;min-height:120px;border-radius:22px;overflow:hidden;background:#eee}.news-template-media__frame img{width:100%;height:100%;display:block}.news-template-media figcaption{margin-top:9px;color:#817782;font-size:13px;text-align:center}.news-template-clear{clear:both}.news-custom-frame{width:100%;min-height:80vh;border:0;display:block;background:#fff}.news-detail-page--custom{padding-bottom:0}.news-detail-page--custom>.news-preview-bar{margin-left:max(16px,calc((100vw - 1180px)/2));margin-right:max(16px,calc((100vw - 1180px)/2))}@media(max-width:760px){.news-detail-page--template{width:100%;padding-top:12px}.news-detail-page--template>.news-detail__back,.news-detail-page--template>.news-preview-bar{margin-left:12px;margin-right:12px}.news-template-hero{padding:42px 20px}.news-template-hero h1{font-size:46px}.news-template-cover{height:65vw;min-height:260px}.news-template-content{padding:42px 18px 70px}.news-template-media.is-wrapped{float:none!important;width:100%!important;margin:25px auto!important}.news-template-media__frame{border-radius:16px}}
