/* =========================================================
   Aghem Daily News — site styles
   Brand: Aghem Red #D0101B · Ink #111111
   ========================================================= */
:root {
  --red: #D0101B;
  --red-dark: #A50C15;
  --ink: #111111;
  --ink-2: #333333;
  --muted: #6B6B6B;
  --rule: #E3E3E3;
  --paper: #FFFFFF;
  --paper-2: #F5F5F3;
  --night: #0C0C0C;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; overflow-x: clip; font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--night); color: #cfcfcf; font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__date { color: #fff; font-weight: 600; white-space: nowrap; }
.topbar__right a { white-space: nowrap; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); transition: box-shadow .2s; }
.masthead.is-stuck { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.masthead .wrap { display: flex; align-items: center; gap: 28px; height: 76px; transition: height .2s; }
.masthead.is-stuck .wrap { height: 60px; }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; transition: height .2s; }
.masthead.is-stuck .brand img { height: 36px; }

.nav { flex: 1; min-width: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: block; padding: 8px 11px; font-weight: 700; font-size: 14.5px; letter-spacing: -.005em;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.nav a:hover { border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }

.actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { background: none; border: 0; padding: 8px; border-radius: 6px; color: var(--ink); }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 22px; height: 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 4px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 16px;
}
.btn:hover { background: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.menu-btn { display: none; }

/* Search drawer */
.search { display: none; border-top: 1px solid var(--rule); background: var(--paper); }
.search.is-open { display: block; }
.search form { display: flex; gap: 10px; padding: 16px 0; }
.search input { flex: 1; font: 500 18px var(--sans); padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 4px; }

/* ---------- Breaking ticker ---------- */
.breaking { background: var(--red); color: #fff; }
.breaking .wrap { display: flex; align-items: stretch; height: 42px; overflow: hidden; }
.breaking__label {
  flex: none; display: flex; align-items: center; gap: 8px; padding-right: 16px; margin-right: 16px;
  font-weight: 800; font-size: 13px; letter-spacing: .12em; border-right: 1px solid rgba(255,255,255,.35);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0)} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0)} }
