/* Global Arms Post: site styles. Colours and fonts are theme tokens (code standard 1). */
@font-face{font-family:"Inter";src:url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Newsreader";src:url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2");font-weight:200 800;font-display:swap}

:root{
  --red:#C8102E; --red-dark:#a00d25;
  --bg:#fff; --ink:#151515; --mute:#5f6368; --line:#e5e5e5; --soft:#f4f4f4;
  --drop-bg:#fff; --drop-ink:#151515;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --wrap:1240px; --gutter:16px; --radius:10px;
}
:root[data-theme="dark"]{
  --bg:#111214; --ink:#ececec; --mute:#a3a7ad; --line:#2b2d31; --soft:#1b1c1f;
  --drop-bg:#1b1c1f; --drop-ink:#ececec;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 var(--sans);overflow-wrap:break-word}
img,svg{max-width:100%}
img{height:auto}
a{color:inherit}
button{font:inherit;color:inherit}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:8px;top:-60px;background:var(--ink);color:var(--bg);padding:8px 12px;border-radius:6px;z-index:100}
.skip:focus{top:8px}
:focus-visible{outline:2px solid var(--red);outline-offset:2px}

/* Header: one white row like a modern news site (owner, 2026-11-05): logo left, menu, icons right.
   Red is only an accent (hover line, open arrow); search is a small box under the icon. */
.site-header{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}
.hdr{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter);display:flex;align-items:center;gap:24px;min-height:72px}
.logo{display:inline-flex;line-height:0;flex:none}
.logo img{display:block;width:180px;max-width:100%}
.menu-bar{flex:1;min-width:0}
.menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}
.menu>li{position:relative;display:flex;align-items:center}
.menu a{display:block;text-decoration:none;color:var(--ink);font-weight:500;font-size:17px;padding:12px 10px;line-height:1.2;white-space:nowrap}
.menu>li>a{position:relative}
.menu>li>a::after{content:"";position:absolute;left:10px;right:10px;bottom:4px;height:2px;background:var(--red);transform:scaleX(0);transition:transform .15s}
.menu>li>a:hover::after,.menu>li>a:focus-visible::after{transform:scaleX(1)}
.sub-toggle{background:none;border:0;padding:0 4px;margin-left:-8px;min-height:44px;cursor:pointer;display:flex;align-items:center;color:var(--ink)}
.sub-toggle svg{flex:none;width:14px;height:14px;max-width:none;transition:transform .15s}
.has-sub.open>.sub-toggle{color:var(--red)}
.has-sub.open>.sub-toggle svg{transform:rotate(180deg)}
.submenu{list-style:none;margin:0;padding:8px;display:none;position:absolute;top:100%;left:0;min-width:240px;background:var(--drop-bg);color:var(--drop-ink);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.14);border:1px solid var(--line)}
.submenu a{font-weight:500;font-size:16px;padding:12px;border-radius:8px}
.submenu a:hover,.submenu a:focus-visible{background:var(--soft)}
.submenu .submenu{position:static;box-shadow:none;border:0;padding:0 0 0 12px}
.has-sub.open>.submenu{display:block}
@media (hover:hover) and (min-width:1100px){.has-sub:hover>.submenu{display:block}}
.tools{display:flex;gap:4px;margin-left:auto;flex:none}
.icon-btn{background:none;border:0;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;color:var(--ink)}
.icon-btn:hover{background:var(--soft)}
.icon-btn[aria-expanded="true"],.theme-toggle[aria-pressed="true"]{background:var(--soft)}
.menu-toggle{display:none}
.search-box{position:absolute;right:max(var(--gutter),calc((100vw - var(--wrap)) / 2 + var(--gutter)));top:calc(100% + 8px);width:min(380px,calc(100vw - 2 * var(--gutter)));display:flex;gap:6px;padding:8px;background:var(--bg);border:1px solid var(--line);border-radius:999px;box-shadow:0 10px 28px rgba(0,0,0,.12)}
.search-box[hidden]{display:none}
.search-box input{flex:1;min-width:0;font:inherit;font-size:16px;padding:8px 12px;border:0;background:transparent;color:var(--ink);outline:none}
.search-box button{font-weight:600;font-size:15px;padding:8px 16px;border:0;border-radius:999px;background:var(--ink);color:var(--bg);cursor:pointer}

