/* Newcastle Goju-Ryu Karate Academy — custom overrides on top of tailwind.css */

:root {
  /* surfaces — near-black page, lighter elevated content + cards */
  --bg: #0b0c0e;
  --panel: #15171b;     /* content band (lighter than page for readability) */
  --panel-2: #1c1f25;   /* cards / inputs */
  --panel-3: #262a31;   /* hover */
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  /* text */
  --text: #f1f2f4;
  --soft: #c8ccd2;
  --muted: #939aa2;
  /* brand */
  --red: #e11d24;
  --red-bright: #ff3b41;
  --red-deep: #a8141a;
  --gold: #f5b50a;
  /* shape + motion */
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --measure: 70rem; /* ~700px prose column (10px rem base) */
  --shadow: 0 22px 60px rgba(0,0,0,.55);
  --ease: cubic-bezier(.4, 0, .2, 1);
  /* legacy aliases (a few rules still reference these) */
  --brand-red: #e11d24;
  --brand-red-dark: #a8141a;
  --brand-gold: #f5b50a;
  --bg-dark: #0b0c0e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter var", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: "Inter var", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
}

/* Dark hero overlay for background photos */
.hero-overlay {
  position: relative;
}
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.hero-overlay > * {
  position: relative;
  z-index: 2;
}

/* Red left-border card (used on class cards, benefit cards, etc) */
.card-accent {
  border-left: 4px solid var(--brand-red);
  background-color: #18181b; /* zinc-900 */
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--brand-red);
  color: #fff;
  font-family: 'Oswald', Impact, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: var(--brand-red-dark);
}
.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-family: 'Oswald', Impact, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background-color: #fff;
  color: var(--bg-dark);
}

/* Japanese character styling */
.kanji {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  font-weight: 700;
}

/* Sticky nav shadow after scroll */
.nav-scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(6px);
}

/* Accordion (FAQ) */
.accordion-item {
  border-bottom: 1px solid #27272a; /* zinc-800 */
}
.accordion-trigger {
  width: 100%;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: transparent;
  border: none;
  color: #fafafa;
  font-family: 'Oswald', Impact, sans-serif;
  font-size: 1.125rem;
  cursor: pointer;
}
.accordion-trigger:hover {
  color: var(--brand-red);
}
.accordion-trigger .accordion-icon {
  transition: transform 0.25s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #d4d4d8; /* zinc-300 */
}
.accordion-panel.is-open {
  max-height: 1500px;
  padding-bottom: 1rem;
}

/* (Removed the old redesign .mobile-menu rules — they collided with Twenty
   Twenty's own .mobile-menu nav inside the menu modal and pushed it off-screen.) */

