:root {
  --gold-50: #fffbea;
  --gold-100: #fff3bd;
  --gold-200: #ffe16a;
  --gold-300: #f9ca24;
  --gold-400: #f4b400;
  --gold-500: #d99600;
  --gold-600: #a86700;
  --ink: #171b24;
  --ink-soft: #515867;
  --navy: #222013;
  --cream: #fffcf3;
  --line: #ebe3ca;
  --white: #fff;
  --radius-sm: 12px;
  --radius: 20px;
  --shadow: 0 18px 55px rgba(68, 51, 0, .11);
  --font: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--font); background: #fff; font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-space { padding: 70px 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-160%); padding: 10px 16px; background: var(--gold-400); border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.topbar { min-height: 35px; background: linear-gradient(90deg, #342600, #8c5c00 62%, #d89d00); color: rgba(255,255,255,.88); font-size: 12px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 35px; }
.topbar p { margin: 0; }
.utility-nav { display: flex; align-items: center; gap: 22px; }
.utility-nav a, .text-action { opacity: .9; transition: opacity .2s; }
.utility-nav a:hover, .text-action:hover { opacity: 1; }
.text-action { border: 0; padding: 0; background: none; color: inherit; cursor: pointer; font-size: inherit; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(225,210,162,.72); backdrop-filter: blur(18px); }
.header-inner { min-height: 98px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 27px; line-height: 1; font-style: italic; font-weight: 900; letter-spacing: -1.7px; white-space: nowrap; }
.brand > span:last-child { color: var(--gold-500); }
.brand > span:last-child span { color: var(--ink); }
.brand-mark { width: 63px; height: 52px; display: grid; place-items: center; transform: skewX(-7deg); }
.brand-mark svg { width: 100%; height: 100%; fill: var(--gold-400); filter: drop-shadow(0 7px 12px rgba(217,150,0,.24)); }
.main-nav { min-width: 0; justify-self: center; display: flex; align-items: center; gap: clamp(12px, 1.3vw, 20px); }
.nav-link { position: relative; border: 0; padding: 38px 0 34px; background: none; color: #2d3038; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 50%; bottom: 24px; width: 0; height: 3px; background: var(--gold-400); border-radius: 8px; transform: translateX(-50%); transition: width .22s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 22px; }
.nav-link.active { color: var(--gold-600); }
.header-actions { display: flex; gap: 10px; }
.icon-button, .language-button { height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 14px; box-shadow: 0 8px 24px rgba(57,45,4,.08); cursor: pointer; transition: .2s ease; }
.icon-button:hover, .language-button:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.icon-button { width: 44px; display: grid; place-items: center; }
.icon-button svg, .search-field svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.language-button { min-width: 59px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--gold-100); border-radius: 13px; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 9px; transition: .2s; }