/* Phones and tablets: menu button, logo, icons; the menu opens as a white panel under the header. */
@media (max-width:1099.98px){
  .hdr{min-height:60px;gap:8px;padding:0 8px}
  .menu-toggle{display:inline-flex}
  .logo img{width:140px}
  .menu-bar{flex:0}
  .menu{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:var(--bg);padding:4px 0 12px;max-height:calc(100vh - 60px);overflow-y:auto;border-bottom:1px solid var(--line);box-shadow:0 16px 24px rgba(0,0,0,.08)}
  .menu-bar.open .menu{display:flex}
  .menu>li{flex-wrap:wrap;border-top:1px solid var(--line)}
  .menu>li>a{flex:1;padding:14px 16px}
  .menu>li>a::after{display:none}
  .sub-toggle{width:52px;justify-content:center;padding:0;margin:0}
  .submenu{position:static;width:100%;min-width:0;border-radius:0;box-shadow:none;border:0;background:var(--soft);padding:4px 0 8px}
  .submenu a{padding:12px 16px 12px 32px;border-radius:0}
}
@media (max-width:359.98px){.logo img{width:118px}.hdr{gap:4px}}

/* Content */
/* Section header: serif title, thin divider, See more */
.sec-head{display:flex;align-items:center;gap:14px;margin:4px 0 16px}
.sec-head h1,.sec-head h2{font:600 clamp(24px,3.2vw,30px)/1.15 var(--serif);margin:0;padding-right:14px;border-right:1px solid var(--line)}
.sec-sub{color:var(--mute);font-size:14px}
.see-more{margin-left:auto;font-size:14px;font-weight:600;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:6px 14px;white-space:nowrap}
.see-more:hover{border-color:var(--ink)}
.btn{display:inline-block;font-weight:600;font-size:15px;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:10px 20px}
.btn:hover{border-color:var(--ink)}

/* Homepage: 12-column grid; each section spans span-N columns (set in the admin) */
.home-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px 32px}
.hs{grid-column:span 12;min-width:0}
@media (max-width:1099.98px){.home-grid{grid-template-columns:minmax(0,1fr)}.hs{grid-column:auto}}
@media (min-width:1100px){.span-3{grid-column:span 3}.span-4{grid-column:span 4}.span-5{grid-column:span 5}.span-6{grid-column:span 6}.span-7{grid-column:span 7}.span-8{grid-column:span 8}.span-9{grid-column:span 9}.span-10{grid-column:span 10}.span-11{grid-column:span 11}}
.grid{display:grid;gap:24px}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (min-width:768px) and (max-width:1099.98px){.cols-4,.cols-5,.cols-6{grid-template-columns:repeat(2,minmax(0,1fr))}}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.hs-hero-grid .hs-body>.grid{margin-top:24px}

