/* Atlanta Caribbean Exchange: the one custom stylesheet.
   Deployed to templates/shaper_helixultimate/css/custom.css (Helix loads it last).
   Palette (DJ, 2026-11-27): white space, light blue, red highlights.
   Light blue is a background or a rule, never text: on white it fails contrast. */

@font-face { font-family: "Big Shoulders"; src: url("../../../media/acx/fonts/bigshoulders-vf.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../../../media/acx/fonts/newsreader-vf.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../../../media/acx/fonts/newsreader-italic-vf.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../../../media/acx/fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../../../media/acx/fonts/plexmono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --acx-white: #ffffff;
  --acx-ink: #141414;
  --acx-ink-soft: #4a4f55;      /* 8.2:1 on white */
  --acx-sky: #bfe3f7;           /* the light blue: panels and rules only */
  --acx-sky-pale: #eaf6fd;
  --acx-blue: #0b4f8a;          /* links and labels: 8.4:1 on white */
  --acx-red: #c8102e;           /* highlight: 5.9:1 on white */
  --acx-rule: #d6dde3;
  --acx-display: "Big Shoulders", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --acx-text: "Newsreader", Georgia, "Times New Roman", serif;
  --acx-mono: "Plex Mono", ui-monospace, Consolas, monospace;
  --acx-measure: 38rem;
}

html { font-size: 100%; }
body {
  background: var(--acx-white);
  color: var(--acx-ink);
  font-family: var(--acx-text);
  font-size: 1.125rem;          /* 18px reading size on every screen */
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acx-blue); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover, a:focus { color: var(--acx-red); }
:focus-visible { outline: 3px solid var(--acx-red); outline-offset: 2px; }
::selection { background: var(--acx-sky); color: var(--acx-ink); }
img { max-width: 100%; height: auto; }

/* No entrance animation anywhere, whatever an addon asks for. */
.sppb-wow, .wow, [class*="sppb-animat"] { animation: none !important; visibility: visible !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Type ---------- */
h1, h2, h3, h4, .acx-display {
  font-family: var(--acx-text);
  font-weight: 600;
  color: var(--acx-ink);
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.3rem; }

/* The loud register: events, culture, the masthead. Never below 28px. */
.acx-loud, .acx-loud h1, .acx-loud h2 {
  font-family: var(--acx-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
}
.acx-loud h1, h1.acx-loud { font-size: clamp(2.5rem, 11vw, 5.5rem); }
.acx-loud h2, h2.acx-loud { font-size: clamp(1.75rem, 7vw, 3rem); }
.acx-panel { background: var(--acx-sky); color: var(--acx-ink); display: inline; padding: 0 0.18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Labels: section, place, date. Small, but never under 14px. */
.acx-label, .article-info, .article-info a, .category-name a, .tags a {
  font-family: var(--acx-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acx-blue);
  text-decoration: none;
}
.acx-place { color: var(--acx-red); }
.acx-figure, .acx-board, time.acx-figure { font-family: var(--acx-mono); font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
#sp-top-bar { display: none; }
#sp-header {
  background: var(--acx-white);
  box-shadow: none;
  border-bottom: 4px solid var(--acx-ink);
  height: auto;
}
#sp-header .logo { height: auto; padding: 0.75rem 0; }
#sp-header .logo a, #sp-header .logo h1 a, #sp-header .logo .logo-text a {
  font-family: var(--acx-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 6.5vw, 2.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--acx-ink);
  text-decoration: none;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  font-family: var(--acx-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acx-ink);
  line-height: 3rem;
}
.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li:hover > a { color: var(--acx-red); }
.burger-icon > span { background-color: var(--acx-ink); }
.offcanvas-menu { background: var(--acx-white); color: var(--acx-ink); }
.offcanvas-menu .offcanvas-inner ul.menu > li > a {
  font-family: var(--acx-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase;
  color: var(--acx-ink); padding: 0.6rem 0; min-height: 48px; opacity: 1;
}

/* ---------- The Exchange board ---------- */
.acx-board {
  background: var(--acx-sky);
  color: var(--acx-ink);
  font-size: 0.875rem;
  line-height: 1.2;
  border-bottom: 1px solid var(--acx-ink);
}
.acx-board__row { display: flex; gap: 1.5rem; overflow-x: auto; white-space: nowrap; padding: 0.5rem 1rem; scrollbar-width: none; max-width: 1320px; margin: 0 auto; }
.acx-board__row::-webkit-scrollbar { display: none; }
.acx-board__cell b { font-weight: 600; letter-spacing: 0.04em; }
.acx-board__note { color: var(--acx-ink-soft); }
.acx-board[hidden] { display: none; }

/* ---------- Article lists (Joomla blog and featured views) ---------- */
#sp-main-body { padding: 2rem 0 4rem; }
.article-list .article, .blog-featured .article, .items-leading > div, .items-row .item {
  border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0 0 1.75rem; background: none;
}
.article-list .article { border-top: 1px solid var(--acx-ink); padding-top: 0.9rem; }
.article-list .article .article-header h2, .blog-featured h2 { font-size: 1.45rem; margin: 0.2rem 0 0.4rem; }
.article-list .article .article-header h2 a, .blog-featured h2 a { color: var(--acx-ink); text-decoration: none; }
.article-list .article .article-header h2 a:hover { color: var(--acx-red); text-decoration: underline; }
.article-list .article .article-intro-image img, .article-list .article .article-featured-video { border-radius: 0; }
.article-list .article .article-introtext, .article-introtext p { color: var(--acx-ink-soft); font-size: 1.0625rem; }
.article-info { margin-bottom: 0.25rem; }
.article-info > span + span::before { content: "\00B7"; margin: 0 0.5em; opacity: 1; }
.article-info .icon-fw, .article-info .fas, .article-info .far, .article-info .fa { display: none; }
.items-leading .article .article-header h2 { font-size: clamp(1.9rem, 6vw, 3rem); }

/* ---------- Single article ---------- */
.article-details .article-header h1, .com-content-article h1 { margin-bottom: 0.6rem; }
.article-details [itemprop="articleBody"], .com-content-article__body { max-width: var(--acx-measure); }
.article-details [itemprop="articleBody"] p { margin: 0 0 1.15em; }
.article-details .article-full-image img { border-radius: 0; }
blockquote { border-left: 4px solid var(--acx-sky); margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.1rem; font-style: italic; }

/* ---------- Buttons and forms ---------- */
.btn, .sppb-btn, button[type="submit"], input[type="submit"] {
  font-family: var(--acx-display); font-weight: 800; font-size: 1.125rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 0; min-height: 48px; padding: 0.55rem 1.25rem; box-shadow: none;
}
.btn-primary, .sppb-btn-primary, .acx-btn {
  background: var(--acx-ink); border: 2px solid var(--acx-ink); color: var(--acx-white);
}
.btn-primary:hover, .btn-primary:focus, .sppb-btn-primary:hover, .acx-btn:hover { background: var(--acx-red); border-color: var(--acx-red); color: var(--acx-white); }
.acx-btn--wa { background: var(--acx-white); color: var(--acx-ink); border: 2px solid var(--acx-ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea, .form-control, .form-select {
  border: 2px solid var(--acx-ink); border-radius: 0; min-height: 48px; font-family: var(--acx-text); font-size: 1.0625rem; background: var(--acx-white); color: var(--acx-ink);
}

/* ---------- Section heads ---------- */
.acx-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 4px solid var(--acx-ink); padding-top: 0.5rem; margin: 2.5rem 0 1rem; }
.acx-sechead h2 { font-family: var(--acx-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; letter-spacing: 0.02em; margin: 0; }
.acx-sechead a { font-family: var(--acx-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9375rem; white-space: nowrap; }

/* ---------- Text-only headline stack ---------- */
.acx-stack { list-style: none; margin: 0; padding: 0; }
.acx-stack li { border-top: 1px solid var(--acx-rule); padding: 0.8rem 0; }
.acx-stack li:first-child { border-top: 0; padding-top: 0; }
.acx-stack a.acx-stack__hed { display: block; color: var(--acx-ink); text-decoration: none; font-weight: 600; font-size: 1.1875rem; line-height: 1.25; }
.acx-stack a.acx-stack__hed:hover { color: var(--acx-red); text-decoration: underline; }

/* ---------- Event rows: bill order, one dashed rule ---------- */
.acx-events { list-style: none; margin: 0; padding: 0; }
.acx-event { display: grid; grid-template-columns: 5.25rem 1fr; border-top: 1px solid var(--acx-ink); }
.acx-event:last-child { border-bottom: 1px solid var(--acx-ink); }
.acx-event__date { padding: 0.9rem 0.75rem 0.9rem 0; border-right: 2px dashed var(--acx-ink); text-align: center; font-family: var(--acx-display); text-transform: uppercase; }
.acx-event__dow, .acx-event__mon { display: block; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.1em; color: var(--acx-blue); }
.acx-event__day { display: block; font-weight: 900; font-size: 3rem; line-height: 0.9; }
.acx-event__body { padding: 0.9rem 0 0.9rem 1rem; min-width: 0; }
.acx-event__title { font-family: var(--acx-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; margin: 0.15rem 0 0.35rem; }
.acx-event__title a { color: var(--acx-ink); text-decoration: none; }
.acx-event__title a:hover { color: var(--acx-red); }
.acx-event__where { font-size: 1.0625rem; margin: 0; }
.acx-event__meta { font-family: var(--acx-mono); font-size: 0.9375rem; font-variant-numeric: tabular-nums; margin: 0.3rem 0 0.7rem; color: var(--acx-ink-soft); }
.acx-tag { display: inline-block; font-family: var(--acx-display); font-weight: 800; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.1rem 0.5rem; border: 2px solid var(--acx-ink); }
.acx-tag--free { background: var(--acx-sky); }
.acx-tag--ticketed { background: var(--acx-ink); color: var(--acx-white); }
.acx-tag--soldout { border-color: var(--acx-red); color: var(--acx-red); }

/* ---------- Filter chips ---------- */
.acx-chips { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.25rem 0 1rem; scrollbar-width: none; }
.acx-chips a { flex: none; font-family: var(--acx-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--acx-ink); border: 2px solid var(--acx-ink); padding: 0.45rem 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }
.acx-chips a[aria-current="true"], .acx-chips a:hover { background: var(--acx-ink); color: var(--acx-white); }

/* ---------- Footer ---------- */
#sp-footer, #sp-bottom { background: var(--acx-ink); color: var(--acx-white); font-size: 1rem; }
#sp-footer a, #sp-bottom a { color: var(--acx-sky); }
#sp-footer .container-inner { border-top: 0; padding: 1.5rem 0; }

@media (min-width: 992px) {
  .acx-event { grid-template-columns: 7rem 1fr; }
  .acx-event__day { font-size: 4rem; }
  .acx-event__title { font-size: 2.25rem; }
}

/* ---------- Front page blocks (patterns borrowed from wiredja.com) ---------- */
/* Lead picture with the headline set over it, and a numbered rail of top stories. */
.acx-front { display: grid; gap: 0; margin-bottom: 2.5rem; }
.acx-lead { position: relative; display: block; background: var(--acx-ink); color: var(--acx-white); text-decoration: none; min-height: 22rem; overflow: hidden; }
.acx-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acx-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,0.88) 0%, rgba(20,20,20,0.35) 45%, rgba(20,20,20,0) 70%); }
.acx-lead__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem; }
.acx-lead__label { font-family: var(--acx-display); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--acx-sky); color: var(--acx-ink); padding: 0.1rem 0.5rem; display: inline-block; margin-bottom: 0.6rem; }
.acx-lead__hed { font-family: var(--acx-text); font-weight: 600; font-size: clamp(1.75rem, 6vw, 3rem); line-height: 1.08; color: var(--acx-white); margin: 0; text-wrap: balance; }
.acx-lead:hover .acx-lead__hed, .acx-lead:focus .acx-lead__hed { text-decoration: underline; text-decoration-thickness: 2px; color: var(--acx-white); }
.acx-lead__date { font-family: var(--acx-mono); font-size: 0.875rem; margin-top: 0.6rem; display: block; color: var(--acx-white); }

.acx-rail { list-style: none; margin: 0; padding: 0; counter-reset: acx-rail; background: var(--acx-ink); }
.acx-rail li { counter-increment: acx-rail; border-top: 1px solid rgba(255,255,255,0.22); }
.acx-rail a { display: grid; grid-template-columns: 3.25rem 1fr; align-items: start; gap: 0.25rem; padding: 0.9rem 1.1rem 0.9rem 0.9rem; min-height: 48px; color: var(--acx-white); text-decoration: none; font-weight: 500; font-size: 1.0625rem; line-height: 1.3; }
.acx-rail a::before { content: counter(acx-rail, decimal-leading-zero); font-family: var(--acx-display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--acx-sky); }
.acx-rail a:hover, .acx-rail a:focus { background: var(--acx-sky); color: var(--acx-ink); }
.acx-rail a:hover::before, .acx-rail a:focus::before { color: var(--acx-red); }

/* PLACE | Headline: the place is a label, the bar is drawn, not typed. */
.acx-pl { font-family: var(--acx-display); font-weight: 800; font-size: 0.82em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acx-red); padding-right: 0.45em; margin-right: 0.45em; border-right: 2px solid currentColor; }
.acx-lead .acx-pl, .acx-tile .acx-pl { color: var(--acx-sky); }
.acx-rail .acx-pl { color: inherit; border-right-width: 1px; font-size: 0.9em; }

/* Two large picture tiles. Only two: a wall of them is the template look. */
.acx-tiles { display: grid; gap: 1rem; }
.acx-tile { position: relative; display: block; min-height: 15rem; background: var(--acx-ink); overflow: hidden; text-decoration: none; }
.acx-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acx-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,0.9), rgba(20,20,20,0) 65%); }
.acx-tile__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1rem; color: var(--acx-white); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.acx-tile:hover .acx-tile__text { text-decoration: underline; }