.ticker { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--gold-50), #fff); overflow: hidden; }
.ticker-inner { min-height: 50px; display: flex; align-items: center; }
.ticker-label { position: relative; z-index: 2; flex: 0 0 auto; align-self: stretch; display: grid; place-items: center; padding: 0 24px; background: var(--gold-400); color: #2f2400; font-size: 12px; font-weight: 900; letter-spacing: .6px; }
.ticker-label::after { content: ""; position: absolute; right: -16px; border-block: 25px solid transparent; border-left: 16px solid var(--gold-400); }
.ticker-window { overflow: hidden; flex: 1; margin-left: 35px; }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: tickerMove 45s linear infinite; font-size: 13px; font-weight: 600; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.ticker-item::after { content: "•"; color: var(--gold-500); }
@keyframes tickerMove { to { transform: translateX(-50%); } }

.focus-section { padding-top: 38px; background: radial-gradient(circle at 90% 0, rgba(255,226,112,.24), transparent 32%); }
.focus-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; }
.lead-story, .focus-card { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; outline: none; isolation: isolate; background: #2f2a19; }
.lead-story { min-height: 545px; }
.lead-story img, .focus-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.65,.2,1); }
.lead-story:hover img, .lead-story:focus img, .focus-card:hover img, .focus-card:focus img { transform: scale(1.045); }
.lead-overlay, .focus-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,8,.04) 15%, rgba(16,15,9,.9) 100%); }
.lead-content { position: absolute; z-index: 2; left: 38px; right: 38px; bottom: 34px; color: white; }
.feature-label, .focus-card span { color: var(--gold-200); font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.feature-label { display: flex; align-items: center; gap: 9px; }
.feature-label i, .story-meta i { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.lead-content h1 { max-width: 760px; margin: 11px 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.24; letter-spacing: -.9px; }
.lead-content > p { max-width: 680px; margin: 0 0 16px; color: rgba(255,255,255,.76); font-size: 14px; }
.story-meta { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.74); font-size: 12px; }
.focus-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.focus-card { min-height: 265px; }
.focus-card > div:last-child { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; }
.focus-card h2 { margin: 6px 0; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.focus-card time { color: rgba(255,255,255,.68); font-size: 11px; }

.section-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-heading h2 { position: relative; margin: 0; padding-left: 15px; font-size: 24px; line-height: 1.3; letter-spacing: -.5px; }
.section-heading h2::before { content: ""; position: absolute; left: 0; top: 3px; width: 5px; height: 26px; background: var(--gold-400); border-radius: 5px; }
.more-link { border: 0; padding: 8px 0; background: none; color: var(--gold-600); font-size: 12px; font-weight: 800; cursor: pointer; }
.more-link span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.more-link:hover span { transform: translateX(4px); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.news-card { cursor: pointer; }
.news-card-image { position: relative; overflow: hidden; aspect-ratio: 16/10; border-radius: var(--radius-sm); background: var(--gold-50); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover img { transform: scale(1.04); }
.category-chip { position: absolute; left: 13px; bottom: 12px; padding: 5px 9px; border-radius: 7px; background: var(--gold-300); color: #2e2300; font-size: 10px; line-height: 1; font-weight: 900; }
.news-card h3 { margin: 14px 0 8px; font-size: 18px; line-height: 1.45; letter-spacing: -.25px; }
.news-card p { margin: 0 0 12px; color: var(--ink-soft); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; gap: 7px; color: #888b92; font-size: 11px; }
.news-meta i { width: 3px; height: 3px; background: var(--gold-500); border-radius: 50%; }
.empty-state { padding: 58px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--cream); }
.empty-state span { display: block; color: var(--gold-500); font-size: 38px; }
.empty-state h3 { margin: 8px 0 4px; }
.empty-state p { margin: 0; color: var(--ink-soft); }

.attention-section { background: linear-gradient(180deg, #fff, var(--cream)); }
.attention-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 38px; align-items: start; }
.attention-list { display: grid; gap: 1px; background: var(--line); }
.attention-item { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 22px 0; background: #fff; cursor: pointer; }
.attention-item:first-child { padding-top: 0; }
.attention-thumb { overflow: hidden; height: 155px; border-radius: 13px; }
.attention-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.attention-item:hover img { transform: scale(1.04); }
.attention-copy .eyebrow { color: var(--gold-600); }
.attention-copy h3 { margin: 6px 0 9px; font-size: 18px; line-height: 1.45; }
.attention-copy > p { margin: 0 0 11px; color: var(--ink-soft); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eyebrow { color: var(--gold-600); font-size: 11px; font-weight: 900; letter-spacing: .85px; }
.sidebar { display: grid; gap: 22px; position: sticky; top: 128px; }
.popular-card, .newsletter-card { border-radius: var(--radius); box-shadow: var(--shadow); }
.popular-card { padding: 24px 22px 14px; background: #fff; border: 1px solid #eee6cf; }
.aside-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 2px solid var(--ink); }
.aside-heading h2 { margin: 0; font-size: 18px; }
.aside-heading span { color: #8c8a81; font-size: 10px; }
.popular-card ol { margin: 8px 0 0; padding: 0; list-style: none; }
.popular-card li { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 14px 0; border-bottom: 1px solid #eee9da; cursor: pointer; }
.popular-card li:last-child { border-bottom: 0; }
.popular-card li > span { color: var(--gold-400); font-size: 22px; line-height: 1.15; font-weight: 900; }
.popular-card li p { margin: 0; font-size: 12px; line-height: 1.5; font-weight: 700; }
.newsletter-card { padding: 26px 22px; background: linear-gradient(145deg, #292411, #5d4200); color: #fff; }
.newsletter-card .eyebrow { color: var(--gold-200); }
.newsletter-card h2 { margin: 5px 0 10px; padding-bottom: 12px; border-bottom: 2px solid var(--gold-300); font-size: 20px; }
.newsletter-card p { color: rgba(255,255,255,.68); font-size: 12px; }
.newsletter-card label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.newsletter-card input { width: 100%; height: 47px; padding: 0 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; outline: none; }
.newsletter-card input:focus { border-color: var(--gold-300); box-shadow: 0 0 0 4px rgba(249,202,36,.18); }
.newsletter-card button { width: 100%; height: 47px; margin-top: 9px; border: 0; border-radius: 10px; background: var(--gold-300); color: #332700; font-weight: 800; cursor: pointer; }
.newsletter-card button:hover { background: var(--gold-200); }
.newsletter-card small { display: block; margin-top: 11px; color: rgba(255,255,255,.5); font-size: 9px; text-align: center; }

.ceo-section { background: #fff; }
.ceo-card { position: relative; display: grid; grid-template-columns: 310px 1fr; gap: 54px; align-items: center; min-height: 390px; padding: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(130deg, var(--cream), #fff); box-shadow: var(--shadow); }
.ceo-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 390px; height: 390px; border: 70px solid rgba(244,180,0,.07); border-radius: 50%; }
.ceo-image-wrap { position: relative; z-index: 1; height: 315px; overflow: hidden; border-radius: 20px; box-shadow: 0 16px 40px rgba(52,39,0,.2); }
.ceo-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ceo-image-wrap > span { position: absolute; left: 18px; bottom: 17px; padding: 7px 11px; border-radius: 8px; background: var(--gold-300); color: #332700; font-size: 10px; font-weight: 900; }
.ceo-copy { position: relative; z-index: 2; max-width: 600px; }
.ceo-copy h2 { margin: 5px 0 0; font-size: clamp(27px, 4vw, 40px); line-height: 1.25; }
.ceo-copy h3 { margin: 2px 0 16px; color: var(--gold-600); font-size: 15px; }
.ceo-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.ceo-contact { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 25px; }
.ceo-contact a { font-size: 13px; font-weight: 600; }
.ceo-contact span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 8px; background: var(--gold-100); color: var(--gold-600); }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--gold-400); color: #2f2400; font-size: 13px; font-weight: 800; cursor: pointer; transition: .2s; }
.primary-link:hover { background: var(--gold-300); transform: translateY(-2px); }
.ceo-monogram { position: absolute; right: 25px; bottom: -42px; color: rgba(244,180,0,.09); font-size: 170px; line-height: 1; font-weight: 900; }

.site-footer { position: relative; background: #1f1d13; color: rgba(255,255,255,.72); }
.footer-accent { height: 5px; background: linear-gradient(90deg, var(--gold-500), var(--gold-200), var(--gold-500)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .75fr); gap: 60px; padding-top: 62px; padding-bottom: 48px; }
.brand-footer > span:last-child { color: var(--gold-300); }
.brand-footer > span:last-child span { color: #fff; }
.brand-footer .brand-mark { width: 48px; height: 42px; }
.footer-brand p { max-width: 390px; margin-top: 18px; font-size: 13px; }
.footer-grid h2 { margin: 7px 0 18px; color: #fff; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { display: block; margin: 9px 0; font-size: 12px; transition: .2s; }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--gold-200); transform: translateX(3px); }
.footer-grid > div:not(.footer-brand) p { margin: 9px 0; font-size: 12px; }
.socials { display: flex; gap: 9px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: var(--gold-200); font-weight: 800; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 62px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-bottom button { border: 0; background: none; color: var(--gold-200); cursor: pointer; font-weight: 700; }

.search-modal, .article-modal, .account-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(19,17,10,.74); backdrop-filter: blur(10px); }
[hidden] { display: none !important; }
.search-panel, .article-panel, .account-panel { position: relative; width: min(720px, 100%); max-height: min(780px, calc(100vh - 40px)); overflow: auto; border-radius: 24px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.search-panel { padding: 40px; }
.search-panel h2 { margin: 4px 0 24px; font-size: 28px; }
.modal-close { position: absolute; right: 17px; top: 15px; z-index: 3; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.search-field { display: flex; align-items: center; gap: 11px; height: 55px; padding: 0 16px; border: 2px solid var(--gold-300); border-radius: 13px; background: var(--gold-50); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.search-results { display: grid; gap: 9px; margin-top: 20px; }
.search-result { width: 100%; display: grid; grid-template-columns: 74px 1fr; gap: 13px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; }
.search-result img { width: 74px; height: 58px; object-fit: cover; border-radius: 8px; }
.search-result span { color: var(--gold-600); font-size: 9px; font-weight: 900; }
.search-result strong { display: block; font-size: 12px; line-height: 1.45; }
.article-panel { width: min(760px, 100%); }
.article-panel > img { width: 100%; height: 330px; object-fit: cover; }
.article-panel-body { padding: 30px 34px 35px; }
.article-panel-body h2 { margin: 6px 0 10px; font-size: 27px; line-height: 1.35; }
.article-panel-body > p:last-of-type { color: var(--ink-soft); }
.article-byline { color: #888; font-size: 12px; }
.modal-done { margin-top: 12px; }
.account-panel { width: min(440px, 100%); padding: 42px 34px 34px; text-align: center; }
.account-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 20px; background: var(--gold-300); color: #332700; font-size: 24px; font-weight: 900; }
.account-panel h2 { margin: 0 0 9px; }
.account-panel p { color: var(--ink-soft); font-size: 13px; }
.toast { position: fixed; z-index: 500; right: 22px; bottom: 22px; max-width: min(380px, calc(100% - 44px)); padding: 13px 18px; border-radius: 12px; background: #292411; color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(18px); pointer-events: none; transition: .25s; font-size: 13px; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto auto 1fr auto; gap: 16px; min-height: 78px; }
  .menu-toggle { display: block; order: 2; }
  .brand { order: 1; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); display: none; grid-template-columns: 1fr 1fr; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .nav-link { padding: 13px 12px; border-radius: 9px; text-align: left; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: var(--gold-100); }
  .header-actions { order: 4; justify-self: end; }
  .focus-grid { grid-template-columns: 1fr; }
  .lead-story { min-height: 500px; }
  .focus-card { min-height: 240px; }
}

@media (max-width: 820px) {
  .section-space { padding: 52px 0; }
  .utility-nav a:nth-child(-n+3) { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .attention-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .ceo-card { grid-template-columns: 240px 1fr; gap: 30px; padding: 28px; }
  .ceo-image-wrap { height: 280px; }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 38px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar-inner { justify-content: center; }
  .topbar p { font-size: 10px; }
  .utility-nav { display: none; }
  .header-inner { min-height: 70px; gap: 10px; grid-template-columns: auto 1fr auto; }
  .brand { font-size: 19px; letter-spacing: -1.2px; }
  .brand-mark { width: 43px; height: 38px; }
  .menu-toggle { order: 3; justify-self: end; }
  .header-actions { order: 2; }
  .language-button { display: none; }
  .main-nav { left: 14px; right: 14px; grid-template-columns: 1fr; }
  .ticker-inner { width: 100%; }
  .ticker-label { padding-inline: 14px; font-size: 10px; }
  .ticker-window { margin-left: 28px; }
  .ticker-track { font-size: 11px; }
  .focus-section { padding: 18px 0 45px; }
  .focus-grid { width: 100%; }
  .lead-story { min-height: 500px; border-radius: 0; }
  .lead-content { left: 20px; right: 20px; bottom: 25px; }
  .lead-content h1 { font-size: 25px; }
  .lead-content > p { display: none; }
  .story-meta { flex-wrap: wrap; }
  .focus-list { display: flex; gap: 12px; overflow-x: auto; padding: 0 14px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .focus-card { flex: 0 0 82vw; min-height: 245px; scroll-snap-align: start; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2 { font-size: 21px; }
  .news-grid { grid-template-columns: 1fr; gap: 28px; }
  .news-card h3 { font-size: 17px; }
  .attention-item { grid-template-columns: 116px 1fr; gap: 14px; padding: 17px 0; }
  .attention-thumb { height: 104px; }
  .attention-copy h3 { margin-top: 3px; font-size: 14px; line-height: 1.4; }
  .attention-copy > p { display: none; }
  .news-meta { flex-wrap: wrap; }
  .sidebar { grid-template-columns: 1fr; }
  .ceo-card { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 24px; padding: 20px; border-radius: 22px; }
  .ceo-image-wrap { height: 330px; }
  .ceo-contact { display: grid; gap: 9px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 45px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; gap: 16px; padding: 18px 0; }
  .footer-bottom p { margin: 0; }
  .search-panel { padding: 34px 18px 22px; }
  .search-panel h2 { font-size: 21px; }
  .article-panel > img { height: 225px; }
  .article-panel-body { padding: 23px 20px 26px; }
  .article-panel-body h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* PHP + MySQL pages */
.lead-story > a,.focus-card > a{position:absolute;inset:0;display:block}
.focus-card > a > div:last-child{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;color:#fff}
.news-card > a{display:block}
.flash-stack{position:fixed;z-index:550;right:22px;top:145px;display:grid;gap:9px;width:min(390px,calc(100% - 44px))}
.flash{padding:13px 16px;border:1px solid;border-radius:12px;background:#fff;box-shadow:var(--shadow);font-size:13px;font-weight:600;animation:flashIn .25s ease both}
.flash.success{color:#2d651b;border-color:#b9dfa9;background:#f2faee}.flash.error{color:#9a2626;border-color:#efb9b9;background:#fff2f2}
@keyframes flashIn{from{opacity:0;transform:translateY(-10px)}}
.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.archive-hero{padding:62px 0;background:linear-gradient(125deg,#fff9dc,#fff 62%,#ffefad);border-bottom:1px solid var(--line)}
.archive-hero h1{max-width:820px;margin:7px 0 9px;font-size:clamp(31px,5vw,52px);line-height:1.2;letter-spacing:-1.3px}
.archive-hero p{max-width:720px;margin:0;color:var(--ink-soft)}
.archive-search{display:flex;max-width:650px;gap:9px;margin-top:24px}.archive-search input{flex:1;min-width:0;height:51px;padding:0 15px;border:1px solid var(--line);border-radius:11px;outline:none}.archive-search input:focus{border-color:var(--gold-400);box-shadow:0 0 0 4px rgba(244,180,0,.14)}.archive-search button{padding:0 20px;border:0;border-radius:11px;background:var(--gold-400);font-weight:800;cursor:pointer}
.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:42px}.pagination a{display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px;font-weight:800}.pagination a.active,.pagination a:hover{background:var(--gold-400);border-color:var(--gold-400);color:#302400}
.contact-layout{display:grid;grid-template-columns:330px 1fr;gap:30px;align-items:start}.contact-card,.form-card,.profile-aside{padding:30px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.contact-card h2,.form-card h2,.profile-aside h2{margin-top:0}.contact-line{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}.contact-line:last-child{border-bottom:0}.contact-line>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:11px;background:var(--gold-100);color:var(--gold-600)}.contact-line p{margin:2px 0 0;color:var(--ink-soft);font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label,.auth-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid textarea,.auth-form input{width:100%;border:1px solid #dcd5c1;border-radius:10px;background:#fff;padding:12px 13px;outline:none;color:var(--ink)}.form-grid input,.auth-form input{height:49px}.form-grid textarea{resize:vertical;min-height:135px}.form-grid input:focus,.form-grid textarea:focus,.auth-form input:focus{border-color:var(--gold-400);box-shadow:0 0 0 4px rgba(244,180,0,.13)}
.partner-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.partner-card{padding:28px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:0 12px 40px rgba(67,50,0,.08)}.partner-card>img,.partner-mark{display:grid;place-items:center;width:74px;height:74px;margin-bottom:20px;border-radius:18px;object-fit:contain;background:var(--gold-100);color:var(--gold-600);font-size:24px;font-weight:900}.partner-card h2{margin:0 0 8px;font-size:19px}.partner-card p{min-height:65px;color:var(--ink-soft);font-size:13px}.partner-card a{color:var(--gold-600);font-size:12px;font-weight:800}
.auth-section{min-height:680px;background:radial-gradient(circle at 10% 5%,rgba(255,223,91,.32),transparent 30%),var(--cream)}.auth-shell{display:grid;grid-template-columns:1fr 470px;gap:65px;align-items:center}.auth-brand{max-width:560px}.auth-brand h1{margin:8px 0 14px;font-size:clamp(35px,5vw,58px);line-height:1.15;letter-spacing:-1.5px}.auth-brand>p:last-child{color:var(--ink-soft)}.account-icon{display:grid;place-items:center;width:74px;height:74px;margin-bottom:25px;border-radius:21px;background:var(--gold-400);color:#332700;font-size:25px;font-weight:900}.auth-form{display:grid;gap:17px}.auth-form .primary-link{width:100%;margin-top:4px}.auth-form>p{margin:0;text-align:center;color:var(--ink-soft);font-size:12px}.auth-form>p a{color:var(--gold-600);font-weight:800}
.article-page{background:linear-gradient(180deg,#fff,#fffdf7)}.article-layout{display:grid;grid-template-columns:minmax(0,790px) 310px;justify-content:space-between;gap:55px}.article-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px;color:#7e7a6d;font-size:12px}.article-main>h1{margin:8px 0 16px;font-size:clamp(32px,5vw,52px);line-height:1.2;letter-spacing:-1.25px}.article-info{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:#817d72;font-size:12px}.article-info i{width:4px;height:4px;border-radius:50%;background:var(--gold-400)}.article-lead{margin:28px 0 24px;padding-left:18px;border-left:5px solid var(--gold-400);font-size:19px;line-height:1.75;font-weight:600}.article-cover{width:100%;max-height:540px;margin:25px 0 31px;border-radius:18px;object-fit:cover}.article-content{font-size:17px;line-height:1.9}.article-content p{margin:0 0 22px}.article-author{display:flex;gap:16px;align-items:center;margin-top:40px;padding:22px;border:1px solid var(--line);border-radius:17px;background:var(--cream)}.author-avatar{display:grid;place-items:center;flex:0 0 62px;height:62px;overflow:hidden;border-radius:50%;background:var(--gold-400);font-weight:900}.author-avatar img{width:100%;height:100%;object-fit:cover}.article-author span{display:block;color:#8a8679;font-size:10px}.article-author strong{font-size:16px}.article-author p{margin:2px 0 0;color:var(--ink-soft);font-size:12px}.article-sidebar{position:sticky;top:130px;align-self:start}.related-section{background:var(--cream)}
.profile-head{display:flex;align-items:center;gap:22px}.profile-avatar{display:grid;place-items:center;flex:0 0 105px;height:105px;overflow:hidden;border:4px solid #fff;border-radius:28px;background:var(--gold-400);box-shadow:var(--shadow);font-size:40px;font-weight:900}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-head h1{margin:3px 0}.profile-layout{display:grid;grid-template-columns:1fr 330px;gap:30px;align-items:start}.profile-aside p{padding-bottom:12px;border-bottom:1px solid var(--line);color:var(--ink-soft);font-size:13px}.profile-aside .primary-link{margin-top:10px}
.not-found{text-align:center;min-height:560px;display:grid;place-items:center}.not-found span{display:block;color:var(--gold-400);font-size:100px;line-height:1;font-weight:900}.not-found h1{margin:8px 0}.not-found p{color:var(--ink-soft)}
.search-submit{width:100%;margin-top:14px}.search-modal .search-panel{overflow:visible}
.legal-card{max-width:900px;padding:34px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow)}
.legal-card h2{margin:28px 0 8px;font-size:21px}.legal-card h2:first-child{margin-top:0}.legal-card p{color:var(--ink-soft);line-height:1.85}
@media(max-width:920px){.article-layout{grid-template-columns:1fr}.article-sidebar{position:static}.auth-shell{grid-template-columns:1fr;gap:30px}.auth-brand{text-align:center;margin:auto}.auth-brand .account-icon{margin-inline:auto}.partner-grid{grid-template-columns:repeat(2,1fr)}.contact-layout,.profile-layout{grid-template-columns:1fr}}
@media(max-width:620px){.flash-stack{top:120px;right:14px;width:calc(100% - 28px)}.archive-hero{padding:44px 0}.archive-search{display:grid}.archive-search button{height:49px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.contact-card,.form-card,.profile-aside{padding:22px}.partner-grid{grid-template-columns:1fr}.partner-card p{min-height:0}.auth-section{min-height:0}.auth-brand h1{font-size:35px}.article-main>h1{font-size:30px}.article-lead{font-size:17px}.article-content{font-size:16px}.profile-head{align-items:flex-start}.profile-avatar{flex-basis:82px;height:82px;border-radius:22px}.profile-head h1{font-size:28px}}
.password-section{padding:0 0 70px}.password-card{max-width:820px}.password-card .form-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:820px){.password-card .form-grid{grid-template-columns:1fr}}

/* Drawer, language picker and mobile navigation inspired by the reference layout */
body.drawer-open{overflow:hidden}
.custom-logo{display:block;width:auto;max-width:260px;height:58px;object-fit:contain}
.drawer-backdrop{position:fixed;inset:0;z-index:240;border:0;background:rgba(16,25,32,.58);opacity:0;visibility:hidden;transition:.25s;cursor:pointer}
.drawer-backdrop.open{opacity:1;visibility:visible}
.mobile-drawer{position:fixed;inset:0 auto 0 0;z-index:250;width:min(88vw,600px);padding:26px 28px 40px;overflow-y:auto;background:#fff;box-shadow:24px 0 70px rgba(14,24,31,.24);transform:translateX(-105%);visibility:hidden;transition:transform .28s ease,visibility .28s}
.mobile-drawer.open{transform:none;visibility:visible}
.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}
.drawer-head .brand{font-size:23px}
.drawer-head .brand-mark{width:54px;height:46px}
.drawer-head .custom-logo{max-width:250px;height:56px}
#drawerClose{display:grid;place-items:center;flex:0 0 48px;height:48px;border:0;border-radius:50%;background:#f2f5f7;color:#233342;font-size:31px;cursor:pointer}
.drawer-label{margin:18px 8px 12px;color:#8b98a3;font-size:12px;font-weight:800;letter-spacing:2px}
.drawer-nav{display:grid;gap:3px}
.drawer-nav a{display:flex;align-items:center;gap:17px;min-height:56px;padding:6px 10px;border-radius:12px;color:#142535;font-size:17px;font-weight:700}
.drawer-nav a:hover{background:var(--gold-50);color:#8b6500}
.drawer-nav a span{display:grid;place-items:center;width:34px;font-size:24px}
.mobile-drawer hr{margin:20px 0;border:0;border-top:1px solid #e8ecef}
.language-button i{font-style:normal;color:#7e858a}
.language-popup{position:fixed;z-index:270;top:115px;right:max(20px,calc((100vw - 1180px)/2));width:min(490px,calc(100vw - 28px));max-height:min(720px,calc(100vh - 145px));padding:20px;overflow:auto;border:1px solid #dfe6e9;border-radius:28px;background:rgba(255,255,255,.97);box-shadow:0 28px 80px rgba(19,37,48,.23);backdrop-filter:blur(18px)}
.language-head{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid #e9edef}
.language-head>span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:linear-gradient(145deg,var(--gold-400),#ffda4e);font-size:27px}
.language-head>div{display:grid}.language-head b{font-size:18px}.language-head small{color:#87929b}
.language-head button{margin-left:auto;width:42px;height:42px;border:0;border-radius:50%;background:#f2f5f7;font-size:26px;cursor:pointer}
.language-list{display:grid;gap:6px;margin-top:12px}
.language-list button{display:grid;grid-template-columns:52px 1fr auto 24px;align-items:center;gap:13px;min-height:64px;padding:6px 12px;border:0;border-radius:17px;background:transparent;color:#263541;text-align:left;cursor:pointer}
.language-list button:hover,.language-list button.selected{background:linear-gradient(90deg,#fff6c9,#fff)}
.language-list button>span{display:grid;place-items:center;width:48px;height:48px;border:1px solid #e2e7ea;border-radius:50%;background:#fff;font-size:26px;box-shadow:0 6px 18px rgba(25,42,52,.08)}
.language-list button b{font-size:16px}.language-list button small{color:#8a959d;font-weight:700}.language-list button i{opacity:0;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--gold-400);font-style:normal}.language-list button.selected i{opacity:1}
.language-popup>p{margin:12px 8px 0;color:#8a959d;font-size:10px}
.mobile-bottom-nav{display:none}

@media(max-width:1100px){.main-nav{display:none!important}}
@media(max-width:820px){body{padding-bottom:78px}.topbar{display:none}.site-header{top:0}.header-inner{grid-template-columns:minmax(0,1fr) auto auto;min-height:82px}.header-actions{display:flex;gap:7px}.icon-button,.language-button,.menu-toggle{width:45px;height:45px;min-width:45px;border-radius:14px}.language-button{display:flex}.language-button b,.language-button i{display:none}.brand{min-width:0;font-size:18px}.brand-mark{width:45px;height:39px}.custom-logo{max-width:150px;height:45px}.mobile-drawer{padding:20px 22px 110px}.drawer-head .custom-logo{max-width:230px}.drawer-nav a{min-height:58px;font-size:18px}.language-popup{top:91px;right:14px;max-height:calc(100vh - 180px);padding:15px;border-radius:24px}.language-list button{min-height:61px}.mobile-bottom-nav{position:fixed;z-index:220;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);min-height:74px;padding:6px max(8px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #e7e9ea;background:rgba(255,255,255,.97);box-shadow:0 -12px 35px rgba(25,38,46,.1);backdrop-filter:blur(14px)}.mobile-bottom-nav a,.mobile-bottom-nav button{display:grid;place-items:center;align-content:center;gap:1px;border:0;border-radius:14px;background:transparent;color:#697680;font-size:21px;cursor:pointer}.mobile-bottom-nav b{font-size:11px}.mobile-bottom-nav .active{background:var(--gold-50);color:#8a6500}.site-footer{margin-bottom:0}.news-grid{gap:14px}.news-card>a{display:grid;grid-template-columns:38% 1fr;grid-template-rows:auto auto 1fr;column-gap:15px;min-height:155px;overflow:hidden;border:1px solid #e5e7e4;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(31,42,48,.07)}.news-card-image{grid-column:1;grid-row:1/5;height:100%;aspect-ratio:auto;border-radius:0}.news-card h3{grid-column:2;grid-row:1;margin:17px 14px 5px 0;font-size:16px;line-height:1.45}.news-card> a > p{grid-column:2;grid-row:2;margin:0 14px 5px 0;font-size:11px}.news-card .news-meta{grid-column:2;grid-row:3;align-self:end;margin:4px 14px 15px 0}.news-card .category-chip{left:9px;bottom:9px}.footer-grid{padding-bottom:35px}.footer-bottom{padding-bottom:20px}}
@media(max-width:390px){.brand{font-size:16px}.brand-mark{width:39px}.header-inner{gap:6px}.icon-button,.language-button,.menu-toggle{width:42px;height:42px;min-width:42px}.mobile-drawer{width:92vw;padding-inline:18px}.drawer-head .brand{font-size:19px}.drawer-head .brand-mark{width:45px}.language-list button{grid-template-columns:48px 1fr auto 21px;padding-inline:8px}.language-list button b{font-size:14px}}
