/* Public site. No frameworks, no web fonts: fast on slow connections. Colours come from --brand (set in the layout). */
:root {
  --brand: #b71c1c; --ink: #1b1b1f; --muted: #62666d; --line: #e4e5e8; --bg: #fff; --soft: #f5f5f7;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Tamil", "Noto Sans Devanagari", "Nirmala UI", "Latha", "Mangal", Arial, sans-serif;
  --radius: 10px; --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }
/* Indic scripts need more line height than Latin */
:lang(ta) body, body.lang-ta, body.lang-hi, :lang(hi) body { line-height: 1.75; }

/* Preview bar */
.preview-bar { background: #ffd54f; color: #3b2f00; text-align: center; padding: 8px 12px; font-weight: 600; }

/* Breaking ticker (CSS only; paused on hover/focus; static for reduced-motion) */
.ticker { display: flex; align-items: stretch; background: var(--ticker-bg); color: var(--ticker-fg); font-size: .95rem; overflow: hidden; }
.ticker-label { flex: none; padding: 8px 14px; font-weight: 700; background: rgba(0,0,0,.25); text-transform: uppercase; letter-spacing: .03em; }
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-move { display: flex; gap: 48px; margin: 0; padding: 0 0 0 24px; list-style: none; white-space: nowrap; animation: tick var(--ticker-speed, 40s) linear infinite; width: max-content; }
.ticker-move li { flex: none; }
.ticker:hover .ticker-move, .ticker:focus-within .ticker-move { animation-play-state: paused; }
.ticker a:hover { color: var(--ticker-fg); text-decoration: underline; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; overflow-x: auto; width: auto; } .ticker-move li[aria-hidden] { display: none; } }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 20; }
.topline { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: .85rem; color: var(--muted); }
.langs { display: flex; gap: 14px; }
.langs a.on { color: var(--brand); font-weight: 700; }
.brandrow { display: flex; align-items: center; gap: 16px; padding: 10px 0 14px; flex-wrap: wrap; }
.brand { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; color: var(--brand); flex: 1 1 auto; line-height: 1.15; }
.brand:hover { color: var(--brand); }
.search { display: flex; flex: 0 1 340px; }
.search input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; font: inherit; }
.search button { padding: 9px 14px; border: 0; background: var(--brand); color: #fff; border-radius: 0 8px 8px 0; font: inherit; cursor: pointer; }
.burger { display: none; width: 44px; height: 42px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger-lines { display: flex; width: 22px; flex-direction: column; gap: 5px; }
.burger-lines span { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--ink); }
.burger:hover, .burger:focus-visible { border-color: var(--brand); }

.mainnav { background: var(--ink); }
.mainnav > ul { display: flex; flex-wrap: wrap; margin: 0 auto; padding: 0 16px; list-style: none; }
.mainnav li { position: relative; }
.mainnav a { display: block; padding: 11px 14px; color: #fff; font-weight: 600; font-size: .95rem; }
.mainnav a:hover, .mainnav li:focus-within > a { background: var(--brand); color: #fff; }
.mainnav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 210px; margin: 0; padding: 6px 0; list-style: none; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.18); border-radius: 0 0 8px 8px; z-index: 30; }
.mainnav .sub a { color: var(--ink); font-weight: 500; }
.mainnav .sub a:hover { background: var(--soft); color: var(--brand); }
.mainnav li:hover > .sub, .mainnav li:focus-within > .sub { display: block; }

/* Layout blocks */
.main { padding-top: 22px; padding-bottom: 40px; min-height: 55vh; }
.block { margin: 0 0 38px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.block-head h2 { margin: 0; font-size: 1.25rem; padding-bottom: 6px; border-bottom: 3px solid var(--brand); margin-bottom: -2px; }
.block-head a { font-size: .9rem; color: var(--brand); font-weight: 600; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.list { display: grid; gap: 18px; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.thumb { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s; }
.thumb:hover img { transform: scale(1.03); }
.kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.title { margin: 2px 0 4px; font-size: 1.08rem; line-height: 1.35; font-weight: 700; }
.sum { margin: 0 0 4px; color: var(--muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { margin: 0; color: var(--muted); font-size: .82rem; }
.card-row { flex-direction: row; gap: 14px; align-items: flex-start; }
.card-row .thumb { flex: 0 0 38%; max-width: 190px; }
.card-row .title { font-size: 1rem; }
.card-row .sum { display: none; }
.card-lead .title { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.25; }
.card-lead .sum { font-size: 1.05rem; -webkit-line-clamp: 4; }
.card-lead .thumb img { aspect-ratio: 16 / 9; }

.hero { display: grid; gap: 26px; grid-template-columns: 1fr; }
.hero-side { display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.7fr 1fr; } .hero-side { border-left: 1px solid var(--line); padding-left: 24px; } }

.ranked ol { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 0; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 38px 1fr; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ranked li::before { content: counter(r); grid-row: span 2; font-size: 1.6rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.ranked li a { font-weight: 600; line-height: 1.4; }

/* Listing pages */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); }
.crumb-title { display: inline-block; max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.page-head { margin-bottom: 22px; }
.intro { color: var(--muted); max-width: 70ch; margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 10px 0 0; padding: 0; }
.chips a { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: .88rem; background: var(--soft); }
.chips a:hover { border-color: var(--brand); }
.notice { padding: 18px; background: var(--soft); border-radius: var(--radius); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 34px 0 0; }
.pager a, .pager span { min-width: 38px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.pager .cur { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 700; }
.pager a:hover { border-color: var(--brand); }

/* Article */
.article { max-width: 760px; margin: 0 auto 40px; }
.article h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); line-height: 1.25; margin: 6px 0 12px; letter-spacing: -.01em; }
.standfirst { font-size: 1.2rem; color: #3b3e44; margin: 0 0 14px; line-height: 1.55; }
.byline, .also { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.byline a, .also a { color: var(--ink); font-weight: 600; }
.also a { margin-right: 10px; }
.lead-img { margin: 18px 0 24px; }
.lead-img img { width: 100%; border-radius: var(--radius); }
.lead-img figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose { font-size: 1.12rem; line-height: 1.85; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 { line-height: 1.3; margin: 1.6em 0 .6em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--radius); margin: 1.2em auto; }
.prose blockquote { margin: 1.4em 0; padding: .4em 1.2em; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.15em; }
.prose pre { overflow-x: auto; background: var(--soft); padding: 12px; border-radius: 8px; }
.source { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); padding-top: 10px; }
.tags { margin: 18px 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0 0; font-size: .92rem; }
.share a, .share button { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font: inherit; cursor: pointer; }
.share a.wa { background: #25d366; border-color: #25d366; color: #fff; font-weight: 600; }
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand); }
.share a.wa:hover { color: #fff; filter: brightness(.95); }
.related { margin-top: 10px; }

.notfound { text-align: center; padding: 60px 0; }
.notfound .code { font-size: 5rem; font-weight: 800; color: var(--brand); margin: 0; line-height: 1; }
.btn { display: inline-block; padding: 10px 20px; background: var(--brand); color: #fff; border-radius: 8px; font-weight: 600; }
.btn:hover { color: #fff; filter: brightness(1.1); }
.empty-home { text-align: center; padding: 70px 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #cfd1d6; padding: 28px 0; font-size: .9rem; }
.footnav { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0 0 14px; padding: 0; }
.footnav a:hover { color: #fff; text-decoration: underline; }
.copy { margin: 0; color: #9da1a8; }

/* Mobile */
@media (max-width: 760px) {
  .burger { display: inline-block; }
  .search { flex: 1 1 100%; order: 3; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav > ul { flex-direction: column; padding: 0; }
  .mainnav a { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mainnav .sub { display: block; position: static; box-shadow: none; background: rgba(255,255,255,.06); border-radius: 0; padding: 0; }
  .mainnav .sub a { color: #fff; padding-left: 32px; font-weight: 400; }
  .grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .card-row .thumb { flex-basis: 34%; }
  .prose { font-size: 1.06rem; }
}
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }
@media print { .ticker, .site-header, .site-footer, .share, .related, .search { display: none !important; } .prose { font-size: 12pt; } }
.brand-tagline { display: block; margin-top: 3px; font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--muted, #666); }

.footer-contact { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 12px 0; font-size: .92rem; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }


/* Editorial newspaper refresh: classic newspaper hierarchy with modern digital-news cards.
   Existing CMS section types, data, and routes are preserved. */
:root { --editorial-serif: Georgia, "Times New Roman", serif; --editorial-paper: #fff; }
body { background: var(--editorial-paper); }
.site-header { border-top: 4px solid var(--brand); }
.topline { min-height: 34px; border-bottom: 1px solid #ededed; }
.brandrow { padding-top: 18px; padding-bottom: 18px; }
.brand { font-family: var(--editorial-serif); font-size: clamp(2rem, 4.6vw, 3.15rem); letter-spacing: -.045em; color: #171717; }
.brand:hover { color: var(--brand); }
.brand-tagline { font-family: var(--font); font-size: .76rem; letter-spacing: .015em; text-transform: uppercase; }
.mainnav { background: #171717; }
.mainnav a { font-size: .88rem; letter-spacing: .015em; padding: 12px 15px; }
.main { padding-top: 26px; }
.editorial-home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.block { margin-bottom: 34px; }
.block-head { border-bottom: 1px solid #bfc0c2; margin-bottom: 18px; }
.block-head h2 { font-family: var(--editorial-serif); font-size: 1.48rem; font-weight: 700; padding: 0 0 8px; border-bottom: 3px solid var(--brand); }
.block-head a { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.editorial-lead { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.hero { gap: 24px; }
.hero-main .card { gap: 12px; }
.card { gap: 9px; }
.thumb { border-radius: 2px; background: #f0f0f0; }
.thumb img { transition: transform .25s ease; }
.thumb:hover img { transform: scale(1.025); }
.card-lead .title { font-family: var(--editorial-serif); font-size: clamp(1.85rem, 3.2vw, 2.75rem); letter-spacing: -.025em; line-height: 1.12; margin-top: 5px; }
.card-lead .sum { font-size: 1.02rem; line-height: 1.55; max-width: 68ch; }
.card .title { font-family: var(--editorial-serif); font-size: 1.2rem; line-height: 1.25; }
.card-row { gap: 13px; padding-bottom: 13px; border-bottom: 1px solid #e8e8e8; }
.card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.card-row .thumb { flex-basis: 34%; max-width: 150px; }
.card-row .title { font-size: 1.06rem; line-height: 1.25; }
.kicker { font-size: .7rem; letter-spacing: .075em; }
.meta { font-size: .76rem; }
.editorial-section .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.editorial-section .grid .card .title { font-size: 1.12rem; }
.editorial-section-category, .editorial-section-opinion { padding-top: 4px; }
.editorial-section-opinion { background: #f7f7f5; padding: 20px; }
.editorial-section-opinion .block-head { border-color: #d6d6d2; }
.editorial-section-opinion .card { border-left: 2px solid var(--brand); padding-left: 13px; }
.ranked { border: 1px solid #e1e1e1; padding: 17px 18px; background: #fafafa; }
.ranked .block-head { margin-bottom: 4px; }
.ranked .block-head h2 { font-size: 1.25rem; }
.ranked li { grid-template-columns: 30px 1fr; padding: 11px 0; }
.ranked li::before { font-family: var(--editorial-serif); font-size: 1.45rem; }
.ranked li a { font-family: var(--editorial-serif); font-size: 1.02rem; }
.empty-home { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty-home .eyebrow { display: block; color: var(--brand); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.empty-home h1 { font-family: var(--editorial-serif); color: var(--ink); }
.site-footer { border-top: 4px solid var(--brand); }
@media (min-width: 980px) {
  .editorial-home { grid-template-columns: minmax(0, 1fr) 290px; column-gap: 28px; align-items: start; }
  .editorial-lead, .editorial-section { grid-column: 1 / -1; }
  .editorial-ranked { grid-column: 2; grid-row: 2; }
  .editorial-section { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .editorial-section .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .brandrow { gap: 12px; }
  .brand { font-size: 2rem; }
  .editorial-section .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card-lead .title { font-size: 1.8rem; }
  .hero-side { gap: 13px; }
}
@media (max-width: 480px) {
  .editorial-section .grid { grid-template-columns: 1fr; }
  .editorial-section-opinion { padding: 14px; }
  .card-row .thumb { flex-basis: 32%; }
}


/* Release 0.5.3 — hybrid editorial homepage polish.
   All content remains driven by Homepage Manager and translated CMS records. */
:root {
  --editorial-rule: #d9dadd;
  --editorial-muted: #70747b;
  --editorial-wash: #f6f6f4;
}
.site-header { border-top-width: 5px; }
.topline { min-height: 36px; }
.topline .date { font-size: .78rem; letter-spacing: .035em; }
.langs { gap: 7px; align-items: center; }
.langs a { padding: 3px 8px; border-radius: 3px; }
.langs a.on { background: var(--editorial-wash); }
.brandrow { min-height: 104px; }
.brand { line-height: 1.05; }
.brand-tagline { margin-top: 7px; }
.search input { border-radius: 2px 0 0 2px; }
.search button { border-radius: 0 2px 2px 0; }
.mainnav { border-bottom: 1px solid rgba(255,255,255,.12); }
.mainnav > ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
.mainnav > ul > li { flex: 0 0 auto; }
.mainnav a { white-space: nowrap; }
.mainnav > ul > li:first-child > a { padding-left: 16px; }
.main { padding-top: 30px; }
.editorial-home { row-gap: 2px; }
.editorial-lead { padding-bottom: 28px; margin-bottom: 30px; }
.hero-main .card-lead .thumb { background: #ececea; }
.hero-main .card-lead .thumb img { aspect-ratio: 16 / 9; max-height: 510px; object-fit: cover; }
.hero-side { gap: 0; }
.hero-side .card-row { padding: 13px 0; }
.hero-side .card-row:first-child { padding-top: 0; }
.hero-side .card-row .thumb { flex-basis: 36%; max-width: 142px; }
.hero-side .card-row .title { font-size: 1.02rem; }
.editorial-section { padding-top: 4px; }
.editorial-section .grid { align-items: start; }
.editorial-section .card { min-width: 0; }
.editorial-section .card .thumb img { aspect-ratio: 16 / 10; }
.editorial-section .card .sum { line-height: 1.55; }
.editorial-section-opinion { border-top: 1px solid var(--editorial-rule); border-bottom: 1px solid var(--editorial-rule); }
.editorial-section-opinion .card { padding-top: 5px; padding-bottom: 5px; }
.editorial-ranked { align-self: start; }
.ranked { border: 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--editorial-rule); background: var(--editorial-wash); padding: 16px 18px 10px; }
.ranked .block-head h2 { font-size: 1.35rem; }
.ranked li:last-child { border-bottom: 0; }
.ranked li a:hover { color: var(--brand); }
.empty-home { max-width: 760px; margin: 20px auto 50px; padding: 54px 24px; background: var(--editorial-wash); }
.site-footer { margin-top: 18px; }
@media (min-width: 980px) {
  .editorial-home { grid-template-columns: minmax(0, 1fr) 310px; column-gap: 32px; }
  .editorial-lead { grid-column: 1 / -1; }
  .editorial-ranked { grid-column: 2; grid-row: 2; }
  .editorial-section { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .brandrow { min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .brand { font-size: 2.05rem; }
  .mainnav > ul { overflow: visible; }
  .main { padding-top: 20px; }
  .editorial-lead { padding-bottom: 20px; margin-bottom: 22px; }
  .hero-side .card-row .thumb { flex-basis: 34%; }
  .editorial-ranked { margin-top: 4px; }
}
@media (max-width: 480px) {
  .topline { align-items: flex-start; gap: 8px; }
  .langs { gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
  .langs a { padding: 2px 6px; font-size: .82rem; }
  .search { flex-basis: 100%; }
  .hero-main .card-lead .thumb img { aspect-ratio: 4 / 3; }
  .editorial-section .grid { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .thumb img { transition: none; }
}

/* Release 0.5.4 — balanced homepage content/sidebar layout.
   Ranked modules sit beside real content; without main content they span full width. */
.editorial-home { display: block; }
.editorial-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  column-gap: 32px;
  align-items: start;
}
.editorial-main-content { min-width: 0; }
.editorial-sidebar { min-width: 0; }
.editorial-sidebar .editorial-ranked { margin-bottom: 24px; }
.editorial-content-layout.ranked-only { grid-template-columns: minmax(0, 1fr); }
.editorial-content-layout.ranked-only .editorial-sidebar { width: 100%; }
.editorial-content-layout.ranked-only .editorial-ranked { width: 100%; }
.editorial-main-content .editorial-section:last-child,
.editorial-sidebar .editorial-ranked:last-child { margin-bottom: 0; }
.editorial-empty-section { color: var(--editorial-muted); font-size: .9rem; padding: 8px 0 16px; }
@media (max-width: 979px) {
  .editorial-content-layout { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .editorial-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .editorial-sidebar .editorial-ranked { margin-bottom: 0; }
}
@media (max-width: 600px) {
  .editorial-sidebar { grid-template-columns: minmax(0, 1fr); }
}


/* Release 0.5.5 — full-width brand navigation with no horizontal scrolling. */
.mainnav { background: var(--brand); width: 100%; }
.mainnav > ul { width: min(100%, var(--wrap, 1280px)); max-width: 100%; box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; overflow: visible; gap: 0; }
.mainnav > ul > li { flex: 0 1 auto; min-width: 0; }
.mainnav a { color: #fff; font-size: .82rem; line-height: 1.35; letter-spacing: 0; padding: 11px 10px; text-align: center; white-space: normal; }
.mainnav a:hover, .mainnav li:focus-within > a { background: rgba(0,0,0,.16); color: #fff; }
.mainnav > ul > li:first-child > a { padding-left: 12px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .mainnav a { font-size: .76rem; padding: 10px 7px; }
}
@media (max-width: 760px) {
  .mainnav { background: var(--brand); }
  .mainnav > ul { display: flex; flex-direction: column; flex-wrap: nowrap; overflow: visible; }
  .mainnav > ul > li { width: 100%; }
  .mainnav a { text-align: start; padding: 12px 16px; white-space: normal; }
}

/* Uploaded publication logo */
.brand-logo { display: block; width: auto; max-width: min(320px, 52vw); height: auto; max-height: 76px; object-fit: contain; object-position: left center; }
@media (max-width: 640px) { .brand-logo { max-width: min(230px, 58vw); max-height: 58px; } }
