/* councilelections.com.au — 2026. Continues the 2025 look: Open Sans, suit navy on pale blue. */

@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: block; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: block; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: block; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-300i.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: block; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: block; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-600i.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: block; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-800i.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: block; }

:root {
  --blue: #14304f;
  --blue-dark: #0c2137;
  --blue-light: #dde7f0;
  --ink: #111111;
  --grey: #555555;
  --rule: #dedede;
  --white: #eef3f8;
  --paper: #ffffff;
  --focus: #ffb703;
  --accent: #b5451b;
  --accent-dark: #9a3b12;
  --ballot-muted: #595959;
  /* translucent tints derived from the palette */
  --shade-navy-25: color-mix(in srgb, var(--blue-dark) 25%, transparent);
  --shade-navy-35: color-mix(in srgb, var(--blue-dark) 35%, transparent);
  --shade-navy-55: color-mix(in srgb, var(--blue-dark) 55%, transparent);
  --shade-navy-70: color-mix(in srgb, var(--blue-dark) 70%, transparent);
  --shade-accent-25: color-mix(in srgb, var(--accent) 25%, transparent);
  --shade-ink-60: color-mix(in srgb, var(--ink) 60%, transparent);

  --sans: "Open Sans", Verdana, Arial, sans-serif;
  --wrap: 72rem;
  --measure: 40rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3rem, 2rem + 5vw, 6rem);
  --space: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  --radius: 25px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; line-height: 1.6; color: var(--ink); background: var(--white); }
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 800; text-transform: uppercase; line-height: 1.15; margin: 0 0 0.6em; color: var(--ink); letter-spacing: 0.01em; }
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.125rem; }
p, ul, ol, dl { margin: 0 0 1.1em; }
strong { font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100%; background: var(--ink); color: var(--white); padding: 0.75rem 1rem; z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* Short blue rule under headings, as on the 2025 site */
.rule::after { content: ""; display: block; width: 3.5rem; height: 2px; background: var(--blue); margin-top: 0.75rem; }
.rule.center::after { margin-inline: auto; }
.on-blue .rule::after { background: var(--white); }

/* Header: blue bar, centred uppercase nav, white tab for the current page */
.site-header { background: var(--blue); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px var(--shade-navy-25); }
html { scroll-padding-top: 5rem; }
.header-inner { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 0 0.25rem; min-height: 4.1rem; }
.brand { color: var(--white); text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.04em; display: flex; align-items: center; padding: 1.35rem 1rem; }
.brand:hover, .brand:focus-visible { color: var(--white); text-decoration: underline; }
.site-nav { display: flex; align-items: stretch; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.site-nav li { display: flex; align-items: stretch; }
.site-nav a { color: var(--white); text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; display: flex; align-items: center; padding: 0 1rem; }
.site-nav a:hover { color: var(--white); text-decoration: underline; }
.site-nav a[aria-current="page"] { background: var(--white); color: var(--blue); border-radius: 0 0 12px 12px; margin-bottom: 0.5rem; padding-top: 0.5rem; }
.site-nav a:focus-visible { outline-color: var(--focus); outline-offset: -4px; }
.site-nav a.nav-cta { background: var(--accent); color: var(--paper); border-radius: 8px; align-self: center; padding: 0.55rem 1.1rem; margin: 0 0 0 0.75rem; font-weight: 700; }
.site-nav a.nav-cta:hover { background: var(--accent-dark); color: var(--paper); text-decoration: none; }
.site-nav a.nav-cta[aria-current="page"] { background: var(--accent-dark); color: var(--paper); margin-bottom: 0; padding-top: 0.55rem; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--paper); }
.site-nav a.nav-cta:focus-visible { outline-offset: 2px; }
@media (max-width: 47.99em) {
  .header-inner { flex-direction: column; align-items: stretch; }
  .brand { justify-content: center; padding: 1rem 1rem 0.5rem; }
  .header-inner { min-height: 0; }
  .site-nav a { padding: 0.75rem 0.75rem; font-size: 0.8125rem; }
  .site-nav a[aria-current="page"] { border-radius: 8px; margin: 0.25rem 0; padding: 0.5rem 0.75rem; }
  .site-nav a.nav-cta { margin: 0.25rem 0 0.5rem 0.5rem; padding: 0.5rem 0.9rem; }
  .site-nav a.nav-cta[aria-current="page"] { margin-bottom: 0.5rem; padding-top: 0.5rem; }
}

/* Blue title band on inner pages */
.band { background: var(--blue); color: var(--white); padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem); }
.band-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; }
.band h1 { color: var(--white); margin: 0; }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; font-size: 0.8125rem; text-transform: uppercase; font-weight: 400; letter-spacing: 0.03em; }
.crumbs li + li::before { content: "/"; margin-right: 0.75rem; opacity: 0.7; }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

/* Home hero: full-bleed photograph, nothing over it */
.hero-media img { width: 100%; height: min(80vh, 54rem); min-height: 16rem; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 47.99em) { .hero-media img { height: auto; aspect-ratio: 3 / 2; } }

