/*
Theme Name: Sante Club Etobicoke
Description: Chelsea-inspired bilingual showcase theme for the Sante Club Etobicoke website.
Author: OpenAI Codex
Version: 0.4.9
Text Domain: sante-club-etobicoke
*/

:root {
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --color-blue-950: #111a30;
  --color-blue-900: #1a284a;
  --color-blue-800: #344570;
  --color-blue-700: #c44755;
  --color-blue-100: #efe4d3;
  --color-ink: #1b2440;
  --color-muted: rgba(51, 53, 75, 0.78);
  --color-line: rgba(26, 40, 74, 0.12);
  --color-line-strong: rgba(26, 40, 74, 0.22);
  --color-paper: #f7f1e8;
  --color-surface: #fffdf9;
  --color-accent: #d9b17c;
  --color-accent-strong: #c99662;
  --color-alert: #c44755;
  --color-slate: #74788b;
  --color-panel: #efe5d6;
  --color-panel-deep: #e5d1b7;
  --shadow-card: 0 20px 46px rgba(17, 26, 48, 0.08);
  --shadow-soft: 0 12px 30px rgba(17, 26, 48, 0.06);
  --gradient-hero: linear-gradient(135deg, #111a30 0%, #1e2e55 58%, #435179 100%);
  --gradient-band: linear-gradient(120deg, #111a30 0%, #1a284a 58%, #344570 100%);
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --content-width: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:hover,
a:focus-visible {
  color: var(--color-alert);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  width: 100%;
  border: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-frame {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-main {
  flex: 1;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-menu a,
.load-more-button,
.button,
.footer-menu a {
  font-family: var(--font-heading);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

p {
  margin: 0 0 1.05rem;
}

.eyebrow,
.hero-mosaic__label,
.home-promo-strip__title {
  margin: 0;
  color: var(--color-accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.82rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-blue-950);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  color: var(--color-blue-950);
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.button--secondary {
  border-color: rgba(217, 177, 124, 0.44);
  background: transparent;
  color: var(--color-accent);
  box-shadow: none;
}

.load-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  background: var(--color-accent);
  color: var(--color-blue-950);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.load-more-button:hover,
.load-more-button:focus-visible {
  color: var(--color-blue-950);
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.social-links,
.language-switcher__list,
.site-menu,
.footer-menu,
.section-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links,
.language-switcher__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.social-links a,
.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0.35rem 0.65rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}

.language-switcher .is-current a {
  background: var(--color-accent);
  color: var(--color-blue-950);
  border-color: var(--color-accent);
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--color-surface);
  border-top: 4px solid var(--color-accent);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 10px 22px rgba(17, 26, 48, 0.04);
}

.site-header__utility {
  background: linear-gradient(180deg, rgba(217, 177, 124, 0.12), transparent);
  border-bottom: 1px solid var(--color-line);
}

.site-header__utility-inner,
.site-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-header__utility-inner {
  min-height: 2.15rem;
  padding: 0.22rem 0;
}

.site-header__quicklinks,
.site-header__utility-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.site-header__quicklinks a {
  color: var(--color-blue-900);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.site-header__utility-meta {
  color: var(--color-blue-900);
}

.social-links--topline a {
  border-color: var(--color-line-strong);
}

.site-footer .social-links a {
  border-color: rgba(219, 180, 134, 0.36);
}

.site-header__main {
  display: grid;
  grid-template-columns: minmax(0, 26rem) 1fr auto;
  align-items: center;
  min-height: 5.2rem;
  padding: 0.85rem 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.site-logo img,
.site-logo--fallback {
  width: 4.2rem;
  height: 4.2rem;
}

.site-logo img {
  object-fit: contain;
}

.site-logo a {
  display: block;
}

.site-logo--fallback {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue-900);
  color: var(--color-surface);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.site-branding__copy {
  display: grid;
  gap: 0.14rem;
}

.site-branding__eyebrow,
.site-title,
.site-tagline,
.site-footer__title,
.site-footer__copy {
  margin: 0;
}

.site-branding__eyebrow {
  color: var(--color-accent-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-title {
  max-width: 13ch;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  color: var(--color-blue-900);
}

.site-title a {
  text-decoration: none;
}

.site-tagline {
  color: var(--color-muted);
  max-width: 32ch;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  flex: 1 1 auto;
  overflow-x: auto;
}

.site-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 0.35rem;
}

.site-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.95rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 2px solid transparent;
  color: var(--color-blue-900);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
  color: var(--color-alert);
  border-bottom-color: var(--color-accent);
}

.site-header__more {
  flex: 0 0 auto;
  display: inline-flex;
  width: 3.95rem;
  min-height: 3.95rem;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-direction: column;
  background: var(--color-accent);
  color: var(--color-blue-950);
  border-radius: 0.32rem;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-header__more:hover,
.site-header__more:focus-visible {
  background: var(--color-accent-strong);
  color: var(--color-blue-950);
  transform: translateY(-1px);
}

.site-header__more-icon {
  width: 1.1rem;
  height: 0.75rem;
  background:
    linear-gradient(currentColor, currentColor) top,
    linear-gradient(currentColor, currentColor) center,
    linear-gradient(currentColor, currentColor) bottom;
  background-repeat: no-repeat;
  background-size: 100% 2px;
}

.home-hero-band {
  padding: 1rem 0 2rem;
  background:
    linear-gradient(180deg, var(--color-blue-900) 0%, var(--color-blue-900) 20.75rem, var(--color-paper) 20.75rem);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 0.55rem;
}

.hero-mosaic__tile {
  position: relative;
  overflow: hidden;
  min-height: 14.9rem;
  background:
    radial-gradient(circle at top right, rgba(217, 177, 124, 0.22), transparent 18rem),
    var(--gradient-hero);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
  color: var(--color-surface);
}

.hero-mosaic__tile--lead {
  min-height: 30rem;
  grid-row: span 2;
}

.hero-mosaic__tile.has-image {
  background-position: center;
  background-size: cover;
}

.hero-mosaic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 26, 48, 0.06), rgba(17, 26, 48, 0.82));
}

.hero-mosaic__link {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  text-decoration: none;
}

.hero-mosaic__content {
  align-self: end;
  padding: 1.35rem 1.4rem;
}

.hero-mosaic__content h2 {
  max-width: 14ch;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 3.5vw, 3.55rem);
}

.hero-mosaic__content p {
  max-width: 34rem;
  margin-bottom: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-mosaic__tile--stack .hero-mosaic__content h2 {
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
}

.hero-mosaic__meta {
  display: inline-block;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.home-promo-strip {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  margin-top: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.home-promo-strip__breaking,
.home-promo-strip__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
}

.home-promo-strip__breaking {
  border-right: 1px solid var(--color-line);
}

.home-promo-strip a {
  color: var(--color-blue-900);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
}

.shortcut-shelf {
  padding: 0 0 1rem;
}

.shortcut-shelf__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.85rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(217, 177, 124, 0.16), transparent 70%), var(--color-paper);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.shortcut-shelf__item {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
  min-height: 10.5rem;
  padding: 1.1rem 1rem 1rem;
  background: var(--color-surface);
  border-top: 4px solid var(--color-accent);
  color: var(--color-blue-900);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.shortcut-shelf__item:hover,
.shortcut-shelf__item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-top-color: var(--color-alert);
}

.shortcut-shelf__icon,
.story-card__icon,
.section-landing-card__icon,
.entry-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  background: var(--color-accent);
  color: var(--color-blue-950);
  box-shadow: inset 0 0 0 1px rgba(17, 26, 48, 0.08);
}

.shortcut-shelf__icon svg,
.story-card__icon svg,
.section-landing-card__icon svg,
.entry-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.story-card__media,
.entry-card__media {
  position: relative;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: rgba(17, 26, 48, 0.72);
  color: var(--color-surface);
  border-radius: 999px;
  pointer-events: none;
}

.video-play-badge svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.15rem;
}

.shortcut-shelf__item strong {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1;
  text-transform: uppercase;
}

.shortcut-shelf__item span:last-child {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.home-section,
.listing-grid-section,
.page-section {
  padding: 2.8rem 0 0.35rem;
}

.home-section--muted {
  background: var(--color-paper);
  padding: 2.6rem 0;
  margin-top: 2rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.45rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--color-line);
}

.section-heading h2 {
  color: var(--color-blue-900);
  letter-spacing: -0.01em;
}

.section-heading span {
  color: var(--color-blue-700);
}

.section-actions {
  margin-top: 1.45rem;
  text-align: center;
}

.news-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.news-showcase__feature,
.story-card,
.entry-card,
.section-landing-card,
.entry-full,
.empty-state {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.news-showcase__feature:hover,
.story-card:hover,
.entry-card:hover,
.section-landing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(17, 26, 48, 0.12);
  border-color: rgba(26, 40, 74, 0.18);
}

.news-showcase__feature-media,
.story-card__media,
.entry-card__media,
.section-landing-card__media,
.entry-thumbnail {
  display: block;
  background:
    radial-gradient(circle at top right, rgba(217, 177, 124, 0.22), transparent 16rem),
    var(--gradient-hero);
  text-decoration: none;
}

.news-showcase__feature-media img,
.story-card__media img,
.entry-card__media img,
.section-landing-card__media img,
.entry-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-showcase__feature-media img,
.news-showcase__placeholder {
  aspect-ratio: 16 / 11;
}

.news-showcase__placeholder {
  display: grid;
  place-items: center;
  min-height: 21rem;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-transform: uppercase;
}

.news-showcase__feature-body,
.story-card__body,
.entry-card__body,
.section-landing-card__body,
.entry-full,
.empty-state {
  padding: 1.05rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  align-content: start;
}

.story-grid--four {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.news-showcase > .story-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
  align-self: start;
}

.story-card__body h3,
.section-landing-card__body h2,
.entry-title {
  margin-bottom: 0.45rem;
}

.news-showcase__feature-body h3 {
  max-width: 18ch;
  margin-bottom: 0.6rem;
  font-size: clamp(1.75rem, 2.5vw, 2.45rem);
}

.story-card__body h3 a,
.section-landing-card__body h2 a,
.entry-title a,
.news-showcase__feature-body h3 a {
  text-decoration: none;
}

.story-card__meta,
.entry-card__label {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--color-alert);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-card__meta span {
  color: var(--color-muted);
  font-size: 0.74rem;
  letter-spacing: normal;
  text-transform: none;
}

.entry-card__label {
  gap: 0.5rem;
}

.entry-card__label span {
  color: var(--color-muted);
  font-size: 0.76rem;
  letter-spacing: normal;
  text-transform: none;
}

.entry-card__excerpt {
  margin-top: 0.55rem;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.story-card__media--placeholder {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 5.6rem;
  padding: 1rem;
}

.story-card--textual .story-card__icon {
  width: 2.5rem;
  height: 2.5rem;
}

.story-card__summary {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.contact-ribbon {
  margin-top: 2.35rem;
  background:
    radial-gradient(circle at top right, rgba(217, 177, 124, 0.2), transparent 18rem),
    var(--gradient-band);
  color: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.contact-ribbon__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
  padding: 2.25rem 0;
}

.contact-ribbon__copy {
  max-width: 52rem;
}

.contact-ribbon__copy h2 {
  max-width: 16ch;
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-ribbon__copy p:last-child,
.page-intro__lead,
.listing-hero__lead p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.contact-ribbon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.social-links--home a {
  color: var(--color-surface);
  border-color: rgba(217, 177, 124, 0.38);
}

.listing-hero,
.page-hero {
  padding: 2rem 0;
  background:
    radial-gradient(circle at top right, rgba(217, 177, 124, 0.22), transparent 20rem),
    var(--gradient-band);
  color: var(--color-surface);
}

.listing-hero--latest {
  padding-bottom: 1.5rem;
}

.listing-hero__copy,
.page-intro {
  max-width: 48rem;
}

.listing-hero__copy h1,
.page-intro h1 {
  margin-top: 0.3rem;
}

.listing-hero__lead,
.page-intro__lead {
  margin-top: 0.9rem;
}

.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.listing-toolbar__chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.1rem;
  background: rgba(217, 177, 124, 0.14);
  border: 1px solid rgba(217, 177, 124, 0.3);
  color: var(--color-surface);
  font-size: 0.88rem;
}

.entry-grid {
  display: grid;
  gap: 1rem;
}

.entry-grid--listing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-card__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

.section-landing-card__body p {
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}

.section-landing-card__link {
  color: var(--color-blue-900);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.entry-full {
  max-width: 74rem;
  gap: 1rem;
}

.entry-full--narrow {
  max-width: 58rem;
}

.entry-video iframe {
  aspect-ratio: 16 / 9;
}

.entry-content {
  max-width: 54rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  color: var(--color-blue-900);
}

.entry-content a {
  color: var(--color-blue-800);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2rem;
}

.entry-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 0.9rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
  font-size: 0.9rem;
}

.empty-state h1,
.empty-state h3 {
  margin-top: 0.45rem;
  margin-bottom: 0.55rem;
}

.site-footer {
  margin-top: auto;
  border-top: 4px solid var(--color-accent);
  background:
    linear-gradient(180deg, rgba(217, 177, 124, 0.08), transparent 12rem),
    var(--color-blue-950);
  color: var(--color-surface);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 2.2rem;
  padding: 2.4rem 0 1.7rem;
}

.site-footer__brand,
.site-footer__nav,
.site-footer__meta {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.site-footer__kicker,
.site-footer__heading {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__title {
  font-size: 2.15rem;
}

.site-footer__copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-menu {
  display: grid;
  gap: 0.55rem;
}

.footer-menu a {
  color: var(--color-surface);
  text-decoration: none;
  font-size: 1rem;
}

.site-footer__legal {
  padding: 0.95rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.site-footer__legal p {
  margin: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-line-strong);
  color: var(--color-blue-900);
  text-decoration: none;
  font-weight: 700;
}

.page-numbers.current {
  background: var(--color-accent);
  color: var(--color-blue-950);
  border-color: var(--color-accent);
}

@media (max-width: 1180px) {
  .site-header__main {
    grid-template-columns: minmax(0, 22rem) 1fr auto;
  }

  .story-grid--four {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }

  .entry-grid--listing,
  .section-landing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header__utility-inner,
  .contact-ribbon__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-header__main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .site-branding {
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-menu {
    justify-content: flex-start;
  }

  .hero-mosaic,
  .news-showcase {
    grid-template-columns: 1fr;
  }

  .news-showcase > .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-mosaic__tile--lead {
    grid-row: span 1;
    min-height: 24rem;
  }

  .contact-ribbon__inner {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-frame {
    width: min(var(--content-width), calc(100% - 1rem));
  }

  .site-header__quicklinks {
    width: 100%;
  }

  .site-title {
    font-size: clamp(1.6rem, 9vw, 2.3rem);
  }

  .home-promo-strip,
  .story-grid,
  .news-showcase > .story-grid,
  .entry-grid--listing,
  .section-landing-grid {
    grid-template-columns: 1fr;
  }

  .contact-ribbon__inner {
    padding: 1.6rem 0;
  }

  .site-header__more {
    width: 100%;
    min-height: 3.4rem;
    flex-direction: row;
  }

  .site-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .site-menu a {
    width: auto;
    min-height: 2.85rem;
    justify-content: center;
    padding: 0.7rem 0.55rem;
    border: 1px solid var(--color-line);
    border-bottom-width: 1px;
    background: rgba(217, 177, 124, 0.08);
  }

  .button,
  .load-more-button {
    width: 100%;
    justify-content: center;
  }

  .site-logo img,
  .site-logo--fallback {
    width: 3.6rem;
    height: 3.6rem;
  }

  .site-tagline {
    max-width: none;
    font-size: 0.7rem;
  }

  .hero-mosaic__tile--lead {
    min-height: 22rem;
  }

  .news-showcase__feature-body,
  .story-card__body,
  .entry-card__body,
  .section-landing-card__body,
  .entry-full,
  .empty-state {
    padding: 0.9rem;
  }
}

/* ============================================================
   Mobile responsiveness hardening (added 2026-08-04)
   Fixes horizontal overflow that clipped the hero, cards and
   text on phone widths (≈360–460px). Tablet/desktop unaffected.
   ============================================================ */
@media (max-width: 760px) {
  /* page-level safety net: nothing may force horizontal scroll */
  html, body { overflow-x: clip; max-width: 100%; }

  /* header rows wrap instead of stretching the page wider than the screen */
  .site-header__utility-inner,
  .site-header__main { flex-wrap: wrap; }

  /* long uppercase words (COMMUNAUTAIRE, ETOBICOKE) break instead of overflowing */
  .site-title,
  .site-tagline,
  .news-showcase__feature-body h3,
  .story-card__body h3,
  .entry-card__body h3,
  .section-landing-card__body h3 { overflow-wrap: anywhere; }

  /* tagline uses available width rather than a ch-measure that overshoots */
  .site-tagline { max-width: 100%; }
}

/* ============================================================
   Responsive primary navigation — hamburger (added 2026-08-04)
   Desktop/tablet: inline menu (unchanged).
   Phones (<=760px): collapse into an accessible hamburger toggle.
   Progressive enhancement: the toggle only appears when JS is active
   (html.nav-js); without JS the menu stays visible.
   ============================================================ */
.site-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border: 0;
  border-radius: 0.4rem;
  background: var(--color-accent);
  color: var(--color-blue-950);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.site-nav-toggle__bars,
.site-nav-toggle__bars::before,
.site-nav-toggle__bars::after {
  content: "";
  display: block;
  width: 1.3rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}
.site-nav-toggle__bars { position: relative; }
.site-nav-toggle__bars::before { position: absolute; left: 0; top: -6px; }
.site-nav-toggle__bars::after  { position: absolute; left: 0; top: 6px; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars { background: transparent; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }
.site-nav-toggle:focus-visible { outline: 2px solid var(--color-blue-900); outline-offset: 2px; }

@media (max-width: 760px) {
  /* Header becomes a 2-column grid: [branding] [toggle], with the menu and
     the Plus button spanning full width beneath the title row. */
  .site-header__main {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 0.75rem;
    align-items: start;
  }
  .site-branding { grid-column: 1; min-width: 0; }

  /* Toggle appears only when JS can drive it; it sits on the title's row. */
  .nav-js .site-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin-top: 0.6rem;
  }

  /* Tagline wraps into a tidy block under the title. */
  .site-tagline { max-width: 26ch; }

  /* Menu and the Plus button span the full width, below the title row. */
  .site-nav,
  .site-header__more { grid-column: 1 / -1; }
  .site-header__more { display: inline-flex; }

  /* Collapse the menu into the toggle (JS only). */
  .nav-js .site-nav {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 240ms ease, opacity 180ms ease;
  }
  .nav-js .site-nav.is-open {
    max-height: 82vh;
    overflow-y: auto;
    opacity: 1;
    margin-top: 0.7rem;
  }

  /* Open menu = full-width vertical list (app-like). */
  .site-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  .site-menu a {
    width: 100%;
    justify-content: flex-start;
    min-height: 3rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: 0.45rem;
    background: rgba(217, 177, 124, 0.08);
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-toggle__bars,
  .site-nav-toggle__bars::before,
  .site-nav-toggle__bars::after,
  .nav-js .site-nav { transition: none; }
}