/* Numbered text-only list ("Must reads"). */
.acx-num { list-style: none; margin: 0; padding: 0; counter-reset: acx-num; }
.acx-num li { counter-increment: acx-num; display: grid; grid-template-columns: 2.5rem 1fr; border-top: 1px solid var(--acx-rule); padding: 0.85rem 0; }
.acx-num li::before { content: counter(acx-num); font-family: var(--acx-display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--acx-blue); }
.acx-num a { color: var(--acx-ink); text-decoration: none; font-weight: 600; line-height: 1.25; }
.acx-num a:hover { color: var(--acx-red); text-decoration: underline; }

/* Region tabs. */
.acx-tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 2px solid var(--acx-ink); margin-bottom: 1rem; scrollbar-width: none; }
.acx-tabs a { flex: none; font-family: var(--acx-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--acx-ink); padding: 0.6rem 1rem; min-height: 44px; }
.acx-tabs a[aria-current="true"] { background: var(--acx-ink); color: var(--acx-white); }

.acx-cols { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .acx-tiles { grid-template-columns: 1fr 1fr; }
  .acx-cols { grid-template-columns: 2fr 1fr; }
}
@media (min-width: 992px) {
  .acx-front { grid-template-columns: 2fr 1fr; }
  .acx-lead { min-height: 30rem; }
  .acx-lead__text { padding: 2rem; }
  .acx-cols--3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Header corrections after first look at the live page ---------- */
/* Helix writes its navigation font inline, so the menu face has to be forced. */
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { font-family: var(--acx-display) !important; font-size: 1.1875rem !important; font-weight: 700 !important; letter-spacing: 0.05em; padding: 0 0.7rem; }
.sp-megamenu-parent > li:first-child > a { padding-left: 0; }
/* The mark carries no lettering, so the name sits beside it. The image keeps the alt text. */
#sp-header .logo a { display: inline-flex; align-items: center; gap: 0.75rem; }
#sp-header .logo a::after { content: "Atlanta Caribbean Exchange"; font-family: var(--acx-display); font-weight: 900; font-size: clamp(1.6rem, 6vw, 2.75rem); line-height: 0.92; text-transform: uppercase; color: var(--acx-ink); max-width: 9.5em; }
#sp-header .logo img { width: auto; }
@media (max-width: 575px) { #sp-header .logo a::after { max-width: 6.5em; } }

/* ---------- Front page, second pass ---------- */
.acx-home .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.view-featured #sp-main-body { padding-top: 0; }
body.view-featured .acx-front { margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5); margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5); }
.acx-lead__hed { display: block; }
.acx-lead__text > span { display: block; }
.acx-lead__label { display: inline-block !important; }
.acx-board a { color: var(--acx-ink); }
.acx-board__cell span { margin-left: 0.35em; }
.acx-stack__deck { margin: 0.3rem 0 0.25rem; color: var(--acx-ink-soft); font-size: 1.0625rem; line-height: 1.45; }
.acx-stack__date { display: block; font-size: 0.875rem; color: var(--acx-ink-soft); margin-top: 0.2rem; }
.acx-stack--deck a.acx-stack__hed { font-size: 1.3125rem; }
.acx-tiles { margin-bottom: 1.25rem; }
.acx-tabpanel { margin-bottom: 2rem; }
.acx-tabpanel__title { font-family: var(--acx-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin: 0 0 0.75rem; }
.acx-tabbed--js .acx-tabpanel__title { display: none; }
.acx-tabpanel[hidden] { display: none; }
.acx-tabs a[aria-selected="true"] { background: var(--acx-ink); color: var(--acx-white); }
.acx-tabs a:hover { background: var(--acx-sky); color: var(--acx-ink); }
.acx-tile:not(:has(img)) { background: var(--acx-blue); min-height: 11rem; }
.acx-lead:not(:has(img)) { background: var(--acx-blue); }
.acx-lead:not(:has(img))::after, .acx-tile:not(:has(img))::after { display: none; }
@media (min-width: 768px) { .acx-cols--even { grid-template-columns: 1fr 1fr; align-items: start; } .acx-cols--even .acx-tile { min-height: 20rem; } }
@media (min-width: 992px) { body.view-featured .acx-front { margin-left: 0; margin-right: 0; } }

/* Article page: credit and sources lines. */
.acx-credit, .acx-sources { font-size: 1rem; color: var(--acx-ink-soft); border-top: 1px solid var(--acx-rule); padding-top: 0.75rem; margin-top: 1.5rem; }
.acx-home > section > .acx-tiles { margin: 0 0 0.5rem; }
.acx-front { margin-bottom: 1rem; }

/* ---------- Article page, after first look on a phone ---------- */
.featured-article-badge, .article-info .hits, .article-info .hits + span { display: none !important; }
body.view-article .page-header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.article-details .article-header h1, .article-details .article-header h2 { font-size: clamp(1.9rem, 7vw, 3rem); line-height: 1.1; margin: 0 0 0.75rem; }
.article-header .acx-pl { display: block; border-right: 0; margin: 0 0 0.35rem; padding: 0; font-size: 1.0625rem; }
.article-list .article-header .acx-pl { display: inline; border-right: 2px solid currentColor; padding-right: 0.45em; margin-right: 0.45em; font-size: 0.82em; }
.article-info .createdby { color: var(--acx-ink); }
.article-details .article-full-image { margin-bottom: 1.25rem; }
.article-details [itemprop="articleBody"] img { margin: 0.5rem 0; }
.acx-sharewrap { margin: 1rem 0; }
.acx-btn.acx-share { display: inline-flex; align-items: center; text-decoration: none; font-family: var(--acx-display); font-weight: 800; font-size: 1.125rem; letter-spacing: 0.06em; text-transform: uppercase; min-height: 48px; padding: 0.5rem 1.1rem; }
.acx-btn.acx-share:hover { background: var(--acx-ink); color: var(--acx-white); }
.article-ratings-social-share { justify-content: flex-start !important; }
.pagenavigation .pagination a, .pagenavigation .btn { background: var(--acx-white); color: var(--acx-ink); border: 2px solid var(--acx-ink); border-radius: 0; }
.pagenavigation .pagination a:hover { background: var(--acx-ink); color: var(--acx-white); }

/* ---------- Front page "What's on": two events across, each still date | event ---------- */
/* DJ, 2026-11-27: four columns in all (date, event, date, event), six events, same row design. */
.mod-acx-events { margin-bottom: 1rem; }
@media (min-width: 768px) {
  .mod-acx-events .acx-events { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; border-bottom: 1px solid var(--acx-ink); }
  .mod-acx-events .acx-event { grid-template-columns: 5.25rem 1fr; }
  .mod-acx-events .acx-event:last-child { border-bottom: 0; }
  .mod-acx-events .acx-event__day { font-size: 3rem; }
  .mod-acx-events .acx-event__title { font-size: 1.625rem; }
  .mod-acx-events .acx-event__body { padding-bottom: 1.1rem; }
}

/* ---------- Section pages (DJ, 2026-11-27): lead beside its text, a pair, then rows ---------- */
.acx-section__head { margin: 0 0 1.5rem; }
.acx-section__head h1 { margin: 0; font-size: clamp(2.5rem, 9vw, 4.5rem); }
.acx-pic { display: block; position: relative; overflow: hidden; background: var(--acx-sky); aspect-ratio: 16 / 10; }
.acx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acx-pic__none { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1rem; text-align: center; font-family: var(--acx-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; color: var(--acx-ink); }
.acx-section h2 { margin: 0; }
.acx-section h2 a { color: var(--acx-ink); text-decoration: none; }
.acx-section h2 a:hover { color: var(--acx-red); text-decoration: underline; }
.acx-sec__meta { font-size: 0.875rem; color: var(--acx-ink-soft); margin: 0.5rem 0 0; }

.acx-sec-lead { display: grid; gap: 1.25rem; padding-bottom: 2rem; border-bottom: 4px solid var(--acx-ink); margin-bottom: 2rem; }
.acx-sec-lead__hed { font-size: clamp(1.75rem, 5.5vw, 2.6rem); line-height: 1.1; }
.acx-sec-lead__hed .acx-pl { display: block; border-right: 0; padding: 0; margin: 0 0 0.4rem; font-size: 1.0625rem; }
.acx-sec-lead__deck { font-size: 1.1875rem; line-height: 1.5; color: var(--acx-ink-soft); margin: 0.9rem 0 0; }

.acx-sec-pair { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--acx-ink); margin-bottom: 0.5rem; }
.acx-sec-card__hed { font-size: 1.5rem; line-height: 1.2; margin-top: 0.9rem !important; }
.acx-sec-card__deck, .acx-sec-row__deck { font-size: 1.0625rem; line-height: 1.45; color: var(--acx-ink-soft); margin: 0.5rem 0 0; }

.acx-sec-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--acx-rule); align-items: start; }
.acx-sec-row .acx-pic { aspect-ratio: 1 / 1; }
.acx-sec-row__hed { font-size: 1.25rem; line-height: 1.25; }
.acx-sec-row__deck { display: none; }
.acx-section__pages { margin-top: 2rem; }

