/* 2026 editorial redesign: a restrained, high-trust financial news system */
:root {
    --ink: #101820;
    --muted: #637080;
    --navy: #071a2f;
    --blue: #0b4f8a;
    --rule: #dce2e8;
    --paper: #ffffff;
    --wash: #f4f6f8;
    --serif: Georgia, "Times New Roman", serif;
    --headline: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #78b7ee;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20000;
    padding: 10px 16px;
    background: var(--navy);
    color: #fff;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.navbar-section {
    width: min(1240px, calc(100% - 48px));
    min-height: 68px;
    padding: 22px 0;
}
.navbar-section > a img { width: min(335px, 42vw); height: auto; }
.navbar-section .date { color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.menu-button { border: 0; background: transparent; padding: 0; cursor: pointer; }
.menu { box-sizing: content-box; padding: 9px 8px 6px; border-color: #aab4bf; }

.cateagory-section { padding: 0; border-color: var(--rule); }
.category-grid-section {
    width: min(1240px, calc(100% - 48px));
    min-height: 52px;
    justify-content: flex-start;
    gap: 30px;
}
.category { padding: 17px 0 15px; font-size: 12px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.category:not(:first-child) { border-left: 0; }
.category::before { top: auto; bottom: -1px; }

.top-section,
.four-grid-section,
.three-grid-section,
.newsletter-section,
.bottom-section { width: min(1240px, calc(100% - 48px)); }

.top-section { padding: 42px 0 52px; gap: 26px; align-items: stretch; }
.top-section-l { width: 21%; gap: 42px; }
.top-section-m { width: 50%; padding: 0 26px; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.top-section-r { width: 29%; gap: 0; }
.img-wrapper { height: 168px; }
.main-img-wrapper { aspect-ratio: 16/10; overflow: hidden; }
.main-img { transition: transform .35s ease; }
a:hover .main-img, .four-grid:hover .main-img, .three-grid-box:hover .main-img { transform: scale(1.025); }
.img-grid-m { gap: 16px; }
.main-head, .mini-head-l, .top-right-grid-l-head { font-family: var(--headline); font-stretch: normal; font-weight: 700; text-wrap: balance; }
.main-head { font-size: clamp(36px, 3.7vw, 56px); line-height: 1.02; letter-spacing: -.02em; }
.mini-head-l { font-size: 20px; line-height: 1.18; }
.top-right-grid-l-head { font-size: 16px; line-height: 1.22; }
.main-head a, .mini-head-l a, .top-right-grid-l-head a { transition: color .2s ease; }
.main-head a:hover, .mini-head-l a:hover, .top-right-grid-l-head a:hover { color: var(--blue); }
.mini-title-bl { color: var(--blue); font-size: 11px; letter-spacing: .1em; }
.date { color: var(--muted); font-size: 12px; }
.main-para, .main-para.b, .main-para.d { color: #52606d; line-height: 1.6; }
.main-para { width: 92%; font-size: 16px; }
.top-right-grid { gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--rule); }
.top-right-grid:first-of-type { padding-top: 4px; }
.top-right-grid-r-img-wrapper { aspect-ratio: 4/3; overflow: hidden; }

.four-grid-section, .three-grid-section { padding: 54px 0; gap: 18px; }
.four-grid-section + .four-grid-section, .three-grid-section + .four-grid-section { border-top: 1px solid var(--rule); }
.grid-header-section { align-items: end; }
.top-section-r-head { font-size: 18px; font-weight: 800; letter-spacing: .09em; color: var(--navy); }
.h-line { border-color: var(--ink); }
.total-grid-section { gap: 28px; padding-top: 8px; }
.four-grid { gap: 11px; }
.four-grid-img-wrapper { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 5px; }
.four-grid .mini-head-l { font-size: 22px; }
.four-grid .main-para { font-size: 14px; }

.three-grid { gap: 32px; padding-top: 8px; }
.three-grid-section-l { width: 58%; padding-right: 32px; border-right: 1px solid var(--rule); }
.three-grid-section-r { width: 42%; }
.three-grid-right { gap: 24px; }
.three-gird-img-wrapper { aspect-ratio: 16/10; overflow: hidden; }

.newsletter-section {
    box-sizing: border-box;
    align-items: flex-start;
    text-align: left;
    margin: 58px auto;
    padding: 48px clamp(28px, 6vw, 80px);
    color: #fff;
    background: var(--navy);
}
.newsletter-section h2 { max-width: 700px; margin: 0 0 22px; font-family: var(--headline); font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.newsletter-form { width: 100%; justify-content: flex-start; }
.newsletter-form input { min-width: 0; padding: 14px 16px; border: 1px solid #8d99a7; border-radius: 2px !important; }
.newsletter-form button { padding: 15px 26px; border-radius: 2px; background: #d6a94b; color: #101820; }
.newsletter-form button:hover { background: #edc66d; }

.bottom-section { gap: 32px; padding: 54px 0 70px; border-top: 1px solid var(--rule); }
.footer { border-top-color: var(--ink); }

@media (max-width: 900px) {
    .top-section { flex-wrap: wrap; }
    .top-section-m { order: -1; width: 100%; padding: 0 0 34px; border: 0; border-bottom: 1px solid var(--rule); }
    .top-section-l { width: calc(50% - 14px); }
    .top-section-r { width: calc(50% - 14px); }
    .total-grid-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .four-grid { width: 100%; }
}

@media (max-width: 767px) {
    body { padding: 0; }
    .navbar-section, .top-section, .four-grid-section, .three-grid-section, .newsletter-section, .bottom-section { width: calc(100% - 32px); }
    .navbar-section { min-height: 52px; padding: 14px 0; }
    .navbar-section > a img { width: min(230px, 58vw); }
    .navbar-section .date { display: none; }
    .top-section { padding: 28px 0 40px; gap: 34px; }
    .top-section-l, .top-section-r { width: 100%; }
    .top-section-l { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .main-head { font-size: clamp(34px, 10vw, 46px); }
    .main-para { width: 100%; font-size: 15px; }
    .img-wrapper { height: auto; aspect-ratio: 16/10; overflow: hidden; }
    .total-grid-section { display: grid; grid-template-columns: 1fr; gap: 36px; }
    .four-grid-section, .three-grid-section { padding: 40px 0; }
    .four-grid .mini-head-l { font-size: 24px; }
    .three-grid { gap: 34px; }
    .three-grid-section-l { width: 100%; padding: 0 0 32px; border: 0; border-bottom: 1px solid var(--rule); }
    .three-grid-section-r { width: 100%; }
    .newsletter-section { margin: 38px auto; padding: 34px 24px; }
    .newsletter-form { align-items: stretch; }
    .newsletter-form input, .newsletter-form button { width: 100%; box-sizing: border-box; }
    .bottom-section { padding: 40px 0; }
}

@media (max-width: 480px) {
    .top-section-l { grid-template-columns: 1fr; }
    .three-grid-right { flex-direction: column; }
    .three-grid-box { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Newsroom edition — compact, headline-led and inspired by modern news desks */
body { background: #fff; }

.navbar-section {
    min-height: 56px;
    padding: 14px 0 12px;
}
.navbar-section > a img { width: 285px; }
.navbar-section .date { font-size: 11px; }

.cateagory-section { border-top: 0; border-bottom: 1px solid #d8d8d8; }
.category-grid-section {
    justify-content: center;
    gap: 0;
    min-height: 44px;
}
.category {
    padding: 13px 16px 12px;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}
.category:first-child { background: #ededed; }
.category::before { display: none; }
.category a:hover { color: #a30f16; }

.news-ticker {
    width: 100%;
    overflow: hidden;
    color: #fff;
    background: #050505;
}
.news-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
    height: 42px;
    padding: 0 28px;
    box-sizing: border-box;
}
.news-ticker a { display: flex; align-items: center; gap: 12px; font-size: 12px; white-space: nowrap; }
.news-ticker strong { padding: 3px 13px; color: #fff; background: #ad1118; font-family: var(--headline); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.news-ticker span { color: #e6e6e6; }
.news-ticker i { width: 1px; height: 18px; margin: 0 24px; background: #777; }

.homepage-intro {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
    padding: 46px 0 15px;
}
.homepage-intro h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.homepage-intro p { margin: 0; color: #66707a; font-size: 13px; line-height: 1.55; }

.top-section,
.four-grid-section,
.three-grid-section,
.newsletter-section,
.bottom-section { width: min(1140px, calc(100% - 48px)); }

.top-section {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
    grid-template-rows: auto;
    gap: 24px 44px;
    padding: 0 0 64px;
}
.top-section-m {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    padding: 0;
    border: 0;
}
.top-section-m .img-grid-m {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(320px, 1.22fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 30px;
    text-align: left;
}
.top-section-m .main-img-wrapper {
    grid-column: 2;
    grid-row: 1 / 5;
    aspect-ratio: 4 / 3;
}
.top-section-m .mini-title-bl { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 8px; }
.top-section-m .main-head { grid-column: 1; grid-row: 2; }
.top-section-m .main-para { grid-column: 1; grid-row: 3; margin: 15px 0 0; }
.top-section-m .date { grid-column: 1; grid-row: 4; align-self: start; margin-top: 14px; }
.main-head { font-size: clamp(37px, 4.25vw, 58px); line-height: .93; letter-spacing: -.035em; }
.main-para { width: 100%; font-size: 14px; line-height: 1.45; }
.mini-title-bl { position: relative; padding-left: 17px; color: #a30f16; font-size: 12px; letter-spacing: 0; text-transform: none; }
.mini-title-bl::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; border-radius: 50%; background: #d71920; }

.top-section-r {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.top-section-r > .top-section-r-head { display: none; }
.top-section-r > .h-line { display: none; }
.top-right-grid { align-items: center; gap: 18px; padding: 13px 0; }
.top-right-grid:first-of-type { padding-top: 0; }
.top-right-grid:last-of-type { padding-bottom: 0; }
.top-right-grid-l { width: calc(100% - 118px); gap: 7px; }
.top-right-grid-r { width: 100px; flex: 0 0 100px; }
.top-right-grid-r-img-wrapper { aspect-ratio: 4 / 3; }
.top-right-grid-l-head { font-size: 17px; line-height: 1.05; }
.top-right-grid .mini-title-bl { padding-left: 0; color: #69727c; font-family: var(--sans); font-size: 11px; font-weight: 400; }
.top-right-grid .mini-title-bl::before { display: none; }

.four-grid-section, .three-grid-section { padding: 50px 0; }
.grid-header-section { border-bottom: 2px solid #111; padding-bottom: 9px; }
.grid-header-section + .h-line { display: none; }
.top-section-r-head { font-family: var(--headline); font-size: 25px; font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.total-grid-section { gap: 24px; padding-top: 22px; }
.four-grid { padding-right: 24px; border-right: 1px solid #ddd; }
.four-grid:last-child { padding-right: 0; border-right: 0; }
.four-grid-img-wrapper { aspect-ratio: 4 / 3; }
.four-grid .mini-head-l { font-size: 20px; line-height: 1.06; }
.four-grid .main-para { font-size: 13px; }

.newsletter-section { margin: 38px auto; padding: 34px 40px; }
.newsletter-section h2 { font-size: 31px; }

@media (max-width: 1050px) {
    .top-section { grid-template-columns: 1fr; }
    .top-section-m, .top-section-r { grid-column: 1; }
    .top-section-m { grid-row: 1; }
    .top-section-r { grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
}

@media (max-width: 767px) {
    .news-ticker-track { overflow-x: auto; padding: 0 16px; }
    .homepage-intro { width: calc(100% - 32px); padding: 28px 0 12px; }
    .top-section { display: flex; flex-direction: column; gap: 36px; padding-bottom: 44px; }
    .top-section-m .img-grid-m { display: flex; text-align: left; }
    .top-section-m .main-img-wrapper { order: -1; aspect-ratio: 16 / 10; }
    .top-section-m .mini-title-bl { margin: 4px 0 0; }
    .main-head { font-size: clamp(39px, 12vw, 54px); }
    .top-section-r { display: flex; flex-direction: column; }
    .total-grid-section { gap: 34px; }
    .four-grid { padding: 0 0 34px; border-right: 0; border-bottom: 1px solid #ddd; }
    .four-grid:last-child { border-bottom: 0; }
    .newsletter-section { padding: 30px 22px; }
}
