:root {
    --news-red: #d93412;
    --news-red-dark: #a9220b;
    --news-ink: #102033;
    --news-muted: #667384;
    --news-paper: #f6f4ef;
    --news-line: rgba(16, 32, 51, .12);
}

.news-page {
    color: var(--news-ink);
    background: var(--news-paper);
    font-family: "Be Vietnam Pro", sans-serif;
}

.news-page img { max-width: 100%; }

.news-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.news-eyebrow {
    margin: 0 0 14px;
    color: var(--news-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.news-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    padding: 80px 0;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 21, 36, .97) 0%, rgba(7, 21, 36, .88) 48%, rgba(7, 21, 36, .42) 100%),
        url('/img/about-banner.webp') center 42% / cover;
}

.news-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -190px;
    width: 420px;
    height: 420px;
    border: 80px solid rgba(217, 52, 18, .28);
    border-radius: 50%;
}

.news-hero .news-shell { position: relative; z-index: 1; }
.news-hero .news-eyebrow { color: #ff8a6f; }
.news-hero h1 { max-width: 780px; margin: 0; font-size: clamp(38px, 5vw, 68px); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; }
.news-hero p { max-width: 650px; margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.75; }

.news-search {
    width: min(100%, 540px);
    margin-top: 30px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    display: flex;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
}

.news-search input { min-width: 0; flex: 1; padding: 10px 14px; border: 0; outline: 0; color: #fff; background: transparent; }
.news-search input::placeholder { color: rgba(255,255,255,.62); }
.news-search button { width: 46px; height: 46px; border: 0; border-radius: 10px; color: #fff; background: var(--news-red); }

.news-section { padding: 82px 0 92px; background: linear-gradient(180deg, #f8f7f3 0%, var(--news-paper) 100%); }
.news-section-head { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.news-section-head h2 { max-width: 690px; margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; line-height: 1.12; letter-spacing: -.035em; }
.news-result-note { margin: 0; color: var(--news-muted); }

.news-lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .85fr); gap: 18px; }
.news-lead {
    min-height: 560px;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    display: flex;
    align-items: end;
    color: #fff;
    background: var(--news-ink);
    text-decoration: none;
    box-shadow: 0 28px 65px rgba(16,32,51,.16);
}

.news-lead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,13,24,.04) 14%, rgba(4,13,24,.3) 52%, rgba(4,13,24,.96) 100%); }
.news-lead:hover > img { transform: scale(1.025); }
.news-lead-copy { position: relative; z-index: 1; padding: clamp(24px, 4vw, 44px); }
.news-lead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.news-featured-label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; color: #fff; background: var(--news-red); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-date { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.news-lead h2 { max-width: 780px; margin: 18px 0 12px; color: #fff; font-size: clamp(28px, 3.2vw, 43px); font-weight: 900; line-height: 1.14; letter-spacing: -.03em; }
.news-lead p { max-width: 700px; margin: 0; color: rgba(255,255,255,.76); line-height: 1.65; }
.news-lead-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.news-lead-more i { color: #ff7255; transition: transform .2s ease; }
.news-lead:hover .news-lead-more i { transform: translateX(4px); }

.news-side-list { display: grid; gap: 9px; align-content: start; padding: 20px; border-radius: 28px; color: #fff; background: var(--news-ink); box-shadow: 0 24px 55px rgba(16,32,51,.13); }
.news-side-head { display: flex; align-items: center; justify-content: space-between; padding: 5px 5px 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.news-side-head div { display: flex; flex-direction: column; gap: 3px; }
.news-side-head span { color: #ff846b; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.news-side-head strong { font-size: 18px; font-weight: 850; }
.news-side-head > i { color: rgba(255,255,255,.45); font-size: 20px; }
.news-side-card { position: relative; padding: 12px; border: 1px solid transparent; border-radius: 16px; display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 13px; align-items: center; color: #fff; background: rgba(255,255,255,.055); text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.news-side-card:hover { border-color: rgba(255,255,255,.14); color: #fff; background: rgba(255,255,255,.1); }
.news-side-card img { width: 96px; height: 82px; border-radius: 11px; object-fit: cover; background: #e8e5df; }
.news-side-card h3 { display: -webkit-box; overflow: hidden; margin: 7px 22px 0 0; font-size: 14px; font-weight: 800; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-side-card .news-date { color: rgba(255,255,255,.58); font-size: 9px; }
.news-side-index { position: absolute; top: 11px; right: 11px; color: rgba(255,255,255,.2); font-size: 12px; font-weight: 900; }

.news-more-section { margin-top: 64px; }
.news-more-head { display: flex; align-items: end; gap: 24px; margin-bottom: 24px; }
.news-more-head > div { flex: 0 0 auto; }
.news-more-head span:first-child { color: var(--news-red); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.news-more-head h2 { margin: 6px 0 0; font-size: clamp(25px, 3vw, 36px); font-weight: 900; letter-spacing: -.03em; }
.news-more-line { height: 1px; flex: 1; margin-bottom: 7px; background: var(--news-line); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { overflow: hidden; border: 0; border-radius: 22px; display: flex; flex-direction: column; color: var(--news-ink); background: #fff; text-decoration: none; box-shadow: 0 12px 36px rgba(16,32,51,.07); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-5px); color: var(--news-ink); box-shadow: 0 22px 50px rgba(16,32,51,.13); }
.news-card-media { position: relative; overflow: hidden; }
.news-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e8e5df; transition: transform .35s ease; }
.news-card:hover .news-card-media img { transform: scale(1.025); }
.news-card-media span { position: absolute; left: 16px; bottom: 14px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(16,32,51,.86); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.news-card-copy { padding: 24px; display: flex; flex: 1; flex-direction: column; }
.news-card .news-date { color: var(--news-red); }
.news-card h3 { margin: 12px 0 10px; font-size: 20px; font-weight: 850; line-height: 1.4; }
.news-card p { margin: 0 0 20px; color: var(--news-muted); line-height: 1.65; }
.news-more { margin-top: auto; color: var(--news-red); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.news-empty { padding: 68px 24px; border: 1px solid var(--news-line); border-radius: 24px; background: #fff; text-align: center; }
.news-empty i { color: var(--news-red); font-size: 38px; }
.news-empty h2 { margin: 16px 0 8px; font-size: 28px; font-weight: 850; }
.news-empty p { margin: 0 0 20px; color: var(--news-muted); }

.news-pagination { margin-top: 38px; display: flex; justify-content: center; gap: 8px; }
.news-pagination a, .news-pagination span { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--news-line); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--news-ink); background: #fff; font-weight: 750; text-decoration: none; }
.news-pagination .is-active { border-color: var(--news-red); color: #fff; background: var(--news-red); }
.news-pagination .is-disabled { opacity: .45; }

.news-cta { padding: 66px 0; color: #fff; background: var(--news-red); }
.news-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.news-cta h2 { max-width: 720px; margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 900; line-height: 1.15; }
.news-cta p { margin: 12px 0 0; color: rgba(255,255,255,.78); }
.news-cta-link { flex: 0 0 auto; padding: 15px 22px; border-radius: 12px; color: var(--news-ink); background: #fff; font-weight: 800; text-decoration: none; }

.article-hero { padding: 60px 0 54px; color: #fff; background: var(--news-ink); }
.article-breadcrumb { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,.58); font-size: 13px; }
.article-breadcrumb a { color: #ff8a6f; text-decoration: none; }
.article-hero h1 { max-width: 920px; margin: 0; font-size: clamp(34px, 5vw, 62px); font-weight: 900; line-height: 1.13; letter-spacing: -.04em; }
.article-hero .news-date { margin-top: 22px; color: rgba(255,255,255,.7); }

.article-layout { padding: 54px 0 80px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.article-main { padding: clamp(22px, 4vw, 48px); border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(16,32,51,.07); }
.article-main-image { width: 100%; max-height: 540px; margin-bottom: 30px; border-radius: 16px; object-fit: cover; }
.article-content { color: #26384c; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.article-content h2, .article-content h3 { margin: 34px 0 14px; color: var(--news-ink); font-weight: 850; line-height: 1.3; }
.article-content p { margin-bottom: 18px; }
.article-content img { height: auto !important; border-radius: 14px; }
.article-content a { color: var(--news-red); }
.article-content table { width: 100% !important; display: block; overflow-x: auto; }

.article-sidebar { position: sticky; top: 24px; display: grid; gap: 20px; }
.latest-panel, .article-contact { overflow: hidden; border: 1px solid var(--news-line); border-radius: 20px; background: #fff; }
.latest-panel h2 { margin: 0; padding: 20px 22px; color: #fff; background: var(--news-ink); font-size: 18px; font-weight: 850; }
.latest-item { padding: 14px; border-bottom: 1px solid var(--news-line); display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 12px; color: var(--news-ink); text-decoration: none; }
.latest-item:last-child { border-bottom: 0; }
.latest-item img { width: 88px; height: 70px; border-radius: 10px; object-fit: cover; background: #e8e5df; }
.latest-item h3 { margin: 4px 0 0; font-size: 14px; font-weight: 800; line-height: 1.38; }
.latest-item .news-date { color: var(--news-muted); font-size: 10px; }
.article-contact { padding: 25px; color: #fff; background: var(--news-red); }
.article-contact h2 { margin: 0 0 10px; font-size: 23px; font-weight: 850; }
.article-contact p { margin: 0 0 20px; color: rgba(255,255,255,.78); line-height: 1.6; }
.article-contact a { display: inline-flex; padding: 12px 16px; border-radius: 10px; color: var(--news-ink); background: #fff; font-weight: 800; text-decoration: none; }

.related-news { padding: 0 0 80px; }
.related-news h2 { margin: 0 0 24px; font-size: 32px; font-weight: 900; }
.related-news .news-grid { align-items: stretch; }
.related-news .news-card { height: 100%; }
.related-news .news-card-media { flex: 0 0 auto; }
.related-news .news-card-copy { min-height: 218px; }
.related-news .news-card h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

@media (max-width: 991px) {
    .news-hero { min-height: 570px; }
    .news-lead-grid, .article-layout { grid-template-columns: 1fr; }
    .news-side-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .news-side-head { grid-column: 1 / -1; }
    .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .article-sidebar { position: static; grid-template-columns: 1.4fr 1fr; }
}

@media (max-width: 767px) {
    .news-shell { width: min(100% - 24px, 1180px); }
    .news-hero { min-height: 620px; padding: 58px 0; }
    .news-hero::after { display: none; }
    .news-section { padding: 54px 0; }
    .news-section-head, .news-cta-row { align-items: flex-start; flex-direction: column; }
    .news-lead { min-height: 430px; }
    .news-side-list, .news-grid, .article-sidebar { grid-template-columns: 1fr; }
    .news-more-head { align-items: flex-start; flex-direction: column; gap: 12px; }
    .news-more-line { display: none; }
    .news-side-card { grid-template-columns: 105px minmax(0,1fr); }
    .news-side-card img { width: 105px; height: 84px; }
    .news-card h3 { font-size: 18px; }
    .article-hero { padding: 42px 0; }
    .article-layout { padding: 28px 0 54px; }
    .article-main { padding: 18px; border-radius: 16px; }
    .article-content { font-size: 16px; }
    .related-news { padding-bottom: 54px; }
}

@media (max-width: 420px) {
    .news-pagination a, .news-pagination span { min-width: 38px; height: 38px; }
}