@media (min-width: 768px) {
  .acx-sec-lead { grid-template-columns: 3fr 2fr; gap: 2rem; align-items: start; }
  .acx-sec-pair { grid-template-columns: 1fr 1fr; }
  .acx-sec-row { grid-template-columns: 17rem 1fr; gap: 1.75rem; }
  .acx-sec-row .acx-pic { aspect-ratio: 16 / 10; }
  .acx-sec-row__hed { font-size: 1.5rem; }
  .acx-sec-row__deck { display: block; }
}
body.view-category .page-header { display: none; }

/* ---------- Masthead lockup (DJ, 2026-11-27) ----------
   Codex's mark, then ACE starting at the middle of the hibiscus so the A sits over its
   right half, white outline where the letters cross the picture, a vertical stroke, then
   the full name running across. The image keeps its alt text; the letters are decoration. */
#sp-header .logo a { position: relative; display: inline-flex; align-items: center; gap: 0; }
#sp-header .logo img { order: 1; }
#sp-header .logo a::before {
  order: 2; content: "ACE"; position: relative; z-index: 1; align-self: flex-end;
  font-family: var(--acx-display); font-weight: 900; font-size: 3.6rem; line-height: 0.8; letter-spacing: 0.01em;
  color: var(--acx-blue); -webkit-text-stroke: 8px var(--acx-white); paint-order: stroke fill;
  margin-left: -2.6rem; margin-bottom: 0.15rem;
}
#sp-header .logo a::after {
  order: 3; max-width: none; white-space: nowrap;
  border-left: 3px solid var(--acx-ink); margin-left: 1rem; padding: 0.15rem 0 0.15rem 1rem;
  font-size: clamp(1.5rem, 3.3vw, 2.75rem); line-height: 1;
}
@media (max-width: 991px) {
  #sp-header .logo a::before { font-size: 2.6rem; margin-left: -1.9rem; -webkit-text-stroke-width: 6px; }
  #sp-header .logo a::after { white-space: normal; max-width: 6.2em; font-size: 1.25rem; line-height: 0.95; margin-left: 0.6rem; padding-left: 0.6rem; }
}
/* Smaller ACE, larger mark, so the bird stays visible above the letters. */
@media (min-width: 992px) {
  #sp-header .logo img { height: 92px !important; width: auto; }
  #sp-header .logo a::before { font-size: 2.5rem; margin-left: -3.1rem; margin-bottom: 0.1rem; -webkit-text-stroke-width: 7px; }
}
@media (max-width: 991px) {
  #sp-header .logo a::before { font-size: 1.75rem; margin-left: -1.75rem; -webkit-text-stroke-width: 5px; }
}