/* Waiting-list banner pulse */
.waiting-list-banner {
  background: linear-gradient(90deg, var(--brand-red-dark), var(--brand-red));
  color: #fff;
  padding: 0.5rem 1rem;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

/* Form fields */
.field {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #18181b;
  border: 1px solid #3f3f46;
  color: #fafafa;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.2s ease;
}
.field:focus {
  outline: none;
  border-color: var(--brand-red);
}
.field::placeholder {
  color: #71717a;
}

/* Subtle image hover */
.img-hover {
  transition: transform 0.4s ease, filter 0.4s ease;
}
.img-hover:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

/* Dan-grade gold accent */
.dan-gold {
  color: var(--brand-gold);
}

/* Print styles */
@media print {
  .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Dynamic store / grading / events pages (.preview-store)
   Migrated from the old preview folder's inline styles. Scoped under
   .preview-store so they only affect those pages. The WordPress-chrome-only
   selectors (.primary-menu, .footer-social, .to-the-top, .rl-lazyload …) were
   dropped — those elements no longer exist now the pages use the site header.
   ========================================================================== */
.preview-store{color:#e8e8e8}
.preview-store .wrap{max-width:1100px;margin:0 auto;padding:0 24px}
.preview-store main{flex:1 0 auto;padding:8px 0 50px}
.preview-store .ptitle{text-align:center;font-weight:800;color:#fff;background:#111111;margin:0;padding:0 20px 40px;font-size:clamp(36px,7vw,58px);line-height:1.14;letter-spacing:-.0415em}
.preview-store .hero-img{display:block;width:100%;max-height:440px;object-fit:cover;margin:0}
.preview-store p,.preview-store li,.preview-store td{color:#e3e3e3}
.preview-store h1,.preview-store h2,.preview-store h3{color:#fff}
.preview-store main a{color:#f14040}
.preview-store .muted{color:#9a9a9a}
.preview-store .banner{background:none;color:#fff;font-weight:800;font-size:clamp(20px,3vw,28px);padding:0 0 8px;margin:38px 0 22px;border:0;border-bottom:3px solid #cf2e2e;border-radius:0;letter-spacing:-.01em}
.preview-store .btn{display:inline-block;background:#f14040;color:#fff;border:0;padding:12px 22px;border-radius:2px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;font-size:13px;line-height:1.2;text-decoration:none}
.preview-store .btn:hover{background:#d83333;color:#fff;text-decoration:none}
.preview-store .btn.ghost{background:transparent;color:#fff;border:1px solid #555}
.preview-store .btn.ghost:hover{border-color:#f14040;color:#f14040}
.preview-store .btn.sm{padding:8px 13px;font-size:11px}
.preview-store .btn[disabled]{opacity:.45;cursor:not-allowed}
.preview-store .btn[disabled]:hover{background:#f14040}
.preview-store .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px}
.preview-store .pcard{background:#232323;border:1px solid #363636;color:#ededed;display:flex;flex-direction:column;border-radius:8px;overflow:hidden}
.preview-store .pcard .head{background:transparent;color:#fff;font-weight:700;text-align:center;padding:14px 12px 6px;font-size:16px}
.preview-store .pcard .img{margin:0 14px;border-radius:6px;background:#f4f4f5;display:flex;align-items:center;justify-content:center;color:#b9bdc2;height:185px;position:relative;padding:12px}
.preview-store .pcard .img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.preview-store .pcard .img .ico{font-size:42px}
.preview-store .pcard .img.noimg::after{content:"\1F94B";font-size:42px}
.preview-store .pcard .info{padding:14px;display:flex;flex-direction:column;flex:1}
.preview-store .pcard .price{font-weight:800;font-size:22px;color:#fff}
.preview-store .pcard .desc{font-size:13px;color:#b9b9b9;margin:6px 0}
.preview-store .pcard .pill{display:inline-block;font-size:11px;background:#eef1f6;color:#555;padding:2px 8px;border-radius:10px;margin-top:4px}
.preview-store .pcard select{margin-top:8px}
.preview-store .pcard .add{margin-top:12px}
.preview-store .grid-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.preview-store .tile{background:#262626;border:1px solid #333;border-radius:6px;padding:24px;display:block;color:#e8e8e8;text-decoration:none}
.preview-store .tile:hover{border-color:#f14040;text-decoration:none}
.preview-store .tile h3{margin:0 0 6px}.preview-store .tile .ico{font-size:34px}
.preview-store .price{font-weight:800;font-size:22px;color:#fff}
.preview-store label.f{display:block;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#9a9a9a;margin:12px 0 4px}
.preview-store select,.preview-store input[type=text],.preview-store input[type=email],.preview-store input[type=number],.preview-store input[type=password],.preview-store textarea{width:100%;padding:10px;border:1px solid #d0d4da;border-radius:3px;font:inherit;background:#fff;color:#1c1c1c;margin:0}
.preview-store .panel{background:#262626;border:1px solid #333;border-radius:6px;padding:20px}
.preview-store table{width:100%;border-collapse:collapse}
.preview-store th,.preview-store td{text-align:left;padding:11px 10px;border-bottom:1px solid #333;font-size:14px;vertical-align:top}
.preview-store th{font-weight:600;text-transform:uppercase;font-size:12px;letter-spacing:.04em;color:#9a9a9a}
.preview-store .sec{padding:8px 0 18px}
.preview-store .sec ul{padding-left:20px}.preview-store .sec li{margin:6px 0}
.preview-store .notice{background:#0f2a18;border:1px solid #1f6b3a;color:#bdf0cd;padding:12px 16px;border-radius:6px;margin-bottom:18px}
.preview-store .warn{background:#3a1414;border:1px solid #7a2a2a;color:#f3b8b8;padding:12px 16px;border-radius:6px;margin-bottom:18px}
.preview-store .qtybox{display:inline-flex;border:1px solid #d0d4da;border-radius:3px;overflow:hidden;background:#fff}
.preview-store .qtybox button{background:#fff;border:0;width:34px;cursor:pointer;font-size:16px;color:#1c1c1c}
.preview-store .qtybox input{width:46px;border:0;text-align:center;color:#1c1c1c}
.preview-store .intro{max-width:760px}
.preview-store .catnav{margin:10px 0 6px}
.preview-store .catnav-label{display:block;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#9a9a9a;margin-bottom:8px}
.preview-store .catlinks{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.preview-store .catlinks a{display:inline-block;background:#262626;border:1px solid #3a3a3a;color:#f1f1f1;font-weight:600;text-decoration:none;padding:7px 12px;border-radius:20px;font-size:13px;white-space:nowrap}
.preview-store .catlinks a:hover{border-color:#f14040;color:#fff;text-decoration:none}
.preview-store .catlinks .cnt{color:#9a9a9a;font-weight:400}
.preview-store .deliv{display:inline-block;font-size:11px;color:#555;background:#eef1f6;border-radius:10px;padding:2px 9px;margin:6px 0 0;width:fit-content}
.preview-store .addform{margin-top:auto}
.preview-store .addform label.f{margin:8px 0 3px}
.preview-store .qtyrow{display:flex;align-items:center;gap:10px;margin-top:10px}
.preview-store .qty-lab{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#9a9a9a}
.preview-store .addbtn{display:block;width:100%;margin-top:10px;text-align:center}
.preview-store .cart-list{display:flex;flex-direction:column;border:1px solid #333;border-radius:6px;overflow:hidden}
.preview-store .cart-row{display:flex;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid #2c2c2c;flex-wrap:wrap}
.preview-store .cart-row:last-child{border-bottom:0}
.preview-store .cart-name{flex:1;min-width:160px;font-weight:600;color:#fff}
.preview-store .cart-name .muted{font-weight:400}
.preview-store .cart-qty{display:flex;align-items:center;gap:8px}
.preview-store .cart-sub{font-weight:800;min-width:74px;text-align:right;color:#fff}
.preview-store .iconbtn{background:transparent;border:0;color:#9a9a9a;cursor:pointer;font-size:16px;padding:6px}
.preview-store .iconbtn:hover{color:#f14040}
.preview-store .cart-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;flex-wrap:wrap}
.preview-store .cart-total{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.preview-store .totline{display:flex;align-items:baseline;gap:10px}
.preview-store .totline .price{font-size:28px}
.preview-store .reassure{color:#9a9a9a;font-size:13px;margin-top:14px}
.preview-store .steps{display:flex;list-style:none;padding:0;margin:18px 0 24px;gap:8px;flex-wrap:wrap}
.preview-store .steps li{display:flex;align-items:center;gap:8px;color:#9a9a9a;font-size:13px;font-weight:600;flex:1;min-width:150px}
.preview-store .steps li span{display:inline-flex;width:26px;height:26px;border-radius:50%;background:#333;color:#cfcfcf;align-items:center;justify-content:center;font-size:13px;flex:0 0 auto}
.preview-store .steps li.active{color:#fff}
.preview-store .steps li.active span{background:#f14040;color:#fff}
.preview-store .steps li.done span{background:#2f8a4f;color:#fff}
.preview-store .bullets p{margin:.6rem 0}
.preview-store .photo-band{display:block;width:100%;height:300px;object-fit:cover;object-position:center 25%;border-radius:8px;margin:26px 0}
.preview-store .tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:14px 0}
.preview-store .tab{background:#262626;border:1px solid #3a3a3a;color:#eee;font-weight:600;padding:12px 14px;border-radius:6px;cursor:pointer;font-size:13px;font-family:inherit;text-align:center;text-transform:uppercase;letter-spacing:.02em}
.preview-store .tab:hover{border-color:#f14040}
.preview-store .tab.active{background:#f14040;border-color:#f14040;color:#fff}
.preview-store .tabpanel{display:none;background:#232323;border:1px solid #363636;border-radius:8px;padding:18px}
.preview-store .tabpanel.active{display:block}
.preview-store .gd-ages{font-size:13px;color:#cfcfcf;margin-bottom:10px}
.preview-store .gd-k{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#9a9a9a;margin-right:6px}
.preview-store .gd-when{background:#241617;border:1px solid #6a2626;border-left:5px solid #f14040;border-radius:8px;padding:15px 18px;margin:0 0 12px;display:flex;flex-direction:column;gap:10px}
.preview-store .gd-when .row{display:flex;align-items:center;gap:13px;font-weight:800;color:#fff;font-size:clamp(21px,4.8vw,27px);line-height:1.1}
.preview-store .gd-when .ic{font-size:25px;flex:0 0 auto;line-height:1}
.preview-store .gd-deadline{display:inline-block;background:#f14040;color:#fff;font-weight:700;font-size:13.5px;padding:8px 14px;border-radius:6px;margin:0 0 14px}
.preview-store .gd-note{font-weight:600;margin:6px 0}
.preview-store .belts{display:flex;flex-wrap:wrap;gap:10px 18px}
.preview-store .belt{display:inline-flex;align-items:center;gap:7px}
.preview-store .bdot{width:13px;height:13px;border-radius:50%;border:1px solid rgba(255,255,255,.25);display:inline-block;flex:0 0 auto}
.preview-store .price-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.preview-store .price-card{background:#232323;border:1px solid #363636;border-radius:8px;padding:14px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}
.preview-store .price-card .num{width:30px;height:30px;border-radius:7px;background:#f14040;color:#fff;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center}
.preview-store .price-card .who{color:#cfcfcf;font-size:12px}
.preview-store .price-card .amt{font-weight:800;font-size:22px;color:#fff}
.preview-store .fh{font-size:18px;margin:0 0 8px}
.preview-store .frow{display:flex;gap:14px;flex-wrap:wrap}
.preview-store .frow>div{flex:1;min-width:140px}
.preview-store .numpick{display:flex;gap:10px}
.preview-store .numbtn{width:54px;height:54px;border-radius:8px;background:#262626;border:1px solid #3a3a3a;color:#fff;font-size:20px;font-weight:800;cursor:pointer}
.preview-store .numbtn.active{background:#f14040;border-color:#f14040}
.preview-store .student{border-top:1px solid #333;margin-top:18px;padding-top:14px}
.preview-store .gradetime{margin-top:10px;background:#15281b;border:1px solid #2f8a4f;color:#cdebd6;padding:9px 12px;border-radius:6px;font-size:14px}
.preview-store .totbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:22px;flex-wrap:wrap}
.preview-store .totbar .price{font-size:26px}
.preview-store .rule-callout{background:#2a2118;border:1px solid #7a5a12;border-left:4px solid #f6bf26;color:#f0e6d2;padding:14px 16px;border-radius:6px;margin-bottom:18px}
.preview-store .rulegroup{margin:16px 0}
.preview-store .rulegroup h3{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#f14040;margin:0 0 8px}
.preview-store .rule{display:flex;gap:10px;align-items:flex-start;padding:7px 0}
.preview-store .rule .rmark{flex:0 0 auto}
.preview-store .rule.key{background:#231a1a;border-left:3px solid #f14040;padding:8px 12px;border-radius:4px;margin:5px 0}
.preview-store .nograde{background:#3a1414;border:1px solid #7a2a2a;border-radius:8px;padding:16px 18px;margin-top:22px}
.preview-store .nograde .ng-title{font-weight:800;color:#fff;font-size:17px;margin-bottom:8px}
.preview-store .nograde ul{margin:0;padding-left:20px}
.preview-store .nograde li{margin:6px 0;color:#f3cccc}
.preview-store .nograde .ng-foot{margin:10px 0 0;color:#f3cccc}
.preview-store .ack{display:flex;gap:12px;align-items:flex-start;background:#231a1a;border:1px solid #7a2a2a;border-radius:8px;padding:14px 16px;margin:18px 0}
.preview-store .ack input{width:20px;height:20px;flex:0 0 auto;margin-top:2px}
.preview-store .ack label{font-size:14px;color:#f0dede}
.preview-store .floating-cart{position:fixed;right:18px;bottom:18px;z-index:60;background:#f14040;color:#fff;font-weight:600;text-decoration:none;padding:12px 18px;border-radius:30px;box-shadow:0 6px 20px rgba(0,0,0,.4);font-size:15px}
.preview-store .floating-cart:hover{background:#d83333;color:#fff;text-decoration:none}
.preview-store .toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);background:#0f2a18;border:1px solid #2f8a4f;color:#d6f7e1;padding:12px 18px;border-radius:8px;z-index:70;box-shadow:0 6px 20px rgba(0,0,0,.45);font-size:14px;transition:opacity .4s,transform .4s}
.preview-store .toast.hide{opacity:0;transform:translateX(-50%) translateY(10px)}
@media(max-width:560px){
  .preview-store .price-grid{grid-template-columns:repeat(2,1fr)}
  .preview-store .tabs{grid-template-columns:1fr}
  .preview-store .cart-sub{min-width:0;text-align:left}
  .preview-store .cart-foot{flex-direction:column-reverse;align-items:stretch}
  .preview-store .cart-total{justify-content:space-between}
  .preview-store .floating-cart{left:18px;right:18px;text-align:center}
}

/* (Mobile menu modal is handled natively by the Twenty Twenty theme CSS via the
   .show-modal + .active classes our _chrome-foot.php script toggles.) */

/* ───────────────────────────────────────────────────────────────────────────
   WP-look forms — contact, waiting-list, auth/portal pages. Matches the
   Twenty-Twenty dark theme (Inter, vivid-red accents) so these pages read as
   the same site as the content/shop/grading pages, not the scrapped redesign.
   ─────────────────────────────────────────────────────────────────────────── */
.kn-form { width: 100%; max-width: 46rem; margin: 0 auto; }
.kn-form.kn-wide { max-width: 60rem; }
.kn-row { display: grid; gap: 1.1rem 1.4rem; grid-template-columns: 1fr 1fr; }
.kn-row.one { grid-template-columns: 1fr; }
@media (max-width: 600px) { .kn-row { grid-template-columns: 1fr; } }
.kn-field { margin-bottom: 1.1rem; }
.kn-field > label,
.kn-label { display: block; font-size: .82rem; font-weight: 600;
  letter-spacing: .02em; margin-bottom: .4rem; color: #e4e4e7; }
.kn-field .opt { color: #a1a1aa; font-weight: 400; text-transform: none; }
.kn-form input[type="text"],
.kn-form input[type="email"],
.kn-form input[type="tel"],
.kn-form input[type="password"],
.kn-form input[type="number"],
.kn-form input[type="date"],
.kn-form select,
.kn-form textarea {
  display: block; width: 100%; box-sizing: border-box;
  background: #1c1c1c; border: 1px solid #3f3f46; border-radius: 3px;
  color: #fafafa; padding: .7rem .85rem; font-size: 1rem;
  font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease;
}
.kn-form textarea { min-height: 9rem; resize: vertical; }
.kn-form input:focus,
.kn-form select:focus,
.kn-form textarea:focus {
  outline: none; border-color: #f14040; box-shadow: 0 0 0 1px #f14040;
}
.kn-form ::placeholder { color: #71717a; }
.kn-hint { font-size: .82rem; color: #a1a1aa; margin: .35rem 0 0; }
.kn-submit {
  display: inline-block; background: #cf2e2e; color: #fff; border: none;
  cursor: pointer; font-weight: 700; letter-spacing: .02em; font-size: 1rem;
  padding: .8rem 1.7rem; border-radius: 3px; margin-top: .4rem;
  transition: background-color .15s ease;
}
.kn-submit:hover { background: #b91c1c; color: #fff; }
.kn-notice { padding: 1rem 1.15rem; border-radius: 4px; margin: 0 0 1.6rem; }
.kn-notice p { margin: 0; }
.kn-notice .t { font-weight: 700; margin-bottom: .25rem; }
.kn-notice-ok  { background: rgba(22,101,52,.22); border: 1px solid #2f7d4f; color: #bbf7d0; }
.kn-notice-err { background: rgba(127,29,29,.28); border: 1px solid #b13b3b; color: #fecaca; }
/* contact-style details column */
.kn-cols { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .kn-cols { grid-template-columns: 1fr; } }
.kn-deflabel { color: #f14040; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .08em; margin: 1.1rem 0 .25rem; font-weight: 600; }
.kn-deflabel:first-child { margin-top: 0; }
.kn-map { margin-top: 1.6rem; border: 1px solid #3f3f46; border-radius: 4px; overflow: hidden; }
.kn-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.kn-honey { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* closures calendar list */
.kn-calendar { margin: 1.5rem auto 2rem; }
.kn-cal-month { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em;
  color: #a1a1aa; margin: 1.6rem 0 .6rem; }
.kn-cal-row { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: baseline;
  background: #1c1c1c; border: 1px solid #2e2e2e; padding: .8rem 1rem; margin-bottom: .5rem; border-radius: 3px; }
.kn-cal-title { color: #fff; font-weight: 600; }
.kn-cal-meta { color: #a1a1aa; font-size: .92rem; }
.kn-cal-empty { background: #1c1c1c; border: 1px solid #2e2e2e; border-radius: 4px;
  padding: 2.2rem 1rem; text-align: center; color: #a1a1aa; }
.kn-cal-empty p { margin: .25rem 0; }
.kn-cal-empty code { color: #f14040; }
/* button rows (404, portal links) */
.kn-btn-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }
a.kn-submit { text-decoration: none; }
.kn-btn-ghost { display: inline-block; padding: .8rem 1.6rem; border-radius: 3px;
  border: 1px solid #52525b; color: #fafafa; text-decoration: none; font-weight: 600;
  transition: border-color .15s ease, color .15s ease; }
.kn-btn-ghost:hover { border-color: #f14040; color: #f14040; }
/* lighter column heading (contact cols) — red underline accent, no full red block */
.kn-colhead { font-size: 1.5rem; line-height: 1.2; color: #fff; font-weight: 700;
  margin: 0 0 1.1rem; padding-bottom: .5rem; border-bottom: 3px solid #cf2e2e; }
/* narrow auth card (login/register/reset/etc.) */
.kn-form.kn-auth { max-width: 27rem !important; }
.kn-form.kn-auth .kn-submit { width: 100%; text-align: center; padding: .85rem 1rem; }
.kn-authlinks { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  max-width: 27rem; margin: 1.5rem auto 0; font-size: .92rem; }
.kn-authlinks a { color: #f14040; }
.kn-authlinks a.muted { color: #a1a1aa; }
.kn-lead { text-align: center; color: #a1a1aa; margin: 0 auto 1.6rem; }
/* panels + link cards (members / portal) */
.kn-panel { background: #1c1c1c; border: 1px solid #2e2e2e; border-radius: 4px; padding: 1.6rem 1.8rem; margin: 0 auto 2rem; }
.kn-panel .kn-colhead { font-size: 1.35rem; }
.kn-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem auto 2rem; }
@media (max-width: 600px) { .kn-cards { grid-template-columns: 1fr; } }
.kn-card { display: block; background: #1c1c1c; border: 1px solid #2e2e2e; border-radius: 4px;
  padding: 1.2rem 1.3rem; text-decoration: none; transition: border-color .15s ease; }
.kn-card:hover { border-color: #b91c1c; }
.kn-card strong { display: block; color: #fff; font-size: 1.05rem; }
.kn-card span { display: block; color: #a1a1aa; font-size: .92rem; margin-top: .4rem; }
/* member-admin list */
.kn-badge { display: inline-block; font-size: .72rem; border: 1px solid; border-radius: 3px;
  padding: .1rem .45rem; vertical-align: middle; margin-left: .4rem; }
.kn-memberlist { background: #1c1c1c; border: 1px solid #2e2e2e; border-radius: 4px; }
.kn-member { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border-top: 1px solid #2e2e2e; }
.kn-member:first-child { border-top: none; }
.kn-member-main { flex: 1 1 12rem; min-width: 0; }
.kn-member-name { color: #fff; font-weight: 600; }
.kn-member-email { color: #a1a1aa; font-size: .85rem; word-break: break-all; }
.kn-member-act form { margin: 0; }
/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM DESIGN SYSTEM — bold & cinematic, dark heroes + lighter content.
   NOTE: the Twenty-Twenty theme sets html font-size to 10px (62.5%), so
   1rem = 10px throughout. All sizes below are authored on that 10px base.
   Hero/band rules target the inner content article via :has(> .entry-header),
   which never matches the homepage (#post-home, no entry-header) or the outer
   wrapper article.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Site chrome: sticky translucent header, refined nav ─────────────────────*/
#site-header.header-footer-group {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 14, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
#site-header .header-inner { padding-top: 1rem; padding-bottom: 1rem; }
#site-header .site-description { color: var(--muted); }
#site-header .primary-menu > li > a { color: var(--text); font-weight: 600; transition: color .15s var(--ease); }
#site-header .primary-menu > li > a:hover,
#site-header .primary-menu .current-menu-item > a { color: var(--red-bright); }
#site-header .primary-menu ul.sub-menu {
  background: #15171b;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .6rem;
}
#site-header .primary-menu ul.sub-menu a { color: var(--soft); border-radius: 8px; }
#site-header .primary-menu ul.sub-menu a:hover { color: #fff; background: rgba(255,255,255,.05); }

#site-footer.header-footer-group { border-top: 1px solid var(--line); }
#site-footer .footer-credits, #site-footer .to-the-top { color: var(--muted); }

/* ═══ HOMEPAGE — hero + content sections (.kn-home) ══════════════════════════*/
#post-home .entry-content { max-width: none; }
.kn-home { color: var(--text); }

/* shared buttons */
.kn-home .kn-btn {
  display: inline-block; border-radius: 10px; font-weight: 700; font-size: 1.6rem;
  letter-spacing: 0.01em; padding: 1.35rem 2.6rem; text-decoration: none;
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.kn-home .kn-btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(225,29,36,.32); }
.kn-home .kn-btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 14px 38px rgba(225,29,36,.42); }
.kn-home .kn-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.kn-home .kn-btn-ghost:hover { background: #fff; color: #0b0c0e; }
.kn-home .kn-btn-line { background: transparent; color: #fff; border: 1px solid var(--line-2); }
.kn-home .kn-btn-line:hover { border-color: var(--red); color: var(--red-bright); }

/* shared section scaffolding */
.kn-home .kn-band { padding: clamp(4rem, 7vw, 7rem) 2rem; }
.kn-home .kn-band-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kn-home .kn-wrap { max-width: var(--maxw); margin: 0 auto; }
.kn-home .kn-center { text-align: center; }
.kn-home .kn-eyebrow { color: var(--red-bright); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.3rem; margin: 0 0 0.8rem; }
.kn-home .kn-h2 { color: #fff; font-weight: 800; font-size: clamp(2.8rem, 4.5vw, 4.4rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 1.6rem; }
.kn-home .kn-lede { color: var(--soft); font-size: clamp(1.7rem, 2vw, 2rem); line-height: 1.6; max-width: 62rem; margin: 0 0 2rem; }
.kn-home .kn-center .kn-lede { margin-left: auto; margin-right: auto; }

/* HERO */
.kn-home .kn-hero { position: relative; min-height: clamp(540px, 88vh, 820px); display: flex; align-items: center; overflow: hidden; }
.kn-home .kn-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.kn-home .kn-hero.hero-overlay::before {
  background: linear-gradient(180deg, rgba(11,12,14,.45) 0%, rgba(11,12,14,.5) 40%, rgba(11,12,14,.82) 100%);
  z-index: 1;
}
.kn-home .kn-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; width: 100%; }
.kn-home .kn-hero-title { color: #fff; font-weight: 800; font-size: clamp(4rem, 8vw, 7.2rem); line-height: 1; letter-spacing: -0.035em; margin: 0 0 1.4rem; text-shadow: 0 2px 34px rgba(0,0,0,.55); }
.kn-home .kn-hero-sub { color: #e9ebee; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.5; max-width: 52rem; margin: 0 0 2rem; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.kn-home .kn-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; padding: 0; margin: 0 0 2.6rem; }
.kn-home .kn-trust li { color: #dfe2e6; font-size: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.kn-home .kn-trust li:not(:last-child)::after { content: '·'; color: rgba(255,255,255,.4); margin-left: 1.4rem; }
.kn-home .kn-trust strong { color: #fff; font-weight: 800; }
.kn-home .kn-trust li:first-child strong { color: var(--gold); }
.kn-home .kn-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* HOW TO JOIN — steps */
.kn-home .kn-steps { list-style: none; counter-reset: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; padding: 0; margin: 0 0 2rem; }
.kn-home .kn-steps li { position: relative; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem 2rem 2rem; }
.kn-home .kn-step-n { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1.9rem; margin-bottom: 1.2rem; }
.kn-home .kn-steps h3 { color: #fff; font-size: 2rem; font-weight: 700; margin: 0 0 0.6rem; }
.kn-home .kn-steps p { color: var(--soft); font-size: 1.6rem; line-height: 1.55; margin: 0; }
.kn-home .kn-band-note { color: var(--muted); font-size: 1.6rem; line-height: 1.6; max-width: 64rem; margin: 0 0 2rem; }
.kn-home .kn-band-cta { margin-top: 0.5rem; }

/* CLASS tiles */
.kn-home .kn-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.kn-home .kn-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; aspect-ratio: 3 / 4; background: var(--panel-2); }
.kn-home .kn-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kn-home .kn-tile:hover img { transform: scale(1.06); }
.kn-home .kn-tile-body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem; background: linear-gradient(180deg, rgba(11,12,14,0) 35%, rgba(11,12,14,.85) 100%); }
.kn-home .kn-tile-age { color: var(--red-bright); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.1em; }
.kn-home .kn-tile-title { color: #fff; font-weight: 800; font-size: 2.6rem; line-height: 1.1; margin: 0.3rem 0 0.5rem; }
.kn-home .kn-tile-desc { color: #dfe2e6; font-size: 1.5rem; line-height: 1.45; }

/* WHEN & WHERE */
.kn-home .kn-where { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.kn-home .kn-where-text p { color: var(--soft); font-size: 1.7rem; line-height: 1.6; margin: 0 0 1.4rem; }
.kn-home .kn-addr { color: var(--text); }
.kn-home .kn-addr strong { color: #fff; }
.kn-home .kn-where-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.kn-home .kn-where-map iframe { width: 100%; height: 360px; display: block; filter: grayscale(.3) contrast(1.05); }

/* WHY US */
.kn-home .kn-why { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.kn-home .kn-why li { display: flex; gap: 1.1rem; }
.kn-home .kn-why-ic { flex: 0 0 auto; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: rgba(225,29,36,.15); color: var(--red-bright); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; }
.kn-home .kn-why strong { color: #fff; font-size: 1.75rem; display: block; margin-bottom: 0.3rem; }
.kn-home .kn-why p { color: var(--soft); font-size: 1.5rem; line-height: 1.5; margin: 0; }

/* REVIEWS */
.kn-home .kn-home-reviews { text-align: center; }
.kn-home .kn-stars { color: var(--gold); font-size: clamp(2.8rem, 5vw, 4rem); letter-spacing: 0.12em; line-height: 1; }
.kn-home .kn-rev-sum { color: var(--soft); font-size: 1.8rem; margin: 1.2rem 0 2.4rem; }
.kn-home .kn-rev-sum strong { color: #fff; }
.kn-home .kn-rev-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.kn-home .kn-rev-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; min-width: 22rem; padding: 2.2rem 2.6rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease); }
.kn-home .kn-rev-card:hover { border-color: var(--red); background: var(--panel-3); transform: translateY(-3px); }
.kn-home .kn-rev-src { color: #fff; font-weight: 700; font-size: 1.9rem; }
.kn-home .kn-rev-stars { color: var(--gold); font-size: 1.7rem; letter-spacing: 0.1em; }
.kn-home .kn-rev-cta { color: var(--red-bright); font-weight: 600; font-size: 1.5rem; }

/* FINAL CTA */
.kn-home .kn-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(5rem, 9vw, 9rem) 2rem; display: flex; align-items: center; justify-content: center; }
.kn-home .kn-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.kn-home .kn-cta.hero-overlay::before { background: rgba(11,12,14,.74); z-index: 1; }
.kn-home .kn-cta-inner { position: relative; z-index: 2; max-width: 60rem; }
.kn-home .kn-cta-inner h2 { color: #fff; font-weight: 800; font-size: clamp(3rem, 5vw, 4.6rem); letter-spacing: -0.025em; margin: 0 0 1rem; }
.kn-home .kn-cta-inner p { color: #e9ebee; font-size: 1.9rem; line-height: 1.5; margin: 0 0 2.2rem; }

/* HOMEPAGE responsive */
@media (max-width: 900px) {
  .kn-home .kn-steps,
  .kn-home .kn-tiles,
  .kn-home .kn-why { grid-template-columns: 1fr 1fr; }
  .kn-home .kn-where { grid-template-columns: 1fr; }
  .kn-home .kn-where-map { order: -1; }
}
@media (max-width: 600px) {
  .kn-home .kn-steps,
  .kn-home .kn-tiles,
  .kn-home .kn-why { grid-template-columns: 1fr; }
  .kn-home .kn-tile { aspect-ratio: 16 / 10; }
  .kn-home .kn-trust { gap: 0.4rem 1rem; }
  .kn-home .kn-trust li:not(:last-child)::after { margin-left: 1rem; }
  .kn-home .kn-hero-cta .kn-btn,
  .kn-home .kn-band-cta .kn-btn { width: 100%; text-align: center; }
}

/* ═══ CONTENT PAGES — cinematic hero + lighter content band ══════════════════*/
article.hentry:has(> .entry-header) {
  display: grid;
  grid-template-columns: 1fr;
}
article.hentry:has(> .entry-header) > .entry-header  { grid-area: 1 / 1; }
article.hentry:has(> .entry-header) > figure.featured-media { grid-area: 1 / 1; }
article.hentry:has(> .entry-header) > .post-inner   { grid-area: 2 / 1; }
article.hentry:has(> .entry-header) > .section-inner { grid-area: 3 / 1; }

article.hentry:has(> .entry-header) > figure.featured-media {
  position: relative;
  margin: 0;
  z-index: 1;
  overflow: hidden;
  align-self: stretch;
}
article.hentry:has(> .entry-header) > figure.featured-media .featured-media-inner {
  max-width: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
article.hentry:has(> .entry-header) > figure.featured-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 58vh, 640px);
  max-height: none;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
article.hentry:has(> .entry-header) > figure.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,.28) 0%, rgba(11,12,14,.12) 42%, rgba(11,12,14,.95) 100%);
}

article.hentry:has(> .entry-header) > .entry-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 58vh, 640px);
  padding: 0;
  background: none;
  border: 0;
}
article.hentry:has(> .entry-header):not(:has(> figure.featured-media)) > .entry-header {
  min-height: clamp(240px, 34vh, 360px);
  background: radial-gradient(130% 150% at 12% 0%, #1b1e24 0%, var(--bg) 62%);
  border-bottom: 1px solid var(--line);
}
article.hentry:has(> .entry-header) > .entry-header .entry-header-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 4rem max(2rem, calc((100vw - var(--maxw)) / 2)) 3.6rem;
  text-align: left;
}
article.hentry:has(> .entry-header) > .entry-header .entry-title {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(3.6rem, 6.5vw, 6.4rem);
  line-height: 1.03;
  margin: 0;
  text-shadow: 0 2px 34px rgba(0,0,0,.5);
}

article.hentry:has(> .entry-header) > .post-inner {
  position: relative;
  z-index: 2;
  background: var(--panel);
  padding: clamp(4rem, 6vw, 7rem) max(2rem, calc((100vw - var(--maxw)) / 2));
}
article.hentry:has(> .entry-header) > .post-inner > .entry-content {
  max-width: var(--measure);
  margin: 0 auto;
}
article.hentry:has(> .entry-header) > .section-inner { background: var(--panel); }

/* ── Content typography (18px+ on the 10px rem base) ─────────────────────────*/
article.hentry:not(#post-home) .entry-content {
  font-size: 1.85rem;
  line-height: 1.75;
  color: var(--soft);
}
article.hentry:not(#post-home) .entry-content p.wp-block-paragraph {
  margin: 0 0 1.8rem;
  color: var(--soft);
  line-height: 1.75;
}
article.hentry:not(#post-home) .entry-content a { color: var(--red-bright); text-underline-offset: 3px; }
article.hentry:not(#post-home) .entry-content a:hover { color: #ff7176; }
article.hentry:not(#post-home) .entry-content strong { color: #fff; }
article.hentry:not(#post-home) .entry-content h3:not(.has-background) {
  color: #fff; font-weight: 700; font-size: 2.2rem; margin: 2.8rem 0 1rem; letter-spacing: -0.01em;
}

/* ── Section headings: red left-rule (no full-width red blocks) ──────────────*/
article.hentry:not(#post-home) .entry-content .box-header,
article.hentry:not(#post-home) .entry-content h2.has-vivid-red-background-color,
article.hentry:not(#post-home) .entry-content h3.has-vivid-red-background-color {
  background: none !important;
  background-color: transparent !important;
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  padding: 0.2rem 0 0.2rem 1.4rem !important;
  margin: 3.4rem 0 1.6rem !important;
  border: 0 !important;
  border-left: 4px solid var(--red) !important;
  border-radius: 0 !important;
  max-width: none !important;
  width: auto !important;
  position: relative;
}
article.hentry:not(#post-home) .entry-content .box-header:first-child,
article.hentry:not(#post-home) .entry-content > .box-header:first-child { margin-top: 0 !important; }

/* ── Bullet paragraphs → red chevron rows ───────────────────────────────────*/
article.hentry:not(#post-home) .entry-content p.wp-block-paragraph.kn-bullet {
  position: relative;
  padding-left: 2.6rem;
  margin: 0.7rem 0;
  line-height: 1.55;
}
article.hentry:not(#post-home) .entry-content p.wp-block-paragraph.kn-bullet::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.52em;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2.5px solid var(--red);
  border-top: 2.5px solid var(--red);
  transform: rotate(45deg);
}
article.hentry:not(#post-home) .entry-content .wp-block-column p.wp-block-paragraph.kn-bullet { margin: 0.5rem 0; }

article.hentry:not(#post-home) .entry-content .wp-block-columns {
  display: flex;
  gap: 2.4rem;
  margin: 1.6rem 0 2rem;
}
@media (max-width: 700px) {
  article.hentry:not(#post-home) .entry-content .wp-block-columns { flex-direction: column; gap: 0; }
}

/* ── FAQ accordion ──────────────────────────────────────────────────────────*/
article.hentry:not(#post-home) .entry-content .kn-faq { max-width: var(--measure); margin: 0.5rem auto 0; }
article.hentry:not(#post-home) .entry-content .kn-faq-item { border-bottom: 1px solid var(--line); }
article.hentry:not(#post-home) .entry-content .kn-faq-item:first-child { border-top: 1px solid var(--line); }
article.hentry:not(#post-home) .entry-content .kn-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  width: 100%; background: none; border: 0; margin: 0; padding: 1.9rem 0;
  color: #fff; font-family: inherit; font-weight: 700;
  font-size: clamp(1.9rem, 2.4vw, 2.2rem); letter-spacing: -0.015em;
  text-transform: none; text-align: left; cursor: pointer;
}
article.hentry:not(#post-home) .entry-content .kn-faq-q:hover { color: var(--red-bright); }
article.hentry:not(#post-home) .entry-content .kn-faq-q::after {
  content: ""; flex: none; width: 1rem; height: 1rem;
  border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
  transform: rotate(45deg); transition: transform 0.2s var(--ease); margin-top: -0.3em;
}
article.hentry:not(#post-home) .entry-content .kn-faq-q[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 0.25em; }
article.hentry:not(#post-home) .entry-content .kn-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
article.hentry:not(#post-home) .entry-content .kn-faq-a.is-open { max-height: 60rem; padding-bottom: 1rem; }
article.hentry:not(#post-home) .entry-content .kn-faq-a > p.wp-block-paragraph { margin: 0 0 1.2rem; max-width: none; }

/* ── Reviews / testimonials ─────────────────────────────────────────────────*/
article.hentry:not(#post-home) .entry-content .kn-reviews { max-width: var(--measure); margin: 0 auto; }
article.hentry:not(#post-home) .entry-content .kn-reviews-summary { text-align: center; margin: 0 auto 3rem; }
article.hentry:not(#post-home) .entry-content .kn-stars { color: var(--gold); font-size: clamp(2.8rem, 5vw, 4.4rem); letter-spacing: 0.12em; line-height: 1; }
article.hentry:not(#post-home) .entry-content .kn-reviews-rating { color: #fff; font-weight: 800; font-size: clamp(2.6rem, 3.5vw, 3.6rem); margin: 1rem 0 0.5rem; letter-spacing: -0.02em; }
article.hentry:not(#post-home) .entry-content .kn-reviews-count { color: var(--muted); font-size: 1.7rem; max-width: 44rem; margin: 0 auto; }
article.hentry:not(#post-home) .entry-content .kn-review-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 2.4rem 0 2rem; }
article.hentry:not(#post-home) .entry-content .kn-review-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem;
  padding: 2.8rem 1.6rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
article.hentry:not(#post-home) .entry-content .kn-review-card:hover { border-color: var(--red); background: var(--panel-3); transform: translateY(-3px); }
article.hentry:not(#post-home) .entry-content .kn-review-card img { width: 52px; height: 52px; margin-bottom: 0.6rem; }
article.hentry:not(#post-home) .entry-content .kn-review-card-src { color: #fff; font-weight: 700; font-size: 2rem; }
article.hentry:not(#post-home) .entry-content .kn-review-card-meta { color: var(--gold); font-size: 1.5rem; }
article.hentry:not(#post-home) .entry-content .kn-review-card-cta { color: var(--red-bright); font-weight: 600; font-size: 1.5rem; margin-top: 0.6rem; }
article.hentry:not(#post-home) .entry-content .kn-reviews-foot { text-align: center; color: var(--muted); }

/* ── Pricing tiers (.rpt_* plugin markup) → premium cards ───────────────────
   Plugin ships .rpt_4_plans .rpt_plan{width:24.5%;float:left}; override so the
   grid controls layout. */
.entry-content .rpt_plans { margin: 1.6rem 0 1rem; width: 100% !important; max-width: none !important; }
.entry-content .rpt_plans > div { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.2rem; width: 100% !important; max-width: none !important; }
.entry-content .rpt_plan {
  float: none !important; width: auto !important; min-width: 0 !important; margin: 0 !important;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; display: flex; flex-direction: column; text-align: center;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.entry-content .rpt_plan:hover { transform: translateY(-3px); border-color: var(--line-2); }
.entry-content .rpt_title { background: rgba(255,255,255,.04) !important; padding: 1.2rem !important; font-weight: 700; color: #fff !important; font-size: 1.8rem !important; border-bottom: 1px solid var(--line); }
.entry-content .rpt_head { padding: 1.8rem 1rem 2rem !important; }
.entry-content .rpt_recurrence { color: var(--muted) !important; font-size: 1.3rem !important; text-transform: uppercase; letter-spacing: 0.08em; }
.entry-content .rpt_price { font-size: clamp(2.8rem, 4vw, 4.4rem) !important; font-weight: 800; color: #fff !important; line-height: 1.05; margin: 0.4rem 0 0.6rem !important; letter-spacing: -0.02em; white-space: nowrap; }
.entry-content .rpt_subtitle { font-weight: 700; font-size: 1.5rem !important; margin: 0.4rem 0; line-height: 1.3; }
.entry-content .rpt_description { color: var(--muted) !important; font-size: 1.3rem !important; padding: 0 0.6rem; line-height: 1.4; }
.entry-content .rpt_foot { display: block; height: 6px; margin-top: auto; }
@media (max-width: 620px) { .entry-content .rpt_plans > div { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ── Inline content images ──────────────────────────────────────────────────*/
article.hentry:not(#post-home) .entry-content .wp-block-image img,
article.hentry:not(#post-home) .entry-content figure:not(.featured-media) img {
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
}

/* ═══ FORMS (.kn-*) — premium refinements ════════════════════════════════════*/
.kn-form { max-width: 56rem; }
.kn-form.kn-wide { max-width: 72rem; }
.kn-form input[type="text"],
.kn-form input[type="email"],
.kn-form input[type="tel"],
.kn-form input[type="password"],
.kn-form input[type="number"],
.kn-form input[type="date"],
.kn-form select,
.kn-form textarea {
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 1.2rem 1.4rem;
  font-size: 1.7rem;
}
.kn-form input:focus, .kn-form select:focus, .kn-form textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,29,36,.25);
}
.kn-field > label, .kn-label { font-size: 1.4rem; color: var(--soft); margin-bottom: 0.6rem; }
.kn-submit {
  background: var(--red); border-radius: 9px; padding: 1.4rem 2.8rem; font-size: 1.7rem;
  box-shadow: 0 10px 28px rgba(225,29,36,.3);
  transition: background .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.kn-submit:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(225,29,36,.4); }
.kn-notice { border-radius: 10px; }
.kn-notice .t { font-size: 1.8rem; }
.kn-notice-ok  { background: rgba(22,101,52,.30); border: 1px solid #2f9d5f; color: #d4f7df; }
.kn-notice-err { background: rgba(127,29,29,.34); border: 1px solid #e0565b; color: #ffd9da; }
.kn-colhead { font-size: 2.4rem; color: #fff; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 1.4rem; padding: 0.2rem 0 0.2rem 1.4rem; border-bottom: 0; border-left: 4px solid var(--red); }
.kn-deflabel { color: var(--red-bright); font-size: 1.3rem; }
.kn-panel, .kn-card, .kn-memberlist, .kn-cal-row, .kn-cal-empty { background: var(--panel-2); border-color: var(--line); }
.kn-card { border-radius: var(--radius-sm); }
.kn-card:hover { border-color: var(--red); }
.kn-card strong { font-size: 1.9rem; }
.kn-btn-ghost { border-radius: 9px; border-color: var(--line-2); padding: 1.4rem 2.6rem; font-size: 1.6rem; }
.kn-btn-ghost:hover { border-color: var(--red); color: var(--red-bright); }
.kn-lead { font-size: 1.8rem; }

/* ═══ STORE (.preview-store) — premium refinements ═══════════════════════════*/
.preview-store .pcard { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .2s var(--ease), border-color .2s var(--ease); }
.preview-store .pcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.preview-store .tile, .preview-store .panel, .preview-store .tabpanel { background: var(--panel-2); border-color: var(--line); border-radius: var(--radius-sm); }
.preview-store .price-card { background: var(--panel-2); border-color: var(--line); }
.preview-store .ptitle { background: transparent; padding-bottom: 24px; }
.preview-store .hero-img { border-radius: 0; max-height: clamp(280px, 42vh, 460px); }
.preview-store .btn { border-radius: 8px; letter-spacing: .05em; }
.preview-store .floating-cart { border-radius: 30px; }
.preview-store .catlinks a { border-radius: 20px; }

/* ═══ Responsive ═════════════════════════════════════════════════════════════*/
@media (max-width: 782px) {
  article.hentry:has(> .entry-header) > .entry-header .entry-header-inner { padding-left: 2rem; padding-right: 2rem; }
  article.hentry:not(#post-home) .entry-content { font-size: 1.75rem; }
}
@media (max-width: 600px) {
  article.hentry:not(#post-home) .entry-content .kn-review-cards { grid-template-columns: 1fr; }
  #post-home .wp-block-cover { padding: 2rem !important; }
}

/* Footer columns wrap nicely on small screens. */
@media (max-width: 700px) {
  .footer-widgets, .widget-area { display: block; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CRITIC FIX-PACK — corrections from the full-site critic pass.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Member/profile cards (advgb image blocks: leadership, black-belts) ──────
   The Advanced-Gutenberg plugin CSS isn't shipped, so these collapsed
   (stretched image, empty overlay, caption colliding with the next heading).
   Render them as clean photo cards with the name/role overlaid. */
article.hentry:not(#post-home) .entry-content .advgb-image-block {
  width: 100% !important; height: auto !important; margin: 0 0 0.6rem !important; max-width: none;
}
article.hentry:not(#post-home) .entry-content .advgb-image-wrapper {
  position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
}
article.hentry:not(#post-home) .entry-content img.advgb-image {
  width: 100% !important; height: clamp(280px, 42vh, 440px) !important;
  object-fit: cover; object-position: 50% 22%; display: block; border-radius: 0; box-shadow: none; margin: 0;
}
article.hentry:not(#post-home) .entry-content .advgb-image-overlay {
  position: absolute !important; inset: 0 !important; display: block !important;
  background: linear-gradient(180deg, rgba(11,12,14,0) 38%, rgba(11,12,14,.88) 100%) !important;
  opacity: 1 !important; pointer-events: none;
}
article.hentry:not(#post-home) .entry-content .advgb-image-caption-wrap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem 1.6rem; text-align: left;
}
article.hentry:not(#post-home) .entry-content .advgb-image-title {
  color: #fff !important; font-size: 2.2rem; font-weight: 800; margin: 0; line-height: 1.1; letter-spacing: -0.02em;
}
article.hentry:not(#post-home) .entry-content .advgb-image-subtitle {
  color: var(--red-bright) !important; font-weight: 700; font-size: 1.5rem; margin: 0.3rem 0 0;
}
/* the Dan-grade paragraph that follows each black-belt card reads as its record */
article.hentry:not(#post-home) .entry-content .advgb-image-block + p.wp-block-paragraph {
  margin: 0.5rem 0 2.4rem; color: var(--muted); font-size: 1.5rem; line-height: 1.7;
}

/* ── Cover panels inside content (classes page) = same cinematic treatment ───*/
article.hentry:not(#post-home) .post-inner > .entry-content:has(> .wp-block-cover) { max-width: none; }
.entry-content .wp-block-cover {
  min-height: clamp(440px, 70vh, 740px) !important;
  padding: clamp(2.6rem, 5vw, 5rem) !important;
  margin: 0 0 1.4rem !important; align-items: flex-end; overflow: hidden; border-radius: 0;
}
.entry-content .wp-block-cover__image-background { object-position: 50% 25% !important; transition: transform .7s var(--ease); }
.entry-content .wp-block-cover:hover .wp-block-cover__image-background { transform: scale(1.045); }
.entry-content .wp-block-cover__background {
  background: linear-gradient(180deg, rgba(11,12,14,.22) 0%, rgba(11,12,14,.34) 45%, rgba(11,12,14,.84) 100%) !important; opacity: 1 !important;
}
.entry-content .wp-block-cover__inner-container { width: 100%; max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.entry-content .wp-block-cover h2.wp-block-heading {
  color: #fff !important; font-weight: 800 !important; font-size: clamp(3.2rem, 5.5vw, 5.4rem) !important;
  line-height: 1.04 !important; letter-spacing: -0.03em !important; margin: 0 0 0.8rem !important;
  text-shadow: 0 2px 34px rgba(0,0,0,.55); border: 0 !important; padding: 0 !important; background: none !important;
}
.entry-content .wp-block-cover p.wp-block-paragraph {
  color: #eef0f2 !important; font-size: clamp(1.7rem, 2vw, 2.1rem) !important; line-height: 1.5; max-width: 42rem;
  margin: 0 0 2.2rem !important; text-shadow: 0 1px 14px rgba(0,0,0,.5);
}
.entry-content .wp-block-cover p.wp-block-paragraph strong { font-weight: 500; }
.entry-content .wp-block-button__link {
  background: var(--red) !important; color: #fff !important; border: 0 !important; border-radius: 8px !important;
  padding: 1.4rem 2.8rem !important; font-size: 1.45rem !important; font-weight: 700 !important; letter-spacing: 0.06em !important;
  text-transform: uppercase; box-shadow: 0 10px 30px rgba(225,29,36,.32);
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.entry-content .wp-block-button__link:hover { background: var(--red-bright) !important; transform: translateY(-2px); box-shadow: 0 14px 38px rgba(225,29,36,.42); }

/* ── Pricing tiers: adaptive count (fixes 2-plan becoming-a-member clip) + nowrap label */
.entry-content .rpt_plans > div { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
.entry-content .rpt_recurrence { white-space: nowrap; letter-spacing: 0.04em !important; font-size: 1.2rem !important; }
.entry-content .rpt_subtitle { line-height: 1.25; }

/* ── Plain headings (privacy, junior sub-headings) get the red left-rule too ─
   Exclude cover headings (.has-text-color) and the WP red box-headers. */
article.hentry:not(#post-home) .entry-content h2.wp-block-heading:not(.box-header):not(.has-text-color) {
  color: #fff !important; font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1.14;
  letter-spacing: -0.025em; padding: 0.2rem 0 0.2rem 1.4rem !important; margin: 3.4rem 0 1.6rem !important;
  border: 0 !important; border-left: 4px solid var(--red) !important; max-width: none !important;
}
article.hentry:not(#post-home) .entry-content h3.wp-block-heading:not(.has-background),
article.hentry:not(#post-home) .entry-content h4.wp-block-heading:not(.has-background) {
  color: #fff !important; font-weight: 700; font-size: 2rem; line-height: 1.2; letter-spacing: -0.015em;
  padding: 0 0 0 1.1rem; margin: 2rem 0 0.8rem; border-left: 3px solid var(--red);
}

/* ── Bullet lists → red chevrons (code-of-conduct etc.); skip form/radio lists */
article.hentry:not(#post-home) .entry-content ul.wp-block-list:not(:has(input)) { list-style: none; padding-left: 0; }
article.hentry:not(#post-home) .entry-content ul.wp-block-list:not(:has(input)) > li {
  position: relative; padding-left: 2.6rem; margin: 0.7rem 0; line-height: 1.6;
}
article.hentry:not(#post-home) .entry-content ul.wp-block-list:not(:has(input)) > li::before {
  content: ""; position: absolute; left: 0.3rem; top: 0.55em; width: 0.7rem; height: 0.7rem;
  border-right: 2.5px solid var(--red); border-top: 2.5px solid var(--red); transform: rotate(45deg);
}

/* ── Raw form inputs anywhere in content → dark premium (pink-october, usa-trip) */
article.hentry:not(#post-home) .entry-content input[type="text"],
article.hentry:not(#post-home) .entry-content input[type="email"],
article.hentry:not(#post-home) .entry-content input[type="tel"],
article.hentry:not(#post-home) .entry-content input[type="number"],
article.hentry:not(#post-home) .entry-content input[type="password"],
article.hentry:not(#post-home) .entry-content input[type="date"],
article.hentry:not(#post-home) .entry-content select,
article.hentry:not(#post-home) .entry-content textarea {
  background: var(--panel-2) !important; border: 1px solid var(--line-2) !important; border-radius: 9px !important;
  color: var(--text) !important; padding: 1.1rem 1.3rem !important; font-size: 1.6rem !important;
  max-width: 100%; box-sizing: border-box;
}
article.hentry:not(#post-home) .entry-content input:focus,
article.hentry:not(#post-home) .entry-content select:focus,
article.hentry:not(#post-home) .entry-content textarea:focus {
  outline: none; border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(225,29,36,.25) !important;
}
/* radio/checkbox option lists: tidy inline, kill stray disc bullets + icon glyphs */
article.hentry:not(#post-home) .entry-content ul:has(> li input[type="radio"]),
article.hentry:not(#post-home) .entry-content ul:has(> li input[type="checkbox"]) { list-style: none; padding-left: 0; }
article.hentry:not(#post-home) .entry-content li:has(> input[type="radio"]),
article.hentry:not(#post-home) .entry-content li:has(> label > input) { display: flex; align-items: center; gap: 0.6rem; }
article.hentry:not(#post-home) .entry-content li::marker { content: ""; }

/* ── YouTube / video embeds: force responsive 16:9 (helpful-resources) ───────*/
article.hentry:not(#post-home) .entry-content .wp-block-embed { margin: 1.4rem 0; }
article.hentry:not(#post-home) .entry-content .wp-block-embed__wrapper { position: relative; width: 100%; }
article.hentry:not(#post-home) .entry-content .wp-block-embed iframe,
article.hentry:not(#post-home) .entry-content .wp-block-embed__wrapper iframe {
  width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; display: block; border: 0; border-radius: var(--radius-sm);
}

/* ── Auth links sit under the form, not at band edges (login/register) ───────*/
.kn-authlinks { max-width: 27rem; }

/* ── wpforms "icon choices" (pink-october belts, usa-trip options) ───────────
   FontAwesome SVGs default to black-on-dark; the plugin's card CSS isn't
   shipped. Render as clean selectable cards with red icons. */
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices {
  display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 1.2rem 0;
}
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices-item { margin: 0; }
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices-item > label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  min-width: 96px; padding: 1.4rem 1.4rem; background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease);
}
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices-item > label:hover { border-color: var(--red); background: var(--panel-3); }
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices-item > label:has(input:checked) {
  border-color: var(--red) !important; background: rgba(225,29,36,.18) !important;
}
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices-icon { display: block; line-height: 0; position: static; }
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices-icon svg { width: auto; height: 40px; fill: var(--red-bright); }
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices-icon-bg { display: none; }
article.hentry:not(#post-home) .entry-content .wpforms-icon-choices-label { color: var(--text); font-weight: 700; font-size: 1.5rem; }
article.hentry:not(#post-home) .entry-content input.wpforms-screen-reader-element { position: absolute !important; left: -9999px; width: 1px; height: 1px; }
article.hentry:not(#post-home) .entry-content .wpforms-required-label { color: var(--red-bright); }
article.hentry:not(#post-home) .entry-content legend.wpforms-field-label,
article.hentry:not(#post-home) .entry-content label.wpforms-field-label { color: #fff; font-weight: 700; font-size: 1.6rem; display: block; margin: 1.4rem 0 0.6rem; }
article.hentry:not(#post-home) .entry-content .wpforms-field { margin-bottom: 1rem; }

/* ── rpt pricing: beat the plugin's high-specificity mobile rules ─────────────
   rpt_style.min.css uses .rpt_style_basic .rpt_plan .rpt_head .rpt_price (0,4,0)
   !important at <=640px (74px, line-height 100px) which clipped multi-char
   prices. Outrank it. */
@media only screen and (max-width: 640px) {
  article.hentry .entry-content .rpt_style_basic .rpt_plan .rpt_head .rpt_price {
    font-size: clamp(2rem, 7.5vw, 3.6rem) !important; line-height: 1.1 !important; white-space: nowrap;
  }
  article.hentry .entry-content .rpt_style_basic .rpt_plan .rpt_head .rpt_subtitle { font-size: 1.4rem !important; line-height: 1.3 !important; padding: 0 0.6rem !important; }
  article.hentry .entry-content .rpt_style_basic .rpt_plan .rpt_title { font-size: 1.7rem !important; line-height: 1.25 !important; }
}
article.hentry .entry-content .rpt_style_basic .rpt_plan .rpt_head .rpt_price {
  font-size: clamp(2.6rem, 3.4vw, 4.2rem) !important; line-height: 1.05 !important;
}

/* ── Store hero (shop/grading/events/etc.) → cinematic title-over-photo ───────*/
.preview-store .store-hero { position: relative; margin: 0 0 clamp(2.4rem, 4vw, 3.6rem); }
.preview-store .store-hero.has-img { overflow: hidden; }
.preview-store .store-hero .hero-img {
  display: block; width: 100%; height: clamp(300px, 48vh, 540px);
  object-fit: cover; object-position: center 30%; max-height: none; margin: 0; border-radius: 0;
}
.preview-store .store-hero.has-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,.25) 0%, rgba(11,12,14,.12) 42%, rgba(11,12,14,.92) 100%);
}
.preview-store .store-hero .ptitle {
  position: relative; z-index: 2; text-align: left; background: none; color: #fff;
  font-weight: 800; letter-spacing: -0.03em; font-size: clamp(3.6rem, 6.5vw, 6.4rem); line-height: 1.03;
  margin: 0; padding: 4rem max(2rem, calc((100vw - var(--maxw)) / 2)) 3.6rem; text-shadow: 0 2px 34px rgba(0,0,0,.5);
}
.preview-store .store-hero.has-img .ptitle { position: absolute; left: 0; right: 0; bottom: 0; }
.preview-store .store-hero:not(.has-img) {
  background: radial-gradient(130% 150% at 12% 0%, #1b1e24 0%, var(--bg) 62%);
  border-bottom: 1px solid var(--line); min-height: clamp(220px, 32vh, 340px); display: flex; align-items: flex-end;
}

/* ── Alumni / non-stacking columns (black-belts): equal widths, stack on mobile */
article.hentry:not(#post-home) .entry-content .wp-block-columns.is-not-stacked-on-mobile { gap: 0.6rem 2rem; margin: 0.4rem 0; }
article.hentry:not(#post-home) .entry-content .wp-block-column { flex: 1; min-width: 0; }
@media (max-width: 700px) {
  article.hentry:not(#post-home) .entry-content .wp-block-columns.is-not-stacked-on-mobile { flex-direction: column !important; gap: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER REDESIGN + HERO RESIZE + SPACING  (user feedback round 2)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Logo + "Newcastle Goju-Ryu" wordmark lockup ─────────────────────────────*/
#site-header .header-inner { padding-top: 0.9rem; padding-bottom: 0.9rem; align-items: center; }
#site-header .header-titles-wrapper { margin-right: 2.4rem; max-width: none; }
#site-header .header-titles { display: flex; align-items: center; gap: 1.1rem; margin: 0; flex-wrap: nowrap; text-align: left; }
#site-header .site-logo { margin: 0 !important; }
#site-header .custom-logo { height: 52px !important; width: auto !important; max-height: 52px !important; display: block; }
#site-header .kn-brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.04; }
#site-header .kn-brand-text .site-title {
  color: #fff !important; font-weight: 800; font-size: clamp(1.7rem, 1.9vw, 2.1rem);
  letter-spacing: -0.01em; text-decoration: none; margin: 0;
  font-family: "Inter var","Inter",sans-serif;
}
#site-header .kn-brand-text .site-title:hover { color: #fff !important; }
#site-header .kn-brand-text .site-description {
  color: var(--red-bright); font-size: 1.12rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; margin: 0.3rem 0 0; display: block;
}

/* ── Primary nav on one line ─────────────────────────────────────────────────*/
@media (min-width: 1000px) {
  #site-header ul.primary-menu { font-size: 1.5rem; letter-spacing: -0.005em; flex-wrap: nowrap; align-items: center; margin: 0 0 0 -1.5rem; }
  #site-header .primary-menu > li { margin: 0 0 0 1.5rem; }
}
@media (min-width: 1240px) {
  #site-header ul.primary-menu { font-size: 1.55rem; margin: 0 0 0 -1.9rem; }
  #site-header .primary-menu > li { margin: 0 0 0 1.9rem; }
}
#site-header .primary-menu > li > a { color: var(--text); font-weight: 600; white-space: nowrap; }
#site-header .primary-menu > li > a:hover,
#site-header .primary-menu .current-menu-item > a { color: var(--red-bright); }
#site-header .primary-menu li.menu-item-has-children > a { padding-right: 1.6rem; }
#site-header .primary-menu ul.sub-menu a { color: var(--soft); white-space: nowrap; }
#site-header .primary-menu ul.sub-menu a:hover { color: #fff; }

/* ── "Free Trial" → red CTA pill (menu-item-522) ─────────────────────────────*/
@media (min-width: 1000px) {
  #site-header .primary-menu > li#menu-item-522 > a {
    background: var(--red); color: #fff !important; border-radius: 8px;
    padding: 0.65rem 1.35rem; font-weight: 700; box-shadow: 0 6px 18px rgba(225,29,36,.28);
    transition: background .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
  }
  #site-header .primary-menu > li#menu-item-522 > a:hover {
    background: var(--red-bright); color: #fff !important; transform: translateY(-1px); box-shadow: 0 9px 24px rgba(225,29,36,.4);
  }
}

/* ── Hero: DEFINITE height so object-fit:cover crops. (min-height never caps a
   full-width portrait image, which is why the hero rendered ~1900px tall.) ────*/
article.hentry:has(> .entry-header) > figure.featured-media,
article.hentry:has(> .entry-header) > figure.featured-media img,
article.hentry:has(> .entry-header) > .entry-header {
  height: clamp(300px, 44vh, 430px) !important;
  min-height: 0 !important;
  max-height: clamp(300px, 44vh, 430px) !important;
}
@media (min-width: 1000px) {
  article.hentry:has(> .entry-header) > figure.featured-media,
  article.hentry:has(> .entry-header) > figure.featured-media img,
  article.hentry:has(> .entry-header) > .entry-header {
    height: clamp(380px, 46vh, 500px) !important;
    max-height: clamp(380px, 46vh, 500px) !important;
  }
}
/* default focal point: faces / upper body for the portrait photos */
article.hentry:has(> .entry-header) > figure.featured-media img { object-fit: cover !important; object-position: 50% 22%; }

/* wordmark never wraps */
#site-header .kn-brand-text .site-title { white-space: nowrap; }
#site-header .kn-brand-text .site-description { white-space: nowrap; }

/* ── Spacing below the hero + first-heading breathing room ───────────────────*/
article.hentry:has(> .entry-header) > .post-inner { padding-top: clamp(4rem, 6vw, 6rem); }
article.hentry:not(#post-home) .entry-content .box-header:first-child,
article.hentry:not(#post-home) .entry-content > .box-header:first-child { margin-top: 1.4rem !important; }

/* ═══ HEADER FIXES (round 2): logo squish, full-name wordmark, dropdown fit ═══*/
/* Logo must never shrink/squish in the flex row */
#site-header .site-logo { flex: 0 0 auto !important; margin: 0 !important; }
#site-header .custom-logo {
  flex: 0 0 auto !important; height: 52px !important; width: auto !important;
  max-width: none !important; max-height: 52px !important; object-fit: contain; display: block;
}
#site-header .header-titles-wrapper { flex: 0 1 auto; }

/* Full academy name as a 2-line wordmark + tagline (compact, never wraps mid-word) */
#site-header .kn-brand-text .site-title {
  display: block; font-size: clamp(1.45rem, 1.6vw, 1.8rem) !important; line-height: 1.1;
  white-space: nowrap;
}
#site-header .kn-brand-text .site-title .kn-wordmark-2 { display: block; }
#site-header .kn-brand-text .site-description { font-size: 1.05rem; letter-spacing: 0.16em; margin-top: 0.25rem; white-space: nowrap; }
@media (max-width: 480px) {
  /* tighten on small phones so logo + name + hamburger all fit */
  #site-header .kn-brand-text .site-title { font-size: 1.35rem !important; }
  #site-header .kn-brand-text .site-description { font-size: 0.95rem; letter-spacing: 0.12em; }
  #site-header .custom-logo { height: 46px !important; }
}

/* Desktop dropdowns: card grows to fit the longest label, items padded inside */
@media (min-width: 1000px) {
  #site-header .primary-menu ul.sub-menu {
    min-width: max-content !important; width: auto !important; padding: 0.5rem !important;
  }
  #site-header .primary-menu ul.sub-menu li { display: block; margin: 0; width: auto; }
  #site-header .primary-menu ul.sub-menu li a {
    display: block; padding: 0.55rem 1rem; border-radius: 7px; white-space: nowrap;
    color: var(--soft); margin: 0;
  }
  #site-header .primary-menu ul.sub-menu li a:hover { background: rgba(255,255,255,.06); color: #fff; }
}