.section { padding-block: var(--section); }
.section-tight { padding-block: var(--space); }
.centered { text-align: center; }
.lead { font-size: 1.2rem; line-height: 1.5; max-width: var(--measure); }
.measure { max-width: var(--measure); }

/* Team grid */
.team { list-style: none; margin: var(--space) 0 0; padding: 0; display: grid; gap: clamp(1.5rem, 3vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); justify-items: center; }
.team li { text-align: center; max-width: 18rem; width: 100%; }
.team a { text-decoration: none; color: var(--ink); display: block; }
.team a:hover .team-name { text-decoration: underline; }
.portrait-round img { border-radius: var(--radius); width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 20%; }
.team-name { margin: 1.25rem 0 0; font-weight: 600; text-transform: uppercase; font-size: 0.9375rem; letter-spacing: 0.02em; }
.team-name::after { content: ""; display: block; width: 3.5rem; height: 1px; background: var(--blue); margin: 0.75rem auto 0; }
.team-status { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--grey); }

/* Why vote */
.why { display: grid; gap: var(--space) clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; }
@media (min-width: 60em) { .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.positions { list-style: none; margin: 0; padding: 0; }
.positions li { padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.positions li:first-child { border-top: 0; padding-top: 0; }
.positions strong { display: block; font-weight: 600; margin-bottom: 0.15rem; }

/* Blue tagline band */
.tagline { background: var(--blue); color: var(--white); padding-block: var(--section); text-align: center; }
.tagline h2 { color: var(--white); margin: 0; }
.tagline p { margin: 1.25rem auto 0; font-size: 1.15rem; letter-spacing: 0.05em; font-weight: 300; max-width: 34rem; }
.tagline .button { margin-top: 1.75rem; background: var(--accent); color: var(--paper); border-color: var(--accent); font-weight: 700; }
.tagline .button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--paper); }

/* Buttons */
.button { display: inline-block; background: var(--white); color: var(--blue); text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.04em; padding: 0.85rem 1.5rem; border-radius: 8px; border: 2px solid var(--white); }
.button:hover { background: var(--blue-light); color: var(--blue-dark); }
.button-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.button-icon { display: inline-flex; align-items: center; gap: 0.6rem; }
.button-icon img, .button-icon svg { flex: none; display: block; }
.button-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

/* Candidate page: text left, portrait right */
.two-col { display: grid; gap: var(--space) clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; padding-block: var(--section); }
@media (min-width: 48em) { .two-col { grid-template-columns: minmax(0, 3fr) minmax(16rem, 2fr); align-items: start; } .two-col .aside { position: sticky; top: 1.5rem; } }
@media (max-width: 47.99em) { .two-col .aside { order: -1; max-width: 22rem; } }
.aside .portrait-round img { aspect-ratio: 3 / 4; object-position: 50% 15%; }
.aside-links { margin-top: 1.25rem; }
.candidate-intro { font-size: 1.15rem; line-height: 1.5; }
.candidate-intro strong { font-weight: 800; }
.headline { font-style: italic; font-weight: 300; font-size: 1.35rem; color: var(--blue); margin: 0 0 1.25rem; }
.candidate-page h2 { font-size: 1.125rem; text-transform: none; font-weight: 400; margin-top: 2.25rem; }
.candidate-page h2.rule::after { display: none; }
.candidate-page .statement h2 { text-transform: uppercase; font-weight: 800; font-size: 1.125rem; letter-spacing: 0.04em; margin-top: 3rem; }
.candidate-page .statement h3 { text-transform: none; font-weight: 600; font-size: 1.125rem; margin-top: 1.75rem; }
.priorities { padding-left: 1.2em; }
.priorities li { margin-bottom: 0.75rem; }
.priorities strong { font-weight: 600; }
blockquote, .pull { margin: 2rem 0; padding: 0.5rem 1.25rem; border-left: 4px solid var(--rule); font-size: 1.1rem; font-weight: 300; line-height: 1.5; }
.pull cite { display: block; font-style: normal; font-weight: 600; margin-top: 1rem; }
.candidate-video { margin: 2.5rem 0; }
.quote-card { margin: 2.5rem 0; padding: 1.5rem 1.75rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; font-size: 1.1rem; font-weight: 300; line-height: 1.5; font-style: italic; }
.quote-card::before { content: "\201C"; display: block; font-size: 3rem; line-height: 0.6; font-weight: 800; font-style: normal; color: var(--blue); margin-bottom: 0.5rem; }
.quote-card cite { display: block; font-style: normal; font-weight: 600; margin-top: 1rem; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.03em; }
.statement-note { color: var(--grey); font-size: 0.9375rem; margin-top: -0.5rem; }
.vote-for { margin-top: 1.5rem; padding: 1.5rem 1.75rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; font-size: 0.9375rem; }
.vote-for p:last-child { margin-bottom: 0; }
.vote-for ul { list-style: none; padding: 0; margin: 0.75rem 0 1rem; }
.vote-for li { padding: 0.3rem 0; display: flex; gap: 0.6rem; align-items: baseline; font-weight: 800; font-size: 1.05rem; }
.vote-for li a { color: var(--ink); text-decoration: none; }
.vote-for li a:hover { text-decoration: underline; }
.vote-for .surname { text-transform: uppercase; }
.vote-for .box { display: inline-block; width: 1em; height: 1em; border: 2px solid var(--ink); border-radius: 2px; flex: none; transform: translateY(0.1em); text-align: center; line-height: 0.85; font-size: 0.9em; font-weight: 800; }
.vote-for .box::before { content: "\2715"; }
.ballot-card li.pick .box { font-weight: 800; }