/* ---------- Masthead layers: flower, then ACE, then the bird on top ---------- */
#sp-header .logo a::before { content: none !important; }
#sp-header .logo a.acx-lockup { position: relative; }
.acx-ace {
  order: 2; position: relative; z-index: 2; align-self: flex-end; display: inline-grid;
  font-family: var(--acx-display); font-weight: 900; font-size: 2.5rem; line-height: 0.8; letter-spacing: 0.02em;
  color: var(--acx-blue); margin-left: -3.1rem; margin-bottom: 0.1rem;
}
.acx-ace > span { grid-area: 1 / 1; paint-order: stroke fill; }
.acx-ace__k { -webkit-text-stroke: 4px var(--acx-ink); }
.acx-ace__w {
  -webkit-text-stroke: 7px var(--acx-white);
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 1.15rem, transparent 1.9rem);
          mask-image: linear-gradient(to right, #000 0, #000 1.15rem, transparent 1.9rem);
}
#sp-header .logo img.acx-bird { position: absolute; left: 0; top: 0; height: 100% !important; width: auto; z-index: 3; pointer-events: none; order: 0; display: block !important; }
@media (max-width: 991px) {
  #sp-header .logo img.logo-image, #sp-header .logo img:not(.acx-bird) { height: 56px !important; width: auto; }
  .acx-ace { font-size: 1.6rem; margin-left: -1.9rem; }
  .acx-ace__k { -webkit-text-stroke-width: 3px; }
  .acx-ace__w { -webkit-text-stroke-width: 5px; -webkit-mask-image: linear-gradient(to right, #000 0, #000 0.7rem, transparent 1.15rem); mask-image: linear-gradient(to right, #000 0, #000 0.7rem, transparent 1.15rem); }
}
/* Thinner black outline: at 4px it swallowed the letters once the tail crossed them. */
.acx-ace__k { -webkit-text-stroke-width: 2px; }
.acx-ace { letter-spacing: 0.04em; }
@media (max-width: 991px) { .acx-ace__k { -webkit-text-stroke-width: 1.5px; } }

/* ---------- Pictures on every listed story (DJ, 2026-11-27) ---------- */
.acx-thumb { display: block; position: relative; overflow: hidden; background: var(--acx-sky); aspect-ratio: 1 / 1; width: 4.5rem; flex: none; }
.acx-thumb--wide { aspect-ratio: 16 / 10; width: 100%; }
.acx-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Numbered rail beside the lead: number, headline, picture. */
.acx-rail a { grid-template-columns: 3.25rem 1fr 4.5rem; gap: 0.25rem 0.75rem; align-items: center; }
.acx-rail a::before { align-self: start; }
/* Latest: number, headline, picture. */
.acx-num li { align-items: start; }
.acx-num a { display: grid; grid-template-columns: 1fr 4.5rem; gap: 0.75rem; align-items: start; }
/* Local stack and tab lists: picture on the left, headline and summary beside it. */
.acx-stack__row { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: start; }
.acx-stack li.acx-stack__row { padding: 1rem 0; }
.acx-stack li.acx-stack__row:first-child { padding-top: 0.25rem; }
.acx-stack__pic { display: block; }
@media (min-width: 768px) {
  .acx-stack__row { grid-template-columns: 13rem 1fr; gap: 1.5rem; }
  .acx-stack__row--small { grid-template-columns: 8rem 1fr; gap: 1rem; }
}

/* ---------- Sticky header on desktop ---------- */
@media (min-width: 992px) {
  #sp-header { position: sticky; top: 0; z-index: 990; }
  body.acx-stuck #sp-header { box-shadow: 0 2px 0 rgba(20, 20, 20, 0.06); }
  body.acx-stuck #sp-header .logo { padding: 0.3rem 0; }
  body.acx-stuck #sp-header .logo img:not(.acx-bird) { height: 54px !important; }
  body.acx-stuck #sp-header .logo a::after { display: none; }
  body.acx-stuck .acx-ace { font-size: 1.5rem; margin-left: -1.8rem; }
  body.acx-stuck .acx-ace__w { -webkit-mask-image: linear-gradient(to right, #000 0, #000 0.65rem, transparent 1.1rem); mask-image: linear-gradient(to right, #000 0, #000 0.65rem, transparent 1.1rem); -webkit-text-stroke-width: 5px; }
  body.acx-stuck .acx-ace__k { -webkit-text-stroke-width: 1.5px; }
  body.acx-stuck .sp-megamenu-parent > li > a { line-height: 2.6rem; }
}
/* Sticky header, corrected: fixed once scrolled, with the old height held open. */
@media (min-width: 992px) {
  #sp-header { position: relative; }
  body.acx-stuck #sp-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 990; animation: acx-drop 0.18s ease-out; }
  body.acx-stuck #sp-header + * { margin-top: var(--acx-hh, 0px); }
}
@keyframes acx-drop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { body.acx-stuck #sp-header { animation: none; } }
.acx-tagline { font-size: 1.125rem; color: var(--acx-ink-soft); margin: -0.4rem 0 1rem; max-width: 44rem; }

/* ---------- Front page hero (DJ, 2026-11-27) ----------
   After the reference DJ chose: a white list of top stories with small pictures, the chosen
   one marked in red, beside one large picture of that story. Numbers kept. */
.acx-hero { display: grid; margin: 0 0 1rem; background: var(--acx-white); border-bottom: 4px solid var(--acx-ink); }
.acx-hero__stage { position: relative; order: -1; background: var(--acx-ink); min-height: 19rem; }
.acx-hero__link { position: absolute; inset: 0; display: block; color: var(--acx-white); text-decoration: none; overflow: hidden; }
.acx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acx-hero__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,0.9) 0%, rgba(20,20,20,0.4) 42%, rgba(20,20,20,0) 68%); }
.acx-hero__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem; display: block; }
.acx-hero__text > span { display: block; }
.acx-hero__label { display: inline-block !important; background: var(--acx-red); color: var(--acx-white); font-family: var(--acx-display); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.15rem 0.6rem; margin-bottom: 0.7rem; }
.acx-hero__hed { font-family: var(--acx-text); font-weight: 600; font-size: clamp(1.6rem, 5.5vw, 2.6rem); line-height: 1.1; color: var(--acx-white); text-wrap: balance; }
.acx-hero__hed .acx-pl { color: var(--acx-sky); }
.acx-hero__link:hover .acx-hero__hed, .acx-hero__link:focus .acx-hero__hed { text-decoration: underline; text-decoration-thickness: 2px; }
.acx-hero__date { font-size: 0.875rem; margin-top: 0.6rem; color: var(--acx-white); }
.acx-hero__nav { position: absolute; top: 42%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--acx-white); color: var(--acx-ink); font-size: 1.75rem; line-height: 1; padding: 0 0 4px; min-height: 0; cursor: pointer; font-family: var(--acx-text); }
.acx-hero__nav:hover, .acx-hero__nav:focus-visible { background: var(--acx-red); color: var(--acx-white); }
.acx-hero__nav--prev { left: 0.75rem; }
.acx-hero__nav--next { right: 0.75rem; }
.acx-hero__nav[hidden] { display: none; }