.ticker { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); }
.ticker__track { display: flex; gap: 48px; white-space: nowrap; animation: tick 50s linear infinite; font-weight: 600; font-size: 14.5px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track a:hover { text-decoration: underline; }
.ticker__track a::before { content: "■"; font-size: 8px; vertical-align: 2px; margin-right: 12px; opacity: .7; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Common story parts ---------- */
.kicker { display: inline-block; color: var(--red); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.kicker--live { color: #fff; background: var(--red); padding: 2px 7px; border-radius: 2px; }
.kicker--live::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #fff; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.meta { color: var(--muted); font-size: 13px; margin-top: 8px; }
.hl { font-weight: 800; letter-spacing: -.015em; line-height: 1.18; margin: 0; }
.story a:hover .hl, .story a:hover .hl-sm { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hl-sm { font-weight: 700; font-size: 16px; line-height: 1.3; margin: 0; letter-spacing: -.005em; }
.deck { color: var(--ink-2); margin: 10px 0 0; font-size: 16px; line-height: 1.5; }

/* Photo placeholders: swap .ph for <img> once real photography is available */
.ph {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #2b2b2b;
  background-image:
    radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(135deg, var(--ph1, #3a3a3a), var(--ph2, #151515));
}
.ph::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; opacity: .28;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E");
}
.ph--sq { aspect-ratio: 1; }
.ph--43 { aspect-ratio: 4 / 3; }
.t1 { --ph1:#5b4a36; --ph2:#1d1812; } .t2 { --ph1:#2f4c5e; --ph2:#0f1a21; } .t3 { --ph1:#3f5a3a; --ph2:#121b11; }
.t4 { --ph1:#6a3a2c; --ph2:#1f100c; } .t5 { --ph1:#4a4a5c; --ph2:#15151c; } .t6 { --ph1:#6d5a2a; --ph2:#211b0b; }
.play { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 9px 5px 7px; border-radius: 3px; }
.play svg { width: 14px; height: 14px; fill: #fff; }
figcaption, .credit { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* ---------- Section headers ---------- */
.section { padding: 36px 0 8px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 20px; }
.section__title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.section__title::before { content: ""; width: 10px; height: 22px; background: var(--red); }
.section__more { font-size: 13.5px; font-weight: 700; color: var(--red); }
.section__more:hover { text-decoration: underline; }

/* ---------- Home: top zone ---------- */
.top { display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: 28px; padding-top: 28px; }
.top > * { min-width: 0; }
.col-rule { border-left: 1px solid var(--rule); padding-left: 28px; }
.col-rule-r { border-right: 1px solid var(--rule); padding-right: 28px; }
.lead .hl { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin-top: 4px; }
.lead .ph { margin-bottom: 14px; }
.lead__more { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--rule); }
.lead__more li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.lead__more li a:hover { text-decoration: underline; }
.lead__more li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 10px; vertical-align: 2px; }

.stack .story + .story { border-top: 1px solid var(--rule); margin-top: 16px; padding-top: 16px; }
.stack .ph { margin-bottom: 10px; }
.stack .hl { font-size: 19px; }

.latest__title { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.latest__title .pulse { background: var(--red); animation-name: pulse-red; }
@keyframes pulse-red { 0%{box-shadow:0 0 0 0 rgba(208,16,27,.6)} 70%{box-shadow:0 0 0 8px rgba(208,16,27,0)} 100%{box-shadow:0 0 0 0 rgba(208,16,27,0)} }
.latest ol { list-style: none; padding: 0; margin: 0; }
.latest li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.latest time { display: block; font-size: 12px; font-weight: 700; color: var(--red); margin-bottom: 3px; }
.latest a { font-weight: 600; font-size: 15px; line-height: 1.35; }
.latest a:hover { text-decoration: underline; }

/* ---------- Cards grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card .ph { margin-bottom: 10px; }
.card .hl { font-size: 18px; }

.feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.feature__main .hl { font-size: 28px; }
.feature__main .ph { margin-bottom: 12px; }
.feature__list .story { display: grid; grid-template-columns: 1fr 120px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.feature__list .story:first-child { padding-top: 0; }

/* ---------- Video band ---------- */
.band { background: var(--night); color: #fff; margin-top: 40px; padding: 8px 0 40px; }
.band .section__head { border-top-color: #fff; }
.band .meta { color: #a8a8a8; }
.band .deck { color: #cfcfcf; }
.band .section__more { color: #ff5a62; }

/* ---------- Opinion ---------- */
.opinion .story { display: flex; gap: 14px; align-items: flex-start; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--ink); font-size: 18px; }
.opinion .author { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }

/* ---------- Most read + newsletter ---------- */
.split { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.mostread ol { list-style: none; counter-reset: mr; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.mostread li { counter-increment: mr; display: grid; grid-template-columns: 44px 1fr; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.mostread li::before { content: counter(mr); font-weight: 900; font-size: 30px; line-height: 1; color: var(--red); }
.mostread a { font-weight: 700; line-height: 1.35; }
.mostread a:hover { text-decoration: underline; }

.newsletter { background: var(--paper-2); border-top: 4px solid var(--red); padding: 24px; align-self: start; }
.newsletter img { height: 44px; width: 44px; margin-bottom: 12px; }
.newsletter h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.newsletter p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.newsletter form { display: grid; gap: 10px; }
.newsletter input { font: 500 15px var(--sans); padding: 12px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; }
.newsletter small { color: var(--muted); font-size: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: #bdbdbd; margin-top: 56px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding: 48px 0 36px; border-bottom: 1px solid #2a2a2a; }
.footer__brand img { width: 230px; height: auto; margin-bottom: 16px; }
.footer__brand p { margin: 0; max-width: 34ch; line-height: 1.55; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; font-size: 12.5px; color: #8a8a8a; }
.footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Article page ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 32px var(--gutter) 0; }
.crumbs { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--red); }
.article h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.022em; margin: 0 0 14px; }
.article .standfirst { font-size: 20px; line-height: 1.45; color: var(--ink-2); margin: 0 0 22px; }
.byline { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; margin-bottom: 26px; }
.byline .avatar { width: 44px; height: 44px; font-size: 15px; background: var(--red); color: #fff; }
.byline strong { display: block; font-size: 15px; }
.byline span { font-size: 13px; color: var(--muted); }
.share { margin-left: auto; display: flex; gap: 6px; }
.share a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule); }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.article figure { margin: 0 0 28px; }
.body { font-family: var(--serif); font-size: 19px; line-height: 1.7; color: #1b1b1b; }
.body p { margin: 0 0 1.25em; }
.body > p:first-of-type::first-letter { float: left; font-family: var(--sans); font-weight: 900; font-size: 4.1em; line-height: .82; margin: 6px 10px 0 0; color: var(--red); }
.body h2 { font-family: var(--sans); font-size: 25px; font-weight: 800; letter-spacing: -.01em; margin: 1.6em 0 .6em; }
.body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 5px solid var(--red); font-family: var(--sans); font-size: 25px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.body blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); font-style: normal; }
.note { font-family: var(--sans); font-size: 14px; background: var(--paper-2); border-left: 4px solid var(--ink); padding: 14px 16px; margin: 2em 0; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 0; }
.tags a { font-size: 13px; font-weight: 700; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; }
.tags a:hover { border-color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav li:nth-child(n+8) { display: none; }
}
@media (max-width: 1024px) {
  .top { grid-template-columns: 1fr 1fr; }
  .lead { grid-column: 1 / -1; order: -1; }
  .col-rule-r { border-right: 0; padding-right: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .nav li:nth-child(n) { display: block; }
  .nav a { border-bottom: 1px solid var(--rule); padding: 13px 0; font-size: 17px; }
  .nav a[aria-current="page"] { color: var(--red); }
  .masthead .wrap { gap: 8px; justify-content: space-between; height: 62px; }
  .brand { margin-right: auto; }
  .brand img { height: 36px; }
  .masthead.is-stuck .brand img { height: 32px; }
  .actions .btn { display: none; }
  .feature, .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .topbar__hide-sm { display: none; }
}
@media (max-width: 640px) {
  .top { grid-template-columns: 1fr; gap: 20px; }
  .col-rule { border-left: 0; padding-left: 0; border-top: 3px solid var(--ink); padding-top: 14px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4 .card { display: grid; grid-template-columns: 1fr 112px; gap: 14px; }
  .grid-4 .card .ph { order: 2; aspect-ratio: 1; margin: 0; }
  .grid-4 .card .hl { font-size: 16px; }
  .grid-4 .card .deck { display: none; }
  .mostread ol { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .share { display: none; }
  .body { font-size: 18px; }
  .breaking__label span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker__track { flex-wrap: wrap; }
}

/* =========================================================
   WordPress additions
   ========================================================= */
.ph.has-img { background: #ddd; }
.ph.has-img::after { display: none; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero { margin: 0 0 28px; }
.hero__img { width: 100%; height: auto; border-radius: 2px; }
.hero figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.empty { text-align: center; max-width: 620px; margin: 0 auto; padding: 80px 0 40px; }
.empty img { margin: 0 auto 18px; }
.empty h1, .empty h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }
.empty p { color: var(--ink-2); font-size: 17px; margin: 0 0 24px; }
.empty__search { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.empty__search input { flex: 1; font: 500 16px var(--sans); padding: 11px 12px; border: 1.5px solid var(--ink); border-radius: 4px; }

.archive-head { border-top: 3px solid var(--ink); padding-top: 12px; margin: 32px 0 8px; }
.archive-head .section__title { font-size: clamp(26px, 3vw, 34px); }
.archive-head .section__title::before { height: 30px; }
.archive-desc { color: var(--ink-2); margin-top: 8px; max-width: 70ch; }
.rows { max-width: 900px; }
.row { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row .hl { font-size: 23px; }
.pagination { margin: 28px 0; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--rule); border-radius: 4px; font-weight: 700; font-size: 14px; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); }

/* Post content blocks */
.body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.body img { height: auto; border-radius: 2px; }
.body figure { margin: 1.6em 0; }
.body figcaption, .body .wp-element-caption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 6px; }
.body ul, .body ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.body li { margin-bottom: .4em; }
.body h3 { font-family: var(--sans); font-size: 21px; font-weight: 800; margin: 1.4em 0 .5em; }
.body .wp-block-embed, .body iframe { max-width: 100%; }
.body--page > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.alignwide { margin-left: -8%; margin-right: -8%; max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
.byline > div > span { display: block; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav .current-menu-item > a { border-bottom-color: var(--red); }

@media (max-width: 900px) {
  .nav .menu { flex-direction: column; padding: 8px var(--gutter) 16px; }
}
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr 112px; gap: 14px; }
  .row .row__img { order: 2; }
  .row .ph { aspect-ratio: 1; }
  .row .hl { font-size: 17px; }
  .row .deck { display: none; }
  .alignwide { margin-left: 0; margin-right: 0; }
}

/* ---------- Picture sliders ---------- */
.slider--thumb .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.slider--thumb .slide.is-active { opacity: 1; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; display: flex; justify-content: center; gap: 5px; }
.slider__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 2px rgba(0,0,0,.5); transition: background .3s, width .3s; }
.slider__dots i.is-active { background: #fff; width: 16px; border-radius: 3px; }
.slider__count { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; align-items: center; gap: 4px; background: rgba(0,0,0,.7); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 7px; border-radius: 3px; }
.slider__count svg { width: 12px; height: 12px; }

.slider--hero { margin: 0 0 28px; outline: none; }
.slider--hero:focus-visible .slider__frame { outline: 3px solid var(--red); outline-offset: 2px; }
.slider__frame { position: relative; background: #111; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; touch-action: pan-y; }
.slider--hero .slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.slider--hero .slide.is-active { opacity: 1; visibility: visible; }
.slider--hero .hero__img { width: 100%; height: 100%; object-fit: cover; }
.slider--hero figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 16px 12px; color: #fff; font-size: 13.5px; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.slider__num { font-weight: 800; margin-right: 6px; }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.slider__nav:hover { background: #fff; }
.slider__nav svg { width: 20px; height: 20px; }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }
.slider__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.slider__thumbs button { flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; background: #ddd; opacity: .65; }
.slider__thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
.slider__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .slider__nav { width: 38px; height: 38px; }
  .slider__thumbs button { width: 60px; height: 44px; }
}

/* Contact lives in the top bar + footer on desktop; in the menu on phones. */
@media (min-width: 901px) { .nav .menu-item-object-page { display: none; } }

/* ---------- World clocks (top bar) ---------- */
.topbar__left { min-width: 0; }
.topbar__place { white-space: nowrap; }
.clocks { display: flex; align-items: center; gap: 14px; padding-left: 16px; border-left: 1px solid #333; white-space: nowrap; }
.clock { display: inline-flex; align-items: baseline; gap: 4px; }
.clock b { color: #fff; font-weight: 600; }
.clock time { color: #fff; font-variant-numeric: tabular-nums; font-weight: 700; }
.clock small { color: #8d8d8d; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 1240px) { .topbar__place { display: none; } .clocks { padding-left: 0; border-left: 0; } }
@media (max-width: 900px) { .clock--2, .clock--3 { display: none; } }
@media (max-width: 560px) { .clock--1 { display: none; } .clocks { gap: 8px; } }
@media (max-width: 400px) { .clock small { display: none; } }

/* ---------- Dropdown menus (e.g. Associations) ---------- */
.nav .menu-item-has-children { position: relative; }
.nav .menu-item-has-children > a { display: flex; align-items: center; gap: 5px; }
.nav .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.nav .sub-menu { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 210px; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--red); box-shadow: 0 12px 28px rgba(0,0,0,.12); display: none; flex-direction: column; gap: 0; }
.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:focus-within > .sub-menu { display: flex; }
.nav .sub-menu a { padding: 10px 16px; border-bottom: 0; font-size: 14.5px; white-space: nowrap; }
.nav .sub-menu a:hover, .nav .sub-menu a:focus-visible { background: var(--paper-2); color: var(--red); }
.nav .sub-menu .current-menu-item > a { color: var(--red); }
@media (max-width: 900px) {
  .nav .menu-item-has-children > a::after { display: none; }
  .nav .sub-menu { display: flex; position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0 16px; background: transparent; }
  .nav .sub-menu a { font-size: 16px; font-weight: 600; padding: 11px 0; border-bottom: 1px solid var(--rule); }
}
