/*
Theme Name: Sportschool Herbert — Education (v2)
Theme URI: https://sportschoolherbert.nl
Author: Sportschool Herbert
Author URI: https://sportschoolherbert.nl
Description: Custom WordPress theme voor Sportschool Herbert (Education direction). Navy palette, Saira Condensed display + Inter body, parallelogram CTAs, and a HERBERT watermark.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: herbert
Tags: custom-menu, featured-images, threaded-comments, translation-ready, blog, education
*/

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: 0; }
a { color: inherit; text-decoration: none; }

:root {
  --ink: #202020;
  --ink-2: #4a4a4a;
  --muted: #908f90;
  --line: #dfdfdf;
  --line-2: #ededed;
  --bg: #ffffff;
  --bg-soft: #f6f6f6;

  /* Education palette */
  --edu-navy: #002a94;
  --edu-navy-2: #001a5e;
  --edu-line: #e5e7ec;
  --edu-soft: #f3f5fa;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: 'Saira Condensed', 'Inter Tight', sans-serif;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.01em;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* HERBERT watermark texture */
body::before {
  content: "HERBERT  HERBERT  HERBERT  HERBERT  HERBERT  HERBERT";
  position: fixed; top: 30%; left: -10%; right: -10%;
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 900;
  font-size: 180px;
  line-height: 1.2;
  color: rgba(0,42,148,0.045);
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-2deg);
}
.container, header, section, footer { position: relative; z-index: 1; }

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  height: 84px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--edu-line);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 30px; height: 30px; display: grid; place-items: center; }
.brand .mark svg { width: 100%; height: 100%; }
.brand .mark svg circle, .brand .mark svg path { stroke: var(--edu-navy); }
.brand .name {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: 0.02em;
  color: var(--edu-navy);
}
.brand .name em { font-style: normal; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; align-items: center; }
.nav a { font-size: 13px; color: #1a1a2e; font-weight: 500; }

.topbar-actions { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 13px; }
.login { font-size: 13px; font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(0.94); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--edu-navy); color: #fff; border-radius: 0; }
.btn-light { background: #fff; color: #000; }
.btn-outline { border: 1.5px solid var(--edu-navy); color: var(--edu-navy); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { margin: 24px 0 0; }
.hero-frame {
  position: relative; overflow: hidden;
  height: 600px; border-radius: 0;
  background: #555;
}
.hero-frame .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.78) saturate(0.95);
}
.hero-frame .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.7) 100%);
}
.hero-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  display: grid; place-items: center;
}
.hero-play svg { width: 18px; height: 18px; fill: #202020; }
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px;
  color: #fff;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .12em; font-weight: 500; text-transform: uppercase;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(20px);
  padding: 7px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.hero h1 {
  font-size: 60px; line-height: .95; text-transform: uppercase;
  max-width: 540px;
}
.hero-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px; gap: 24px; flex-wrap: wrap;
}
.hero-cta { display: flex; gap: 8px; }
.hero-trust { display: flex; align-items: center; gap: 12px; opacity: .9; }
.hero-trust .stars { color: #ffd166; letter-spacing: 2px; font-size: 12px; }
.hero-trust .label { font-size: 11px; line-height: 1.4; }

/* ── Full-bleed hero overrides (Adults / Kids / Women / Education) ───
   The hero originally lived inside a .container (max-width 1280px). We
   break out of that and pad the inner content so it stays roughly
   within 1280px on wide screens while the image goes edge-to-edge. */
.hero { margin: 0; }
.hero > .container { max-width: none; padding: 0; }
.hero-frame { border-radius: 0; }
.hero-frame .hero-content {
  padding-top: 60px;
  padding-bottom: 110px;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
}
.hero-frame .segment-pills {
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
}
.hero-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 18px 0 0;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .hero-frame .hero-content { padding-top: 40px; padding-bottom: 90px; }
  .hero-lead { font-size: 15px; max-width: none; }
}

/* ── Segment pills (Adults / Kids / Women / Education) ──── */
.hero-frame { /* ensure pills can absolute-position relative to the frame */ }
.segment-pills {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
  background: rgba(70, 52, 40, 0.55);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.segment-pill {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: #fff;
  font-family: 'Saira Condensed', 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .22s ease, color .22s ease, transform .15s ease, box-shadow .22s ease;
  white-space: normal;
}
.segment-pill:hover { background: rgba(255, 255, 255, 0.12); }
.segment-pill.is-active {
  background: #fff;
  color: #1c1c1c;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}
.segment-pill.is-active:hover { background: #fff; }
.segment-pill:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Make sure hero content doesn't collide with the pill bar */
.hero-frame .hero-content { padding-bottom: 110px; }

@media (max-width: 900px) {
  .segment-pills {
    left: 12px; right: 12px; bottom: 12px;
    padding: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .segment-pills::-webkit-scrollbar { display: none; }
  .segment-pill {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .hero-frame .hero-content { padding-bottom: 90px; }
}
@media (max-width: 480px) {
  .segment-pill { font-size: 11px; padding: 7px 12px; }
}

/* parallelogram CTA */
.skewed-btn {
  position: relative; display: inline-flex;
  padding: 12px 28px;
  color: #000; font-family: 'Saira Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  background: #fff;
  transform: skewX(-8deg);
  align-items: center; gap: 8px;
}
.skewed-btn > * { transform: skewX(8deg); }
.skewed-btn.outline { background: transparent; color: #fff; border: 1.5px solid #fff; }

/* ── Trust bar ──────────────────────────────────────────── */
.trustbar {
  margin: 28px 0 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
}
.trust-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex; align-items: center; gap: 18px;
  background: #fff;
}
.trust-card .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: #f0f3fa; color: var(--edu-navy);
  border-radius: 10px; flex-shrink: 0;
}
.trust-card .ico svg { width: 22px; height: 22px; }
.trust-card h4 {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 16px; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.01em;
}
.trust-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ── Section header ─────────────────────────────────────── */
.section-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end;
  padding: 80px 0 30px;
}
.section-head .left .pill {
  display: inline-block;
  border: 1px solid #d6d6d6; border-radius: 999px;
  font-size: 12px; padding: 6px 12px; color: var(--ink-2);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 48px; line-height: 1; text-transform: uppercase;
  font-family: 'Saira Condensed', sans-serif;
}
.section-head .right p {
  font-size: 12px; color: var(--ink-2); line-height: 1.6;
  max-width: 380px; margin: 0 0 14px;
}
.section-head .right .more {
  font-family: 'Saira Condensed', sans-serif; font-weight: 700;
  font-size: 14px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2);
}
.section-head .right .more svg { width: 8px; height: 8px; }

/* ── Sport row (3-up edu) ───────────────────────────────── */
.edu-sport-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.edu-sport {
  background: #f3f5fa; border-radius: 12px;
  overflow: hidden; height: 240px; position: relative;
  color: #fff;
  background-size: cover; background-position: center;
  display: block;
}
.edu-sport .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,42,148,.85) 100%);
}
.edu-sport .content {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.edu-sport .content h4 { font-size: 22px; margin-bottom: 8px; }
.edu-sport .content p { font-size: 11px; line-height: 1.5; opacity: .9; max-width: 220px; margin: 0; }
.edu-sport .arrow {
  width: 44px; height: 38px;
  background: #fff; color: var(--edu-navy);
  transform: skewX(-8deg);
  display: grid; place-items: center; flex-shrink: 0;
}
.edu-sport .arrow svg { width: 14px; height: 14px; transform: skewX(8deg); }

.grid-end { display: flex; justify-content: flex-end; gap: 8px; padding: 20px 10px 0; }
.grid-end .nav-btn {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid #d0d0d0; color: #d0d0d0;
}
.grid-end .nav-btn.active { color: var(--edu-navy); border-color: var(--edu-navy); }

/* ── Schedule ───────────────────────────────────────────── */
.schedule { padding: 60px 0; }
.schedule .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.schedule .head .pill {
  display: inline-block;
  border: 1px solid #d6d6d6; border-radius: 999px;
  font-size: 11px; padding: 5px 10px; color: var(--ink-2);
  margin-bottom: 10px;
}
.schedule .head h2 { font-size: 40px; }
.schedule .head .sub { font-size: 12px; color: var(--muted); margin-top: 6px; }
.schedule .icon-btn {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center; border: 1px solid var(--line);
}
.schedule .filters { display: flex; gap: 8px; margin: 10px 0 16px; flex-wrap: wrap; }
.chip {
  font-size: 11px; padding: 6px 12px;
  border-radius: 999px; border: 1px solid var(--line);
  font-weight: 500; font-family: 'Inter', sans-serif;
}
.chip.is-active { background: var(--edu-navy); color: #fff; border-color: var(--edu-navy); }

table.rooster {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 11px;
}
table.rooster th, table.rooster td {
  border: 1px solid var(--line);
  padding: 14px 10px; text-align: center; vertical-align: middle; height: 60px;
}
table.rooster thead th {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.06em; font-weight: 700;
  color: var(--ink-2); background: #fafafa;
}
table.rooster tbody th {
  font-weight: 500; color: var(--ink-2);
  background: #fafafa; width: 88px;
}
table.rooster .cell {
  display: inline-block;
  border: 1px solid var(--edu-navy); color: var(--edu-navy);
  border-radius: 6px;
  padding: 5px 12px; min-width: 78px;
  font-family: 'Saira Condensed', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.04em;
  background: #fff;
}

/* ── Stats ──────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--edu-soft);
  border-radius: 12px;
  padding: 30px 12px;
  margin: 60px 0;
  text-align: center;
}
.stat .num {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 56px; font-weight: 700; line-height: 1;
  color: var(--edu-navy);
}
.stat .lbl {
  font-size: 11px; color: var(--ink-2); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.stat + .stat { border-left: 1px solid #d8def0; }

/* ── Story ──────────────────────────────────────────────── */
.story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin: 60px 0;
}
.story .img {
  background-color: #d6d6d6;
  background-size: cover; background-position: center;
  min-height: 360px; border-radius: 0;
}
.story .card {
  background: var(--edu-navy); color: #fff;
  border-radius: 0; padding: 40px;
  position: relative;
}
.story .card .pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 10px; border-radius: 999px;
  margin-bottom: 16px;
}
.story .card .pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.story .card h3 {
  font-size: 22px; margin-bottom: 12px;
  font-family: 'Saira Condensed', sans-serif; letter-spacing: 0.02em;
}
.story .card p { font-size: 12px; line-height: 1.6; opacity: .85; margin: 0 0 12px; }
.story .card .more {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Saira Condensed', sans-serif; font-weight: 700; font-size: 13px;
  background: #fff; color: var(--edu-navy);
  border: 0; transform: skewX(-8deg);
  padding: 10px 18px;
}
.story .card .more > * { transform: skewX(8deg); display: inline-flex; align-items: center; gap: 6px; }