.acx-hero__list { list-style: none; margin: 0; padding: 0.5rem; }
.acx-hero__item { display: grid; grid-template-columns: 2.25rem 4.5rem 1fr; gap: 0.85rem; align-items: center; padding: 0.75rem; min-height: 48px; color: var(--acx-ink); text-decoration: none; border-bottom: 1px solid var(--acx-rule); }
.acx-hero__list li:last-child .acx-hero__item { border-bottom: 0; }
.acx-hero__num { font-family: var(--acx-display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--acx-blue); }
.acx-hero__itemhed { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.acx-hero__itemdate { display: block; font-size: 0.8125rem; color: var(--acx-ink-soft); margin-top: 0.3rem; }
.acx-hero__item:hover, .acx-hero__item:focus { color: var(--acx-ink); }
.acx-hero__item.is-active { background: var(--acx-red); color: var(--acx-white); border-bottom-color: transparent; }
.acx-hero__item.is-active .acx-hero__num, .acx-hero__item.is-active .acx-hero__itemdate, .acx-hero__item.is-active .acx-pl { color: var(--acx-white); }
.acx-hero__item .acx-pl { font-size: 0.8em; }
body.view-featured .acx-hero { margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5); margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5); }
@media (min-width: 992px) {
  body.view-featured .acx-hero { margin-left: 0; margin-right: 0; }
  .acx-hero { grid-template-columns: minmax(22rem, 5fr) 9fr; border: 1px solid var(--acx-rule); border-bottom: 4px solid var(--acx-ink); margin-top: 1.25rem; }
  .acx-hero__stage { order: 0; min-height: 34rem; }
  .acx-hero__text { padding: 2rem 2.25rem; }
  .acx-hero__nav--prev { left: 1.25rem; }
  .acx-hero__nav--next { right: 1.25rem; }
}
/* Hero, corrected (DJ, 2026-11-27): the big picture on the left, the story list on the right. */
@media (min-width: 992px) {
  .acx-hero { grid-template-columns: 9fr minmax(22rem, 5fr); }
  .acx-hero__stage { order: -1; }
}
/* On phones the arrows sat on the section label; lift them clear of the text. */
@media (max-width: 991px) { .acx-hero__nav { top: 22%; } }

