/* Samuga's three-second reading standard: content first, generous space.
   Existing logos, fonts, editorial colours and explicit dark preference stay. */
/* Drawer must sit above the 320-z-index masthead, including its close control. */
.v3-drawer-overlay { z-index:400;background:rgba(13,24,35,.32);backdrop-filter:none; }
body.v3-drawer-open { touch-action:auto; }
.v3-drawer-overlay { touch-action:none; }
.v3-drawer { z-index:410;width:min(360px,calc(100vw - 32px));background:var(--bg);color:var(--text);padding:0 24px 28px;box-shadow:16px 0 48px rgba(13,24,35,.12); }
.v3-drawer { touch-action:pan-y; }
.v3-drawer-top { position:sticky;top:0;z-index:2;align-items:center;margin:0 -24px 8px;padding:20px 24px;background:var(--bg);border-bottom:1px solid var(--line); }
.v3-drawer-logo img { width:150px;filter:brightness(0); }
html[data-theme="dark"] .v3-drawer-logo img { filter:brightness(0) invert(1); }
.v3-drawer-close { width:44px;height:44px;flex-basis:44px;background:var(--surface-2);color:var(--text);border:1px solid var(--line);font-size:28px; }
.v3-drawer .v3-drawer-section { padding:20px 0;border-color:var(--line); }
.v3-drawer-heading { color:var(--muted);font-size:11px;letter-spacing:.08em;margin-bottom:12px; }
.v3-category-btn { min-height:46px;padding:10px 12px;border:0;border-radius:8px;color:var(--text-2);font-size:15px;font-weight:500; }
.v3-category-btn::after { display:none; }
.v3-category-btn:hover,.v3-category-btn:focus-visible { padding-left:12px;background:var(--surface-2); }
.v3-category-btn.active { background:var(--surface-2);color:var(--text);font-weight:700;border-radius:8px; }
.v3-category-btn[data-v3-category="BREAKING"] { color:#c42d37; }
html[data-theme="dark"] .v3-category-btn[data-v3-category="BREAKING"] { color:#ff8585; }
.v3-ai-drawer-btn { min-height:46px;margin-top:16px;background:var(--surface-2);color:var(--text);border:1px solid var(--line);box-shadow:none; }
.v3-ai-drawer-btn:hover { transform:none;box-shadow:none; }
.v3-drawer .v3-social-row { display:flex;gap:10px;flex-wrap:wrap; }
.v3-drawer .v3-social-link { width:42px;height:42px;background:var(--surface-2);border:1px solid var(--line);color:var(--text-2); }
.v3-drawer [data-unconfigured="true"] { display:none!important; }
.v3-drawer-links a,.v3-drawer-signoff,.v3-newsletter-copy,.v3-newsletter-consent { color:var(--text-2); }
.v3-drawer-newsletter summary { min-height:44px;cursor:pointer;color:var(--text);font-size:14px;font-weight:600; }
.v3-drawer-open > .chat-fab,.v3-drawer-open > .chat-panel { visibility:hidden!important;pointer-events:none!important; }
.v3-drawer :is(button,a,input,summary):focus-visible { outline:2px solid var(--brand)!important;outline-offset:3px; }
html[data-theme="light"] {
  color-scheme:light;
  --bg:#fff; --surface:#fff; --surface-2:#f5f7f9;
  --text:#13202c; --text-2:#425060; --muted:#637181; --line:#e5eaf0;
  --shadow:0 8px 24px rgba(19,32,44,.05);
}
.wrap { width:min(1180px,calc(100% - 64px)); }
.site-header,.article-header { box-shadow:0 1px 0 rgba(0,0,0,.08)!important; }
.news-strip { display:none!important; } /* the same stories remain in the feed */
.top-rail { display:none; }
.lead-section.reader-filtered { display:none!important; }
.lead-layout { grid-template-columns:1fr; }
.lead-section { padding:48px 0 40px; }
.lead-story { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px; }
.lead-copy { padding:12px 0; }
.lead-copy h1 { font-size:clamp(30px,3.2vw,42px);line-height:1.18; margin:18px 0; }
.lead-copy p { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.65; }
.lead-media { min-height:320px; border-radius:12px; }
.feed-section { padding:32px 0 88px; }
.feed-toolbar { margin-bottom:28px; gap:24px; }
.section-label { display:none; }
.reader-categories { display:flex;gap:8px;overflow-x:auto;padding:0 0 20px;margin-bottom:12px;scrollbar-width:thin; }
.reader-categories .nav-btn { min-height:44px;padding:10px 16px;white-space:nowrap;border-radius:999px;color:var(--text-2);font-size:13px; }
.reader-categories .nav-btn::after { display:none; }
.reader-categories .nav-btn.active { background:var(--surface-2);color:var(--text);box-shadow:inset 0 0 0 1px var(--line); }
.reader-categories .nav-btn[data-cat="BREAKING"] { color:#c42d37; }
.reader-categories .nav-btn[data-cat="POLITICAL"] { color:#b34c08; }
.reader-categories .nav-btn[data-cat="LOCAL"] { color:#087aa9; }
.reader-categories .nav-btn[data-cat="WORLD"] { color:#7950bb; }
.reader-categories .nav-btn[data-cat="SPORTS"] { color:#187b49; }
html[data-theme="dark"] .reader-categories .nav-btn { color:var(--text-2); }
.story-grid { gap:40px 28px; }
.story-card { border:0;border-radius:0;background:transparent;box-shadow:none!important; }
.story-card:hover { transform:none; }
.card-media { border-radius:10px;overflow:hidden; }
.card-body { padding:20px 0 0; }
.card-kicker { gap:12px; }
.card-title { margin:12px 0;font-size:23px;line-height:1.35;letter-spacing:-.35px; }
.card-summary { font-size:15px;line-height:1.7;color:var(--text-2); }
.card-footer { padding:16px 0 0;border-top:0; }
.search-box { padding:10px 14px;border:1px solid var(--line);border-radius:10px;min-height:46px; }
.search-box:focus-within { outline:2px solid var(--brand);outline-offset:3px; }
.reader-categories .nav-btn:focus-visible,.icon-btn:focus-visible,.lang-btn:focus-visible { outline:2px solid var(--text)!important;outline-offset:3px; }
.article-container { width:min(740px,calc(100% - 48px));margin-top:44px; }
.article-body { line-height:1.85;padding:36px 0; }
.article-body p { margin-bottom:1.6em; }
.share-btn { min-height:44px;padding:10px 16px; }
body.lang-dv .card-title { font-family:var(--thaana);font-weight:400;letter-spacing:0;line-height:1.7; }
body.lang-dv .reader-categories { direction:rtl; }
body.lang-dv .lead-copy h1 { line-height:1.6;letter-spacing:0; }
@media(max-width:760px) {
  .wrap { width:calc(100% - 40px); }
  .lead-section { padding:28px 0 32px; }
  .lead-story { grid-template-columns:1fr;gap:0; }
  .lead-media { min-height:0;aspect-ratio:16/9; }
  .lead-copy { padding:24px 0 0; }
  .lead-copy h1 { font-size:30px;line-height:1.25; }
  .lead-copy p { font-size:16px;margin-bottom:20px; }
  .feed-section { padding-top:24px; }
  .feed-toolbar { gap:20px;margin-bottom:24px; }
  .feed-toolbar h2 { font-size:28px; }
  .story-grid { gap:36px; }
  .card-title { font-size:22px; }
  .article-container { width:calc(100% - 40px);margin-top:28px; }
  .article-headline { font-size:34px;line-height:1.25; }
  #chatFab .chat-fab-label { display:none!important; }
  #chatFab.chat-fab { width:52px!important;min-width:52px!important;max-width:52px!important;height:52px!important;padding:8px!important;right:16px!important;bottom:16px!important;justify-content:center; }
}