/* Prose pages */
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.125rem; letter-spacing: 0.04em; margin-top: 2.25rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }

/* Deadline callout on How to vote */
.deadline { display: inline-flex; flex-direction: column; gap: 0.15rem; background: var(--accent); color: var(--paper); border-radius: 14px; padding: 1.1rem 1.75rem; margin: 0 0 1.5rem; box-shadow: 0 6px 18px var(--shade-accent-25); border-left: 8px solid var(--accent-dark); }
.deadline-label { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.deadline strong { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }

/* Mock ballot */
.ballot-card { border: 2px solid var(--ink); border-radius: 14px; padding: 1.5rem 1.75rem; max-width: 26rem; margin: 2rem 0; background: var(--paper); }
.ballot-card h2 { font-size: 1rem; margin: 0 0 1rem; }
.ballot-card ul { list-style: none; margin: 0; padding: 0; }
.ballot-card li { padding: 0.3rem 0; display: flex; gap: 0.6rem; align-items: baseline; color: var(--ballot-muted); font-weight: 400; }
.ballot-card li.pick { color: var(--ink); font-weight: 800; }
.ballot-card .box { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-radius: 2px; flex: none; transform: translateY(0.1em); text-align: center; line-height: 0.85; font-size: 0.9em; }
.ballot-card li.pick .box::before { content: "✕"; }
.ballot-card .surname { text-transform: uppercase; }

/* News */
.news-list { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.news-list li { padding: 1rem 0; border-top: 1px solid var(--rule); }
.news-list li:first-child { border-top: 0; padding-top: 0; }
.news-list time { font-size: 0.875rem; color: var(--grey); display: block; text-transform: uppercase; letter-spacing: 0.03em; }
.news-list h3 { margin: 0.15rem 0 0.35rem; text-transform: none; font-weight: 600; }
.news-list p { margin: 0; }
.latest { display: grid; gap: var(--space); grid-template-columns: 1fr; }
@media (min-width: 60em) { .latest { grid-template-columns: 3fr 2fr; } }

/* Video facade */
.video { position: relative; background: var(--blue-dark); border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 56rem; }
.video-poster { position: absolute; inset: 0; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; background: var(--shade-navy-35); color: var(--white); border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 1.15rem; text-shadow: 0 1px 3px var(--shade-ink-60); }
.video-play:hover { background: var(--shade-navy-55); }
.video-play:focus-visible { outline-offset: -6px; }
.video-play-icon { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--blue); display: grid; place-items: center; border: 2px solid var(--white); }
.video-play-icon::after { content: ""; border-style: solid; border-width: 0.9rem 0 0.9rem 1.5rem; border-color: transparent transparent transparent var(--white); margin-left: 0.3rem; }
.video-note { font-size: 0.875rem; font-weight: 300; }
.video-alt { position: absolute; right: 0.75rem; bottom: 0.75rem; margin: 0; font-size: 0.875rem; }
.video-alt a { color: var(--paper); display: inline-block; padding: 0.6rem 0.9rem; background: var(--shade-navy-70); border-radius: 6px; text-decoration: none; }
.video-alt a:hover { color: var(--paper); text-decoration: underline; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { padding: 1.25rem 1.5rem; background: var(--blue-light); border-radius: 14px; max-width: var(--measure); }

/* Footer */
.site-footer { background: var(--blue); color: var(--white); padding-block: var(--section) var(--space); text-align: center; font-size: 0.9375rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--white); }
.site-footer .social { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; text-transform: uppercase; font-size: 0.8125rem; letter-spacing: 0.04em; font-weight: 600; }
.site-footer .social a { text-decoration: none; }
.site-footer .social a:hover { color: var(--white); text-decoration: underline; }
.authorisation { margin: 0 auto 0.5rem; max-width: 44rem; }
.privacy { margin: 0 auto; max-width: 44rem; opacity: 0.8; font-size: 0.8125rem; }

@media print { .site-header, .site-footer .social, .tagline, .video, .skip { display: none; } body { color: #000; } a { color: #000; } }

/* External links open in a new tab; say so for screen-reader users */
a[target="_blank"]::after { content: " (opens in a new tab)"; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