/* ---------- Centred masthead with advertising "ears" (DJ, 2026-11-27) ----------
   Desktop, full header only: the logo and name sit in the middle, an ad slot on each side,
   and the menu is centred directly beneath. The compact sticky header is unchanged. */
.acx-ear { display: none; }
@media (min-width: 992px) {
  body:not(.acx-stuck) #sp-header .container-inner > .row { justify-content: center; row-gap: 0; }
  body:not(.acx-stuck) #sp-logo { flex: 0 0 100%; max-width: 100%; }
  body:not(.acx-stuck) #sp-logo > .sp-column { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1.5rem; }
  body:not(.acx-stuck) #sp-logo .logo { grid-column: 2; padding: 0.6rem 0 0.1rem !important; }
  body:not(.acx-stuck) #sp-menu { flex: 0 0 100%; max-width: 100%; }
  body:not(.acx-stuck) #sp-menu > .sp-column { justify-content: center !important; }
  body:not(.acx-stuck) .sp-megamenu-parent > li > a, body:not(.acx-stuck) .sp-megamenu-parent > li > span { line-height: 2.5rem; }
  body:not(.acx-stuck) #sp-header .sp-megamenu-parent { margin-top: -0.1rem; }
}
@media (min-width: 1200px) {
  body:not(.acx-stuck) .acx-ear {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
    width: 13rem; height: 5.25rem; border: 1px dashed var(--acx-ink-soft); background: var(--acx-sky-pale); color: var(--acx-ink-soft); text-align: center;
  }
  .acx-ear--left { grid-column: 1; grid-row: 1; justify-self: start; }
  .acx-ear--right { grid-column: 3; grid-row: 1; justify-self: end; }
  .acx-ear__label { font-family: var(--acx-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; }
  .acx-ear__text { font-size: 0.9375rem; }
}
@media (min-width: 1400px) { body:not(.acx-stuck) .acx-ear { width: 15rem; } }
/* Menu tucked closer under the masthead. */
@media (min-width: 992px) {
  body:not(.acx-stuck) #sp-menu { margin-top: -0.75rem; }
  body:not(.acx-stuck) #sp-header { padding-bottom: 0.15rem; }
}
/* ACE in black with a white outline all round (DJ, 2026-11-27). Replaces the blue letters
   and the outline that switched from white to black. */
.acx-ace { color: var(--acx-ink); }
.acx-ace__k { -webkit-text-stroke-width: 0 !important; }
.acx-ace__w { -webkit-mask-image: none !important; mask-image: none !important; }

/* ---------- Hero: automatic change of story, eased (DJ, 2026-11-27) ---------- */
.acx-hero__img--old { z-index: 0; opacity: 1; transition: opacity 0.9s cubic-bezier(0.45, 0, 0.25, 1); }
.acx-hero__img--old.is-leaving { opacity: 0; }
.acx-hero__text { transition: opacity 0.45s cubic-bezier(0.45, 0, 0.25, 1), transform 0.45s cubic-bezier(0.45, 0, 0.25, 1); }
.acx-hero__text.is-changing { opacity: 0; transform: translateY(8px); }
.acx-hero__pause { position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2; width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 20, 20, 0.55); color: var(--acx-white); font-size: 0.8125rem; line-height: 1; letter-spacing: 0.05em; cursor: pointer; }
.acx-hero__pause:hover, .acx-hero__pause:focus-visible { background: var(--acx-red); }
@media (min-width: 992px) { .acx-hero__pause { right: 1.25rem; bottom: 1.25rem; } .acx-hero__text { padding-right: 5rem; } }
@media (prefers-reduced-motion: reduce) { .acx-hero__img--old, .acx-hero__text { transition: none; } }

