/*
Theme Name: CCAS Homepage (v10a - 404 template, nav spacing, year figures)
Theme URI: https://ccasex.com
Author: Contact Centre Association of Singapore
Author URI: https://ccasex.com
Description: Official CCAS homepage theme. Content sourced from the verified, forensically-confirmed-clean pre-incident database export. Brand colours, logos and Poppins typography per the official CCAS brand guideline (Association Blue #047CC4, Service Light #CFE9F5, Anchor Grey #2B2B2B, Crest White #FFFFFF).
Version: 2.01
Requires PHP: 7.4
Text Domain: ccas-homepage
*/



  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/Poppins-Light.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/Poppins-ExtraBold.ttf') format('truetype');
  }


  :root {
    --blue: #047CC4;
    --light: #CFE9F5;
    --grey: #2B2B2B;
    --white: #FFFFFF;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Poppins', 'Calibri', Arial, sans-serif;
    color: var(--grey);
    background: var(--white);
    line-height: 1.6;
  }

  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }

  .mockup-banner {
    background: #fff3cd;
    color: #664d03;
    text-align: center;
    font-size: 13px;
    padding: 8px 16px;
    font-weight: 500;
    border-bottom: 1px solid #ffe69c;
  }

  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

  /* NAV */
  nav {
    background: var(--grey);
    padding: 18px 0;
    position: relative;
  }
  /* Nav sizing note (v10a): the wrap is widened to 1320px for the nav only, and
     nav links are set to white-space: nowrap. Previously the link set was too
     wide for the 1180px wrap, so items wrapped onto two lines ("About / Us")
     and the whole menu overflowed, visually colliding with the logo. If more
     nav items are added later and it crowds again, reduce the gap below before
     reducing the font size — the links are already at a sensible minimum. */
  nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    gap: 40px;
  }
  nav img.logo { height: 38px; display: block; }
  nav .nav-menu { display: flex; align-items: center; gap: 26px; }
  nav ul.navlinks { display: flex; gap: 26px; align-items: center; }
  nav ul.navlinks a {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    opacity: 0.9;
    white-space: nowrap;
  }
  nav ul.navlinks a:hover { opacity: 1; color: var(--blue); }

  /* Mobile nav toggle (hamburger) — hidden on desktop, shown under 900px */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 20;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .btn-primary {
    background: var(--blue);
    color: var(--white);
    padding: 11px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
  }
  .btn-outline {
    border: 1.5px solid var(--white);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
  }

  /* HERO */
  header.hero {
    background: var(--grey);
    color: var(--white);
    padding: 90px 0 100px;
  }
  header.hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 18px;
  }
  header.hero h1 {
    font-size: 48px;
    font-weight: 800;
    max-width: 780px;
    line-height: 1.2;
    margin-bottom: 24px;
  }
  header.hero p.lead {
    font-size: 18px;
    font-weight: 300;
    max-width: 620px;
    opacity: 0.88;
    margin-bottom: 36px;
  }
  header.hero .cta-row { display: flex; gap: 16px; }

  /* STATS */
  section.stats {
    background: var(--white);
    padding: 0;
    margin-top: -56px;
  }
  .stats-inner {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px 20px;
  }
  .stat {
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .stat:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(4,124,196,0.16);
  }
  .stat .num { font-size: 38px; font-weight: 800; color: var(--blue); transition: color 0.25s ease; }
  .stat:hover .num { color: #035f99; }
  .stat .label { font-size: 14px; font-weight: 500; margin-top: 6px; color: var(--grey); }
  .stat + .stat { border-left: 1px solid #eee; }

  /* SECTION GENERIC */
  section { padding: 100px 0; }
  .eyebrow-block {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 14px;
  }
  h2.section-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 28px;
    max-width: 720px;
  }
  h3.section-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 28px;
    max-width: 720px;
  }

  /* ABOUT */
  section.about .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
  }
  section.about p { margin-bottom: 18px; font-size: 15.5px; font-weight: 400; }
  section.about .about-side {
    background: var(--light);
    border-radius: 8px;
    padding: 36px;
  }
  section.about .about-side h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 10px;
  }
  section.about .about-side p { font-size: 15px; margin-bottom: 24px; }
  section.about .about-side p:last-child { margin-bottom: 0; }
  section.about .about-side strong { color: var(--grey); }

  /* OFFERS */
  section.offers { background: var(--light); }
  .offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 44px;
  }
  .offer-card {
    background: var(--white);
    border-radius: 8px;
    padding: 32px 28px;
  }
  .offer-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .offer-card h4::before {
    content: "— ";
    color: var(--blue);
  }
  .offer-card p { font-size: 14.5px; font-weight: 400; opacity: 0.85; }

  /* SYMPOSIUM CTA */
  section.symp {
    background: var(--grey);
    color: var(--white);
    text-align: center;
  }
  section.symp .date-pill {
    display: inline-block;
    background: rgba(4,124,196,0.18);
    border: 1px solid rgba(4,124,196,0.5);
    color: var(--light);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
  }
  section.symp .eyebrow-block { justify-content: center; }
  section.symp h2 {
    font-size: 42px;
    font-weight: 800;
    max-width: 700px;
    margin: 0 auto 16px;
  }
  section.symp h2 span { color: var(--blue); }
  section.symp p {
    max-width: 560px;
    margin: 0 auto 34px;
    opacity: 0.85;
    font-weight: 300;
    font-size: 16px;
  }

  /* PAGE HERO (interior pages, e.g. Events) */
  header.page-hero {
    background: var(--grey);
    color: var(--white);
    padding: 70px 0 60px;
    text-align: center;
  }
  header.page-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 14px;
  }
  header.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
  header.page-hero p.lead {
    font-size: 16px;
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto;
    opacity: 0.85;
  }

  /* EVENTS */
  section.event-listing { background: var(--light); padding: 80px 0 100px; }
  .event-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: start;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  }
  .event-card .poster-link {
    display: block;
    position: relative;
    margin: 40px 0 40px 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .event-card .poster-link:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  }
  .event-card .poster-link::after {
    content: "🔍 Click to view full size";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(43,43,43,0.82);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 8px 0;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .event-card .poster-link:hover::after { opacity: 1; }
  .event-card .event-poster {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  .event-card .event-info { padding: 44px 40px; }
  .event-card .event-info h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
  .event-card .event-info p { font-size: 15px; margin-bottom: 16px; opacity: 0.85; }
  .event-card .event-info p strong { color: var(--grey); opacity: 1; }
  .event-meta {
    display: flex;
    gap: 32px;
    margin: 24px 0 28px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
  }
  .event-meta > div { display: flex; flex-direction: column; gap: 4px; }
  .event-meta .meta-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
  }
  .event-meta span:last-child { font-size: 14.5px; font-weight: 600; }

  /* HOME EVENTS PREVIEW */
  section.home-events { background: var(--light); }
  .home-event-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: start;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    max-width: 920px;
  }
  .home-event-card .poster-link {
    display: block;
    position: relative;
    margin: 28px 0 28px 28px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .home-event-card .poster-link:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  }
  .home-event-card .poster-link::after {
    content: "🔍 View full size";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(43,43,43,0.82);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 6px 0;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .home-event-card .poster-link:hover::after { opacity: 1; }
  .home-event-card .event-poster { width: 100%; height: auto; object-fit: contain; display: block; }
  .home-event-card .home-event-info { padding: 32px 32px 32px 28px; }
  .home-event-card .home-event-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
  .home-event-card .home-event-info p { font-size: 14.5px; margin-bottom: 16px; opacity: 0.85; }
  .home-event-card .home-event-info p strong { color: var(--grey); opacity: 1; }
  .home-event-card .event-meta { margin: 16px 0 22px; padding: 16px 0; }
  .home-event-card .home-event-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  .home-event-card .view-all-link { font-weight: 600; font-size: 14px; color: var(--blue); }
  .home-event-card .view-all-link:hover { text-decoration: underline; }

  /* LIGHTBOX */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
    padding: 40px;
  }
  .lightbox.active { opacity: 1; visibility: visible; }
  .lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.96);
    transition: transform 0.25s ease;
  }
  .lightbox.active img { transform: scale(1); }
  .lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
  }
  .lightbox-close:hover { opacity: 1; }
  body.lightbox-open { overflow: hidden; }

  /* CONTACT / FOOTER */
  footer {
    background: var(--white);
    padding: 70px 0 40px;
    border-top: 1px solid #eee;
  }
  footer .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  footer img.logo { height: 34px; margin-bottom: 16px; }
  footer p { font-size: 14px; opacity: 0.75; max-width: 320px; }
  footer h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 16px;
  }
  footer ul li { margin-bottom: 10px; font-size: 14.5px; }
  footer ul li a:hover { color: var(--blue); }
  footer .bottom-bar {
    display: flex;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid #eee;
    font-size: 13px;
    opacity: 0.6;
  }

  @media (max-width: 900px) {
    .nav-toggle { display: flex; }
    nav .nav-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      background: var(--grey);
      padding: 6px 0 22px;
      box-shadow: 0 16px 28px rgba(0,0,0,0.32);
    }
    nav.nav-open .nav-menu { display: flex; }
    nav .nav-menu ul.navlinks { flex-direction: column; gap: 0; width: 100%; }
    nav .nav-menu ul.navlinks li { width: 100%; }
    nav .nav-menu ul.navlinks a {
      display: block;
      padding: 15px 32px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    nav .nav-menu .btn-primary { margin: 18px 32px 0; text-align: center; }
    header.hero h1 { font-size: 32px; }
    .stats-inner { grid-template-columns: 1fr; gap: 24px; }
    .stat + .stat { border-left: none; border-top: 1px solid #eee; padding-top: 24px; }
    section.about .about-grid { grid-template-columns: 1fr; }
    .offers-grid { grid-template-columns: 1fr; }
    footer .footer-grid { grid-template-columns: 1fr; }
    header.page-hero h1 { font-size: 30px; }
    .event-card { grid-template-columns: 1fr; }
    .event-card .poster-link { max-width: 320px; margin: 32px auto 0; }
    .event-card .event-info { padding: 32px 24px; }
    .event-meta { flex-wrap: wrap; gap: 20px; }
    .home-event-card { grid-template-columns: 1fr; max-width: 100%; }
    .home-event-card .poster-link { max-width: 260px; margin: 24px auto 0; }
    .home-event-card .home-event-info { padding: 24px 20px; }
    .lightbox-close { top: 14px; right: 18px; font-size: 30px; }
  }

  /* MEET THE TEAM */
  section.team-listing { padding: 80px 0 100px; }
  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 8px;
    margin-top: 28px;
  }
  .team-grid--lead { margin-bottom: 56px; }
  .team-divider { border-top: 1px solid #e5e5e5; margin: 0 0 56px; }
  .team-card { text-align: center; padding: 16px 10px; }
  .team-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 10%;
    border: 4px solid var(--blue);
    margin: 0 auto 14px;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .team-photo--sm { width: 110px; height: 110px; }
  .team-photo:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(4,124,196,0.32); }
  .team-role {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 4px;
  }
  .team-name { font-size: 15px; font-weight: 700; color: var(--grey); margin-bottom: 4px; }
  .team-title { font-size: 12.5px; color: #555; line-height: 1.5; margin-bottom: 12px; min-height: 54px; }
  .team-linkedin {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    border: 1px solid var(--blue);
    padding: 5px 14px;
    border-radius: 20px;
  }
  .team-linkedin:hover { background: var(--blue); color: var(--white); }

  @media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; }
  }

  /* SPONSORS & PARTNERS */
  section.sponsor-section { padding: 70px 0 20px; }
  section.sponsor-section--alt { padding-top: 20px; }
  section.sponsor-section .section-title { margin-bottom: 8px; }
  .sponsor-entry {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
  }
  .sponsor-entry:last-child { border-bottom: none; }
  .sponsor-logo-placeholder {
    border: 2px dashed var(--blue);
    border-radius: 8px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
    padding: 20px;
  }
  .sponsor-logo-placeholder span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--blue);
    line-height: 1.5;
  }
  .sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 10px;
  }
  .sponsor-logo img {
    width: auto;
    height: auto;
    object-fit: contain;
  }
  /* Tier-based logo sizing — sized primarily by HEIGHT (max-height), not
     width, so logos with very different natural shapes (a flat wordmark vs.
     a squarer icon+wordmark lockup) still read as the same visual size
     within a tier. max-width is a safety rail only — it just stops an
     unusually wide/flat logo (e.g. a long wordmark) from overflowing the
     260px logo column; object-fit: contain always preserves each logo's own
     aspect ratio regardless of which limit is hit.
     Source logo files must be cropped tight to their own visible artwork
     (no extra baked-in blank canvas around them) — this only produces
     consistent sizing if the files themselves don't already differ in how
     much padding they carry.
     Add new tiers here as needed (e.g. --bronze) and apply the matching
     class to that sponsor's .sponsor-logo div — higher tiers should get a
     taller max-height so they read as bigger. */
  .sponsor-logo--gold img { max-width: 230px; max-height: 100px; }
  .sponsor-logo--silver img { max-width: 230px; max-height: 60px; }
  .sponsor-logo--visionary img { max-width: 230px; max-height: 42px; }
  .sponsor-tier {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
  }
  .sponsor-name-heading { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
  .sponsor-blurb { font-size: 14.5px; color: #555; line-height: 1.75; }
  .sponsor-blurb a { color: var(--blue); font-weight: 600; }

  /* GENERIC PAGE (page.php fallback) */
  section.generic-page { padding: 70px 0 100px; }
  section.generic-page .entry-content { max-width: 780px; font-size: 15.5px; line-height: 1.8; }
  section.generic-page .entry-content p { margin-bottom: 18px; }
  section.generic-page .entry-content h2 { font-size: 26px; font-weight: 700; margin: 36px 0 16px; }
  section.generic-page .entry-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 14px; }
  section.generic-page .entry-content ul,
  section.generic-page .entry-content ol { margin: 0 0 18px 22px; }
  section.generic-page .entry-content ul { list-style: disc; }
  section.generic-page .entry-content ol { list-style: decimal; }
  section.generic-page .entry-content a { color: var(--blue); text-decoration: underline; }
  section.generic-page .entry-content img { border-radius: 8px; margin: 20px 0; }


  /* 404 / NOT FOUND
     Added v10. Pairs with 404.php. Before this existed, unmatched URLs fell
     through to the homepage with an HTTP 200 (soft 404) — bad for SEO and it
     made 403s render as the homepage, which made security testing ambiguous. */
  header.page-hero.error-hero { padding: 80px 0 70px; }
  header.page-hero.error-hero .error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
  }

  section.error-help { padding: 60px 0 90px; text-align: center; }
  section.error-help .error-help-intro {
    font-size: 15px;
    font-weight: 600;
    color: var(--grey);
    margin-bottom: 20px;
  }
  ul.error-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 0 0 34px;
    padding: 0;
  }
  ul.error-links a {
    color: var(--blue);
    font-weight: 600;
    font-size: 15px;
  }
  ul.error-links a:hover { text-decoration: underline; }
  section.error-help .error-contact { font-size: 14.5px; font-weight: 300; }
  section.error-help .error-contact a { color: var(--blue); text-decoration: underline; }

  @media (max-width: 600px) {
    header.page-hero.error-hero .error-actions { flex-direction: column; align-items: center; }
    header.page-hero.error-hero .error-actions a { width: 100%; max-width: 280px; text-align: center; }
    ul.error-links { flex-direction: column; gap: 12px; }
  }

  @media (max-width: 900px) {
    .sponsor-entry { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .sponsor-logo-placeholder { max-width: 260px; margin: 0 auto; }
    .sponsor-logo { justify-content: center; }
  }