/* ── Blog ───────────────────────────────────────────────── */
.blog { margin: 60px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.blog-card {
  position: relative; border-radius: 8px;
  overflow: hidden; height: 220px;
  background-size: cover; background-position: center;
  background-color: #ddd;
  display: block;
}
.blog-card .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%);
}
.blog-card .text { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; }
.blog-card .text h4 {
  font-size: 14px; line-height: 1.15; text-transform: uppercase;
  margin-bottom: 6px;
}
.blog-card .text .date { font-size: 10px; opacity: .8; letter-spacing: 0.04em; }

/* ── Pricing ────────────────────────────────────────────── */
.pricing { padding: 60px 0; }
.pricing .head { text-align: left; max-width: 460px; margin-bottom: 36px; }
.pricing .head .pill {
  display: inline-block;
  border: 1px solid #d6d6d6; border-radius: 999px;
  font-size: 11px; padding: 5px 10px; color: var(--ink-2);
  margin-bottom: 12px;
}
.pricing .head h2 { font-size: 48px; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0; align-items: center;
}
.price-card {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 0; padding: 30px 32px;
  position: relative;
}
.price-card.featured {
  border: 1px solid var(--edu-navy);
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,42,148,0.08);
  transform: none; z-index: 2;
}
.price-card.featured::before {
  content: "★ Most Recommended";
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--edu-navy); color: #fff;
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700; font-size: 12px;
  padding: 6px 14px; border-radius: 0;
  letter-spacing: 0.04em; white-space: nowrap;
}
.price-card h3 { font-size: 22px; margin-bottom: 14px; font-family: 'Saira Condensed', sans-serif; }
.price-card .price-row {
  display: flex; align-items: flex-end; gap: 8px;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.price-card .price {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 60px; font-weight: 700; line-height: 1;
}
.price-card .per { font-size: 16px; color: var(--muted); margin-bottom: 8px; }
.price-card .desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 14px 0 18px; }
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 22px;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.price-card li {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; padding: 6px 0;
}
.price-card li .check {
  width: 16px; height: 16px;
  border-radius: 50%; background: #eee;
  display: grid; place-items: center; flex-shrink: 0;
}
.price-card li .check svg { width: 8px; height: 8px; }
.price-card .cta { width: 100%; padding: 14px; font-size: 15px; border-radius: 0; }
.price-card .cta.btn-dark { background: var(--edu-navy); }
.price-card .secure {
  text-align: center; margin-top: 12px;
  font-size: 10px; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonials {
  padding: 50px 24px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 24px; align-items: start;
  background: #fafbfd;
  border-top: 1px solid var(--edu-line); border-bottom: 1px solid var(--edu-line);
  max-width: 1280px; margin: 0 auto;
}
.testi { border-radius: 0; padding: 0 8px; position: relative; }
.testi .quote {
  font-size: 64px; line-height: 1; color: #d6d6d6;
  font-family: 'Saira Condensed', sans-serif;
  margin-bottom: -10px;
}
.testi p { font-size: 12px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }
.testi .author { display: flex; align-items: center; gap: 10px; }
.testi .author .avatar {
  width: 32px; height: 32px; border-radius: 50%; background: #ddd;
  background-size: cover; background-position: center;
}
.testi .author .name { font-size: 12px; font-weight: 600; }
.testi .author .meta { font-size: 10px; color: var(--muted); }
.testi-head {
  background: var(--edu-navy); color: #fff;
  padding: 30px; border-radius: 0;
}
.testi-head h2 { font-size: 30px; line-height: 1; color: #fff; }
.testi-head .pill {
  display: inline-block; color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  font-size: 11px; padding: 5px 10px; margin-bottom: 12px;
}
.testi-head p { color: rgba(255,255,255,.8); font-size: 12px; margin-top: 12px; }
.testi-head .nav { margin-top: 18px; display: flex; gap: 6px; }
.testi-head .nav-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  display: grid; place-items: center;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq {
  padding: 80px 0;
  display: grid; grid-template-columns: 360px 1fr; gap: 60px;
}
.faq .left .pill {
  display: inline-block;
  border: 1px solid #d6d6d6; border-radius: 999px;
  font-size: 11px; padding: 5px 10px; margin-bottom: 12px;
}
.faq .left h2 { font-size: 40px; margin-bottom: 14px; line-height: 1; }
.faq .left p { font-size: 12px; color: var(--muted); line-height: 1.6; max-width: 280px; margin: 0; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.faq-q .plus {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%; background: #f0f0f0;
}
.faq-q .plus svg { width: 10px; height: 10px; }
.faq-q.is-open .plus { background: var(--edu-navy); color: #fff; }
.faq-q.first {
  background: var(--edu-navy); color: #fff;
  border-color: var(--edu-navy); font-weight: 600;
}
.faq-q.first .plus { background: #fff; color: var(--edu-navy); }

/* ── CTA banner ─────────────────────────────────────────── */
.cta-banner {
  background: var(--edu-navy);
  border-radius: 0; color: #fff;
  padding: 60px 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  margin: 30px 0 60px;
  position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: 44px; line-height: 1; max-width: 600px; text-transform: uppercase; }
.cta-banner .btn {
  padding: 18px 36px; font-size: 14px;
  transform: skewX(-8deg); border-radius: 0;
  background: #fff; color: var(--edu-navy); font-weight: 700;
  flex-shrink: 0; z-index: 2;
}
.cta-banner .btn > * { transform: skewX(8deg); display: inline-flex; align-items: center; gap: 10px; }
.cta-banner .watermark {
  position: absolute; right: 180px; bottom: -40px;
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 900; font-size: 220px;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.05em;
  pointer-events: none; line-height: 1;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: #fff; border-top: 1px solid var(--edu-line); padding: 60px 0 0; font-size: 12px; color: var(--ink-2); }
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-2);
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif; font-weight: 600;
}
.site-footer .col p { margin: 0 0 6px; line-height: 1.6; }
.site-footer .col-brand h3 {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 26px; line-height: 1.1;
  text-transform: uppercase; margin-bottom: 14px;
  color: var(--edu-navy);
}
.site-footer .col-brand p { max-width: 320px; }
.footer-strip-bottom {
  background: #fff;
  border-top: 1px solid var(--edu-line);
  padding: 14px 0;
  font-size: 11px; color: var(--muted);
  margin-top: 40px;
}
.footer-strip-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-strip-bottom .socials { display: flex; gap: 10px; }
.footer-strip-bottom .socials a { color: var(--edu-navy); }

/* ── WP single + page (blog, default) ───────────────────── */
.entry {
  max-width: none; margin: 0;
  padding: 0; line-height: 1.7;
  font-size: 16px;
}
/* Full-width hero breakout — heroes inside entry go edge-to-edge */
.entry > section.hero,
.entry > .hero {
  width: 100%; margin: 0; border-radius: 0;
}
/* Inner sections stay within container width */
.entry > section.container,
.entry > section:not(.hero) {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
/* For the original blog/single entry styling, scope text-only h1/h2/h3 */
.entry > p, .entry > h1, .entry > h2, .entry > h3, .entry > ul, .entry > ol, .entry > blockquote {
  max-width: 760px; margin-left: auto; margin-right: auto; padding: 0 24px;
}
.entry h1 { font-size: 48px; margin: 0 0 16px; text-transform: uppercase; }
.entry h2 { font-size: 32px; margin: 32px 0 12px; }
.entry h3 { font-size: 22px; margin: 24px 0 10px; }
.entry p { margin: 0 0 16px; color: var(--ink-2); }
.entry a { color: var(--edu-navy); text-decoration: underline; }
.entry img { border-radius: 8px; margin: 16px 0; }
.entry .meta {
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.entry blockquote {
  border-left: 3px solid var(--edu-navy);
  padding: 6px 18px; margin: 24px 0;
  font-style: italic; color: var(--ink);
}

.archive-head {
  padding: 80px 0 30px;
  border-bottom: 1px solid var(--edu-line);
  text-align: center;
}
.archive-head .pill {
  display: inline-block;
  border: 1px solid #d6d6d6; border-radius: 999px;
  font-size: 12px; padding: 6px 12px; color: var(--ink-2);
  margin-bottom: 14px;
}
.archive-head h1 {
  font-size: 56px; text-transform: uppercase;
  font-family: 'Saira Condensed', sans-serif;
}

.post-list {
  max-width: 1280px; margin: 60px auto;
  padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--edu-line);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.post-card .thumb {
  height: 200px;
  background: #ddd;
  background-size: cover; background-position: center;
}
.post-card .body { padding: 22px; }
.post-card .date {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.post-card h3 {
  font-size: 20px; line-height: 1.2;
  text-transform: uppercase; margin-bottom: 10px;
}
.post-card p { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0 0 14px; }
.post-card .more {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700; font-size: 13px;
  color: var(--edu-navy);
}

.pagination {
  max-width: 1280px; margin: 0 auto 80px;
  padding: 0 24px;
  display: flex; gap: 8px; justify-content: center;
}
.pagination a, .pagination .current {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--edu-line);
  color: var(--ink);
}
.pagination .current {
  background: var(--edu-navy); color: #fff; border-color: var(--edu-navy);
}

/* ── Comments ───────────────────────────────────────────── */
.comments-area {
  max-width: 760px; margin: 0 auto 80px;
  padding: 40px 24px;
  border-top: 1px solid var(--edu-line);
}
.comments-area h2 { font-size: 24px; margin-bottom: 24px; text-transform: uppercase; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list li { padding: 16px 0; border-bottom: 1px solid var(--edu-line); }
.comment-author { font-weight: 600; font-size: 13px; }
.comment-meta { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 12px;
  border: 1px solid var(--edu-line);
  font-family: inherit; font-size: 14px;
  margin-bottom: 12px;
}
.comment-form input[type="submit"] {
  width: auto; background: var(--edu-navy); color: #fff;
  border: 0; padding: 12px 24px; font-family: 'Saira Condensed', sans-serif;
  font-weight: 700; cursor: pointer;
}

/* ── Search & 404 ───────────────────────────────────────── */
.notfound {
  max-width: 760px; margin: 80px auto;
  padding: 0 24px; text-align: center;
}
.notfound h1 {
  font-size: 120px; color: var(--edu-navy);
  margin-bottom: 16px;
}
.notfound p { color: var(--ink-2); margin-bottom: 24px; }

/* ────────────────────────────────────────────────────────────────
   Page-template body classes — opt-in palettes per WP page
   Add a Page Template (template-adults.php / template-kids.php /
   etc.) which sets these body classes via body_class filter.
   ──────────────────────────────────────────────────────────────── */

/* Adults: 8-tile sport grid (used on the adults page template) */
body.page-template-adults .sport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
body.page-template-adults .sport-tile {
  position: relative; overflow: hidden;
  border-radius: 14px;
  height: 220px;
  display: block;
  background: #ddd;
}
body.page-template-adults .sport-tile .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
body.page-template-adults .sport-tile .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.7) 100%);
}
body.page-template-adults .sport-tile .label {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  color: #fff; font-family: 'Saira Condensed', sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
body.page-template-adults .sport-tile .label .arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: #202020;
  display: grid; place-items: center; flex-shrink: 0;
}
body.page-template-adults .sport-tile .label .arrow svg { width: 10px; height: 10px; }

/* Adults: monochrome (override the navy edu palette) */
body.page-template-adults::before { display: none; }
body.page-template-adults .topbar { border-bottom-color: var(--line-2); }
body.page-template-adults .brand .name { color: var(--ink); }
body.page-template-adults .brand .mark svg circle,
body.page-template-adults .brand .mark svg path { stroke: var(--ink); }
body.page-template-adults .nav a { color: var(--ink); }
body.page-template-adults .btn-dark { background: #202020; border-radius: 8px; }
body.page-template-adults .hero-frame { border-radius: 18px; height: 620px; }
body.page-template-adults .hero h1 { font-size: 64px; }
body.page-template-adults .stats { background: #f3f3f3; }
body.page-template-adults .stats .num { color: var(--ink); font-size: 50px; }
body.page-template-adults .stat + .stat { border-color: #d6d6d6; }
body.page-template-adults .story .img { border-radius: 18px; }
body.page-template-adults .story .card { background: #15110e; border-radius: 18px; padding: 36px; }
body.page-template-adults .story .card .more {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3);
  transform: none; padding: 8px 14px; border-radius: 8px;
}
body.page-template-adults .story .card .more > * { transform: none; }
body.page-template-adults .blog-card { border-radius: 18px; }
body.page-template-adults .blog-card .play {
  position: absolute; right: 14px; bottom: 14px;
  width: 26px; height: 26px;
  border-radius: 50%; background: rgba(255,255,255,.95);
  display: grid; place-items: center;
}
body.page-template-adults .blog-card .play svg { width: 8px; height: 8px; fill: #202020; }
body.page-template-adults .pricing-grid { gap: 24px; }
body.page-template-adults .price-card { border-radius: 20px; }
body.page-template-adults .price-card.featured {
  border: 0; box-shadow: 0 12px 36px rgba(0,0,0,.08);
  transform: scale(1.06);
}
body.page-template-adults .price-card.featured::before { background: #15110e; border-radius: 999px; }
body.page-template-adults .price-card .cta { border-radius: 8px; }
body.page-template-adults .price-card .cta.btn-dark { background: #202020; }
body.page-template-adults .faq-q { border-radius: 12px; }
body.page-template-adults .faq-q.first { background: var(--bg-soft); color: var(--ink-2); border-color: var(--line); }
body.page-template-adults .faq-q.first .plus { background: #202020; color: #fff; }
body.page-template-adults .cta-banner { background: #202020; border-radius: 18px; padding: 60px; }
body.page-template-adults .cta-banner h2 { font-size: 56px; }
body.page-template-adults .cta-banner .btn {
  background: #fff; color: #202020;
  transform: none; border-radius: 8px; padding: 14px 22px;
}
body.page-template-adults .cta-banner .btn > * { transform: none; }
body.page-template-adults .testi-head {
  background: transparent; color: var(--ink); padding: 0;
}
body.page-template-adults .testi-head h2 { color: var(--ink); font-size: 36px; }
body.page-template-adults .testi-head .pill { color: var(--ink-2); border-color: #d6d6d6; }
body.page-template-adults .testi-head p { color: var(--muted) !important; }
body.page-template-adults .testi-head .nav-btn { border-color: var(--line); color: var(--ink); }
body.page-template-adults .testimonials { background: transparent; border: 0; }
body.page-template-adults .site-footer { background: var(--bg-soft); }
body.page-template-adults .footer-strip-bottom { display: none; }

/* Kids: purple + orange + cream playful palette */
body.page-template-kids {
  --kid-purple: #4a1ea3;
  --kid-orange: #ff8c1a;
  --kid-cream: #fff4e2;
  --kid-pink: #ffe4cf;
  --kid-mint: #b8e6c1;
  --kid-lilac: #e7d4ff;
  background: var(--kid-cream);
}
body.page-template-kids::before { display: none; }
body.page-template-kids::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 600px 200px at 10% 25%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(ellipse 500px 180px at 85% 60%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(ellipse 400px 150px at 50% 90%, rgba(255,255,255,.5), transparent 60%);
}
body.page-template-kids .topbar { background: var(--kid-cream); border-bottom: 0; }
body.page-template-kids .brand .name { color: var(--kid-purple); font-family: 'Fredoka', sans-serif; font-weight: 700; }
body.page-template-kids .brand .mark svg circle,
body.page-template-kids .brand .mark svg path { stroke: var(--kid-orange); }
body.page-template-kids .nav a { color: var(--kid-purple); font-weight: 500; }
body.page-template-kids .btn-dark { background: var(--kid-orange); color: #fff; border-radius: 999px; padding: 10px 20px; }
body.page-template-kids .login { color: var(--kid-purple); font-weight: 600; }
body.page-template-kids .hero-frame { height: 580px; border-radius: 24px; background: #b8a8c4; }
body.page-template-kids .hero-frame .bg { filter: brightness(0.85) saturate(0.6) hue-rotate(-15deg); }
body.page-template-kids .hero-frame .scrim { background: linear-gradient(180deg, rgba(74,30,163,.2) 0%, rgba(74,30,163,.6) 100%); }
body.page-template-kids .hero h1 { font-family: 'Fredoka', 'Saira Condensed', sans-serif; font-size: 56px; }
body.page-template-kids .hero-eyebrow { background: var(--kid-orange); border: 0; color: #fff; font-weight: 700; }
body.page-template-kids .section-head h2,
body.page-template-kids .schedule .head h2,
body.page-template-kids .pricing .head h2,
body.page-template-kids .testi-head h2,
body.page-template-kids .faq .left h2,
body.page-template-kids .cta-banner h2,
body.page-template-kids .site-footer .col-brand h3 {
  color: var(--kid-orange);
  font-family: 'Fredoka', 'Saira Condensed', sans-serif;
  font-weight: 700; letter-spacing: 0;
}
body.page-template-kids .section-head .pill,
body.page-template-kids .schedule .head .pill,
body.page-template-kids .pricing .head .pill,
body.page-template-kids .testi-head .pill,
body.page-template-kids .faq .left .pill {
  color: var(--kid-purple); border-color: var(--kid-purple); font-weight: 600;
}
body.page-template-kids .trust-card { border: 0; border-radius: 16px; }
body.page-template-kids .trust-card.c1 { background: var(--kid-pink); }
body.page-template-kids .trust-card.c2 { background: var(--kid-mint); }
body.page-template-kids .trust-card.c3 { background: var(--kid-lilac); }
body.page-template-kids .trust-card .ico { background: rgba(255,255,255,.5); font-size: 22px; }

body.page-template-kids .kid-sport-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
body.page-template-kids .kid-sport {
  border-radius: 24px; overflow: hidden; height: 280px;
  position: relative; display: block;
}
body.page-template-kids .kid-sport .bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
body.page-template-kids .kid-sport .label {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  border-radius: 999px; background: #fff;
  color: var(--kid-purple);
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 16px;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
body.page-template-kids .kid-sport .label .arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--kid-orange); color: #fff;
  display: grid; place-items: center;
}
body.page-template-kids .kid-sport .label .arrow svg { width: 12px; height: 12px; }

body.page-template-kids .filters .chip { border-radius: 999px; font-family: 'Fredoka', sans-serif; }
body.page-template-kids .filters .chip.is-active { background: var(--kid-purple); border-color: var(--kid-purple); color: #fff; }
body.page-template-kids table.rooster { border-color: #e6d5f4; }
body.page-template-kids table.rooster th,
body.page-template-kids table.rooster td { border-color: #e6d5f4; }
body.page-template-kids table.rooster thead th { background: #f8efff; color: var(--kid-purple); }
body.page-template-kids table.rooster tbody th { background: #fdf8ff; color: var(--kid-purple); }
body.page-template-kids table.rooster .cell { border-color: var(--kid-purple); color: var(--kid-purple); }

body.page-template-kids .stats { background: var(--kid-pink); border-radius: 24px; }
body.page-template-kids .stats .num { color: var(--kid-orange); font-family: 'Fredoka', sans-serif; }
body.page-template-kids .stat + .stat { border-color: rgba(74,30,163,.2); }
body.page-template-kids .stat .lbl { color: var(--kid-purple); }

body.page-template-kids .story .img { border-radius: 24px; }
body.page-template-kids .story .card { background: var(--kid-purple); border-radius: 24px; }
body.page-template-kids .story .card h3 { font-family: 'Fredoka', sans-serif; color: #fff; }
body.page-template-kids .story .card .more { background: var(--kid-orange); color: #fff; transform: none; border: 0; border-radius: 999px; }
body.page-template-kids .story .card .more > * { transform: none; }

body.page-template-kids .blog-card { border-radius: 24px; }
body.page-template-kids .blog-card .play {
  position: absolute; right: 14px; bottom: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: grid; place-items: center;
}
body.page-template-kids .blog-card .play svg { width: 8px; height: 8px; fill: #4a1ea3; }

body.page-template-kids .price-card { border-radius: 24px; border-color: #f0d8b8; }
body.page-template-kids .price-card.featured {
  background: var(--kid-purple); color: #fff;
  box-shadow: 0 12px 36px rgba(74,30,163,.25);
  border: 0;
}
body.page-template-kids .price-card.featured h3,
body.page-template-kids .price-card.featured .price { color: #fff; }
body.page-template-kids .price-card.featured .desc { color: rgba(255,255,255,.75); }
body.page-template-kids .price-card.featured ul,
body.page-template-kids .price-card.featured .price-row { border-color: rgba(255,255,255,.2); }
body.page-template-kids .price-card.featured .check { background: rgba(255,255,255,.15); color: #fff; }
body.page-template-kids .price-card.featured::before { background: var(--kid-orange); border-radius: 999px; }
body.page-template-kids .price-card .cta { background: var(--kid-purple); color: #fff; border: 0; border-radius: 999px; }
body.page-template-kids .price-card.featured .cta { background: var(--kid-orange); }

body.page-template-kids .faq-q { border-radius: 16px; border-color: #e6d5f4; }
body.page-template-kids .faq-q.first { background: var(--kid-purple); color: #fff; border-color: var(--kid-purple); }
body.page-template-kids .faq-q.first .plus { background: var(--kid-orange); color: #fff; }
body.page-template-kids .cta-banner { background: var(--kid-purple); border-radius: 28px; }
body.page-template-kids .cta-banner h2 { color: #fff; font-family: 'Fredoka', sans-serif; }
body.page-template-kids .cta-banner .btn {
  background: var(--kid-orange); color: #fff;
  border-radius: 999px; transform: none;
}
body.page-template-kids .cta-banner .btn > * { transform: none; }

body.page-template-kids .testimonials { background: transparent; border: 0; }
body.page-template-kids .testi .quote { color: var(--kid-orange); font-family: 'Fredoka', sans-serif; }
body.page-template-kids .testi-head { background: transparent; color: var(--kid-purple); padding: 0; }
body.page-template-kids .testi-head .pill { color: var(--kid-purple); border-color: var(--kid-purple); }
body.page-template-kids .testi-head p { color: var(--kid-purple) !important; opacity: 0.75; }
body.page-template-kids .testi-head .nav-btn { border-color: var(--kid-purple); color: var(--kid-purple); }

body.page-template-kids .site-footer { background: #fff; border-top: 1px solid #f0d8b8; }
body.page-template-kids .site-footer .col-brand h3 { color: var(--kid-purple); }
body.page-template-kids .footer-strip-bottom {
  background: var(--kid-orange); color: #fff; text-align: center;
  border-top: 0; font-weight: 500;
}
body.page-template-kids .footer-strip-bottom .container { justify-content: center; }
body.page-template-kids .footer-strip-bottom .socials { display: none; }

/* Kids: decorative bits (kite, mascot, quote mark on hero) */
body.page-template-kids .quote-mark {
  position: absolute; left: 60px; top: 50px;
  font-family: 'Fredoka', sans-serif;
  font-size: 90px; line-height: 1;
  color: rgba(255,255,255,.85);
  pointer-events: none;
}
body.page-template-kids .kite {
  position: absolute; top: 60px; left: 80px;
  width: 80px; height: 80px;
  background: url('assets/kid-kite.png') center / contain no-repeat;
  transform: rotate(-12deg);
  z-index: 2;
  pointer-events: none;
}
body.page-template-kids .mascot {
  position: absolute; left: 0; bottom: 0;
  width: 220px; height: auto;
  pointer-events: none;
}

/* WP alignment classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--muted); margin-top: 6px; }
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
}
/* shared brand mark sizing for img-based logos */
.brand .mark { width: 40px; height: 40px; display: block; }
.brand .mark svg { width: 100%; height: 100%; }
.sticky, .gallery-caption, .bypostauthor { /* WP requires these */ }



/* ═══════════════════════════════════════════════════════════════════
   Tuimel Judo template (sport detail page) — uses Kids palette
   ═══════════════════════════════════════════════════════════════════ */
body.page-template-template-tuimel-judo {
  background:
    radial-gradient(1200px 700px at 100% -100px, #fff0d8 0, transparent 60%),
    radial-gradient(900px 600px at -10% 30%, #f3e8ff 0, transparent 55%),
    var(--kid-cream);
  color: var(--kid-purple);
}

/* topbar — kids look */
body.page-template-template-tuimel-judo .topbar { background: var(--kid-cream); border-bottom: 0; }
body.page-template-template-tuimel-judo .brand .name { color: var(--kid-purple); font-family: 'Fredoka', sans-serif; font-weight: 700; }
body.page-template-template-tuimel-judo .brand .mark svg path,
body.page-template-template-tuimel-judo .brand .mark svg circle { stroke: var(--kid-orange); }
body.page-template-template-tuimel-judo .nav a { color: var(--kid-purple); font-weight: 500; white-space: nowrap; }
body.page-template-template-tuimel-judo .topbar-actions { gap: 14px; }
body.page-template-template-tuimel-judo .topbar .btn-dark {
  background: var(--kid-orange); color: #fff;
  border-radius: 999px; padding: 10px 20px;
}
body.page-template-template-tuimel-judo .login { color: var(--kid-purple); font-weight: 600; }

/* breadcrumb */
.tuimel-crumbs {
  padding: 18px 0 0;
  font-size: 13px; color: var(--kid-purple); opacity: 0.7;
  font-weight: 500;
}
.tuimel-crumbs a { color: inherit; text-decoration: none; }
.tuimel-crumbs a:hover { color: var(--kid-orange); opacity: 1; }
.tuimel-crumbs .sep { margin: 0 8px; opacity: 0.5; }

/* hero */
.tuimel-hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px;
  margin: 24px 0 60px; align-items: stretch;
}
.tuimel-hero .text-side {
  background: var(--kid-purple); color: #fff;
  border-radius: 28px; padding: 50px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 460px;
}
.tuimel-hero .text-side::before {
  content: ""; position: absolute; right: -60px; bottom: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: var(--kid-orange); opacity: 0.4; pointer-events: none;
}
.tuimel-hero .eyebrow {
  background: var(--kid-orange); color: #fff;
  font-weight: 700; letter-spacing: 0.04em;
  border-radius: 999px; padding: 6px 14px;
  font-size: 12px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  width: max-content;
}
.tuimel-hero .eyebrow .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: #fff;
}
.tuimel-hero h1 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 64px; line-height: 1.05; margin: 16px 0 0;
  text-transform: none; letter-spacing: -0.01em;
}
.tuimel-hero h1 em { font-style: normal; color: var(--kid-orange); }
.tuimel-hero .lede {
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.92);
  font-size: 17px; line-height: 1.55; max-width: 460px;
  margin: 18px 0 28px;
}
.tuimel-hero .quick-facts {
  display: flex; gap: 36px; flex-wrap: wrap; margin-top: 32px;
  position: relative; z-index: 1;
}
.tuimel-hero .quick-facts .fact .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65); font-weight: 600; margin-bottom: 4px;
}
.tuimel-hero .quick-facts .fact .value {
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  font-size: 22px; color: #fff;
}
.tuimel-hero .cta-row {
  display: flex; gap: 12px; margin-top: 28px;
  position: relative; z-index: 1;
}
.tuimel-hero .cta-row .btn-light {
  background: var(--kid-orange); color: #fff;
  border-radius: 999px; padding: 14px 24px; font-weight: 700; border: 0;
}
.tuimel-hero .cta-row .btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 999px; padding: 14px 24px; font-weight: 600;
}

.tuimel-hero .image-side {
  border-radius: 28px;
  background: var(--kid-pink) center/cover;
  background-repeat: no-repeat;
  position: relative; overflow: hidden;
  min-height: 460px;
}
.tuimel-hero .image-side .badge {
  position: absolute; top: 24px; right: 24px;
  background: #fff; color: var(--kid-purple);
  border-radius: 999px; padding: 8px 16px;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 16px rgba(74,30,163,0.15);
}
.tuimel-hero .image-side .badge .dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--kid-orange);
  margin-right: 6px; vertical-align: middle;
}
.tuimel-hero .image-side .star-burst {
  position: absolute; left: -30px; bottom: -40px;
  width: 160px; height: 160px;
  background: var(--kid-orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.85;
}
.tuimel-hero .image-side .star-burst::after {
  content: "4-6 jr"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 22px; color: #fff;
  transform: translate(8px, 4px);
}

/* generic section heads on this template */
.tuimel-section-head {
  display: flex; gap: 40px; align-items: flex-start;
  justify-content: space-between; padding: 50px 0 24px;
}
.tuimel-section-head .left { flex: 1 1 auto; min-width: 0; max-width: 620px; }
.tuimel-section-head .right { flex: 0 0 380px; color: var(--kid-purple); opacity: 0.85; font-size: 14px; line-height: 1.55; }
.tuimel-section-head .pill {
  color: var(--kid-purple); border-color: var(--kid-purple); font-weight: 600;
}
.tuimel-section-head h2 {
  color: var(--kid-orange);
  font-family: 'Fredoka', 'Saira Condensed', sans-serif;
  font-weight: 700; letter-spacing: 0; text-transform: none;
  font-size: 44px; line-height: 1.05; margin-top: 12px;
}

/* small helper pill (purple outline) */
body.page-template-template-tuimel-judo .pill-soft {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--kid-purple);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--kid-purple);
}

/* skill grid */
body.page-template-template-tuimel-judo .skill-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 60px;
}
body.page-template-template-tuimel-judo .skill {
  background: #fff; border: 1px solid #f0d8b8;
  border-radius: 24px; padding: 28px 24px;
  position: relative; overflow: hidden;
}
body.page-template-template-tuimel-judo .skill .ico {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  font-size: 28px; margin-bottom: 18px;
}
body.page-template-template-tuimel-judo .skill:nth-child(1) .ico { background: var(--kid-pink); }
body.page-template-template-tuimel-judo .skill:nth-child(2) .ico { background: #e8dbf6; }
body.page-template-template-tuimel-judo .skill:nth-child(3) .ico { background: #ffe6c2; }
body.page-template-template-tuimel-judo .skill:nth-child(4) .ico { background: #d6f0e1; }
body.page-template-template-tuimel-judo .skill h3 {
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  color: var(--kid-purple); font-size: 20px;
  margin: 0 0 8px; text-transform: none; letter-spacing: 0;
}
body.page-template-template-tuimel-judo .skill p {
  font-family: 'Inter', sans-serif;
  color: var(--kid-purple); opacity: 0.75;
  font-size: 14px; line-height: 1.55; margin: 0;
}

/* lesson timeline */
body.page-template-template-tuimel-judo .lesson-timeline {
  background: #fff; border: 1px solid #f0d8b8;
  border-radius: 28px; padding: 40px;
  margin-bottom: 60px;
  display: grid; grid-template-columns: 280px 1fr; gap: 48px;
  align-items: start;
}
body.page-template-template-tuimel-judo .lesson-timeline .lead h3 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  color: var(--kid-orange); font-size: 32px; line-height: 1.05;
  margin: 12px 0 14px; text-transform: none; letter-spacing: 0;
}
body.page-template-template-tuimel-judo .lesson-timeline .lead p {
  color: var(--kid-purple); opacity: 0.8;
  font-size: 14px; line-height: 1.55; margin: 0 0 18px;
}
body.page-template-template-tuimel-judo .lesson-timeline .lead .total {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--kid-pink); color: var(--kid-purple);
  border-radius: 999px; padding: 10px 18px;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 14px;
}
body.page-template-template-tuimel-judo .timeline { position: relative; padding-left: 32px; }
body.page-template-template-tuimel-judo .timeline::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: #f0d8b8;
}
body.page-template-template-tuimel-judo .step { position: relative; padding-bottom: 22px; }
body.page-template-template-tuimel-judo .step:last-child { padding-bottom: 0; }
body.page-template-template-tuimel-judo .step::before {
  content: ""; position: absolute; left: -28px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--kid-orange);
  box-shadow: 0 0 0 4px var(--kid-cream);
}
body.page-template-template-tuimel-judo .step .time {
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  color: var(--kid-orange); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 4px;
}
body.page-template-template-tuimel-judo .step h4 {
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  color: var(--kid-purple); font-size: 18px;
  margin: 0 0 4px; text-transform: none;
}
body.page-template-template-tuimel-judo .step p {
  color: var(--kid-purple); opacity: 0.75;
  font-size: 14px; line-height: 1.5; margin: 0;
}

/* schedule (kids palette already covered, plus tuimel-cell variant) */
body.page-template-template-tuimel-judo .schedule .head h2 {
  color: var(--kid-orange);
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 36px; text-transform: uppercase; letter-spacing: 0;
}
body.page-template-template-tuimel-judo .schedule .head .sub {
  color: var(--kid-purple); opacity: 0.7;
}
body.page-template-template-tuimel-judo .schedule .head .pill {
  color: var(--kid-purple); border-color: var(--kid-purple);
}
body.page-template-template-tuimel-judo .filters .chip {
  border-radius: 999px; font-family: 'Fredoka', sans-serif;
}
body.page-template-template-tuimel-judo .filters .chip.is-active {
  background: var(--kid-purple); border-color: var(--kid-purple); color: #fff;
}
body.page-template-template-tuimel-judo table.rooster { border-color: #e6d5f4; }
body.page-template-template-tuimel-judo table.rooster th,
body.page-template-template-tuimel-judo table.rooster td { border-color: #e6d5f4; }
body.page-template-template-tuimel-judo table.rooster thead th { background: #f8efff; color: var(--kid-purple); }
body.page-template-template-tuimel-judo table.rooster tbody th { background: #fdf8ff; color: var(--kid-purple); }
body.page-template-template-tuimel-judo table.rooster .cell { border-color: var(--kid-purple); color: var(--kid-purple); }
body.page-template-template-tuimel-judo table.rooster .cell.tuimel { background: var(--kid-purple); color: #fff; }
body.page-template-template-tuimel-judo .icon-btn {
  background: var(--kid-purple); color: #fff; border-color: var(--kid-purple);
}

/* coach */
body.page-template-template-tuimel-judo .coach-block {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px;
  margin: 0 0 60px;
  background: #fff; border: 1px solid #f0d8b8;
  border-radius: 28px; padding: 32px; align-items: center;
}
body.page-template-template-tuimel-judo .coach-photo {
  background-color: var(--kid-pink);
  background-size: cover; background-position: center;
  border-radius: 20px; aspect-ratio: 4 / 5;
  position: relative; overflow: hidden;
}
body.page-template-template-tuimel-judo .coach-photo .tag {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--kid-orange); color: #fff;
  border-radius: 999px; padding: 6px 14px;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 13px;
}
body.page-template-template-tuimel-judo .coach-info h3 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  color: var(--kid-orange); font-size: 36px; line-height: 1.05;
  margin: 12px 0 8px; text-transform: none; letter-spacing: 0;
}
body.page-template-template-tuimel-judo .coach-info .role {
  color: var(--kid-purple); font-size: 14px; opacity: 0.7; margin-bottom: 16px;
}
body.page-template-template-tuimel-judo .coach-info p {
  color: var(--kid-purple); opacity: 0.85;
  font-size: 15px; line-height: 1.6; margin: 0 0 12px;
}
body.page-template-template-tuimel-judo .coach-info .creds {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
body.page-template-template-tuimel-judo .coach-info .cred {
  background: var(--kid-pink); color: var(--kid-purple);
  border-radius: 999px; padding: 6px 14px;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 13px;
}

/* testimonials */
body.page-template-template-tuimel-judo .testi-section {
  background: var(--kid-pink); border-radius: 28px;
  padding: 50px; margin-bottom: 60px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
body.page-template-template-tuimel-judo .testi-section .head { color: var(--kid-purple); }
body.page-template-template-tuimel-judo .testi-section .head h2 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  color: var(--kid-orange); font-size: 36px; line-height: 1.05;
  margin: 12px 0 12px; text-transform: none; letter-spacing: 0;
}
body.page-template-template-tuimel-judo .testi-section .head p {
  font-size: 14px; line-height: 1.5; opacity: 0.8;
}
body.page-template-template-tuimel-judo .testi-section .testi {
  background: #fff; border-radius: 20px; padding: 28px;
  position: relative;
}
body.page-template-template-tuimel-judo .testi-section .testi .quote {
  color: var(--kid-orange); font-family: 'Fredoka', sans-serif;
  font-size: 60px; line-height: 1; height: 30px; margin-bottom: 8px;
}
body.page-template-template-tuimel-judo .testi-section .testi p {
  color: var(--kid-purple); font-size: 14px; line-height: 1.55; margin: 0 0 16px;
}
body.page-template-template-tuimel-judo .testi-section .testi .author {
  display: flex; gap: 10px; align-items: center;
  border-top: 1px solid #f0d8b8; padding-top: 14px;
}
body.page-template-template-tuimel-judo .testi-section .testi .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background-color: var(--kid-pink);
  background-size: cover; background-position: center;
}
body.page-template-template-tuimel-judo .testi-section .testi .name {
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  color: var(--kid-purple); font-size: 14px;
}
body.page-template-template-tuimel-judo .testi-section .testi .meta {
  font-size: 12px; color: var(--kid-purple); opacity: 0.65;
}

/* faq */
body.page-template-template-tuimel-judo .faq {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 48px; margin-bottom: 60px; align-items: start;
}
body.page-template-template-tuimel-judo .faq .left .pill {
  color: var(--kid-purple); border-color: var(--kid-purple); font-weight: 600;
}
body.page-template-template-tuimel-judo .faq .left h2 {
  color: var(--kid-orange);
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 40px; line-height: 1.05;
  text-transform: none; letter-spacing: 0;
  margin: 12px 0 12px;
}
body.page-template-template-tuimel-judo .faq .left p {
  color: var(--kid-purple); opacity: 0.7; font-size: 14px;
}
body.page-template-template-tuimel-judo .faq-list {
  display: flex; flex-direction: column; gap: 10px;
}
body.page-template-template-tuimel-judo .faq-q {
  background: #fff; border: 1px solid #e6d5f4;
  border-radius: 16px; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--kid-purple);
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 0.02em; cursor: pointer;
}
body.page-template-template-tuimel-judo .faq-q .plus {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f8efff; color: var(--kid-purple);
  display: grid; place-items: center; flex-shrink: 0;
}
body.page-template-template-tuimel-judo .faq-q.first {
  background: var(--kid-purple); color: #fff; border-color: var(--kid-purple);
}
body.page-template-template-tuimel-judo .faq-q.first .plus {
  background: var(--kid-orange); color: #fff;
}
body.page-template-template-tuimel-judo .faq-a {
  background: #fff; border: 1px solid #e6d5f4; border-top: 0;
  border-radius: 0 0 16px 16px;
  margin-top: -10px; padding: 0 22px 18px;
  color: var(--kid-purple); opacity: 0.8;
  font-size: 14px; line-height: 1.55;
}

/* CTA banner — purple pill */
body.page-template-template-tuimel-judo .cta-banner {
  background: var(--kid-purple); border-radius: 28px;
  padding: 60px 80px; gap: 40px;
}
body.page-template-template-tuimel-judo .cta-banner h2 {
  color: #fff; font-family: 'Fredoka', sans-serif;
  font-size: 44px; text-transform: none; letter-spacing: 0; line-height: 1.05;
}
body.page-template-template-tuimel-judo .cta-banner .btn {
  background: var(--kid-orange); color: #fff;
  border-radius: 999px; padding: 18px 32px;
  font-weight: 700; flex-shrink: 0; transform: none;
}
body.page-template-template-tuimel-judo .cta-banner .btn > * { transform: none; }
body.page-template-template-tuimel-judo .cta-banner .watermark {
  color: rgba(255,255,255,0.08); right: 200px;
}

/* footer (kids look) */
body.page-template-template-tuimel-judo .footer { background: #fff; border-top: 1px solid #f0d8b8; }
body.page-template-template-tuimel-judo .footer .col-brand h3 { color: var(--kid-purple); font-family: 'Fredoka', sans-serif; }

/* ─────────────────────────────────────────────────────────── */
/* Responsive utilities — added 1.0.4                          */
/* ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-frame { padding: 32px 16px !important; min-height: auto !important; }
  .hero-content { padding: 20px !important; }
  .hero-row { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 8px; }
  .hero-cta a { margin: 0 !important; }
  .section-head { grid-template-columns: 1fr !important; gap: 12px !important; }
  .story { grid-template-columns: 1fr !important; gap: 16px !important; }
  .story .img { min-height: 240px !important; }
  .story .card { padding: 24px !important; }
  .cta-banner { padding: 40px 20px !important; }
  .trustbar { grid-template-columns: 1fr !important; }
  .trust-card { padding: 18px !important; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* Nav: always wrap on overflow */
.nav { flex-wrap: wrap !important; gap: 8px; }
.nav ul { flex-wrap: wrap; }

/* "Zie ook" interlinking cards (used on all sub-pages) */
.see-also-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.see-also-card { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: #fff; border: 1px solid #e8e8e8; border-radius: 10px; text-decoration: none; color: #1c1c1c; transition: all 0.2s; font-weight: 600; }
.see-also-card:hover { border-color: #002a94; background: #f8f9ff; transform: translateY(-2px); }
.see-also-card .arrow { color: #002a94; font-weight: 900; }

/* Hub cards (homepage 4-category navigation) */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 48px 0; }
.hub-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 32px; border-radius: 20px; text-decoration: none; color: inherit; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.hub-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12); }
.hub-card h3 { margin: 0 0 8px; font-size: 28px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.hub-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; opacity: 0.85; }
.hub-card .pill { display: inline-block; background: rgba(28, 28, 28, 0.08); padding: 6px 12px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; align-self: flex-start; }
.hub-adults { background: linear-gradient(140deg, #E1D6C3 0%, #D1C2A8 100%); color: #1C1C1C; }
.hub-kids { background: linear-gradient(140deg, #F4BE54 0%, #E68D39 100%); color: #1C1C1C; }
.hub-women { background: linear-gradient(140deg, #F5EFE2 0%, #E1D6C3 100%); color: #1C1C1C; }
.hub-education { background: linear-gradient(140deg, #DACFC1 0%, #A39B8E 100%); color: #161616; }
@media (max-width: 640px) { .hub-card { min-height: 280px; padding: 24px; } .hub-card h3 { font-size: 22px; } }

/* Blog encyclopedia filter UI */
.bf-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.bf-btn { padding: 10px 20px; border: 2px solid #002a94; background: #fff; color: #002a94; border-radius: 99px; cursor: pointer; font-weight: 600; font-size: 14px; transition: all 0.2s; text-decoration: none; }
.bf-btn:hover, .bf-btn.active { background: #002a94; color: #fff; }
.bf-sub { font-size: 13px; padding: 8px 16px; border-color: #aaa; color: #666; }
.bf-sub.active { background: #666; border-color: #666; color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 32px 0; }
.blog-card { display: block; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid #e8e8e8; transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.blog-card .img { height: 200px; background-size: cover; background-position: center; background-color: #f0f0f0; }
.blog-card .body { padding: 20px; }
.blog-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #1c1c1c; line-height: 1.3; }
.blog-card .excerpt { margin: 0 0 12px; color: #666; font-size: 14px; line-height: 1.5; }
.blog-card .meta { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* ─────────────────────────────────────────────────────────── */
/* Topbar + navigation — added 1.0.5                           */
/* ─────────────────────────────────────────────────────────── */

.topbar { background: #fff; border-bottom: 1px solid #eee; padding: 14px 0; position: relative; z-index: 50; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: nowrap; }

/* Brand (logo + Herbert text) */
.topbar .brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.topbar .brand .logo-mark,
.topbar .brand img.custom-logo { width: 40px; height: 40px; flex-shrink: 0; }
.topbar .brand .logo-text { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; color: #002a94; line-height: 1; }

/* Primary nav */
.topbar .nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.topbar .nav ul { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; align-items: center; flex-wrap: nowrap; }
.topbar .nav li { position: relative; }
.topbar .nav a { color: #1c1c1c; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; padding: 8px 4px; transition: color 0.15s; }
.topbar .nav a:hover, .topbar .nav .current-menu-item > a { color: #002a94; }
/* Sub-menu (depth 2) */
.topbar .nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 8px 0; min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 100; flex-direction: column; gap: 0; }
.topbar .nav li:hover > .sub-menu { display: flex; }
.topbar .nav .sub-menu li { width: 100%; }
.topbar .nav .sub-menu a { display: block; padding: 8px 16px; }

/* Right-side actions */
.topbar .topbar-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.topbar .topbar-actions .login { font-size: 14px; font-weight: 600; color: #1c1c1c; text-decoration: none; }
.topbar .topbar-actions .login:hover { color: #002a94; }
.topbar .topbar-actions .btn-cta { background: #002a94; color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 700; font-size: 14px; text-decoration: none; transition: background 0.15s; white-space: nowrap; }
.topbar .topbar-actions .btn-cta:hover { background: #001a5c; }

/* Hamburger toggle */
.topbar .nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; flex-shrink: 0; }
.topbar .nav-toggle span { display: block; width: 26px; height: 3px; background: #1c1c1c; margin: 5px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.topbar .nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.topbar .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.topbar .nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile / tablet */
@media (max-width: 1024px) {
	.topbar .nav-toggle { display: block; order: 2; margin-left: auto; }
	.topbar .topbar-actions { order: 3; gap: 8px; }
	.topbar .topbar-actions .login { display: none; }
	.topbar .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 16px 24px; box-shadow: 0 8px 16px rgba(0,0,0,0.06); flex-direction: column; align-items: stretch; }
	.topbar .nav.open { display: flex; }
	.topbar .nav ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
	.topbar .nav li { width: 100%; }
	.topbar .nav a { display: block; padding: 14px 12px; border-bottom: 1px solid #f3f3f3; font-size: 16px; }
	.topbar .nav .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; background: transparent; }
	.topbar .nav .sub-menu a { font-size: 14px; color: #666; padding: 10px 12px; }
}
@media (max-width: 480px) {
	.topbar .topbar-actions .btn-cta { font-size: 13px; padding: 9px 14px; }
	.topbar .brand .logo-text { display: none; }
}

/* ─────────────────────────────────────────────────────────── */
/* Topbar v2 — image 14 dropdown nav, added 1.0.8              */
/* ─────────────────────────────────────────────────────────── */

.topbar { background: #fff; border-bottom: 1px solid #eee; padding: 0; position: sticky; top: 0; z-index: 100; }
.topbar-inner { display: flex; align-items: center; gap: 24px; padding: 14px 32px; max-width: 1440px; margin: 0 auto; flex-wrap: nowrap; }

.topbar .brand { flex-shrink: 0; display: flex; align-items: center; }
.topbar .brand .logo-mark, .topbar .brand img.custom-logo { width: 44px; height: 44px; }

/* Primary nav (center) */
.topbar .nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.topbar .nav .menu { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; align-items: center; flex-wrap: nowrap; }
.topbar .nav .menu > li { position: relative; }
.topbar .nav .menu > li > a, .topbar .nav .dd-toggle {
	display: inline-flex; align-items: center; gap: 6px;
	color: #1c1c1c; text-decoration: none; font-weight: 600; font-size: 13px;
	letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 0;
	white-space: nowrap; background: none; border: 0; cursor: pointer;
	font-family: inherit; transition: color 0.15s;
}
.topbar .nav .menu > li > a:hover, .topbar .nav .dd-toggle:hover { color: #002a94; }
.topbar .caret { font-size: 10px; opacity: 0.6; transition: transform 0.2s; }
.topbar .has-dropdown.open .caret { transform: rotate(180deg); }

/* Sub-menu dropdown */
.topbar .sub-menu {
	position: absolute; top: calc(100% + 4px); left: 0; min-width: 280px;
	background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 12px;
	box-shadow: 0 16px 40px rgba(0,0,0,0.08); list-style: none; margin: 0;
	display: none; flex-direction: column; gap: 2px; z-index: 200;
}
.topbar .has-dropdown.open .sub-menu { display: flex; }
.topbar .sub-menu li { width: 100%; }
.topbar .sub-menu a {
	display: block; padding: 10px 14px; border-radius: 8px;
	text-decoration: none; color: #1c1c1c; font-weight: 600; font-size: 13px;
	transition: background 0.15s;
}
.topbar .sub-menu a:hover { background: #f5f7fb; color: #002a94; }
.topbar .sub-menu a strong { display: block; font-size: 14px; }
.topbar .sub-menu a em { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: #888; margin-top: 2px; }
.topbar .sub-menu .col-head { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #aaa; padding: 12px 14px 4px; margin-top: 4px; }
.topbar .sub-menu .col-head:first-child { margin-top: 0; padding-top: 4px; }
.topbar .sub-menu.wide { min-width: 720px; columns: 4; column-gap: 16px; padding: 16px; }
.topbar .sub-menu.wide li { break-inside: avoid; display: block; }

/* Right side actions */
.topbar .topbar-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.topbar .login {
	display: inline-flex; align-items: center; gap: 6px;
	color: #1c1c1c; text-decoration: none; font-weight: 600; font-size: 13px;
	text-transform: uppercase; letter-spacing: 0.04em;
}
.topbar .login:hover { color: #002a94; }
.topbar .btn-cta {
	background: #1c1c1c; color: #fff; padding: 11px 18px; border-radius: 8px;
	font-weight: 700; font-size: 12px; text-decoration: none;
	letter-spacing: 0.04em; text-transform: uppercase;
	display: inline-flex; align-items: center; transition: background 0.15s;
	white-space: nowrap;
}
.topbar .btn-cta:hover { background: #002a94; }

/* Hamburger */
.topbar .nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; flex-shrink: 0; margin-left: auto; }
.topbar .nav-toggle span { display: block; width: 26px; height: 3px; background: #1c1c1c; margin: 5px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.topbar .nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.topbar .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.topbar .nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile / tablet */
@media (max-width: 1080px) {
	.topbar-inner { padding: 14px 20px; gap: 16px; }
	.topbar .nav-toggle { display: block; }
	.topbar .nav {
		display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
		background: #fff; padding: 24px; flex-direction: column; align-items: stretch;
		justify-content: flex-start; overflow-y: auto; z-index: 90;
	}
	.topbar .nav.open { display: flex; }
	.topbar .nav .menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.topbar .nav .menu > li { width: 100%; border-bottom: 1px solid #f3f3f3; }
	.topbar .nav .menu > li > a, .topbar .nav .dd-toggle { padding: 18px 0; font-size: 15px; width: 100%; justify-content: space-between; }
	.topbar .sub-menu, .topbar .sub-menu.wide {
		position: static; box-shadow: none; border: 0; padding: 0 0 12px 16px;
		min-width: 0; columns: 1; background: transparent; border-radius: 0;
	}
	.topbar .has-dropdown.open .sub-menu { display: flex; }
	.topbar .sub-menu a { padding: 10px 12px; font-size: 14px; }
	.topbar .sub-menu .col-head { padding: 10px 12px 2px; }
	.topbar .login .login-text { display: none; }
}
@media (max-width: 540px) {
	.topbar .btn-cta { font-size: 11px; padding: 9px 14px; }
}

/* ─────────────────────────────────────────────────────────── */
/* Brand background pattern + Footer CTA banner — added 1.0.9  */
/* ─────────────────────────────────────────────────────────── */

/* Subtle HERBERT watermark on body */
body {
	background-color: #fafaf9;
	background-image: url('assets/herbert-pattern.svg');
	background-attachment: fixed;
	background-size: 800px 600px;
	background-repeat: repeat;
}
/* Make all main content surfaces solid so pattern only shows in margins */
.entry, .site-content, .site-footer { background-color: transparent; }
.entry > section { position: relative; z-index: 1; }

/* Kids template gets warm tinted background */
body.page-template-kids,
body.page-id-24,
body.page-template-tuimel-judo {
	background-color: #FFF8E7;
}
/* Education tinted */
body.page-id-36 {
	background-color: #F4EFE6;
}

/* ── Footer CTA banner (image 16 style) ── */
.footer-cta {
	margin: 80px 24px 0;
	border-radius: 24px;
	overflow: hidden;
	background: #1c1c1c;
	color: #fff;
	position: relative;
}
.footer-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('assets/herbert-pattern.svg') center/cover no-repeat;
	opacity: 0.15;
	pointer-events: none;
}
.footer-cta .container { padding: 0; max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.footer-cta-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: center;
	gap: 24px;
	padding: 56px 40px;
}
.footer-cta-text h3 {
	font-family: 'Saira Condensed', Impact, sans-serif;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin: 0 0 14px;
	color: #fff;
}
.footer-cta-text p {
	color: rgba(255,255,255,0.7);
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 24px;
	max-width: 380px;
}
.footer-cta-btn {
	display: inline-flex;
	align-items: center;
	background: #fff;
	color: #1c1c1c;
	padding: 14px 24px;
	border-radius: 99px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.2s, background 0.2s;
}
.footer-cta-btn:hover { background: #f0f0f0; transform: translateX(4px); }

.footer-cta-visual {
	height: 280px;
	border-radius: 16px;
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}
.footer-cta-logo-overlay {
	position: absolute;
	bottom: 16px;
	right: 16px;
	width: 56px;
	height: 56px;
	background: #fff;
	border-radius: 50%;
	padding: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.footer-cta-logo-overlay img { width: 100%; height: 100%; }

/* Photos per section */
.footer-cta-adults .footer-cta-visual {
	background-image: url('https://tatamigear.com/wp-content/uploads/2026/04/Sportschool-Herbert-100-scaled.jpg');
}
.footer-cta-kids .footer-cta-visual {
	background-image: url('https://tatamigear.com/wp-content/uploads/2026/04/IMG-20231108-WA0008.jpg');
}
.footer-cta-education .footer-cta-visual {
	background-image: url('https://tatamigear.com/wp-content/uploads/2026/04/20150202_142935.jpg');
}

/* Section-themed header colors */
.footer-cta-kids { background: #1c1c1c; }
.footer-cta-kids .footer-cta-btn { background: #F4BE54; color: #1c1c1c; }
.footer-cta-kids .footer-cta-btn:hover { background: #E68D39; }
.footer-cta-education { background: #2a2520; }
.footer-cta-education .footer-cta-btn { background: #DACFC1; color: #1c1c1c; }

/* Mobile */
@media (max-width: 900px) {
	.footer-cta { margin: 48px 16px 0; }
	.footer-cta-inner { grid-template-columns: 1fr; padding: 40px 24px; gap: 20px; }
	.footer-cta-visual { height: 220px; }
	.footer-cta-text p { max-width: none; }
}

/* ─────────────────────────────────────────────────────────── */
/* 1.0.10 — bg mask, nav scroll, dropdown polish              */
/* ─────────────────────────────────────────────────────────── */

/* Replace body bg with masked pseudo-element so HERBERT only shows on margins */
body { background-image: none !important; background-color: #fafaf9; position: relative; }
body::before {
	content: ""; position: fixed; inset: 0;
	background: url('assets/herbert-pattern.svg') repeat;
	background-attachment: fixed; background-size: 800px 600px;
	-webkit-mask-image: linear-gradient(to right, #000 0%, #000 14%, transparent 24%, transparent 76%, #000 86%, #000 100%);
	mask-image: linear-gradient(to right, #000 0%, #000 14%, transparent 24%, transparent 76%, #000 86%, #000 100%);
	z-index: -1; pointer-events: none;
}
@media (max-width: 1080px) {
	body::before {
		-webkit-mask-image: linear-gradient(to right, #000 0%, #000 6%, transparent 14%, transparent 86%, #000 94%, #000 100%);
		mask-image: linear-gradient(to right, #000 0%, #000 6%, transparent 14%, transparent 86%, #000 94%, #000 100%);
	}
}

/* Mega menu — make scrollable + reposition */
.topbar .sub-menu.wide { max-height: 72vh; overflow-y: auto; left: 50%; transform: translateX(-40%); }
@media (max-width: 1280px) { .topbar .sub-menu.wide { transform: translateX(-50%); columns: 3; min-width: 600px; } }

/* Hero section selector (homepage hero) */
.hero-section-selector {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
	margin-top: 32px; max-width: 720px;
	background: rgba(255,255,255,0.12); padding: 6px; border-radius: 99px;
	backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.18);
}
.hero-section-selector a {
	display: flex; align-items: center; justify-content: center;
	padding: 12px 16px; border-radius: 99px; text-decoration: none;
	color: #fff; font-weight: 700; font-size: 13px;
	letter-spacing: 0.04em; text-transform: uppercase;
	transition: background 0.2s, color 0.2s; text-align: center;
}
.hero-section-selector a:hover { background: rgba(255,255,255,0.18); }
.hero-section-selector a.active { background: #fff; color: #1c1c1c; }
@media (max-width: 720px) {
	.hero-section-selector { grid-template-columns: repeat(2, 1fr); border-radius: 16px; padding: 8px; }
	.hero-section-selector a { padding: 10px 8px; font-size: 11px; border-radius: 12px; }
}