/* ---------- Site footer (DJ, 2026-11-27) ----------
   After the BBC News footer: brand, section menu, follow-us row, small links, copyright.
   The content lives in a Joomla Custom module at position footer1, so it is edited in the
   administrator (Content > Site Modules > "Site footer"). */
#sp-footer { background: var(--acx-ink); color: var(--acx-white); padding: 0; }
#sp-footer .container-inner { padding: 2.25rem 0 1.5rem; border-top: 0; }
.acx-footer { font-size: 1rem; }
.acx-footer p { margin: 0; }
.acx-footer a { color: var(--acx-white); text-decoration: none; }
.acx-footer a:hover, .acx-footer a:focus { color: var(--acx-sky); text-decoration: underline; }
.acx-footer__brand { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.5rem; }
.acx-footer__brand img { height: 64px; width: auto; flex: none; background: var(--acx-white); border-radius: 50%; padding: 4px; }
.acx-footer__name { font-family: var(--acx-display); font-weight: 900; font-size: 1.75rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.acx-footer__about { color: #c9d3dc; margin-top: 0.35rem !important; max-width: 36rem; }
.acx-footer__nav, .acx-footer__follow, .acx-footer__small { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.acx-footer__nav a { font-family: var(--acx-display); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.06em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }
.acx-footer__label { font-family: var(--acx-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: #c9d3dc; margin-right: 0.25rem; }
.acx-social { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.35rem 0.9rem; border: 2px solid var(--acx-white); font-family: var(--acx-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.acx-footer a.acx-social:hover, .acx-footer a.acx-social:focus { background: var(--acx-white); color: var(--acx-ink); text-decoration: none; }
.acx-social::before { font-family: "Font Awesome 6 Brands"; font-weight: 400; font-size: 1.125rem; letter-spacing: 0; }
.acx-social--facebook::before { content: "\f39e"; }
.acx-social--linkedin::before { content: "\f0e1"; }
.acx-social--tiktok::before { content: "\e07b"; }
.acx-social--instagram::before { content: "\f16d"; }
.acx-social--youtube::before { content: "\f167"; }
.acx-social--whatsapp::before { content: "\f232"; }
/* A network with no address yet is shown, but is not a link and says so. */
.acx-social--unset { border-style: dashed; border-color: #8a96a1; color: #aab4bd; cursor: default; }
.acx-footer__small { font-size: 0.9375rem; gap: 0.25rem 1.25rem; }
.acx-footer__small a { min-height: 44px; display: inline-flex; align-items: center; }
.acx-footer__copy { color: #c9d3dc; font-size: 0.875rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.22); }
/* Thinner white outline on ACE (DJ, 2026-11-27): was 7px on desktop. */
.acx-ace__w { -webkit-text-stroke-width: 3px !important; }
@media (max-width: 991px) { .acx-ace__w { -webkit-text-stroke-width: 2px !important; } }
body.acx-stuck .acx-ace__w { -webkit-text-stroke-width: 2px !important; }
/* Footer logo with ACE (DJ, 2026-11-27): the same layers as the masthead, on a white panel
   so the black letters and the flower read against the dark footer. */
.acx-footer__lockup { position: relative; display: inline-flex; align-items: flex-end; flex: none; background: var(--acx-white); padding: 8px 14px 8px 8px; }
.acx-footer__brand .acx-footer__lockup img { background: none; border-radius: 0; padding: 0; }
.acx-footer__brand img.acx-footer__flower { height: 76px; width: auto; }
.acx-footer__brand img.acx-footer__bird { position: absolute; left: 8px; top: 8px; height: 76px; width: auto; z-index: 3; pointer-events: none; }
.acx-footer__lockup .acx-ace { font-size: 2.1rem; margin-left: -2.55rem; margin-bottom: 0; order: 0; }
/* Footer uses the same logo as the masthead (DJ, 2026-11-27): mark, ACE, stroke, full name,
   together on one white panel. */
.acx-footer__brand { padding-bottom: 0.9rem; }
.acx-footer a.acx-footer__mast { display: inline-flex; align-items: center; background: var(--acx-white); padding: 8px 20px 8px 10px; color: var(--acx-ink); text-decoration: none; max-width: 100%; }
.acx-footer a.acx-footer__mast:hover, .acx-footer a.acx-footer__mast:focus { color: var(--acx-ink); text-decoration: none; }
.acx-footer__mast .acx-footer__lockup { background: none; padding: 0; }
.acx-footer__brand .acx-footer__mast img.acx-footer__bird { left: 0; top: 0; }
.acx-footer__mast .acx-footer__name { color: var(--acx-ink); border-left: 3px solid var(--acx-ink); margin-left: 1rem; padding: 0.15rem 0 0.15rem 1rem; font-size: clamp(1.25rem, 3.3vw, 2.75rem); line-height: 1; }
.acx-footer > .acx-footer__about { margin: 0 0 1.5rem !important; }
@media (max-width: 575px) { .acx-footer__mast .acx-footer__name { max-width: 6.2em; line-height: 0.95; } }
/* The compact sticky-header sizes must not reach the footer logo. */
body .acx-footer__lockup .acx-ace, body.acx-stuck .acx-footer__lockup .acx-ace { font-size: 2.07rem; margin-left: -2.56rem; margin-bottom: 0.08rem; }
body .acx-footer__lockup .acx-ace__w, body.acx-stuck .acx-footer__lockup .acx-ace__w { -webkit-text-stroke-width: 3px !important; }