/* Story cards */
.card{min-width:0;position:relative}
.card a{text-decoration:none}
.card-title a:hover{text-decoration:underline;text-underline-offset:3px}
.card-media{display:block;overflow:hidden;border-radius:10px;background:var(--soft)}
.card-media img{display:block;width:100%;height:100%;object-fit:cover}
.card-title{font:600 18px/1.3 var(--serif);margin:10px 0 6px}
.card-excerpt{color:var(--mute);font-size:15px;margin:0 0 8px}
.card-meta{font-size:13px;color:var(--mute);display:flex;flex-wrap:wrap;gap:0 8px}
.card-meta .by::after{content:"·";margin-left:8px}
.live{display:flex;align-items:center;gap:6px;color:var(--red);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.02em;margin-top:10px}
.live-dot{width:10px;height:10px;border-radius:50%;border:2px solid currentColor;position:relative}
.live-dot::after{content:"";position:absolute;inset:2px;border-radius:50%;background:currentColor}
.v-card .card-media{aspect-ratio:3/2}
/* hero: dark text panel left, photo right */
.v-hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);background:#141414;color:#fff;border-radius:12px;overflow:hidden}
.v-hero .card-media{order:2;border-radius:0;aspect-ratio:3/2}
.v-hero .card-body{padding:24px;display:flex;flex-direction:column;justify-content:flex-end}
.v-hero .card-title{font-size:clamp(22px,2.4vw,30px);color:#fff}
.v-hero .card-excerpt,.v-hero .card-meta{color:#c9c9c9}
.v-hero .live{color:#ff6b7f}
.kicker{color:var(--red);font:700 12px var(--sans);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.v-hero .kicker{color:#ff6b7f}
/* overlay: photo with the title on it over a dark fade */
.v-overlay .card-media{aspect-ratio:16/10}
.v-overlay .card-media::after{content:"";position:absolute;inset:auto 0 0 0;height:60%;background:linear-gradient(transparent,rgba(0,0,0,.78));border-radius:0 0 10px 10px;pointer-events:none}
.v-overlay .card-body{position:absolute;left:8%;right:8%;bottom:18px;text-align:center;color:#fff}
.v-overlay .card-title{color:#fff;font-size:clamp(20px,2vw,26px)}
.v-overlay .card-meta{color:#e8e8e8;justify-content:center}
.v-overlay .live{color:#ff8a99;justify-content:center}
/* lead: big photo, large title, excerpt */
.v-lead .card-media{aspect-ratio:3/2}
.v-lead .card-title{font-size:clamp(22px,2.4vw,28px)}
/* row: small photo left + title */
.v-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid var(--line);align-items:start}
.hs-body>.v-row:first-child,.hs-body>.v-overlay+.v-row{border-top:0}
.v-overlay+.v-row{margin-top:8px}
.v-row .card-media{aspect-ratio:4/3}
.v-row .card-title{font-size:16px;margin:0 0 4px}
.v-row .live{margin-top:0}
/* title: title-only rows (photo shows on phones) */
.v-title{padding:12px 0;border-top:1px solid var(--line)}
.titles .v-title:first-child{border-top:0;padding-top:0}
.v-title .card-media{display:none}
.v-title .card-title{font-size:17px;margin:0 0 4px}
/* headline: numbered, no photo */
.headlines{list-style:none;margin:0;padding:0}
.headlines li{border-top:1px solid var(--line)}
.headlines li:first-child{border-top:0}
.v-headline{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;padding:12px 0}
.card-n{font:700 24px/1 var(--serif);color:var(--red)}
.v-headline .card-title{font-size:16px;margin:0 0 4px}
.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:6px}
.tab{background:none;border:0;padding:10px 0;font-weight:600;font-size:16px;color:var(--mute);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;min-height:44px}
.tab[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--red)}

/* Phones: every section = one big rounded photo story, then headline + date rows with a small photo on the right (approved) */
@media (max-width:767.98px){
  .home-grid{gap:32px}
  .hs-group,.titles{display:contents}
  .hs-body,.split,.grid{display:block}
  .card,.v-row,.v-title,.v-hero,.v-overlay,.v-lead,.v-card{display:grid;grid-template-columns:minmax(0,1fr) 34%;gap:12px;padding:12px 0;border-top:1px solid var(--line);background:none;color:inherit;border-radius:0;text-align:left;align-items:start}
  .card .card-media,.v-title .card-media{display:block;order:2;aspect-ratio:4/3;border-radius:8px}
  .card .card-media::after{display:none}
  .card .card-body{position:static;padding:0;text-align:left;color:inherit}
  .card .card-title{font:500 17px/1.3 var(--sans);margin:0 0 6px;color:var(--ink)}
  .card .card-excerpt{display:none}
  .card .card-meta{color:var(--mute);justify-content:flex-start}
  .card .card-meta .by{display:none}
  .card .live{color:var(--red);justify-content:flex-start;margin:0 0 4px}
  .card.no-media{grid-template-columns:1fr}
  .card.is-first{display:block;border-top:0;padding-top:0}
  .card.is-first .card-media{aspect-ratio:16/10;border-radius:12px}
  .card.is-first .card-title{font-size:23px;line-height:1.25;margin-top:10px}
  .card.is-first .live{margin-top:10px}
  .hs-body>.card:first-child{border-top:0}
  .headlines .v-headline{grid-template-columns:32px minmax(0,1fr);border-top:0;padding:10px 0}
  .headlines .card-n{font-size:20px}
}

/* Category page: grouped by day under a plain text date heading */
.cat-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start}
.day{border-top:3px solid var(--ink);padding-top:10px;margin-bottom:24px}
.day-head{position:sticky;top:73px;z-index:2;background:var(--bg);font:600 18px/1.4 var(--serif);margin:0;padding:6px 0 10px;border-bottom:1px solid var(--line)}
.day-label{color:var(--red)}
.story-row{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}
.story-meta{font-size:13px;color:var(--red);font-weight:600}
.story-title{font:600 20px/1.3 var(--serif);margin:6px 0}
.story-title a{text-decoration:none}
.story-title a:hover{text-decoration:underline;text-underline-offset:3px}
.story-excerpt{color:var(--mute);margin:0;font-size:15px}
.story-media{display:block;border-radius:10px;overflow:hidden;aspect-ratio:3/2;background:var(--soft)}
.story-media img{display:block;width:100%;height:100%;object-fit:cover}
.older{text-align:center;margin:8px 0 24px}
.cat-side{position:sticky;top:90px}
.side-head{font:600 18px var(--serif);margin:0 0 6px;padding-bottom:8px;border-bottom:2px solid var(--red)}
.most-read{list-style:none;margin:0;padding:0}
.most-read li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}
.most-read a{text-decoration:none;font-weight:500;line-height:1.35}
.most-read a:hover{text-decoration:underline}
@media (max-width:1099.98px){.day-head{top:61px}}
@media (max-width:899.98px){.cat-layout{grid-template-columns:1fr}.cat-side{position:static}}
@media (max-width:767.98px){
  .story-row{grid-template-columns:minmax(0,1fr) 34%;gap:12px;padding:12px 0}
  .story-title{font:500 17px/1.3 var(--sans)}
  .story-excerpt{display:none}
  .story-media{aspect-ratio:4/3;border-radius:8px}
  .day-head{font-size:16px}
}

/* Story page (basic; the full article page is task F10) */
.article{max-width:860px}
.article-title{font:600 clamp(28px,4.4vw,42px)/1.15 var(--serif);margin:8px 0 14px}
.article-meta{font-size:15px;margin-bottom:16px}
.mute{color:var(--mute)}
.article-figure{margin:0 0 18px}
.article-figure img{display:block;width:100%;height:auto;border-radius:10px}
.article-figure figcaption{font-size:14px;margin-top:8px}
.summary{background:var(--soft);border-radius:8px;padding:14px 18px;margin:0 0 20px}
.summary h2{font:600 16px var(--sans);margin:0 0 6px;display:inline-block;border-bottom:2px solid var(--ink)}
.summary ul{margin:6px 0 0;padding-left:20px}
.article-body{font:19px/1.65 var(--serif)}
.credits{color:var(--mute);font-size:14px}
.article-body h2{font:600 24px/1.3 var(--serif);margin:28px 0 8px}
.article-body h3{font:600 20px/1.3 var(--serif);margin:22px 0 6px}
.article-body blockquote{border-left:3px solid var(--red);margin:18px 0;padding:2px 0 2px 16px}
.body-fig{margin:22px 0}
.body-fig img{display:block;width:100%;height:auto;border-radius:10px}
.body-fig figcaption{font:14px/1.45 var(--sans);margin-top:8px}
.body-fig .credit{color:var(--mute)}
.body-fig.fig-inline{max-width:380px}
@media (min-width:700px){.body-fig.fig-inline{float:right;margin:4px 0 14px 22px;width:45%}}
.article-body::after{content:"";display:table;clear:both}
.preview-note{background:#fdf1d8;color:#7a4b00;border-radius:8px;padding:8px 12px;font-size:14px;margin:12px 0}


main{min-height:50vh;padding-top:24px;padding-bottom:48px}
.crumbs{font-size:14px;color:var(--mute);margin-bottom:8px}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.empty{color:var(--mute)}

/* Footer */
/* Footer (task F24, owner 2026-11-14): a dark band on every page, the footer menu's columns (title + links), social
   icons under the first column, then the copyright bar (a darker band). Desktop and tablet: side by side; phones: one under the other. Same in dark mode. */
:root{--foot-bg:#121620;--foot-bottom:#181c25;--foot-ink:#fff;--foot-link:#c3c8d1;--foot-line:#262b36}
.site-footer{background:var(--foot-bg);color:var(--foot-ink);margin-top:40px;padding:56px 0 0}
.footer-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px 40px}
.footer-col{min-width:0}
.footer-col h2{font:700 26px/1.2 var(--serif);margin:0 0 22px;color:var(--foot-ink)}
.footer-col h2 a{color:inherit;text-decoration:none}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li a,.footer-col li>span{display:inline-block;color:var(--foot-link);text-decoration:none;font-size:18px;line-height:1.3;padding:8px 0}
@media (max-width:1099.98px){.footer-col li a,.footer-col li>span{display:inline-flex;align-items:center;min-height:44px;padding:0}} /* touch: 44 px rows */
.footer-col li a:hover,.footer-col li a:focus-visible{color:var(--foot-ink);text-decoration:underline;text-underline-offset:4px}
.footer-col .footer-social{display:flex;flex-wrap:wrap;gap:4px;margin:12px 0 0 -11px}
.footer-col .footer-social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;color:var(--foot-link)}
.footer-social a:hover,.footer-social a:focus-visible{color:var(--foot-ink)}
.footer-social svg{width:22px;height:22px}
.footer-bottom{background:var(--foot-bottom);margin-top:56px;padding:22px 0}
.footer-bottom p{margin:0;color:var(--foot-link);font-size:16px}
.footer-brand{color:var(--red);font-weight:700}
@media (max-width:767.98px){
  .site-footer{padding-top:36px}
  .footer-cols{grid-template-columns:1fr;gap:0}
  .footer-col{padding:20px 0;border-top:1px solid var(--foot-line)}
  .footer-col:first-child{border-top:0;padding-top:0}
  .footer-col h2{font-size:22px;margin-bottom:10px}
  .footer-col li a,.footer-col li>span{font-size:17px;padding:10px 0}
  .footer-bottom{margin-top:24px;padding:18px 0}
  .footer-bottom p{font-size:14px}
}
/* Pages (About Us, Terms …): the story page's type, a readable width. */
.page-doc .page-body ul,.page-doc .page-body ol{padding-left:24px}
.page-doc .page-body li{margin:4px 0}
.page-doc .page-body a{color:var(--red);text-decoration-thickness:1px;text-underline-offset:3px}
.menu .menu-text{display:block;color:var(--ink);font-weight:500;font-size:17px;padding:12px 10px;line-height:1.2;white-space:nowrap}
@media (max-width:1099.98px){.menu>li>.menu-text{flex:1;padding:14px 16px}}

/* Red back-to-top button, shown after scrolling */
.to-top{position:fixed;right:16px;bottom:16px;width:48px;height:48px;border:0;border-radius:10px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.2);z-index:30}
.to-top[hidden]{display:none}
.to-top:hover{background:var(--red-dark)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Homepage builder picture sizes (task F16), set per section in the admin. Step 3 is the standard look and has no
   class. Tablets and desktops only: phones keep their one calm pattern (big photo, then rows). */
@media (min-width:768px){
  .ph-1 :is(.v-card,.v-lead,.v-hero,.v-overlay) .card-media{aspect-ratio:21/9}
  .ph-2 :is(.v-card,.v-lead,.v-hero,.v-overlay) .card-media{aspect-ratio:2/1}
  .ph-4 :is(.v-card,.v-lead,.v-hero,.v-overlay) .card-media{aspect-ratio:4/3}
  .ph-5 :is(.v-card,.v-lead,.v-hero,.v-overlay) .card-media{aspect-ratio:1/1}
  .th-1 .v-row{grid-template-columns:64px minmax(0,1fr)}
  .th-2 .v-row{grid-template-columns:80px minmax(0,1fr)}
  .th-4 .v-row{grid-template-columns:120px minmax(0,1fr)}
  .th-5 .v-row{grid-template-columns:144px minmax(0,1fr)}
}
