/* ALZV theme */
:root {
  /* ALZV club colours: dark green, white and gold */
  --green-dark: #1b3a27;   /* headings, footer, overlays */
  --green-deep: #24492f;
  --green: #2e5a3e;        /* shirt green: links, buttons */
  --gold: #f2931c;         /* logo gold: highlights, main buttons */
  --ink: #1d2a22;
  --muted: #5a6a60;
  --line: #dde7e0;
  --bg: #ffffff;
  --bg-soft: #f1f6f2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 58, 39, .10);
  --wrap: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--green-dark); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 20px; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-block; padding: .75em 1.4em; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--green); color: #fff; border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(27,58,39,.2); }
.btn-primary { background: var(--gold); color: var(--green-dark); }
.btn-primary:hover { background: #f7a945; color: var(--green-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--green-dark); }
.btn-small { padding: .4em 1em; font-size: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 3px solid var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-dark); }
.brand img { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.3rem; letter-spacing: .04em; }
.brand-text small { color: var(--muted); font-size: .78rem; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .5em .85em; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.site-nav a:hover { background: var(--bg-soft); color: var(--green-dark); }
.site-nav a.active { background: var(--green-dark); color: #fff; }
.site-nav a.active-parent { background: var(--bg-soft); color: var(--green-dark); }
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after { content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
.site-nav .sub-nav { position: absolute; top: 100%; left: 0; min-width: 190px; flex-direction: column; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.site-nav .has-sub:hover > .sub-nav, .site-nav .has-sub:focus-within > .sub-nav { visibility: visible; opacity: 1; transform: none; }
.site-nav .sub-nav a { border-radius: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-dark); margin: 5px 0; transition: .2s; }
.nav-toggle em { position: absolute; left: -999px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 79px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 12px 20px 20px; }
  .site-nav a { border-radius: 10px; padding: .75em 1em; }
  .site-nav .has-sub > a::after { display: none; }
  .site-nav .sub-nav { position: static; visibility: visible; opacity: 1; transform: none; min-width: 0; padding: 2px 0 0 18px; border: 0; box-shadow: none; background: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero (home) */
.hero { position: relative; color: #fff; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-deep) 55%, var(--green) 100%); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,58,39,.88) 0%, rgba(27,58,39,.55) 55%, rgba(27,58,39,.15) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 150px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--gold); margin: 0 0 12px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4rem); max-width: 14ch; margin: 0 0 18px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 42ch; opacity: .95; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.hero-logo { width: clamp(180px, 22vw, 300px); height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.35)); }
@media (max-width: 800px) { .hero-inner { grid-template-columns: 1fr; } .hero-logo { display: none; } }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; z-index: 2; fill: #fff; }

/* Announcement */
.announcement { position: relative; z-index: 3; margin-top: -34px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 22px; text-decoration: none; color: var(--ink); font-weight: 500; border: 1px solid var(--line); }
.announcement:hover { color: var(--green-dark); border-color: var(--gold); }
.announcement .arrow { margin-left: auto; color: var(--green); font-size: 1.2rem; }
.pill { background: var(--gold); color: var(--green-dark); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: .3em .8em; border-radius: 999px; flex: none; }

/* Divisions */
.divisions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .divisions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .divisions { grid-template-columns: 1fr; } }
.division { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.division:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,58,39,.18); color: var(--ink); }
.division-media { position: relative; aspect-ratio: 10 / 7; background: linear-gradient(135deg, var(--green-deep), var(--green)); overflow: hidden; }
.division-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.division:hover .division-media img { transform: scale(1.05); }
.badge { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.95); color: var(--green-dark); font-size: .78rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; }
.division-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.division-body h3 { margin: 0 0 8px; }
.division-body p { margin: 0 0 16px; color: var(--muted); font-size: .96rem; }
.more { margin-top: auto; font-weight: 600; color: var(--green); }

/* Social */
.social-band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .social-grid { grid-template-columns: 1fr; } }
.social-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.social-card-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.social-card-head svg { width: 34px; height: 34px; flex: none; }
.social-card-head.fb svg { fill: #1877f2; }
.social-card-head.ig svg { fill: #d62976; }
.social-card-head div { display: flex; flex-direction: column; line-height: 1.2; }
.social-card-head div { min-width: 0; }
.social-card-head small { color: var(--muted); overflow-wrap: anywhere; }
.social-card-head .btn { flex: none; }
.social-card-head .btn { margin-left: auto; }
.embed { position: relative; height: 600px; display: flex; justify-content: center; background: #f9fbf9; }
.embed iframe { width: 100%; max-width: 500px; height: 100%; border: 0; }
.embed:not(.loaded):not(:has(iframe)) { height: 300px; }
.ig-posts { height: auto; min-height: 420px; flex-direction: column; align-items: center; padding: 16px; gap: 16px; }
.embed-consent { margin: auto 16px; max-width: 340px; border: 2px dashed #c2d5c7; background: #fff; border-radius: var(--radius); padding: 28px 24px; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, background .15s; }
.embed-consent:hover { border-color: var(--green); background: var(--bg-soft); }
.embed-consent strong { color: var(--green-dark); font-size: 1.05rem; }
.embed-consent small { color: var(--muted); }
.embed-note { color: var(--muted); font-size: .85rem; margin-top: 16px; }
.linklike { background: none; border: 0; padding: 0; color: var(--green); text-decoration: underline; cursor: pointer; font: inherit; }

/* Support & sponsors */
.support-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, var(--green-dark), var(--green-deep)); color: #fff; border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow); }
.support-card h2 { color: #fff; margin: 0 0 6px; }
.support-card p { margin: 0; opacity: .9; }
@media (max-width: 700px) { .support-card { flex-direction: column; align-items: flex-start; } }
.sponsors-title { font-size: 1.2rem; margin-top: 48px; text-align: center; color: var(--muted); font-weight: 600; }
.sponsors { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.sponsors a { display: flex; align-items: center; justify-content: center; height: 84px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--green-dark); font-weight: 600; text-align: center; font-size: .92rem; transition: border-color .15s, box-shadow .15s; }
.sponsors a:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.sponsors img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .8; transition: .2s; }
.sponsors a:hover img { filter: none; opacity: 1; }

/* Inner pages */
.page-hero { position: relative; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); color: #fff; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,58,39,.9), rgba(27,58,39,.45)); }
.page-hero-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.page-hero .lead { font-size: 1.15rem; max-width: 60ch; margin: 12px 0 0; opacity: .95; }
.crumb { color: #fff; opacity: .85; text-decoration: none; font-size: .92rem; display: inline-block; margin-bottom: 10px; }
.crumb:hover { color: #fff; opacity: 1; }

.prose { padding-top: 48px; padding-bottom: 72px; max-width: 980px; }
.prose > p, .prose > ul { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin: 0 0 .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6em .8em; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-soft); color: var(--green-dark); }
.prose img.poster { max-width: 420px; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 24px; }
.notice { background: #fdf1e1; border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 10px; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
@media (max-width: 800px) { .columns { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 12px 0 28px; }
.contact-grid .card p { margin: 0; word-break: break-word; }
.meets { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.meet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.meet h3 { font-size: 1.1rem; }
.meet ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.meet li a { display: inline-block; padding: .35em .9em; border-radius: 999px; background: var(--bg-soft); text-decoration: none; font-size: .9rem; font-weight: 600; }
.meet li a:hover { background: var(--green); color: #fff; }

/* Footer */
.site-footer { background: var(--green-dark); color: #d3e2d7; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { margin: 0 0 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.footer-brand img { height: 64px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 24px; font-size: .85rem; opacity: .75; }
