/*
Theme Name: Turtlass
Author: Masaya Sasaki
Version: 1.0.0
Text Domain: Turtlass
*/


/* ---- Base ---- */
:root{
  --container: 1100px;
  --pad: 16px;
  --green: rgb(34, 183, 86);
  --bg: #f6f7f8;
  --text: #111;
  --muted: #666;
  --card: #fff;
  --line: rgba(0,0,0,.08);
  --radius: 14px;
  --tl-text: #111;
  --tl-muted: #555;
}

*{ box-sizing:border-box; }
html{
  -webkit-text-size-adjust:100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body{
  color: var(--tl-text);
  font-weight: 400;
  line-height: 1.8;
}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  background:var(--bg);
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
}

/* ---- Header ---- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--green);
  color:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.site-header__inner{
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
}
.site-logo{ display:flex; align-items:center; gap:10px; font-weight:700; }
.site-logo img{ height:34px; width:auto; }
.menu-toggle{
  display:none;
  appearance:none;
  border:1px solid rgba(255,255,255,.35);
  background:transparent;
  color:#fff;
  border-radius:10px;
  padding:8px 10px;
  font-weight:600;
}
.global-nav ul{
  list-style:none;
  display:flex;
  gap:18px;
  padding:0;
  margin:0;
  align-items:center;
}
.global-nav a{ color:#fff; font-weight:600; font-size:14px; }

/* Mobile nav */
@media (max-width: 860px){
  .menu-toggle{ display:inline-flex; }
  .global-nav{ position:absolute; left:0; right:0; top:56px; background:var(--green); display:none; }
  .global-nav.is-open{ display:block; }
  .global-nav ul{ flex-direction:column; align-items:flex-start; padding:12px var(--pad); }
}

/* ---- Sections ---- */
.section{
  padding:42px 0;
}
.section__title{
  font-size:22px;
  margin:0 0 18px;
  text-align:center;
}
.section__title::after{
  content:"";
  display:block;
  width:44px;
  height:3px;
  background:var(--green);
  margin:10px auto 0;
  border-radius:99px;
}

/* ---- Hero ---- */
.hero{
  min-height: 56vh;
  display:grid;
  place-items:end start;
  background-size:cover;
  background-position:center;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient( to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 55% );
}
.hero__inner{
  position:relative;
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  padding: 0 0 30px;
}
.hero__catch{
  margin:0;
  color:#fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight:800;
  letter-spacing:.02em;
}

/* ---- Cards (About) ---- */
.card-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.card__thumb{ aspect-ratio: 4/3; background:#ddd; }
.card__body{ padding:14px; }
.card__title{ margin:0 0 6px; font-size:16px; }
.card__text{ margin:0; color:var(--muted); font-size:13px; }

@media (max-width: 860px){
  .card-grid{ grid-template-columns:1fr; }
}

/* ---- Tabs (Term lesson) ---- */
.tabs{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tabs__buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:12px;
  background: rgba(0,0,0,.02);
  border-bottom:1px solid var(--line);
}
.tabs__btn{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  padding:8px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
}
.tabs__btn[aria-selected="true"]{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}
.tabs__pane{
  padding:14px;
  display:grid;
  gap:12px;
}
.tabs__img img{ border-radius: 12px; }
.tabs__content{ font-size:14px; }

/* ---- Gallery (lightweight horizontal) ---- */
.gallery-rail{
  display:flex;
  gap:12px;
  overflow:auto;
  padding-bottom:8px;
  scroll-snap-type:x mandatory;
}
.gallery-rail::-webkit-scrollbar{ height:10px; }
.gallery-item{
  flex: 0 0 min(240px, 70vw);
  scroll-snap-align:start;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
}
.gallery-item img{ width:100%; height:160px; object-fit:cover; }

/* ---- CTA ---- */
.cta{
  margin: 36px 0 0;
  background:#111;
  color:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  position:relative;
}
.cta__bg{
  position:absolute; inset:0;
  opacity:.35;
  background-size:cover;
  background-position:center;
}
.cta__inner{
  position:relative;
  padding: 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.cta__title{ margin:0; font-size:18px; font-weight:800; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:#fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.15);
}
.btn:hover{ text-decoration:none; opacity:.9; }

/* ---- Footer ---- */
.site-footer{
  margin-top:48px;
  background:#222;
  color:#ddd;
}
.site-footer__inner{
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  padding:28px 0;
}
.footer-nav ul{
  list-style:none;
  padding:0;
  margin:0 0 14px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.footer-nav a{ color:#ddd; font-size:13px; }

/* ---- Hero Slider ---- */
.hero-slider{
  min-height: 56vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-slide{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1400ms ease;
}

.hero-slide::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 55%);
}

.hero-slide.is-active{
  opacity: 1;
  transform: scale(1);
}

.hero-slide .hero__inner{
  position: relative;
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  padding: 0 0 30px;
}

/* 動きが苦手な人用 */
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition:none; }
}

/* ---- Page Hero ---- */
.page-hero{
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: grid;
  place-items: end start;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,.10) 60%);
}
.page-hero__inner{
  position: relative;
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  padding: 0 0 24px;
}
.page-hero__title{
  margin:0;
  color:#fff;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: .02em;
}

/* ---- Page Layout (Main + Aside) ---- */
.page-layout{
  display:grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items:start;
}
.page-main .content-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
@media (max-width: 920px){
  .page-layout{ grid-template-columns: 1fr; }
}

/* ---- Entry (本文の最低限の整形) ---- */
.entry > *:first-child{ margin-top:0; }
.entry h2{ margin: 28px 0 10px; font-size: 20px; }
.entry h3{ margin: 22px 0 8px; font-size: 17px; }
.entry p{ margin: 0 0 14px; }
.entry ul, .entry ol{ padding-left: 1.2em; }
.entry img{ border-radius: 12px; }

/* ---- Sidebar cards ---- */
.side-links{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.side-card{
  display:block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.side-card__img img{
  width:100%;
  height:82px;
  object-fit:cover;
}
.side-card__title{
  display:block;
  padding: 12px 12px;
  font-weight: 900;
  font-size: 13px;
}

/* ---- Program page ---- */
.program-page .content-card{ padding:18px; }

.program-title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
}

.program-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.program-box{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  position: relative;
  overflow:hidden;
}
.program-box::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:6px;
  background:#999;
}
.program-box--blue::before{ background:#2b6cb0; }
.program-box--green::before{ background:#2f855a; }
.program-box--orange::before{ background:#dd6b20; }
.program-box--red::before{ background:#c53030; }

.program-box__head{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
}
.program-box__img{
  width: 220px;
  flex: 0 0 220px;
}
.program-box__img img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
@media (max-width: 760px){
  .program-box__head{ flex-direction:column; }
  .program-box__img{ width:100%; flex: 0 0 auto; }
  .program-box__img img{ height:180px; }
}

.program-box__name{
  margin:0 0 2px;
  font-size: 18px;
  font-weight: 900;
}
.program-box__label{
  margin:0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.program-meta{
  margin:0;
  padding-left: 1.1em;
  color:#333;
  font-size: 13px;
}
.program-box__body{
  margin: 10px 0 10px;
  color:#222;
  font-size: 14px;
}

.program-points{
  margin:0;
  padding-left: 1.1em;
  font-size: 13px;
  color:#222;
}
.program-points li{ margin: 4px 0; }

.venue-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 760px){
  .venue-grid{ grid-template-columns: 1fr; }
}
.venue-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.venue-card__name{
  margin:0 0 6px;
  font-size: 15px;
  font-weight: 900;
}
.venue-card__addr{ margin:0 0 6px; color:#333; font-size: 13px; }
.venue-card__note{ margin:0; color:var(--muted); font-size: 12px; }

.program-note{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* ---- Utilities ---- */
.glass{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.section-h{
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 900;
}
.section-h.center{ text-align:center; }
.center{ text-align:center; }

/* Lead box */
.lead-box{ padding:14px 16px; margin: 0 0 16px; }
.lead-box__kicker{ margin:0 0 6px; font-weight:900; color:#333; }
.lead-box__title{ margin:0; font-weight:900; font-size:16px; }

/* Hero panel (TASS page) */
.hero-panel{
  margin-top: 12px;
  max-width: 760px;
  padding: 14px 16px;
}

/* Photo grid (concept) */
.photo-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.photo-grid img{ width:100%; height:140px; object-fit:cover; border-radius: 12px; }
@media (max-width:760px){
  .photo-grid{ grid-template-columns: repeat(2,1fr); }
  .photo-grid img{ height:160px; }
}

/* Buttons */
.btn-row{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 10px;
}
.btn-outline{
  background: transparent;
  color:#111;
  border: 2px solid var(--green);
}

/* Feature blocks (freetrial) */
.center-box{ padding: 8px 0 6px; }
.feature{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:center;
  margin-top: 10px;
}
.feature--reverse .feature__img{ order: 2; }
.feature__img{
  width:100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow:hidden;
}
.feature__body{ font-size: 14px; color:#222; }
@media (max-width:760px){
  .feature{ grid-template-columns:1fr; }
  .feature--reverse .feature__img{ order: 0; }
}

/* Contact */
.contact-list{ margin: 10px 0 0; padding-left: 1.2em; }

/* Coach list */
.coach-list{ display:flex; flex-direction:column; gap: 14px; margin-top: 16px; }
.coach-card{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
}
.coach-card__img img{ width:100%; height:160px; object-fit:cover; border-radius: 12px; }
.coach-card__name{ margin:0 0 6px; font-size: 16px; font-weight: 900; }
.coach-card__sub{ margin:0 0 10px; color: var(--muted); font-size: 12px; }
.coach-card__text{ font-size: 13px; }
@media (max-width:760px){
  .coach-card{ grid-template-columns:1fr; }
  .coach-card__img img{ height:220px; }
}

/* ===== Turtlass: Page Content Components ===== */
.tl-glass{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  backdrop-filter: blur(6px);
}

.tl-lead{
  padding: 16px 18px;
  margin: 0 0 18px;
}
.tl-lead__kicker{
  margin: 0 0 6px;
  font-weight: 900;
}
.tl-lead__title{
  margin: 0;
  font-weight: 900;
  font-size: 16px;
}

.tl-section{
  margin: 26px 0 0;
}
.tl-h2{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
}
.tl-h2--center{ text-align:center; }
.tl-under{
  width: 42px;
  height: 3px;
  background: var(--green, rgb(34, 183, 86));
  border-radius: 99px;
  margin: 10px auto 0;
}
.tl-muted{ color: var(--muted, #666); }

.tl-figure{ margin: 14px 0 0; }
.tl-figure img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line, #e6e6e6);
}

.tl-photo-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.tl-photo-grid img{
  width:100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line, #e6e6e6);
}
@media (max-width: 760px){
  .tl-photo-grid{ grid-template-columns: repeat(2, 1fr); }
  .tl-photo-grid img{ height: 170px; }
}

.tl-media{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items:start;
  margin-top: 14px;
}
.tl-media img{
  width:100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line, #e6e6e6);
}
@media (max-width: 760px){
  .tl-media{ grid-template-columns: 1fr; }
  .tl-media img{ height: 240px; }
}

.tl-btnrow{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 14px;
}
.tl-btn{
  display:inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 900;
  text-decoration:none;
  background: var(--green, rgb(34, 183, 86));
  color:#fff;
  border: 2px solid var(--green, rgb(34, 183, 86));
}
.tl-btn--outline{
  background: transparent;
  color:#111;
}

/* Program cards */
.tl-program{
  display:flex;
  flex-direction:column;
  gap: 14px;
  margin-top: 12px;
}
.tl-program-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
  position:relative;
  padding: 14px;
}
.tl-program-card::before{
  content:"";
  position:absolute; left:0; top:0; bottom:0;
  width: 6px;
  background: var(--green, rgb(34, 183, 86));
}
.tl-program-card--blue::before{ background:#2b6cb0; }
.tl-program-card--green::before{ background: var(--green, rgb(34, 183, 86)); }
.tl-program-card--orange::before{ background:#dd6b20; }
.tl-program-card--red::before{ background:#c53030; }

.tl-program-head{
  display:flex;
  gap: 14px;
  justify-content:space-between;
  align-items:flex-start;
}
.tl-program-img{
  width: 220px; flex: 0 0 220px;
}
.tl-program-img img{
  width:100%; height:140px;
  object-fit:cover;
  border-radius: 12px;
  border: 1px solid var(--line, #e6e6e6);
}
@media (max-width: 760px){
  .tl-program-head{ flex-direction:column; }
  .tl-program-img{ width: 100%; flex: 0 0 auto; }
  .tl-program-img img{ height: 190px; }
}
.tl-program-name{ margin:0 0 4px; font-weight:900; font-size: 18px; }
.tl-program-meta{ margin:0; padding-left: 1.1em; font-size: 13px; }
.tl-program-points{ margin: 10px 0 0; padding-left: 1.1em; font-size: 13px; }
.tl-venue{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 760px){ .tl-venue{ grid-template-columns: 1fr; } }
.tl-venue-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 14px;
}
.tl-venue-card h3{ margin:0 0 6px; font-size: 15px; font-weight:900; }
.tl-venue-card p{ margin:0 0 6px; font-size: 13px; }
.tl-venue-card p:last-child{ margin:0; }

/* Coach blocks */
/* Legacy markup support (image directly under .tl-coach-head) */
.tl-coach-head img{
  width:100%; height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line, #e6e6e6);
}
@media (max-width:760px){
  .tl-coach-head img{ height: 240px; }
}

/* ===== TOP: Hero slider ===== */
.tl-hero{
  position: relative;
  height: min(72vh, 560px);
  overflow: hidden;
  background:#000;
}
.tl-hero__slide{
  position:absolute; inset:0;
  opacity:0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1400ms ease;
  background-size: cover;
  background-position: center;
}
.tl-hero__slide::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,.10) 60%);
}
.tl-hero__slide.is-active{ opacity:1; transform: scale(1); }

.tl-hero__inner{
  position:relative;
  width:min(var(--container, 1080px), 100% - 32px);
  margin-inline:auto;
  height:100%;
  display:flex;
  align-items:flex-end;
  padding-bottom: 28px;
}
.tl-hero__catch{
  margin:0;
  color:#fff;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: .02em;
}

.tl-hero__dots{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: 12px;
  display:flex;
  gap:8px;
  z-index: 2;
}
.tl-hero__dot{
  width: 8px; height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.45);
  border: 0;
  cursor:pointer;
}
.tl-hero__dot.is-active{
  background: rgba(255,255,255,.95);
}

/* ===== TOP: Sections ===== */
.tl-section-wrap{
  padding: 48px 0;
}
.tl-title{
  text-align:center;
  font-weight: 900;
  margin: 0;
  font-size: 18px;
}
.tl-title + .tl-under{ margin-top: 10px; }

/* ===== TOP: Term lesson tabs ===== */
.tl-tabs{
  margin-top: 18px;
}
.tl-tab-buttons{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
}
.tl-tab-btn{
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line, #e6e6e6);
  background:#fff;
  font-weight: 900;
  cursor:pointer;
}
.tl-tab-btn.is-active{
  border-color: var(--green, rgb(34, 183, 86));
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tl-tab-panels{ margin-top: 14px; }
.tl-tab-panel{ display:none; }
.tl-tab-panel.is-active{ display:block; }

.tl-term-box{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 18px;
}
.tl-term-box h3{ margin: 0 0 10px; font-weight:900; }
.tl-term-box p{ margin: 0 0 10px; }
.tl-term-classes h4{ margin: 18px 0 8px; font-weight:900; }
.tl-term-classes ul{ margin:0; padding-left: 1.1em; font-size: 13px; }

/* ===== TOP: About cards ===== */
.tl-card3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 900px){
  .tl-card3{ grid-template-columns: 1fr; }
}
.tl-card{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--line, #e6e6e6);
  background:#000;
  min-height: 210px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  text-decoration:none;
}
.tl-card__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  opacity:.92;
  transform: scale(1.02);
}
.tl-card::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.15) 60%);
  z-index:1;
}
.tl-card__body{
  position:relative;
  z-index:2;
  padding: 18px;
  color:#fff;
}
.tl-card__title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
}
.tl-card__desc{
  margin:0;
  font-size: 12px;
  opacity: .9;
}

/* ===== TOP: Gallery slider (scroll-snap) ===== */
.tl-gallery{
  margin-top: 18px;
}
.tl-gallery__viewport{
  overflow:auto;
  scroll-snap-type: x mandatory;
  display:flex;
  gap: 12px;
  padding: 6px 2px 12px;
}
.tl-gallery__item{
  flex: 0 0 78%;
  max-width: 520px;
  scroll-snap-align: center;
  border-radius: var(--radius, 16px);
  overflow:hidden;
  border: 1px solid var(--line, #e6e6e6);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  background:#fff;
}
@media (min-width: 900px){
  .tl-gallery__item{ flex-basis: 32%; }
}
.tl-gallery__item img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
}
.tl-gallery__nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  margin-top: 8px;
}
.tl-gallery__btn{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line, #e6e6e6);
  background:#fff;
  font-weight: 900;
  cursor:pointer;
}

/* ===== TOP: CTA band ===== */
.tl-cta{
  position: relative;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--line, #e6e6e6);
  min-height: 220px;
}
.tl-cta__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  filter: saturate(1.05);
}
.tl-cta::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.45);
}
.tl-cta__inner{
  position:relative;
  padding: 22px;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height: 220px;
}
.tl-cta__title{ margin:0; font-size: 26px; font-weight: 900; }
.tl-cta__text{ margin:0; opacity:.92; }

/* ===== TOP: Term cards (period) ===== */
.tl-term-card__period{
  margin: 6px 0 0;
  font-weight: 900;
  color:#111;
  font-size: 14px;
}

/* ===== TOP: Mini info strip ===== */
.tl-mini{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  align-items:center;
  padding: 14px 16px;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
@media (max-width: 760px){
  .tl-mini{ flex-direction:column; align-items:stretch; }
}
.tl-mini__title{ margin:0 0 6px; font-weight: 900; font-size: 15px; }
.tl-mini__text{ margin:0; color: var(--muted, #666); font-size: 13px; }
.tl-mini__link{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34,183,86,.45);
  text-decoration:none;
  font-weight: 900;
}

/* ===== TOP: Pricing summary ===== */
.tl-price-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .tl-price-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .tl-price-grid{ grid-template-columns: 1fr; }
}
.tl-price-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 14px;
}
.tl-price-card__title{
  margin:0 0 10px;
  font-weight: 900;
  font-size: 16px;
}
.tl-price-list{
  margin:0;
  padding-left: 1.1em;
  font-size: 13px;
}
.tl-price-list li{ margin: 6px 0; }

.tl-note-box{ padding: 14px 16px; }
.tl-note-box__title{ margin:0 0 6px; font-weight: 900; font-size: 14px; }

/* ===== TOP: Details (accordion) ===== */
.tl-details{
  margin-top: 14px;
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tl-details summary{
  cursor:pointer;
  font-weight: 900;
  list-style: none;
}
.tl-details summary::-webkit-details-marker{ display:none; }
.tl-details summary:after{
  content:"＋";
  float:right;
  color: var(--green, rgb(34, 183, 86));
  font-weight: 900;
}
.tl-details[open] summary:after{ content:"−"; }
.tl-details ul{
  margin: 10px 0 0;
  padding-left: 1.1em;
  font-size: 13px;
}

/* ===== Program Page UI ===== */
.tlp-btn-off{
  opacity:.75;
  cursor:not-allowed;
  user-select:none;
}

/* Term list */
.tlp-term-list{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 900px){
  .tlp-term-list{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .tlp-term-list{ grid-template-columns: 1fr; }
}
.tlp-term-item{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.tlp-term-item strong{ font-weight:900; }

/* Class cards */
.tlp-class-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 760px){
  .tlp-class-grid{ grid-template-columns: 1fr; }
}
.tlp-class-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tlp-class-card:hover{
  transform: translateY(-2px);
  border-color: rgba(34,183,86,.55);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}
.tlp-class-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
}
.tlp-class-title{
  margin:0;
  font-size: 17px;
  font-weight: 900;
}
.tlp-pill{
  font-size: 12px;
  font-weight: 900;
  background: rgba(34,183,86,.12);
  color:#111;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,183,86,.25);
}
.tlp-chips{ margin-top: 10px; display:flex; flex-wrap:wrap; gap:8px; }
.tlp-chip{
  font-size: 12px;
  font-weight: 800;
  color:#111;
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  padding: 4px 10px;
  border-radius: 999px;
}
.tlp-class-desc{ margin: 10px 0 0; font-size: 13px; color:#222; }
.tlp-class-link{
  margin-top: 10px;
  font-weight: 900;
  font-size: 13px;
  color: var(--green, rgb(34, 183, 86));
}

/* Pricing */
.tlp-price-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .tlp-price-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .tlp-price-grid{ grid-template-columns: 1fr; }
}
.tlp-price-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tlp-price-card h3{ margin:0 0 10px; font-weight:900; font-size: 15px; }
.tlp-price-card ul{ margin:0; padding-left: 1.1em; font-size: 13px; }
.tlp-price-card li{ margin: 6px 0; }

.tlp-note{ padding: 14px 16px; }
.tlp-note-title{ margin:0 0 6px; font-weight: 900; font-size: 14px; }

/* Details accordion */
.tlp-details{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tlp-details summary{
  cursor:pointer;
  font-weight: 900;
  list-style: none;
}
.tlp-details summary::-webkit-details-marker{ display:none; }
.tlp-details summary:after{
  content:"＋";
  float:right;
  color: var(--green, rgb(34, 183, 86));
  font-weight: 900;
}
.tlp-details[open] summary:after{ content:"−"; }
.tlp-details ul{
  margin: 10px 0 0;
  padding-left: 1.1em;
  font-size: 13px;
}

/* Detail sections */
.tlp-detail{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  margin-top: 14px;
}
.tlp-detail-head{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-bottom: 6px;
}
.tlp-detail-head h3{ margin:0; font-weight:900; font-size: 16px; }
.tlp-tags{ display:flex; flex-wrap:wrap; gap: 8px; }
.tlp-tag{
  font-size: 12px;
  font-weight: 900;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.20);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== Program: Venues (lazy maps) ===== */
.tlp-venue-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 760px){
  .tlp-venue-grid{ grid-template-columns: 1fr; }
}

.tlp-venue-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.tlp-venue-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
}
.tlp-venue-title{
  margin:0;
  font-weight: 900;
  font-size: 15px;
}

.tlp-map-btn{
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34,183,86,.45);
  background:#fff;
  font-weight: 900;
  cursor:pointer;
}
.tlp-map-btn:hover{
  border-color: rgba(34,183,86,.75);
}

.tlp-map-wrap{
  margin-top: 12px;
  display:none;
}
.tlp-venue-card.is-open .tlp-map-wrap{ display:block; }

.tlp-map-skeleton{
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--muted, #666);
  font-size: 12px;
  margin-bottom: 10px;
}

.tlp-map-iframe{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--line, #e6e6e6);
}
.tlp-map-iframe iframe{
  width:100%;
  height: 360px;
  border:0;
  display:block;
}
@media (max-width: 760px){
  .tlp-map-iframe iframe{ height: 320px; }
}


/* ===== Coach (UX/UI optimized) ===== */
.tl-coach{
  border-top: 1px solid var(--line, #e6e6e6);
  padding-top: 18px;
  margin-top: 18px;
}
.tl-coach:first-of-type{ border-top:0; padding-top:0; margin-top:0; }

.tl-coach-head{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items:start;
}
@media (max-width:760px){
  .tl-coach-head{ grid-template-columns:1fr; }
}

/* photo */
.tl-coach-photo{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--line, #e6e6e6);
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tl-coach-photo img{
  width:100%;
  height: 200px;
  object-fit: cover;
  display:block;
}
@media (max-width:760px){
  .tl-coach-photo img{ height: 240px; }
}

/* body */
.tl-coach-body{ min-width:0; }
.tl-coach-name{
  margin:0 0 10px;
  font-weight:900;
  font-size: 18px;
}

/* tags */
.tl-coach-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.tl-coach-tag{
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.20);
}

/* accordion */
.tl-coach-acc{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 12px 14px;
}
.tl-coach-acc__summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
}
.tl-coach-acc__summary::-webkit-details-marker{ display:none; }
.tl-coach-acc__summary:after{
  content:"＋";
  float:right;
  color: var(--green, rgb(34, 183, 86));
  font-weight: 900;
}
.tl-coach-acc[open] .tl-coach-acc__summary:after{ content:"−"; }

/* blocks */
.tl-coach-block{
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.tl-coach-sub{
  margin:0 0 8px;
  font-size: 13px;
  font-weight: 900;
}
.tl-coach-list{
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px;
  line-height: 1.75;
}
.tl-coach-list li{ margin: 4px 0; }

/* 置き換え推奨：2〜3ブロックでも綺麗に */
.tl-coach-grid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

/* 本文（固定ページ/投稿の中身） */
.tl-page-content,
.entry-content,
p, li{
  font-weight: 400;
  color: var(--tl-text);
}

/* 補助テキスト */
small, .tl-muted{
  color: var(--tl-muted);
  font-weight: 400;
}

/* ===== Typography tuning (make text lighter) ===== */
.section-h,
.lead-box__kicker,
.lead-box__title,
.tl-lead__kicker,
.tl-lead__title,
.tlp-class-title,
.tlp-pill,
.tlp-class-link,
.tlp-price-card h3,
.tlp-note-title,
.coach-card__name{
  font-weight: 700;
}

.global-nav a{
  font-weight: 500;
}

.tlp-chip{
  font-weight: 600;
}

.hero__catch{
  font-weight: 700;
}
/* ===== Typography tuning (override) ===== */
body{
  font-weight: 400;
}

/* 見出し・UIの「太すぎ」を抑える */
.tl-title,
.section__title,
.lead-box__title,
.tl-tab-btn,
.tl-price-card__title,
.tl-details > summary,
.tl-card__title{
  font-weight: 700;
}

/* 本文の読みやすさ */
.entry p,
.tl-muted,
.tl-price-list,
.tl-note-box{
  font-weight: 400;
}

strong, b{
  font-weight: 600;
}

/* ===== TOP: Term cards ===== */
.tl-term-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 900px){
  .tl-term-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .tl-term-grid{ grid-template-columns: 1fr; }
}

/* card base */
.tl-term-card{
  display:block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.tl-term-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  text-decoration: none; /* base a:hover underline を止める */
}
.tl-term-card:focus-visible{
  outline: 3px solid rgba(34, 183, 86, .35);
  outline-offset: 3px;
}

/* top row */
.tl-term-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.tl-ext{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* badge */
.tl-badge{
  display:inline-flex;
  align-items:center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(34, 183, 86, .12);
  color: var(--green);
}
.tl-badge--off{
  background: #f0f0f0;
  color: #666;
}

/* title / period / cta */
.tl-term-card__title{
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
.tl-term-card__period{
  margin: 6px 0 0;
  font-weight: 600; /* ←太すぎ防止（既存の 900 を上書き） */
  color:#111;
  font-size: 14px;
}
.tl-term-card__cta{
  margin-top: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(34, 183, 86, .10);
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.tl-term-card:hover .tl-term-card__cta{
  background: rgba(34, 183, 86, .14);
}

/* disabled */
.tl-term-card--disabled{
  opacity: .72;
  cursor: not-allowed;
}
.tl-term-card--disabled:hover{
  transform:none;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.tl-term-card__cta--off{
  background: #f2f2f2;
  color: #777;
}

/* ===== Typography: boldness down (このブロック周りだけ) ===== */
#apply .tl-title{ font-weight: 700; }
#apply .tl-muted{ font-weight: 400; }

/* =========================================================
   TYPOGRAPHY RESET + UX/UI BASE
   (Paste at the very bottom of style.css)
   ========================================================= */

:root{
  --font-sans: system-ui, -apple-system, "SF Pro Text", "SF Pro Display",
               "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", "Yu Gothic", "Meiryo", Arial, sans-serif;

  /* size scale */
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-32: 32px;

  /* line heights */
  --lh-tight: 1.25;
  --lh-base:  1.65;
  --lh-loose: 1.8;

  /* letter spacing */
  --ls-tight: -0.01em;
  --ls-base:  0.01em;

  /* weights */
  --w-regular: 400;
  --w-medium:  500;
  --w-semibold:600;
  --w-bold:    700;

  /* colors */
  --text: #111;
  --muted: #5f6368;
  --heading: #0b0b0b;

  /* focus */
  --focus: rgba(34, 183, 86, .35);
}

/* 1) Global reset for readability */
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body{
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-base);
  letter-spacing: var(--ls-base);
  font-weight: var(--w-regular);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2) Headings */
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-sans);
  color: var(--heading);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  font-weight: var(--w-bold);
  margin: 0 0 0.6em;
}

h1{ font-size: clamp(26px, 3.2vw, 36px); }
h2{ font-size: clamp(20px, 2.4vw, 28px); }
h3{ font-size: clamp(18px, 2.0vw, 22px); }
h4{ font-size: 18px; }
h5{ font-size: 16px; }
h6{ font-size: 14px; }

/* 3) Body text */
p{
  margin: 0 0 1em;
}

small{
  font-size: var(--fs-13);
  color: var(--muted);
}

strong, b{
  font-weight: var(--w-semibold); /* 太字を700にしすぎない */
}

/* 4) Links */
a{
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover{
  text-decoration: none;
}

/* 5) Lists */
ul, ol{
  padding-left: 1.2em;
  margin: 0 0 1em;
}
li{
  line-height: var(--lh-base);
}

/* 6) Form elements */
button, input, select, textarea{
  font: inherit;
  color: inherit;
}
button{
  font-weight: var(--w-semibold);
}

/* 7) Focus visible (keyboard UX) */
:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* 8) Utility: muted text */
.tl-muted{
  color: var(--muted) !important;
  font-weight: var(--w-regular) !important;
}

/* 9) Fix: “too bold” common UI parts */
.global-nav a{
  font-weight: var(--w-medium) !important;
}
.tl-title,
.section__title{
  font-weight: var(--w-bold) !important;
}
.tlp-pill,
.tlp-chip,
.tl-badge{
  font-weight: var(--w-semibold) !important;
}

/* 10) Content width rhythm (読みやすい行長に寄せる)
   ※containerが既にある前提。なければ効かないだけで安全 */
.container{
  max-width: 1040px;
}

/* 11) Improve spacing inside cards (読みやすさ) */
.tl-card,
.tl-term-card,
.tlp-box,
.lead-box{
  line-height: var(--lh-base);
}

/* 12) WP default content (固定ページの本文) */
.entry-content, .entry{
  font-size: var(--fs-16);
  line-height: var(--lh-loose);
}
.entry-content p{
  margin-bottom: 1.05em;
}
/* =========================================================
   Typography Reset / Tuning (2026-01)
   目的：太すぎ問題を解消し、全ページの可読性を統一
========================================================= */

:root{
  --tl-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, Arial, sans-serif;

  --tl-fw-regular: 400;
  --tl-fw-medium: 500;
  --tl-fw-semibold: 600;
  --tl-fw-bold: 700;
  --tl-fw-extrabold: 800;
}

/* Base */
html { -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--tl-font);
  font-weight: var(--tl-fw-regular);
  line-height: 1.75;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p, li { font-weight: var(--tl-fw-regular); }
strong, b { font-weight: var(--tl-fw-semibold); }

/* Headings */
h1,h2,h3,h4,h5,h6{
  font-weight: var(--tl-fw-bold);
  line-height: 1.25;
  letter-spacing: .01em;
}

/* Global nav */
.global-nav a{
  font-weight: var(--tl-fw-medium);
}

/* ---- “font-weight:900” を全体的に抑える（見た目のゴツさ解消） ---- */
.page-hero__title,
.tl-title{
  font-weight: var(--tl-fw-extrabold);
}

.tl-term-box h3,
.tl-term-classes h4,
.tl-coach-name,
.tl-coach-acc__summary,
.tl-details summary,
.tl-note-box__title,
.tl-mini__title,
.tlp-price-card h3,
.tlp-detail-head h3,
.tlp-card h3,
.venue-card__name{
  font-weight: var(--tl-fw-bold);
}

/* アコーディオン/サマリーは少し軽く */
.tl-coach-acc__summary,
.tl-details summary{
  font-weight: var(--tl-fw-semibold);
}

/* ボタン・バッジ類（太すぎないが、押せそうに見える） */
.btn,
.tl-badge,
.tl-pill,
.tlp-chip,
.tlp-tag{
  font-weight: var(--tl-fw-semibold);
}

/* WordPress本文（固定ページ/投稿の素のHTMLでも整う） */
.entry-content,
.wp-block-post-content{
  font-size: 16px;
  line-height: 1.85;
  font-weight: var(--tl-fw-regular);
}

.entry-content h2,
.wp-block-post-content h2{
  margin: 2.0em 0 .6em;
}
.entry-content h3,
.wp-block-post-content h3{
  margin: 1.6em 0 .5em;
}
.entry-content p,
.wp-block-post-content p{
  margin: 0 0 1.1em;
}
/* =========================================================
   H2 UI unify (site-wide)
========================================================= */

/* 1) h2の基本（大きすぎない・太すぎない・余白を整える） */
h2{
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
  margin: 0 0 14px;
}

/* 2) セクション見出しとして使うときの“型”を用意 */
.tl-title,
.section-title,
.entry-content h2,
.wp-block-heading:is(h2){
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
}

/* 3) h2の直後に線を置く場合（tl-under）を統一 */
.tl-under{
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: rgb(34, 183, 86);
  margin: 10px auto 0; /* デフォは中央揃え */
}

/* 4) 左揃えのセクション（下層ページで多い）では線も左寄せにする */
.page .tl-section-wrap .tl-title,
.single .tl-section-wrap .tl-title,
.page .entry-content h2,
.single .entry-content h2{
  text-align: left;
}
.page .tl-section-wrap .tl-under,
.single .tl-section-wrap .tl-under{
  margin: 10px 0 0; /* 左寄せ */
}

/* 5) h2の上下余白（読みやすいリズムに） */
.entry-content h2,
.wp-block-post-content h2{
  margin-top: 2.2em;
  margin-bottom: .7em;
}

/* 6) “太字すぎ”対策：一部で h2 が 900 指定されていても抑える */
h2,
.tl-title,
.entry-content h2,
.wp-block-post-content h2{
  font-weight: 700 !important;
}
/* =========================================================
   SPACING SYSTEM (site-wide)
   目的：窮屈さを解消して“呼吸するレイアウト”にする
========================================================= */

:root{
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;

  --radius-card: 14px;
}

/* 1) ページ上下の余白（下層ページの圧迫感の主要因） */
main{
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

/* 2) セクションの間隔（TOP/下層共通） */
.tl-section-wrap{
  padding: var(--space-6) 0;
}

/* 3) コンテンツ幅＋左右余白（スマホ/PC共通で読みやすく） */
.container{
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 960px){
  .container{
    max-width: 1080px; /* 少し広げて詰まり感を減らす */
  }
}

/* 4) 見出し周りの余白を増やす */
.tl-title{
  margin-bottom: var(--space-2);
}
.tl-under{
  margin-top: var(--space-2);
}
.entry-content h2,
.wp-block-post-content h2{
  margin-top: 2.6em;
  margin-bottom: .9em;
}

/* 5) カード/ボックスの余白（Programの圧迫感が消える） */
.tl-term-card,
.tl-card,
.tlp-box,
.tlp-card,
.tlp-price-card,
.venue-card,
.tl-mini,
.tl-details,
.tl-note-box{
  padding: var(--space-4) !important;
  border-radius: var(--radius-card);
}

/* 6) カード内の要素間隔 */
.tl-term-card__top{ margin-bottom: var(--space-2); }
.tl-term-card__title{ margin-bottom: var(--space-1); }
.tl-term-card__period{ margin-bottom: var(--space-2); }
.tl-term-card__cta{ margin-top: var(--space-2); }

.tlp-card h3,
.tlp-detail-head h3{
  margin-bottom: var(--space-2);
}

/* 7) グリッドの隙間（詰まり感を減らす） */
.tl-term-grid{
  gap: var(--space-3) !important;
}
.tlp-grid,
.tl-grid,
.tl-about-grid{
  gap: var(--space-4) !important;
}

/* 8) 段落の行間を少しゆったり（読みやすさUP） */
.entry-content,
.wp-block-post-content{
  line-height: 1.9;
}
.entry-content p,
.wp-block-post-content p{
  margin-bottom: 1.2em;
}

/* 9) アコーディオン/注意事項などの密度を下げる */
.tl-details summary,
.tl-coach-acc__summary{
  padding: 14px 16px !important;
}
.tl-details .tl-details__body,
.tl-coach-acc__body{
  padding: 16px !important;
}

/* 10) ボタン周りの余白（押しやすさ＝UX改善） */
.btn,
.tl-btn,
.tl-mini__link{
  padding: 12px 16px;
}
/* =========================================================
   Program page: Term buttons / schedule cards fix
========================================================= */

/* 1) 申込ボタン群：スマホは2列、狭ければ1列に自動 */
.tlp-apply-actions,
.tl-apply-actions,
.tl-term-actions{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  align-items: stretch;
}
@media (max-width: 380px){
  .tlp-apply-actions,
  .tl-apply-actions,
  .tl-term-actions{
    grid-template-columns: 1fr;
  }
}

/* ボタンの中身は「中央・1行・省略」にして崩さない */
.tlp-apply-actions a,
.tl-apply-actions a,
.tl-term-actions a{
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px !important;
  border-radius: 12px;
  text-align: center;
  white-space: nowrap;      /* ここが重要：2行割れ防止 */
  overflow: hidden;
  text-overflow: ellipsis;  /* 長い場合は…で省略 */
  line-height: 1.1;
  font-size: 13px;
}

/* “↗” などが単独で折り返されないように */
.tlp-apply-actions a span,
.tl-apply-actions a span,
.tl-term-actions a span{
  white-space: nowrap;
}

/* 2) Term日程カード：スマホでは2列、狭ければ1列 */
.tlp-term-grid,
.tl-term-grid-mini,
.tl-term-mini-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
}
@media (max-width: 380px){
  .tlp-term-grid,
  .tl-term-grid-mini,
  .tl-term-mini-grid{
    grid-template-columns: 1fr;
  }
}

/* カード内：タイトルは1行、日付は2行でも整う */
.tlp-term-card,
.tl-term-mini-card{
  padding: 12px 12px !important;
  border-radius: 12px;
}
.tlp-term-card .term-name,
.tl-term-mini-card__name{
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

/* 日程は “改行OK” だが、見た目が崩れないように行間を調整 */
.tlp-term-card .term-period,
.tl-term-mini-card__period{
  line-height: 1.25;
  font-size: 12px;
  color: #555;
  word-break: keep-all;     /* 変な場所で割れにくく */
}

/* 3) “TERM4 準備中” みたいに長いラベルは小さくする */
.tlp-apply-actions a.is-disabled,
.tl-apply-actions a.is-disabled,
.tl-term-actions a.is-disabled{
  font-size: 12px;
  opacity: .7;
}

/* 4) Programページ全体：スマホでカードの横paddingを少し減らす */
@media (max-width: 480px){
  .tlp-wrap .container,
  .page-program .container{
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* Term日程：崩れ防止（カード内を1行整列） */
.tlp-term-list{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 920px){
  .tlp-term-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px){
  .tlp-term-list{ grid-template-columns: 1fr; }
}

.tlp-term-item{
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* ここが肝：Term名＋日付を同じ行に固定 */
.tlp-term-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0; /* 省略を効かせる */
}

.tlp-term-name{
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.tlp-term-date{
  font-weight: 600;
  font-size: 18px;
  color: #111;
  white-space: nowrap;      /* 勝手に改行しない */
  overflow: hidden;         /* 長い場合は */
  text-overflow: ellipsis;  /* …で省略 */
  min-width: 0;
}

/* Term4の(準備中)を少し控えめにしたい場合 */
.tlp-term-date{
  letter-spacing: .01em;
}
/* ===== Term schedule (fix: no ellipsis / no weird wrap) ===== */
.tlp-term-item{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;

  padding: 16px 18px;
  border-radius: var(--radius, 16px);
}

.tlp-term-name{
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .2px;
  white-space: nowrap;
}

.tlp-term-meta{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0; /* 念のため */
}

.tlp-term-date{
  font-weight: 600;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip !important;
}

.tlp-term-status{
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.10);
  white-space: nowrap;
}

/* 小さい画面は「Term名 → 日付」の縦積みにして崩れ防止 */
@media (max-width: 560px){
  .tlp-term-item{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tlp-term-meta{
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
/* === Program: Term日程（崩れ防止版） === */
.tlp-term-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.tlp-term-item{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);

  display:flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 92px;
}

.tlp-term-item strong{
  font-weight: 700;      /* 900→700で太すぎ防止 */
  font-size: 18px;
  line-height: 1.2;
}

.tlp-term-item .tlp-term-range{
  font-weight: 600;
  font-size: 16px;
  color:#111;
  white-space: nowrap;   /* 日付を1行で固定 */
}

.tlp-term-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.10);
  color:#111;
  white-space: nowrap;
}

.tlp-term-item--off{
  opacity: .85;
}
/* ===== Program: Square images (1:1) override ===== */

/* 早見カード（サムネ）を正方形に固定 */
.tlp-class-thumb{
  aspect-ratio: 1 / 1;
}
.tlp-class-thumb img{
  height: 100% !important;   /* 以前の固定高さを上書き */
  object-fit: cover;
  object-position: center;
}

/* 詳細（2カラム）の画像も正方形に固定 */
.tlp-detail-img{
  height: auto !important;   /* 固定高さを解除 */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

/* 2カラム左の画像列を少しだけ最適化（任意） */
.tlp-detail-grid{
  grid-template-columns: 300px 1fr;
}
@media (max-width: 860px){
  .tlp-detail-grid{ grid-template-columns: 1fr; }
}
/* ===== Program: 画像を少し小さく + 余白を増やす（上書き） ===== */

/* セクション間の余白 */
.tl-section{
  padding: 38px 0;
}

/* 各詳細カードの余白 */
.tlp-detail{
  padding: 18px;
  margin-top: 18px;
}

/* 早見カード内の画像：小さめの正方形にして中央寄せ */
.tlp-class-thumb{
  width: min(240px, 100%);
  margin: 10px auto 0;
  aspect-ratio: 1 / 1;
}
.tlp-class-thumb img{
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* 詳細（2カラム）の画像：左列を少し細くして画像も小さめに */
.tlp-detail-grid{
  grid-template-columns: 260px 1fr;
  gap: 20px;
}
.tlp-detail-img{
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  height: auto !important;
  object-fit: cover;
  object-position: center;
}

/* モバイル：画像は中央寄せで最大幅を少し抑える */
@media (max-width: 860px){
  .tlp-detail-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tlp-detail-img{
    width: min(320px, 100%);
    max-width: 320px;
    margin-inline: auto;
  }
}

/* 文章の読みやすさ（行間/段落余白） */
.tlp-detail-body p{
  margin-top: 12px;
  line-height: 1.9;
}
/* =========================
   Global fixes (safe override)
   ========================= */

/* 管理バー表示時にヘッダーが潜らないように */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px){
  .admin-bar .site-header { top: 46px; }
}

/* ヘッダー直下の「最初のブロックの余白」を除去（Heroが下がる問題の対策） */
.entry-content > :first-child,
.entry-content > .wp-block-group:first-child,
.entry-content > .wp-block-cover:first-child,
.entry-content > section:first-child{
  margin-top: 0 !important;
}

/* 念のため Hero 自体も上マージンを殺す */
.hero { margin-top: 0 !important; }
/* Term日程：崩れないカードレイアウト */
.tlp-term-list{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.tlp-term-item{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.tlp-term-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.tlp-term-name{
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.tlp-term-date{
  font-size: 16px;
  color:#111;
  font-variant-numeric: tabular-nums;
  white-space: nowrap; /* 日付の途中改行を防ぐ */
}

.tlp-term-status{
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(34,183,86,.12);
  color: var(--green, rgb(34,183,86));
}
.tlp-term-status.is-off{
  background: rgba(0,0,0,.08);
  color: #555;
}

@media (max-width: 520px){
  .tlp-term-list{ grid-template-columns: 1fr; }
  .tlp-term-name{ font-size: 16px; }
  .tlp-term-date{ font-size: 14px; }
}
/* =========================
   UX/UI Tune-up (Global)
   - mobile width
   - spacing (less cramped)
   - typography weight reset
   - term schedule fix
========================= */

/* 基本変数：全ページの余白・横幅を統一 */
:root{
  --container: 1140px;
  --pad: 22px;          /* PCの左右余白 */
  --section-y: 64px;    /* セクション上下余白 */
  --card-pad: 20px;     /* カード内余白 */
}

/* タブレット */
@media (max-width: 900px){
  :root{
    --pad: 18px;
    --section-y: 52px;
    --card-pad: 18px;
  }
}

/* スマホ：左右を“広く”、上下は“気持ち余裕” */
@media (max-width: 560px){
  :root{
    --pad: 14px;        /* ←これで全ページの横幅が窮屈になりにくい */
    --section-y: 44px;
    --card-pad: 16px;
  }
}

/* 文字の太さを全体的に落として読みやすく */
body{
  font-weight: 400;
  letter-spacing: .01em;
}

strong, b{ font-weight: 700; }
h1,h2,h3,h4{ font-weight: 700; }

/* h2の違和感軽減（全ページ統一） */
.tl-h2{
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  margin: 0 0 18px;
}

/* セクションに“空気感”を追加（圧迫感を減らす） */
.tl-section,
.tl-section-wrap{
  padding: var(--section-y) 0;
}

/* 主要カード類の内側余白を統一して窮屈さを解消 */
.lead-box,
.tl-card,
.tlp-card,
.coach-card{
  padding: var(--card-pad) !important;
}

/* ボタン：折り返しで崩れやすいので基本は折り返さない */
.tl-btn{
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.15;
}

@media (max-width: 560px){
  .tl-btn{
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* ---------- Term日程（崩れ対策） ---------- */
.tlp-term-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.tlp-term-item{
  display: flex;
  flex-direction: column;     /* 横並びをやめて崩れ防止 */
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.tlp-term-item strong{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.tlp-term-period{
  font-weight: 600;
  font-size: 14px;
  color: #111;
  line-height: 1.2;
}

.tlp-term-note{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f2f3f4;
  color: #666;
}

@media (max-width: 560px){
  .tlp-term-item{
    padding: 14px;
    min-height: 88px;
  }
  .tlp-term-item strong{ font-size: 16px; }
}

/* ✅ containerの二重余白を解消して、全ページの横幅を広げる */
.container{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* =========================================================
   UX/UI 改善：TOP「TASSについて」3カード（可読性・クリック誘導）
   ========================================================= */

/* 既存の写真全面＋文字重ね をやめて「画像→本文」の定番カードに */
.tl-card3{
  gap: 16px;
}

.tl-card{
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  min-height: unset;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* 既存の全体オーバーレイは不要（本文は画像外に出す） */
.tl-card::before{
  content: none !important;
}

/* 背景画像を “上部サムネ” に変更 */
.tl-card__bg{
  position: relative !important;
  inset: auto !important;
  width: 100%;
  aspect-ratio: 16 / 9;
  opacity: 1 !important;
  transform: none !important;
  border-bottom: 1px solid var(--line, #e6e6e6);
}

/* サムネ上の薄いグラデ（写真が明るすぎる時の安定用） */
.tl-card__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.06), rgba(0,0,0,.22));
}

/* 本文エリア（ここが読みやすさの肝） */
.tl-card__body{
  padding: 14px 16px 16px;
  color: #111;
  background: #fff;
}

/* タイトル/本文の階層 */
.tl-card__title{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}

/* 説明文は長いので3行で止めて読みやすく */
.tl-card__desc{
  margin: 0;
  color: var(--muted, #666);
  font-size: 13px;
  line-height: 1.7;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* “詳しく見る” を自動で付けてクリック誘導 */
.tl-card__body::after{
  content: "詳しく見る →";
  display: block;
  margin-top: 10px;
  font-weight: 900;
  font-size: 13px;
  color: var(--green, rgb(34, 183, 86));
}

/* ホバー/フォーカスのUX */
.tl-card:hover{
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(34,183,86,.55);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}
.tl-card:focus-visible{
  outline: 3px solid rgba(34,183,86,.55);
  outline-offset: 3px;
}


/* =========================================================
   UX/UI 改善：最下部 CTA（背景画像と文字の被り解消）
   ========================================================= */

.tl-cta{
  min-height: 260px; /* 少し余裕を持たせる */
}

/* 背景写真を少し暗くして安定化 */
.tl-cta__bg{
  filter: saturate(1.05) brightness(.75);
}

/* 既存の黒ベタを “グラデ” にして中央の文字が読みやすいゾーンを作る */
.tl-cta::before{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.70),
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.70)
  ) !important;
}

/* 文字は「半透明のパネル」に載せる（最強に読みやすい） */
.tl-cta__inner{
  width: min(560px, 100% - 24px);
  margin-inline: auto;

  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 14px;
  backdrop-filter: blur(6px);

  padding: 18px 16px;
  min-height: unset; /* パネルは中身に合わせる */
}

/* タイポ調整 + 読みやすさ補強 */
.tl-cta__title{
  font-size: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.tl-cta__text{
  font-size: 13px;
  opacity: .95;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

/* CTAボタンも少し立体感を付けて視認性UP */
.tl-cta .tl-btn{
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
@media (max-width: 560px){
  .tl-cta__title{ font-size: 20px; }
}
/* =========================================================
   追い込み調整：TASSについて（3カード）上下paddingのバランス
   ========================================================= */

/* 本文エリアの上下余白を少し詰めて、見た目の重心を整える */
.tl-card__body{
  padding: 12px 16px 14px; /* 上12 / 下14 にして下が少しだけ重くなるように */
}

/* タイトル〜本文の間隔を少し詰める */
.tl-card__title{
  margin: 0 0 4px;
}

/* 「詳しく見る」の上の間隔を少し詰める */
.tl-card__body::after{
  margin-top: 8px;
}

@media (max-width: 560px){
  .tl-card__body{
    padding: 12px 14px 14px;
  }
}


/* =========================================================
   追い込み調整：CTA（色と写真の上に載せる位置）
   ========================================================= */

/* CTAを基準に絶対配置できるように */
.tl-cta{
  position: relative;
  min-height: 260px; /* 念のため維持 */
}

/* 暗幕を “少し薄く” して写真の良さを残す */
.tl-cta::before{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.38),
    rgba(0,0,0,.16) 45%,
    rgba(0,0,0,.42)
  ) !important;
}

/* 背景写真は暗くしすぎない（今より少し見せる） */
.tl-cta__bg{
  filter: saturate(1.05) brightness(.88);
}

/* 文字パネルを「下寄せ」にして、写真の主役エリアを邪魔しない */
.tl-cta__inner{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);

  width: min(560px, 100% - 24px);
  margin: 0;

  /* 色：黒パネル→白ガラスに（読みやすく、圧迫感減） */
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  backdrop-filter: blur(10px);

  padding: 16px 16px;
  color: #111;
}

/* 文字は黒にして読みやすさMAX（白パネル前提） */
.tl-cta__title,
.tl-cta__text{
  color: #111;
  text-shadow: none;
}

/* ボタンは少し浮かせる（白パネル上でも目立つ） */
.tl-cta .tl-btn{
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

/* モバイルはさらに少し下へ */
@media (max-width: 560px){
  .tl-cta__inner{
    bottom: 12px;
    padding: 14px 14px;
  }
}
/* =========================================================
   フォトギャラリー：おしゃれ化（カード感 / 余白 / 影 / 矢印を重ねる）
   ========================================================= */

.tl-gallery{
  position: relative;
  border-radius: 18px;
}

/* 左右の“フェード”で高級感（端がスッと消える） */
.tl-gallery::before,
.tl-gallery::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 56px;
  z-index: 2;
  pointer-events:none;
}
.tl-gallery::before{
  left:0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
.tl-gallery::after{
  right:0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* 横スライドの見た目（スムーズ＆スナップ） */
.tl-gallery__viewport{
  display:flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 10px;
  padding: 10px 10px 14px;
  -webkit-overflow-scrolling: touch;

  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.07);
}

/* スクロールバーを控えめに */
.tl-gallery__viewport::-webkit-scrollbar{ height: 10px; }
.tl-gallery__viewport::-webkit-scrollbar-track{ background: transparent; }
.tl-gallery__viewport::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.10);
  border-radius: 999px;
}

/* 画像カード：角丸＋影＋ホバーで少しだけズーム */
.tl-gallery__item{
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 28px) / 3); /* PCは3枚見せ */
  border-radius: 16px;
  overflow: hidden;
  background:#f3f4f6;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tl-gallery__item img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  aspect-ratio: 4 / 3; /* おしゃれに安定する比率 */
  transition: transform .25s ease;
}
.tl-gallery__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,.14);
}
.tl-gallery__item:hover img{
  transform: scale(1.035);
}

/* モバイルは“1.2枚見せ”でスワイプ誘導 */
@media (max-width: 900px){
  .tl-gallery__item{ flex-basis: calc((100% - 14px) / 2); }
}
@media (max-width: 560px){
  .tl-gallery__item{ flex-basis: 78%; }
  .tl-gallery::before, .tl-gallery::after{ width: 42px; }
}

/* ナビ矢印：画像の上に重ねて“おしゃれ＆押しやすい” */
.tl-gallery__nav{
  position:absolute;
  inset: 0;
  display:flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  z-index: 3;
  pointer-events:none; /* ボタン以外はクリックを通す */
}

/* 既存のボタンデザインを上書き */
.tl-gallery__btn{
  pointer-events:auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.tl-gallery__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.96);
}
.tl-gallery__btn:active{
  transform: translateY(0);
}
.tl-gallery__btn:focus-visible{
  outline: 3px solid rgba(34,183,86,.45);
  outline-offset: 3px;
}

/* モバイルは矢印を少し小さく */
@media (max-width: 560px){
  .tl-gallery__btn{ width: 40px; height: 40px; }
}
/* =========================================================
   下層ページ：セクション余白の統一（UX/UI最優先）
   ※ page.php の .page-layout 配下だけに適用
========================================================= */

/* 1) 余白の基準値（ここだけ触れば全体調整できる） */
.page-layout .entry{
  --flow: clamp(14px, 1.6vw, 18px);        /* 通常の要素間 */
  --flow-lg: clamp(28px, 3.6vw, 44px);     /* セクション区切り */
  font-size: 16px;
  line-height: 1.9;
}

/* 2) Gutenberg/HTMLの「バラバラmargin」を一旦リセット */
.page-layout .entry > *{ margin: 0; }
.page-layout .entry :where(p, ul, ol, figure, blockquote, hr,
  .wp-block-image, .wp-block-gallery, .wp-block-columns,
  .wp-block-group, .wp-block-cover, .wp-block-media-text){
  margin: 0;
}

/* 3) 直下の要素はすべて一定間隔に（基本の縦リズム） */
.page-layout .entry > * + *{
  margin-top: var(--flow);
}

/* 4) 見出し＝セクション開始なので、上の余白を大きくする */
.page-layout .entry > h2{
  margin-top: var(--flow-lg);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  scroll-margin-top: 90px; /* 固定ヘッダー対策（アンカー飛びにも効く） */
}
.page-layout .entry > h3{
  margin-top: calc(var(--flow-lg) * .75);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 800;
  line-height: 1.35;
  scroll-margin-top: 90px;
}

/* 5) 見出し直後は詰める（“間延び”防止） */
.page-layout .entry > :is(h2,h3) + *{
  margin-top: 10px;
}

/* 6) 画像/ギャラリーは“セクション要素”として少しだけ存在感 */
.page-layout .entry :where(figure, .wp-block-image, .wp-block-gallery){
  margin-top: calc(var(--flow) + 4px);
}
.page-layout .entry img{
  border-radius: 14px;
}

/* 7) グループ/段組の中も同じ縦リズムに揃える */
.page-layout .entry :where(.wp-block-group__inner-container, .wp-block-column) > *{
  margin: 0;
}
.page-layout .entry :where(.wp-block-group__inner-container, .wp-block-column) > * + *{
  margin-top: var(--flow);
}

/* 8) 箇条書きの見た目 */
.page-layout .entry :where(ul, ol){
  padding-left: 1.2em;
}
.page-layout .entry li{ margin: 0; }

/* 9) content-card の内側paddingも整えて読みやすく（任意） */
.page-main .content-card{
  padding: clamp(16px, 2.2vw, 22px);
}
/* =========================================================
   下層ページ：セクション余白を自然に統一（tl-* 専用）
========================================================= */

/* 1) 下層ページ全体の縦リズム */
.page .page-main{
  --space-1: clamp(12px, 1.2vw, 16px);  /* 近い要素 */
  --space-2: clamp(18px, 1.8vw, 24px);  /* 通常 */
  --space-3: clamp(32px, 3.2vw, 44px);  /* セクション区切り */
}

/* 2) tl-section を「セクション単位」として統一 */
.page .page-main .tl-section{
  margin: 0;
  padding: var(--space-3) 0;
}

/* セクション同士の間に“呼吸”を作る（区切り感） */
.page .page-main .tl-section + .tl-section{
  border-top: 1px solid rgba(0,0,0,.06);
}

/* 3) 見出しと本文の距離（間延び防止） */
.page .page-main .tl-h2{
  margin: 0 0 10px;
  line-height: 1.25;
}
.page .page-main .tl-section p{
  margin: 0;
  line-height: 1.9;
  color: var(--text, #111);
}

/* 段落が続くときだけ適切に間隔 */
.page .page-main .tl-section p + p{
  margin-top: var(--space-1);
}

/* 4) リード（引用っぽい箱）を“最初の導入ブロック”として整える */
.page .page-main .tl-lead{
  margin: var(--space-3) 0 var(--space-2);
  padding: 16px 18px;
  border-radius: 14px;
}
.page .page-main .tl-lead__kicker{
  margin: 0 0 6px;
  opacity: .9;
}
.page .page-main .tl-lead__title{
  margin: 0;
  line-height: 1.35;
}

/* 5) メイン画像：上下の余白＆カード感 */
.page .page-main .tl-figure{
  margin: 0 0 var(--space-3);
}
.page .page-main .tl-figure img{
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0,0,0,.08);
}

/* 6) 写真グリッド：余白・角丸を統一して“おしゃれ”に */
.page .page-main .tl-photo-grid{
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.page .page-main .tl-photo-grid img{
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* モバイルは2列にして詰まり過ぎを防ぐ */
@media (max-width: 860px){
  .page .page-main .tl-photo-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* 7) 「―コンセプト―」の中央セクションを “締めブロック” に見せる */
.page .page-main .tl-h2--center{
  margin-bottom: 12px;
}
.page .page-main .tl-section .tl-under{
  margin: 0 auto var(--space-1);
}
.page .page-main .tl-section[style*="text-align:center"] p,
.page .page-main .tl-section p[style*="text-align:center"]{
  max-width: 60ch;
  margin-inline: auto;
}

/* 8) 代表/監督：メディア（画像＋文章）の余白とバランス */
.page .page-main .tl-media{
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: start;
}
.page .page-main .tl-media > img{
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
.page .page-main .tl-media p{
  margin: 0;
}

/* モバイル：縦積み＋余白 */
@media (max-width: 860px){
  .page .page-main .tl-media{
    grid-template-columns: 1fr;
  }
  .page .page-main .tl-media > img{
    max-width: 360px;
  }
}
/* =========================================================
   スローガン（tl-lead）を強く見せる：帯＋アクセント＋タイポ
========================================================= */

/* 全体：センター寄せ＋“帯”感、影と枠で存在感 */
.tl-lead{
  position: relative;
  text-align: center;
  padding: 22px 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(34,183,86,.18);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
  overflow: hidden;
}

/* 上にアクセントライン（ブランド色） */
.tl-lead::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height: 6px;
  background: var(--green, rgb(34, 183, 86));
}

/* うっすら柄（邪魔しない） */
.tl-lead::after{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,183,86,.10), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(34,183,86,.08), transparent 55%),
    radial-gradient(circle at 60% 90%, rgba(34,183,86,.06), transparent 55%);
  pointer-events:none;
}

/* 「Life is Challenge」＝ラベル化して“スローガン感” */
.tl-lead__kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.22);
  color: #0b3a1f;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 12px;
}

/* ラベルの左右に小さな点を付けて“ロゴ感” */
.tl-lead__kicker::before,
.tl-lead__kicker::after{
  content:"";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green, rgb(34, 183, 86));
  opacity: .9;
}

/* メインコピー：太く、少し大きく、行間調整 */
.tl-lead__title{
  position: relative;
  margin: 0;
  font-weight: 900;
  line-height: 1.25;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: .01em;
}

/* 重要語を強調したいなら “下線風” を入れる（自然） */
.tl-lead__title{
  text-wrap: balance;
}

/* スマホ最適化 */
@media (max-width: 560px){
  .tl-lead{
    padding: 18px 14px 16px;
    border-radius: 16px;
  }
  .tl-lead__kicker{
    font-size: 11px;
    padding: 5px 10px;
  }
}
/* =========================================================
   tl-lead：窮屈感を解消（余白・ライン・ラベル位置を調整）
========================================================= */

.tl-lead{
  /* 横幅いっぱいに詰まって見えるのを防ぐ */
  max-width: 920px;
  margin-inline: auto;

  /* 呼吸を増やす */
  padding: 28px 22px 26px;

  /* 影を少し柔らかくして圧迫感を減らす */
  box-shadow: 0 14px 42px rgba(0,0,0,.08);
}

/* 上のアクセントラインを細くして“詰まり”を軽減 */
.tl-lead::before{
  height: 3px;
  opacity: .9;
}

/* うっすら柄は控えめにしてスッキリ */
.tl-lead::after{
  opacity: .65;
}

/* kicker をタイトルから離して、上下に余白 */
.tl-lead__kicker{
  margin: 0 0 14px;  /* ←ここが効きます */
  padding: 7px 14px;
}

/* タイトルの行間と字間を少しゆったり */
.tl-lead__title{
  line-height: 1.35;
  letter-spacing: .02em;
  padding-inline: 6px; /* 文字が端に近い感を軽減 */
}

/* スマホ：さらに“ゆとり”優先（窮屈が出やすい） */
@media (max-width: 560px){
  .tl-lead{
    padding: 22px 16px 20px;
    border-radius: 16px;
  }
  .tl-lead__kicker{
    margin-bottom: 12px;
  }
  .tl-lead__title{
    font-size: 18px;   /* clampが効いてても固定で安定させたい場合 */
  }
}

/* =========================================================
   TASSとは（tass-about）専用：読みやすさ最優先UI
========================================================= */
.tass-about{
  --accent: var(--green, rgb(34, 183, 86));
  --ink: #111;
  --muted: #666;
  --line: rgba(0,0,0,.08);

  max-width: 980px;
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 28px) clamp(14px, 2vw, 18px) clamp(28px, 3.2vw, 44px);
  color: var(--ink);
}

.tass-about *{ box-sizing: border-box; }
.tass-about p{
  margin: 0;
  line-height: 1.95;
  font-size: 15px;
  color: var(--ink);
  max-width: 70ch;   /* 読みやすい行長 */
}
.tass-about .tass-about__text p + p{ margin-top: 12px; }

/* HERO */
.tass-about__hero{
  background: #fff;
  border: 1px solid rgba(34,183,86,.18);
  border-radius: 18px;
  padding: 24px 20px 22px;
  box-shadow: 0 18px 52px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(18px, 2.6vw, 28px);
}
.tass-about__hero::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 4px;
  background: var(--accent);
}
.tass-about__kicker{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.18);
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 12px;
  margin: 0 0 12px;
}
.tass-about__title{
  margin: 0 0 10px;
  line-height: 1.25;
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 32px);
  text-wrap: balance;
}
.tass-about__lead{
  color: var(--muted);
}

/* Sections */
.tass-about__section{
  padding: clamp(18px, 3vw, 34px) 0;
  border-top: 1px solid var(--line);
}
.tass-about__section:first-of-type{ border-top: 0; padding-top: 10px; }

.tass-about__h2{
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 900;
  position: relative;
  padding-left: 12px;
}
.tass-about__h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.2em;
  width: 4px;
  height: 1.1em;
  border-radius: 999px;
  background: var(--accent);
}

/* Media block (image + text) */
.tass-about__media{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: start;
}
.tass-about__figure{
  margin: 0;
}
.tass-about__figure img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0,0,0,.10);
}
.tass-about__figure figcaption{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.tass-about__note{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  color: var(--muted);
}

/* Timeline */
.tass-about__timeline{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(34,183,86,.22);
}
.tass-about__tlitem{
  margin: 0;
  padding: 12px 0 12px 16px;
  position: relative;
}
.tass-about__tlitem::before{
  content:"";
  position:absolute;
  left: -7px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--accent);
}
.tass-about__tlitem h3{
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
}
.tass-about__tlitem p{ color: var(--muted); }

/* Lesson cards */
.tass-about__cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.tass-about__card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.07);
}
.tass-about__cardtitle{
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 15px;
}
.tass-about__card p{ color: var(--muted); }

/* Background section */
.tass-about__section--bg{
  border-top: 0;
  padding: 0;
  margin: 10px 0 0;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  position: relative;
}
.tass-about__section--bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.tass-about__section--bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.65));
}
.tass-about__bginner{
  position: relative;
  padding: 22px 18px 20px;
  color: #fff;
}
.tass-about__section--bg .tass-about__h2{
  color:#fff;
  padding-left: 0;
}
.tass-about__section--bg .tass-about__h2::before{ content:none; }

.tass-about__quote{
  margin-top: 12px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}
.tass-about__quote p{ color: #fff; max-width: 72ch; }
.tass-about__quoteem{ margin-top: 10px; opacity: .95; }

/* Chips */
.tass-about__chips{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}
.tass-about__chip{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.18);
  font-weight: 800;
  font-size: 12px;
  color: #0b3a1f;
}

/* Final message */
.tass-about__final{
  margin-top: clamp(18px, 2.6vw, 28px);
  background: #fff;
  border: 1px solid rgba(34,183,86,.18);
  border-radius: 18px;
  padding: 22px 18px 18px;
  box-shadow: 0 18px 52px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
}
.tass-about__final::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,183,86,.10), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(34,183,86,.08), transparent 55%),
    radial-gradient(circle at 60% 90%, rgba(34,183,86,.06), transparent 55%);
  pointer-events:none;
}
.tass-about__finaltitle{
  position: relative;
  margin: 0 0 10px;
  font-weight: 900;
  font-size: clamp(18px, 2vw, 24px);
}
.tass-about__finaltext{
  position: relative;
  color: var(--muted);
}

/* CTA buttons */
.tass-about__cta{
  position: relative;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tass-about__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.05);
}
.tass-about__btn--ghost{
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(34,183,86,.35);
}

/* Responsive */
@media (max-width: 860px){
  .tass-about__media{
    grid-template-columns: 1fr;
  }
  .tass-about__cards{
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   tass-about 背景セクション：黒さを解消して写真を見せる
========================================================= */

/* ベースの黒を消す */
.tass-about__section--bg{
  background: transparent !important;
}

/* 背景写真レイヤー（::before）の見え方を強くする */
.tass-about__section--bg::before{
  opacity: .62 !important;                /* ←写真を見せたいので上げる */
  filter: saturate(1.08) contrast(1.03);  /* 色を少し鮮やかに */
}

/* 暗幕（::after）を弱める or 明るめにする */
.tass-about__section--bg::after{
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.08),
    rgba(0,0,0,.22)
  ) !important;
}

/* 中のテキストは“白固定”だと見づらい時があるので調整 */
.tass-about__section--bg .tass-about__h2{
  color: #fff !important;
}

/* 引用カードを少し明るくして可読性UP */
.tass-about__quote{
  background: rgba(255,255,255,.18) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}
/* =========================================================
   TASSとは：文字の太さを調整（読みやすさ最優先）
========================================================= */

/* 本文は軽めに（標準） */
.tass-about{
  font-weight: 400;
}
.tass-about p,
.tass-about li,
.tass-about__lead,
.tass-about__finaltext{
  font-weight: 400 !important;
}

/* 強調は“太字”じゃなく色と余白で見せる */
.tass-about strong{
  font-weight: 600 !important;
}

/* 見出しは少しだけ太め（太すぎ注意） */
.tass-about__title{
  font-weight: 800 !important;  /* 900→重すぎるので軽く */
}
.tass-about__h2{
  font-weight: 700 !important;  /* 900→700 */
}
.tass-about__tlitem h3,
.tass-about__cardtitle,
.tass-about__finaltitle{
  font-weight: 700 !important;
}

/* チップとキッカーは“読みやすい太さ”に */
.tass-about__kicker,
.tass-about__chip{
  font-weight: 700 !important;
}

/* タイムライン本文や説明文は少し薄めに */
.tass-about__tlitem p,
.tass-about__card p,
.tass-about__lead,
.tass-about__note{
  color: #555 !important;
}

/* 背景セクション内：白文字が太く見えるので軽くする */
.tass-about__section--bg .tass-about__quote p{
  font-weight: 400 !important;
  color: rgba(255,255,255,.92) !important;
}
.tass-about__section--bg .tass-about__quote strong{
  font-weight: 600 !important;
}

/* 背景セクション見出しも少し軽く */
.tass-about__section--bg .tass-about__h2{
  font-weight: 700 !important;
}
/* =========================================================
   Sidebar：固定CTA + 早見 + 会場 + 最新お知らせ + FAQ
========================================================= */

/* 追従（デスクトップ） */
.page-aside{
  position: sticky;
  top: 92px;               /* 固定ヘッダーがある想定。合わなければ 80〜110 で調整 */
  align-self: start;
}

/* 既存サイドカードとは別系統 */
.tass-sidebar{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.tass-sidebox{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.tass-sidebox__title{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;    /* 太すぎない */
  letter-spacing: .02em;
}

.tass-sidebox__hint{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* CTA */
.tass-sidebox--cta{
  border-color: rgba(34,183,86,.22);
}

.tass-sbtn{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: transform .12s ease, opacity .12s ease;
}
.tass-sbtn:hover{ transform: translateY(-1px); }

.tass-sbtn--primary{
  background: var(--green);
  color:#fff;
  border: 1px solid rgba(0,0,0,.06);
}
.tass-sbtn--ghost{
  margin-top: 10px;
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(34,183,86,.35);
}

/* クラス早見 */
.tass-classlist{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.tass-classlink{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(0,0,0,.02);
  text-decoration:none;
}
.tass-classlink__name{ font-weight:700; color: var(--text); }
.tass-classlink__age{ font-size:12px; color: var(--muted); }

/* 会場 */
.tass-venuelist__all{
  display:inline-block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-decoration:none;
}
.tass-venuelist{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.tass-venuelink{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  text-decoration:none;
  color: var(--text);
}
.tass-venuelink__sub{ font-size:12px; color: var(--muted); }

/* 最新お知らせ */
.tass-news{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.tass-news__link{
  display:grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items:start;
  text-decoration:none;
  color: var(--text);
}
.tass-news__date{
  font-size: 11px;
  color: var(--muted);
  padding-top: 2px;
}
.tass-news__title{
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

/* 共通リンク */
.tass-more,
.tass-faq{
  display:inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-decoration:none;
}
.tass-empty{
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* モバイル：サイドバーは下に落ちるので、CTAは画面下に固定 */
.tass-mobilebar{
  display:none;
}

@media (max-width: 920px){
  .page-aside{ position: static; }

  .tass-mobilebar{
    display:flex;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 9999;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
    backdrop-filter: blur(10px);
  }
  .tass-mobilebar__btn{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    height: 44px;
    border-radius: 12px;
    text-decoration:none;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
  }
  .tass-mobilebar__btn--primary{
    background: var(--green);
    border-color: rgba(0,0,0,.06);
    color:#fff;
  }

  /* CTAバーが本文にかぶらないように下余白（不要なら消してOK） */
  body{
    padding-bottom: 84px;
  }
}
/* ==============================
   Modal (WhatsApp Image Popup)
============================== */
.tl-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index: 99999;
}

.tl-modal.is-open{ display:block; }

.tl-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.tl-modal__panel{
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  padding: 18px;
}

.tl-modal__close{
  position:absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.tl-modal__figure{ margin:0; }
.tl-modal__img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
}

.tl-modal__cap{
  margin-top: 10px;
  text-align:center;
  font-size: 12px;
  color: #666;
}

/* スマホ：少し上に寄せる */
@media (max-width: 560px){
  .tl-modal__panel{ margin-top: 14vh; padding: 14px; }
}

/* Template migration polish */
.page-aside{
  position: sticky;
  top: 88px;
}
@media (max-width: 920px){
  .page-aside{
    position: static;
    top: auto;
  }
}

.page-main .content-card > *:first-child,
.tl-page-content > *:first-child{
  margin-top: 0;
}

.page-main .tl-section:first-child,
.page-main .tl-coach:first-child{
  padding-top: 0;
}

.tl-coach-photo--placeholder{
  display: grid;
  place-items: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(34,183,86,.16), rgba(34,183,86,.04)),
    #f2f5f3;
  border: 1px solid rgba(0,0,0,.06);
}

.tl-coach-photo--placeholder span{
  padding: 0 18px;
  text-align: center;
  color: #315240;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* UX/UI refinement: unified canvas layout */
.tl-page-shell{
  padding: clamp(30px, 5vw, 54px) 0 clamp(56px, 8vw, 88px);
}

.tl-page-shell .page-layout{
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 44px);
}

.tl-page-shell .page-main{
  min-width: 0;
}

.tl-page-shell--canvas .page-main .content-card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}


.tl-card3,
.tl-term-grid,
.tl-price-grid,
.tlp-term-list,
.tlp-class-grid,
.tlp-price-grid,
.tlp-venue-grid,
.tl-coach-grid,
.tass-sidebar{
  gap: clamp(14px, 2vw, 24px);
}

.tl-term-card,
.tl-price-card,
.tl-card,
.tlp-term-item,
.tlp-class-card,
.tlp-price-card,
.tlp-detail,
.tlp-venue-card,
.tl-coach-acc,
.tass-sidebox,
.tass-about__card,
.tl-details,
.tlp-details{
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.tl-term-card,
.tlp-term-item,
.tlp-class-card,
.tlp-price-card,
.tlp-venue-card,
.tl-coach-acc,
.tass-sidebox,
.tl-details,
.tlp-details{
  padding: clamp(14px, 2vw, 18px);
}

.tlp-detail{
  padding: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(16px, 2.4vw, 22px);
}

.tlp-detail-grid{
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}

.tlp-detail-img,
.tl-figure img,
.tl-media > img,
.tass-about__figure img{
  border-radius: 18px;
}

.tl-card__body{
  padding: 16px 18px 18px;
}

.tl-card__desc{
  -webkit-line-clamp: 4;
}

.tl-coach{
  padding-top: clamp(24px, 3vw, 34px);
  margin-top: clamp(24px, 3vw, 34px);
}

.tl-coach-head{
  gap: clamp(16px, 3vw, 24px);
}

.tl-coach-grid{
  margin-top: 14px;
}

.tass-about__section{
  padding: clamp(30px, 4vw, 46px) 0;
}

.page-aside{
  top: 104px;
}

@media (max-width: 1100px){
  .tl-page-shell .page-layout{
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 920px){
  .tl-page-shell{
    padding-bottom: 96px;
  }

  .tl-page-shell .page-layout{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tl-page-shell--canvas .page-main .content-card{
    padding: 0;
  }
}

@media (max-width: 760px){

  .tl-card__body{
    padding: 14px 14px 16px;
  }

  .tl-term-card,
  .tlp-term-item,
  .tlp-class-card,
  .tlp-price-card,
  .tlp-detail,
  .tlp-venue-card,
  .tl-coach-acc,
  .tass-sidebox,
  .tl-details,
  .tlp-details{
    border-radius: 18px;
  }

  .tl-cta{
    min-height: 300px;
  }

  .tl-cta__inner{
    width: min(100% - 20px, 520px);
  }
}

/* Sponsor page */
.tl-sponsor{
  display: grid;
  gap: clamp(34px, 5vw, 56px);
}

.tl-sponsor__hero,
.tl-sponsor__board{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(20px, 4vw, 34px);
  align-items: center;
}

.tl-sponsor__hero-copy,
.tl-sponsor__board-copy{
  display: grid;
  gap: 14px;
}

.tl-sponsor__hero-visual img,
.tl-sponsor__board-visual img{
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .10);
  border: 1px solid rgba(0,0,0,.06);
  background: #edf2ee;
}

.tl-sponsor__kicker,
.tl-sponsor__eyebrow{
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tl-sponsor__title,
.tl-sponsor__section-title{
  margin: 0;
  color: #111;
  line-height: 1.22;
}

.tl-sponsor__title{
  font-size: clamp(28px, 4vw, 44px);
}

.tl-sponsor__section-title{
  font-size: clamp(22px, 3vw, 32px);
}

.tl-sponsor__lead,
.tl-sponsor__section-copy,
.tl-sponsor__partner-text,
.tl-sponsor__plan-desc{
  margin: 0;
  color: #4b5563;
  line-height: 1.85;
}

.tl-sponsor__meta,
.tl-sponsor__actions,
.tl-sponsor__highlight-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tl-sponsor__meta-item,
.tl-sponsor__plan-state,
.tl-sponsor__partner-status,
.tl-sponsor__plan-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tl-sponsor__meta-item{
  padding: 7px 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}

.tl-sponsor__meta-item--open,
.tl-sponsor__plan-state--open{
  background: rgba(34, 183, 86, .12);
  color: #146534;
  border: 1px solid rgba(34, 183, 86, .24);
}

.tl-sponsor__section{
  display: grid;
  gap: 18px;
}

.tl-sponsor__section-head{
  display: grid;
  gap: 8px;
}

.tl-sponsor__partner-grid,
.tl-sponsor__plan-grid{
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

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

.tl-sponsor__plan-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tl-sponsor__partner-card,
.tl-sponsor__plan{
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.tl-sponsor__partner-card{
  padding: 20px;
  display: grid;
  gap: 12px;
}

.tl-sponsor__partner-top,
.tl-sponsor__plan-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tl-sponsor__partner-tier{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #667085;
}

.tl-sponsor__partner-name,
.tl-sponsor__plan-name{
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.tl-sponsor__partner-link{
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.tl-sponsor__plan-media{
  position: relative;
}

.tl-sponsor__plan-media img{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #edf2ee;
}

.tl-sponsor__plan-badge{
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  background: rgba(255,255,255,.92);
  color: #111;
  border: 1px solid rgba(0,0,0,.08);
}

.tl-sponsor__plan-body{
  padding: 20px;
  display: grid;
  gap: 14px;
}

.tl-sponsor__plan-price{
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: #667085;
}

.tl-sponsor__partner-status,
.tl-sponsor__plan-state--closed{
  padding: 8px 12px;
  background: #f3f4f6;
  color: #495464;
  border: 1px solid rgba(0,0,0,.06);
}

.tl-sponsor__benefits{
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
  color: #111;
}

.tl-sponsor__benefits li::marker{
  color: var(--green);
}

.tl-sponsor__plan--support{
  border-color: rgba(34, 183, 86, .22);
  box-shadow: 0 20px 46px rgba(34, 183, 86, .10);
}

.tl-sponsor__section--board{
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(135deg, rgba(34,183,86,.10), rgba(255,255,255,.96));
  border: 1px solid rgba(34,183,86,.12);
  border-radius: 28px;
}

.tl-sponsor__highlight-item{
  min-width: 148px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(0,0,0,.06);
  display: grid;
  gap: 4px;
}

.tl-sponsor__highlight-item strong{
  font-size: 18px;
}

.tl-sponsor__highlight-item span{
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 980px){
  .tl-sponsor__partner-grid,
  .tl-sponsor__plan-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px){
  .tl-sponsor__hero,
  .tl-sponsor__board{
    grid-template-columns: 1fr;
  }

  .tl-sponsor__hero-visual,
  .tl-sponsor__board-visual{
    order: -1;
  }
}

@media (max-width: 560px){
  .tl-sponsor__partner-card,
  .tl-sponsor__plan-body,
  .tl-sponsor__section--board{
    padding: 16px;
  }

  .tl-sponsor__partner-top,
  .tl-sponsor__plan-top{
    flex-direction: column;
  }

  .tl-sponsor__title{
    font-size: 28px;
  }
}

/* Sponsor page content tweaks */
.tl-home-sponsor-head{
  align-items: start;
}

.tl-sponsor__partner-card{
  grid-template-rows: auto auto 1fr auto;
}

.tl-sponsor__partner-link{
  margin-top: auto;
}

.tl-sponsor__plan--support{
  border-color: rgba(0,0,0,.07);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.global-nav ul,
.footer-nav ul{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Design reset: calm editorial system */
.tl-home{
  background:#fff;
  color:#182025;
}

.tl-home .tl-section-wrap{
  padding:0;
}

.tl-home .tl-btn,
.tl-home .tl-home-sheet__action,
.tl-home .tl-home-sponsor-row__link,
.tl-home .tass-sbtn,
.tl-home button,
.tl-home input[type="submit"]{
  transition:transform .2s ease, background-color .2s ease, color .2s ease, opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tl-home .tl-btn:hover,
.tl-home .tl-home-sheet__action:hover,
.tl-home .tl-home-sponsor-row__link:hover,
.tl-home .tass-sbtn:hover,
.tl-home button:hover,
.tl-home input[type="submit"]:hover{
  transform:translateY(-2px);
}

.tl-home .tl-btn:hover,
.tl-home .tl-home-sheet__action:hover,
.tl-home .tass-sbtn:hover,
.tl-home input[type="submit"]:hover{
  opacity:.94;
}

.tl-home .tl-btn--outline:hover,
.tl-home .tl-home-sponsor-row__link:hover,
.tl-home .tass-sbtn--ghost:hover{
  background:rgba(32,72,48,.08);
  color:#204830;
}

.tl-home-editorial{
  padding:clamp(60px,8vw,110px) 0;
}

.tl-home-editorial--intro,
.tl-home-editorial--sponsor,
.tl-home-editorial--cta{
  background:#fff;
}

.tl-home-editorial--apply,
.tl-home-editorial--gallery{
  background:#f6f8f6;
}

.tl-home-editorial--pricing{
  background:#fbfbf8;
}

.tl-home-kicker{
  margin:0 0 10px;
  color:var(--green);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.tl-home-heading{
  margin:0;
  color:#182025;
  font-size:clamp(30px,4vw,44px);
  line-height:1.12;
  font-weight:700;
}

.tl-home-band__text,
.tl-home-noteplain p,
.tl-home-noteplain li,
.tl-home-sheet__meta,
.tl-home-pricing-row__list{
  margin:0;
  color:#55606a;
  font-size:15px;
  line-height:1.95;
}

.tl-home .tl-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 22px;
  border-radius:999px;
  font-weight:800;
}

.tl-home .tl-btn--outline{
  background:transparent;
  color:#182025;
  border-color:rgba(24,32,37,.16);
}

.tl-home-sectionbar{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:18px 32px;
  flex-wrap:wrap;
  margin-bottom:32px;
}

.tl-home-about-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.tl-home-about-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#f6f8f6;
  border-radius:10px;
  text-decoration:none;
  color:inherit;
}

.tl-home-about-card__photo{
  margin:0;
  background:#edf2ee;
}

.tl-home-about-card__photo img{
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}

.tl-home-about-card__body{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:100%;
  padding:22px 46px 24px 22px;
}

.tl-home-about-card__body::before{
  content:"";
  display:block;
  width:40px;
  height:1px;
  background:rgba(24,32,37,.14);
}

.tl-home-about-card__title{
  margin:0;
  color:#182025;
  font-size:22px;
  line-height:1.25;
  font-weight:700;
}

.tl-home-about-card__text{
  margin:0;
  color:#55606a;
  font-size:15px;
  line-height:1.9;
}

.tl-home-about-card__arrow{
  position:absolute;
  right:18px;
  bottom:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(32,72,48,.08);
  color:#204830;
  font-size:18px;
  font-weight:700;
  line-height:1;
}

.tl-home-about-card:hover .tl-home-about-card__arrow,
.tl-home-about-card:focus-visible .tl-home-about-card__arrow{
  background:#204830;
  color:#fff;
  transform:translateX(2px);
}

.tl-home-band{
  max-width:920px;
  padding:24px 28px;
  margin-bottom:32px;
  background:#fff;
  border-radius:10px;
}

.tl-home-band__title{
  margin:0 0 8px;
  color:#182025;
  font-size:22px;
  font-weight:700;
}

.tl-home-columns{
  display:grid;
  gap:20px 24px;
}

.tl-home-columns--4{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.tl-home-sheet{
  display:grid;
  gap:14px;
  align-content:start;
  min-height:100%;
  padding:22px 22px 24px;
  background:rgba(255,255,255,.9);
  border-radius:10px;
  color:inherit;
}

.tl-home-sheet::before{
  content:"";
  display:block;
  width:42px;
  height:1px;
  background:rgba(24,32,37,.14);
}

.tl-home-sheet__top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:start;
}

.tl-home-sheet .tl-ext{
  display:none;
}

.tl-home-sheet__title{
  margin:0;
  color:#182025;
  font-size:24px;
  line-height:1.2;
  font-weight:700;
}

.tl-home-sheet__action{
  margin-top:auto;
  color:var(--green);
  font-weight:700;
}

.tl-home-sheet--muted{
  opacity:.72;
}

.tl-home-sheet__action--muted{
  color:#6b7280;
}

.tl-home-pricing-table{
  display:grid;
  gap:0;
  background:#fff;
  border-radius:10px;
  padding:0 28px;
}

.tl-home-pricing-row{
  display:grid;
  grid-template-columns:minmax(180px,.45fr) minmax(0,1fr);
  gap:24px;
  align-items:start;
  padding:24px 0;
}

.tl-home-pricing-row + .tl-home-pricing-row{
  border-top:1px solid rgba(24,32,37,.12);
}

.tl-home-pricing-row__title{
  margin:0;
  color:#182025;
  font-size:22px;
  line-height:1.35;
  font-weight:700;
}

.tl-home-pricing-row__list,
.tl-home-noteplain__list{
  margin:0;
  padding-left:1.1em;
  color:#36414a;
  line-height:1.95;
}

.tl-home-notes-grid{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:24px;
  margin-top:24px;
}

.tl-home-noteplain{
  background:rgba(255,255,255,.82);
  border-radius:10px;
  padding:22px 24px;
}

.tl-home-noteplain__title{
  margin:0 0 10px;
  color:#182025;
  font-size:18px;
  font-weight:700;
}

.tl-home-sponsor-rows{
  display:grid;
  gap:0;
  background:#f6f8f6;
  border-radius:10px;
  padding:0 28px;
}

.tl-home-sponsor-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  padding:24px 0;
}

.tl-home-sponsor-row + .tl-home-sponsor-row{
  border-top:1px solid rgba(24,32,37,.12);
}

.tl-home-sponsor-row__brand{
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:18px;
  align-items:center;
}

.tl-home-sponsor-row__logo{
  margin:0;
  width:84px;
  aspect-ratio:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
}

.tl-home-sponsor-row__logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.tl-home-sponsor-row__meta{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  color:#6b7280;
}

.tl-home-sponsor-row__meta--open{
  color:#146534;
}

.tl-home-sponsor-row__name{
  margin:4px 0 0;
  color:#182025;
  font-size:22px;
  line-height:1.35;
  font-weight:700;
}

.tl-home-sponsor-row__link,
.tl-home-sponsor-row .tl-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  text-decoration:none;
  color:var(--green);
  font-weight:700;
}

.tl-home-gallery-marquee{
  overflow:hidden;
  width:100%;
}

.tl-home-gallery-marquee__track{
  display:flex;
  align-items:stretch;
  gap:14px;
  width:max-content;
  animation:tl-home-gallery-flow 48s linear infinite;
  will-change:transform;
}

.tl-home-gallery-marquee:hover .tl-home-gallery-marquee__track{
  animation-play-state:paused;
}

.tl-home-gallery-marquee__item{
  flex:0 0 clamp(176px,18vw,232px);
  width:clamp(176px,18vw,232px);
  aspect-ratio:1 / 1;
  overflow:hidden;
  background:#edf2ee;
  border-radius:8px;
}

.tl-home-gallery-marquee__item img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

@keyframes tl-home-gallery-flow{
  from{ transform:translate3d(0,0,0); }
  to{ transform:translate3d(-50%,0,0); }
}

.tl-home-cta-panel{
  display:grid;
  grid-template-columns:minmax(320px,.95fr) minmax(0,1.05fr);
  gap:clamp(28px,5vw,52px);
  align-items:center;
  background:#f6f8f6;
  border-radius:10px;
  padding:clamp(22px,4vw,34px);
}

.tl-home-cta-panel__photo{
  margin:0;
  overflow:hidden;
  background:#edf2ee;
  border-radius:8px;
}

.tl-home-cta-panel__photo img{
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}

.tl-home-cta-panel__body{
  display:grid;
  gap:16px;
  align-content:center;
  justify-items:start;
}

.tl-btnrow--center{
  justify-content:center;
  margin-top:32px;
}

@media (max-width: 1100px){
  .tl-home-about-grid{
    gap:18px;
  }

  .tl-home-columns--4{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 860px){
  .tl-home-about-grid,
  .tl-home-notes-grid,
  .tl-home-pricing-row,
  .tl-home-cta-panel{
    grid-template-columns:1fr;
  }

  .tl-home-editorial{
    padding:56px 0;
  }

  .tl-home-sectionbar{
    align-items:start;
  }

  .tl-home .tl-btn,
  .tl-home-sheet__action{
    width:100%;
  }

  .tl-home-band__text br{
    display:none;
  }

  .tl-home-pricing-table,
  .tl-home-sponsor-rows{
    padding-inline:22px;
  }

  .tl-home-sponsor-row{
    grid-template-columns:1fr;
    align-items:start;
  }

  .tl-home-sponsor-row__link,
  .tl-home-sponsor-row .tl-btn{
    justify-self:start;
  }
}

@media (max-width: 640px){
  .tl-home-editorial{
    padding:46px 0;
  }

  .tl-home-columns--4{
    grid-template-columns:1fr;
  }

  .tl-home-heading{
    font-size:28px;
  }

  .tl-home-band,
  .tl-home-pricing-table,
  .tl-home-sponsor-rows,
  .tl-home-noteplain,
  .tl-home-sheet,
  .tl-home-cta-panel,
  .tl-home-about-card{
    border-radius:8px;
  }

  .tl-home-pricing-table,
  .tl-home-sponsor-rows,
  .tl-home-band,
  .tl-home-noteplain,
  .tl-home-cta-panel,
  .tl-home-sheet{
    padding:18px;
  }

  .tl-home-about-card__body{
    padding:18px 40px 20px 18px;
  }

  .tl-home-about-card__arrow{
    right:14px;
    bottom:14px;
    width:28px;
    height:28px;
    font-size:16px;
  }

  .tl-home-sheet::before{
    width:36px;
  }

  .tl-home-sponsor-row{
    gap:12px;
    padding:18px 0;
  }

  .tl-home-sponsor-row__brand{
    grid-template-columns:68px minmax(0,1fr);
    gap:14px;
  }

  .tl-home-sponsor-row__logo{
    width:68px;
  }

  .tl-home-gallery-marquee__track{
    gap:10px;
  }

  .tl-home-gallery-marquee__item{
    flex-basis:148px;
    width:148px;
  }

  .tl-btnrow--center{
    justify-content:stretch;
  }
}

/* Homepage about card arrow: force visible via pseudo-element */
.tl-home-about-card{
  position: relative !important;
}

.tl-home-about-card::after{
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(32,72,48,.12);
  color: #204830;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  z-index: 6;
  pointer-events: none;
}

.tl-home-about-card:hover::after,
.tl-home-about-card:focus-visible::after{
  background: #204830;
  color: #fff;
  transform: translateX(2px);
}

.tl-home-about-card__arrow{
  display: none !important;
}

@media (max-width: 640px){
  .tl-home-about-card::after{
    right: 14px;
    bottom: 14px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

/* Lower pages cleanup: remove residual shadow-card styling */
.tl-page-shell .tl-term-card,
.tl-page-shell .tl-price-card,
.tl-page-shell .tl-card,
.tl-page-shell .tlp-term-item,
.tl-page-shell .tlp-class-card,
.tl-page-shell .tlp-price-card,
.tl-page-shell .tlp-detail,
.tl-page-shell .tlp-venue-card,
.tl-page-shell .tl-coach-acc,
.tl-page-shell .tl-coach-block,
.tl-page-shell .tass-sidebox,
.tl-page-shell .tass-about__card,
.tl-page-shell .tl-details,
.tl-page-shell .tlp-details,
.tl-page-shell .tl-sponsor__partner-card,
.tl-page-shell .tl-sponsor__plan,
.tl-page-shell .tl-sponsor__section--board,
.tl-page-shell .tl-sponsor__highlight-item {
  box-shadow: none !important;
  border-radius: 10px !important;
}

.tl-page-shell .tlp-detail,
.tl-page-shell .tlp-class-card,
.tl-page-shell .tlp-price-card,
.tl-page-shell .tlp-venue-card,
.tl-page-shell .tl-coach-acc,
.tl-page-shell .tl-coach-block,
.tl-page-shell .tass-about__card,
.tl-page-shell .tl-details,
.tl-page-shell .tlp-details,
.tl-page-shell .tl-sponsor__partner-card,
.tl-page-shell .tl-sponsor__plan,
.tl-page-shell .tl-sponsor__section--board,
.tl-page-shell .tl-sponsor__highlight-item {
  border: 0 !important;
  background: #f6f8f6 !important;
}

.tl-page-shell .tl-sponsor__hero-visual img,
.tl-page-shell .tl-sponsor__board-visual img,
.tl-page-shell .tlp-detail-img,
.tl-page-shell .tl-figure img,
.tl-page-shell .tl-media > img,
.tl-page-shell .tass-about__figure img,
.tl-page-shell .tl-coach-photo,
.tl-page-shell .tl-coach-photo img {
  box-shadow: none !important;
  border-radius: 8px !important;
  border: 0 !important;
}

.tl-page-shell .tl-sponsor__plan--support {
  border-color: transparent !important;
}

.tl-page-shell .tl-details summary,
.tl-page-shell .tlp-details summary,
.tl-page-shell .tl-coach-acc__summary {
  background: transparent !important;
}

/* Footer-adjacent apply section */
.tl-home-editorial--cta{
  background: #f6f8f6;
  padding-bottom: 0;
}

.tl-home-editorial--cta .container{
  max-width: var(--container, 1200px);
}

.tl-home-cta-panel{
  background: transparent;
  border-radius: 0;
  padding: 0 0 clamp(56px, 7vw, 96px);
}

.tl-home-cta-panel__photo,
.tl-home-cta-panel__body{
  align-self: center;
}

@media (max-width: 860px){
  .tl-home-editorial--cta{
    padding-top: 56px;
    padding-bottom: 0;
  }

  .tl-home-cta-panel{
    padding-bottom: 56px;
  }
}

/* Sponsor current cards: logo support */
.tl-sponsor__partner-logo{
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.tl-sponsor__partner-logo img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Homepage footer merge with final apply section */
.home .site-footer{
  margin-top: 0;
  background: #f6f8f6;
  color: #182025;
}

.home .site-footer__inner{
  padding: 0 0 28px;
}

.home .footer-nav ul{
  margin: 0 0 12px;
}

.home .footer-nav a,
.home .footer-nav__sponsor,
.home .site-footer small{
  color: #4b5563;
}

/* Homepage pricing matrix */
.tl-home-pricing-matrix{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.tl-home-pricing-matrix th,
.tl-home-pricing-matrix td{
  padding: 18px 16px;
  border-top: 1px solid rgba(24,32,37,.12);
  text-align: center;
  color: #36414a;
  font-size: 15px;
  line-height: 1.7;
}

.tl-home-pricing-matrix thead th{
  border-top: 0;
  color: #182025;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(246,248,246,.8);
}

.tl-home-pricing-matrix tbody th{
  text-align: left;
  color: #182025;
  font-size: 18px;
  font-weight: 700;
  background: transparent;
}

.tl-home-pricing-matrix tbody tr:first-child th,
.tl-home-pricing-matrix tbody tr:first-child td{
  border-top: 1px solid rgba(24,32,37,.12);
}

@media (max-width: 860px){
  .tl-home-pricing-table{
    overflow-x: auto;
  }

  .tl-home-pricing-matrix{
    min-width: 560px;
  }
}

/* Homepage sponsor grid refresh */
.tl-home-sponsor-rows{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  align-items: stretch;
}

.tl-home-sponsor-row{
  grid-template-columns: 1fr;
  align-items: start;
  gap: 16px;
}

.tl-home-sponsor-row + .tl-home-sponsor-row{
  border-top: 0;
}

.tl-home-sponsor-row:nth-child(n + 3){
  border-top: 1px solid rgba(24,32,37,.12);
}

.tl-home-sponsor-row__meta--open{
  color: #6b7280;
}

.tl-home-sponsor-row__link,
.tl-home-sponsor-row .tl-btn{
  justify-self: start;
}

@media (max-width: 860px){
  .tl-home-sponsor-rows{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tl-home-sponsor-row:nth-child(n + 2){
    border-top: 1px solid rgba(24,32,37,.12);
  }
}

/* Homepage footer transition reset */
.home .site-footer{
  margin-top: 0;
  background: #222;
  color: #ddd;
}

.home .site-footer__inner{
  padding: 28px 0;
}

.home .footer-nav ul{
  margin: 0 0 14px;
}

.home .footer-nav a,
.home .footer-nav__sponsor,
.home .site-footer small{
  color: #ddd;
}

.tl-home-editorial--cta{
  background: #f6f8f6;
  padding-bottom: clamp(40px, 5vw, 56px);
}

.tl-home-cta-panel{
  background: transparent;
  border-radius: 0;
  padding: 0;
}

@media (max-width: 860px){
  .tl-home-editorial--cta{
    padding-bottom: 40px;
  }
}

/* Homepage lesson intro without boxed surface */
.tl-home-band--plain{
  max-width: 920px;
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.tl-home-band--plain .tl-home-band__title{
  margin-bottom: 10px;
}

/* Disable hover affordance for inactive term actions */
.tl-home-sheet__action--muted,
.tlp-btn-off,
.tl-btn[aria-disabled="true"]{
  pointer-events: none;
}

.tl-home-sheet__action--muted:hover,
.tlp-btn-off:hover,
.tl-btn[aria-disabled="true"]:hover{
  transform: none !important;
  opacity: 1 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}

/* Homepage class section: gradient surface instead of boxes */
.tl-home-pricing-table{
  padding: 18px 20px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, rgba(233,242,236,.92), rgba(255,255,255,.96) 42%, rgba(244,247,244,.98));
}

.tl-home-pricing-matrix thead th{
  background: rgba(255,255,255,.56);
}

.tl-home-pricing-matrix tbody th,
.tl-home-pricing-matrix tbody td{
  background: transparent;
}

.tl-home-notes-grid{
  gap: 18px;
}

.tl-home-noteplain{
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.52));
  border-radius: 14px;
  padding: 18px 20px;
}

@media (max-width: 640px){
  .tl-home-pricing-table{
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }

  .tl-home-noteplain{
    padding: 16px;
    border-radius: 12px;
  }
}

/* Homepage class matrix: column stripes */
.tl-home-pricing-table{
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.tl-home-pricing-matrix{
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
}

.tl-home-pricing-matrix thead th,
.tl-home-pricing-matrix tbody th,
.tl-home-pricing-matrix td{
  background: #ffffff;
}

.tl-home-pricing-matrix thead th:nth-child(even),
.tl-home-pricing-matrix tbody th:nth-child(even),
.tl-home-pricing-matrix td:nth-child(even){
  background: #eef2ee;
}

.tl-home-pricing-matrix thead th{
  color: #182025;
}

.tl-home-pricing-matrix tbody th{
  color: #182025;
}

.tl-home-pricing-matrix td{
  color: #314038;
}

@media (max-width: 860px){
  .tl-home-pricing-table{
    padding: 0 !important;
  }
}

/* Homepage class matrix: row stripes */
.tl-home-pricing-matrix thead th,
.tl-home-pricing-matrix tbody th,
.tl-home-pricing-matrix td{
  background: #ffffff;
}

.tl-home-pricing-matrix thead th:nth-child(even),
.tl-home-pricing-matrix tbody th:nth-child(even),
.tl-home-pricing-matrix td:nth-child(even){
  background: #ffffff;
}

.tl-home-pricing-matrix tbody tr:nth-child(even) th,
.tl-home-pricing-matrix tbody tr:nth-child(even) td{
  background: #eef2ee;
}

/* Homepage term action labels */
.tl-home-sheet__action-state,
.tl-home-sheet__action-term{
  display:block;
}

.tl-home-sheet__action-state{
  font-size:12px;
  letter-spacing:.06em;
}

.tl-home-sheet__action-term{
  margin-top:4px;
  color:#182025;
  font-size:15px;
  line-height:1.5;
  font-weight:700;
}

.tl-home-sheet__action--muted .tl-home-sheet__action-term{
  color:inherit;
}

.tl-home-apply-note{
  margin:16px 0 0;
  color:#55606a;
  font-size:13px;
  line-height:1.8;
  text-align:center;
}

/* Homepage lesson hero image */
.tl-home-lesson-hero{
  margin: 0 0 28px;
}

.tl-home-lesson-hero img{
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 640px){
  .tl-home-lesson-hero{
    margin-bottom: 22px;
  }
}

/* Homepage class matrix: enforce row-only stripes */
.tl-home-pricing-matrix thead th{
  background: #ffffff !important;
}

.tl-home-pricing-matrix tbody tr:nth-child(odd) th,
.tl-home-pricing-matrix tbody tr:nth-child(odd) td{
  background: #ffffff !important;
}

.tl-home-pricing-matrix tbody tr:nth-child(even) th,
.tl-home-pricing-matrix tbody tr:nth-child(even) td{
  background: #eef2ee !important;
}

/* Homepage class notes: flat layout */
.tl-home-notes-grid{
  display: block;
  margin-top: 20px;
}

.tl-home-noteplain{
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Homepage gallery: larger desktop tiles */
.tl-home-gallery-marquee__item{
  flex: 0 0 clamp(220px, 21vw, 272px);
  width: clamp(220px, 21vw, 272px);
}

/* Homepage lesson hero image: reduced width */
.tl-home-lesson-hero img{
  max-width: 760px;
  margin: 0 auto;
}

/* Homepage footer CTA integration */
.home .site-footer{
  margin-top: 0;
  padding-top: clamp(32px, 5vw, 56px);
}

.site-footer__cta{
  margin-bottom: clamp(28px, 4vw, 40px);
}

.home .site-footer__cta-panel{
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: clamp(24px, 4vw, 34px);
}

.home .site-footer__cta-photo{
  background: rgba(255,255,255,.06);
}

.home .site-footer__cta-body .tl-home-kicker,
.home .site-footer__cta-body .tl-home-heading,
.home .site-footer__cta-body .tl-home-lead{
  color: #f3f4f6;
}

.home .site-footer__cta-body .tl-btn{
  background: #ffffff;
  color: #182025;
}

.home .site-footer__cta-body .tl-btn:hover{
  background: #f3f4f6;
}

.home .site-footer__inner{
  padding-top: 0;
}

@media (max-width: 860px){
  .site-footer__cta{
    margin-bottom: 28px;
  }

  .home .site-footer__cta-panel{
    padding: 20px;
  }
}

/* Homepage lesson hero image: left aligned */
.tl-home-lesson-hero img{
  margin-left: 0;
  margin-right: auto;
}

/* Lower pages: unify flat cards and buttons with homepage */
.tl-page-shell .tl-program-card,
.tl-page-shell .lead-box,
.tl-page-shell .glass,
.tl-page-shell .tl-glass,
.tl-page-shell .tl-card,
.tl-page-shell .tlp-card,
.tl-page-shell .coach-card,
.tl-page-shell .tl-term-card,
.tl-page-shell .tl-price-card,
.tl-page-shell .tlp-term-item,
.tl-page-shell .tlp-class-card,
.tl-page-shell .tlp-price-card,
.tl-page-shell .tlp-detail,
.tl-page-shell .tlp-venue-card,
.tl-page-shell .tl-coach-acc,
.tl-page-shell .tl-coach-block,
.tl-page-shell .tass-sidebox,
.tl-page-shell .tass-about__card,
.tl-page-shell .tl-details,
.tl-page-shell .tlp-details,
.tl-page-shell .tl-sponsor__partner-card,
.tl-page-shell .tl-sponsor__plan,
.tl-page-shell .tl-sponsor__section--board,
.tl-page-shell .tl-sponsor__highlight-item,
.tl-page-shell .tlp-class-card:hover,
.tl-page-shell .tlp-term-item:hover,
.tl-page-shell .tl-program-card:hover,
.tl-page-shell .tl-card:hover,
.tl-page-shell .tl-sponsor__partner-card:hover,
.tl-page-shell .tl-sponsor__plan:hover{
  box-shadow: none !important;
}

.tl-page-shell .tl-btn,
.tl-page-shell .tass-sbtn,
.tl-page-shell .tass-about__btn,
.tl-page-shell .tlp-apply-actions a,
.tl-page-shell button,
.tl-page-shell input[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.tl-page-shell .tl-btn,
.tl-page-shell .tass-sbtn,
.tl-page-shell .tass-about__btn,
.tl-page-shell .tlp-apply-actions a,
.tl-page-shell input[type="submit"]{
  background: var(--green, rgb(34, 183, 86));
  color: #fff;
  border: 1px solid var(--green, rgb(34, 183, 86));
}

.tl-page-shell .tl-btn--outline,
.tl-page-shell .tass-sbtn--ghost,
.tl-page-shell .tass-about__btn--ghost{
  background: transparent;
  color: #182025;
  border-color: rgba(24,32,37,.16);
}

.tl-page-shell .tl-btn:hover,
.tl-page-shell .tass-sbtn:hover,
.tl-page-shell .tass-about__btn:hover,
.tl-page-shell .tlp-apply-actions a:hover,
.tl-page-shell button:hover,
.tl-page-shell input[type="submit"]:hover{
  transform: translateY(-2px);
}

.tl-page-shell .tl-btn--outline:hover,
.tl-page-shell .tass-sbtn--ghost:hover,
.tl-page-shell .tass-about__btn--ghost:hover{
  background: rgba(32,72,48,.08);
  color: #204830;
}

@media (max-width: 560px){
  .tl-page-shell .tl-btn,
  .tl-page-shell .tass-sbtn,
  .tl-page-shell .tass-about__btn,
  .tl-page-shell .tlp-apply-actions a,
  .tl-page-shell button,
  .tl-page-shell input[type="submit"]{
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* Coach page: preview first, expand remaining profile */
.tl-page-shell .tl-coach-grid--preview{
  margin-top: 0;
}

.tl-page-shell .tl-coach-acc{
  margin-top: 14px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.tl-page-shell .tl-coach-acc__summary{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: #204830;
}

.tl-page-shell .tl-coach-acc__summary::after{
  float: none;
}

/* Sponsor page: current sponsor logo links */
.tl-sponsor__partner-logo{
  display: block;
  text-decoration: none;
}

/* Homepage lesson hero image: half-size */
.tl-home-lesson-hero img{
  max-width: 380px;
}

/* Homepage footer CTA: remove card surface */
.home .site-footer__cta-panel{
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  padding: 0;
}

.home .site-footer__cta-photo{
  background: transparent;
}

/* Coach page: align expand control with photo bottom */
.tl-page-shell .tl-coach-head{
  align-items: stretch;
}

.tl-page-shell .tl-coach-body{
  display: flex;
  flex-direction: column;
}

.tl-page-shell .tl-coach-acc{
  margin-top: auto;
}

@media (max-width: 760px){
  .tl-page-shell .tl-coach-head{
    align-items: start;
  }
}

/* Coach page: narrower profile blocks */
.tl-page-shell .tl-coach-grid{
  grid-template-columns: repeat(auto-fit, minmax(200px, 280px));
  justify-content: start;
}

/* Coach page: hide top trigger when open, show bottom close */
.tl-page-shell .tl-coach-acc[open] > .tl-coach-acc__summary{
  display: none;
}

.tl-page-shell .tl-coach-acc__close{
  display: none;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #204830;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tl-page-shell .tl-coach-acc[open] > .tl-coach-acc__close{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar contact links: stack vertically */
.tass-sidebar .tass-panel[aria-label="FAQ"] .tass-textlink{
  display: block;
}

.tass-sidebar .tass-panel[aria-label="FAQ"] .tass-textlink + .tass-textlink{
  margin-top: 10px;
}

/* Sponsor page: current sponsor card alignment */
.tl-sponsor__partner-card{
  align-content: start;
  gap: 8px;
}

.tl-sponsor__partner-top{
  justify-content: flex-start;
  gap: 0;
}

.tl-sponsor__partner-name{
  margin-top: 0;
}

/* Sponsor board: align support image with heading top */
.tl-sponsor__board{
  align-items: start;
}

.tl-sponsor__board-visual{
  align-self: start;
}

/* Sponsor plan cards: align title/status and tighten image spacing */
.tl-sponsor__plan{
  display: grid;
  grid-template-rows: auto 1fr;
}

.tl-sponsor__plan-body{
  padding: 16px 20px 20px;
  gap: 10px;
}

.tl-sponsor__plan-top{
  align-items: start;
}

.tl-sponsor__plan-top > div{
  min-width: 0;
  display: grid;
  gap: 4px;
}

.tl-sponsor__plan-state{
  align-self: start;
  margin-top: 2px;
}

/* Sponsor page: align non-linked current sponsor logo */
.tl-sponsor__partner-card > figure.tl-sponsor__partner-logo{
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-sponsor__partner-card > figure.tl-sponsor__partner-logo img{
  object-position: center center;
  transform: translateY(-4px);
}

/* Sponsor page: tighten tier-to-name spacing in current sponsors */
.tl-sponsor__partner-card{
  gap: 4px;
}

/* Sponsor page final spacing fixes */
.tl-sponsor__partner-grid .tl-sponsor__partner-card{
  gap: 2px;
}

.tl-sponsor__partner-grid .tl-sponsor__partner-top{
  margin-top: 0;
  margin-bottom: 0;
}

.tl-sponsor__partner-grid .tl-sponsor__partner-tier{
  display: block;
  line-height: 1.2;
}

.tl-sponsor__partner-grid .tl-sponsor__partner-name{
  margin: 0;
  line-height: 1.2;
}

.tl-sponsor__plan-grid .tl-sponsor__plan-top{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.tl-sponsor__plan-grid .tl-sponsor__plan-top > div{
  gap: 2px;
}

.tl-sponsor__plan-grid .tl-sponsor__plan-state{
  min-height: 36px;
  padding: 8px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

@media (max-width: 560px){
  .tl-sponsor__plan-grid .tl-sponsor__plan-top{
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Sponsor hero image: transparent background */
.tl-sponsor__hero-visual img{
  background: transparent;
}

/* Sponsor page: ease current sponsor label-name spacing */
.tl-sponsor__partner-grid .tl-sponsor__partner-card{
  gap: 4px;
}

/* Sponsor page: normalize current sponsor logo alignment */
.tl-sponsor__partner-card > .tl-sponsor__partner-logo{
  align-self: start;
}

.tl-sponsor__partner-card > figure.tl-sponsor__partner-logo img{
  transform: none;
}

/* Sponsor plan cards: final alignment lock */
.tl-sponsor__plan-grid .tl-sponsor__plan-top{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 10px !important;
}

.tl-sponsor__plan-grid .tl-sponsor__plan-top > div{
  min-height: 72px;
  display: grid;
  align-content: start;
  gap: 4px;
}

.tl-sponsor__plan-grid .tl-sponsor__plan-state,
.tl-sponsor__plan-grid .tl-sponsor__plan-state--open,
.tl-sponsor__plan-grid .tl-sponsor__plan-state--closed{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 560px){
  .tl-sponsor__plan-grid .tl-sponsor__plan-top{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .tl-sponsor__plan-grid .tl-sponsor__plan-top > div{
    min-height: 0;
  }
}

/* Sponsor page: final scoped layout lock */
.tl-sponsor__partner-grid > .tl-sponsor__partner-card{
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: start;
  align-content: start;
  gap: 6px !important;
}

.tl-sponsor__partner-grid > .tl-sponsor__partner-card > .tl-sponsor__partner-logo{
  width: 100%;
  align-self: start;
  margin: 0 0 2px;
}

.tl-sponsor__partner-grid > .tl-sponsor__partner-card > .tl-sponsor__partner-top{
  display: block;
  width: 100%;
  margin: 0;
}

.tl-sponsor__partner-grid > .tl-sponsor__partner-card > .tl-sponsor__partner-name{
  margin: 0;
  padding-top: 2px;
}

.tl-sponsor__partner-grid > .tl-sponsor__partner-card > figure.tl-sponsor__partner-logo img,
.tl-sponsor__partner-grid > .tl-sponsor__partner-card > a.tl-sponsor__partner-logo img{
  transform: none !important;
  object-position: center center;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan{
  display: grid;
  grid-template-rows: auto 1fr;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-body{
  padding: 12px 20px 20px !important;
  gap: 10px !important;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 10px !important;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top > div{
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 64px;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state--open,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state--closed{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 36px;
  padding: 8px 12px;
  white-space: nowrap;
  line-height: 1;
  border-radius: 999px;
}

@media (max-width: 560px){
  .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top{
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top > div{
    min-height: 0;
  }
}

/* Sponsor plan cards: normalize heading height and status badge sizing */
.tl-sponsor__section .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-name{
  min-height: calc(1.3em * 2);
}

.tl-sponsor__section .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top > div{
  min-height: 76px !important;
}

.tl-sponsor__section .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state,
.tl-sponsor__section .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state--open,
.tl-sponsor__section .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state--closed{
  min-width: 86px;
  min-height: 38px !important;
  padding: 8px 14px !important;
  line-height: 1 !important;
}

@media (max-width: 560px){
  .tl-sponsor__section .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-name{
    min-height: 0;
  }

  .tl-sponsor__section .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top > div{
    min-height: 0 !important;
  }
}

/* Sponsor plan cards: structural alignment fix */
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 12px !important;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-copy{
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 76px;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-head{
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 76px;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state{
  min-width: 88px;
  min-height: 38px;
  padding: 8px 14px !important;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 560px){
  .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-copy,
  .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-head{
    min-height: 0;
  }
}

/* Sponsor page: fixed plan heading layout classes */
.tl-sponsor__plan-top-fixed{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.tl-sponsor__plan-copy-fixed{
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 76px;
}

.tl-sponsor__plan-head-fixed{
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 76px;
}

.tl-sponsor__plan-state-fixed{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 38px;
  padding: 8px 14px;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 560px){
  .tl-sponsor__plan-copy-fixed,
  .tl-sponsor__plan-head-fixed{
    min-height: 0;
  }
}

/* Sponsor page: refined sponsor plan list layout */
.tl-sponsor__plan-grid > .tl-sponsor__plan{
  display: grid;
  grid-template-rows: auto 1fr;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-body{
  padding: 14px 20px 20px;
  gap: 12px;
}

.tl-sponsor__plan-top-fixed{
  gap: 14px;
}

.tl-sponsor__plan-copy-fixed{
  gap: 3px;
  min-height: 72px;
}

.tl-sponsor__plan-head-fixed{
  min-height: 72px;
}

.tl-sponsor__plan-state-fixed{
  min-width: 90px;
  min-height: 36px;
  padding: 8px 14px;
}

.tl-sponsor__plan-name{
  line-height: 1.22;
}

.tl-sponsor__plan-price{
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 560px){
  .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-body{
    padding: 14px 16px 16px;
  }

  .tl-sponsor__plan-top-fixed{
    gap: 10px;
  }

  .tl-sponsor__plan-copy-fixed,
  .tl-sponsor__plan-head-fixed{
    min-height: 0;
  }
}

/* Sponsor page: reset plan heading browser margins */
.tl-sponsor__plan-name,
.tl-sponsor__plan-name.tl-sponsor__plan-name{
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Sponsor page: fine tune plan heading offset */
.tl-sponsor__plan-name,
.tl-sponsor__plan-name.tl-sponsor__plan-name{
  margin-top: 4px !important;
}

/* Sponsor page: normalize plan badge and body heights */
.tl-sponsor__plan-grid > .tl-sponsor__plan{
  display: grid;
  grid-template-rows: auto 1fr;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-body{
  display: grid;
  grid-template-rows: auto minmax(88px, auto) 1fr;
  align-content: start;
  gap: 12px;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-desc{
  margin: 0;
  min-height: 88px;
}

.tl-sponsor__plan-head-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-head{
  min-height: 40px;
}

.tl-sponsor__plan-state-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state--open,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state--closed{
  min-width: 90px !important;
  min-height: 40px !important;
  padding: 9px 14px !important;
  line-height: 1 !important;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__benefits{
  align-self: start;
}

@media (max-width: 980px){
  .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-body{
    grid-template-rows: auto auto 1fr;
  }

  .tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-desc{
    min-height: 0;
  }
}

/* Sponsor page: center status badges vertically */
.tl-sponsor__plan-head-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-head{
  align-items: center;
}

.tl-sponsor__plan-state-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state--open,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-state--closed{
  align-self: center !important;
}

/* Sponsor page: center plan status container within heading row */
.tl-sponsor__plan-top-fixed > .tl-sponsor__plan-head-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top > .tl-sponsor__plan-head{
  align-self: center !important;
}

/* Sponsor page: move fixed heading height from title to wrapper */
.tl-sponsor__plan-name,
.tl-sponsor__plan-name.tl-sponsor__plan-name{
  min-height: 0 !important;
  height: auto !important;
}

.tl-sponsor__plan-copy-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-copy{
  min-height: 76px !important;
}

/* Sponsor page: tighten plan heading block spacing */
.tl-sponsor__plan-top-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-top{
  gap: 8px !important;
}

.tl-sponsor__plan-copy-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-copy,
.tl-sponsor__plan-head-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-head{
  min-height: 64px !important;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-body{
  padding-top: 10px !important;
  gap: 10px !important;
}


/* Sponsor page: soften hero image crop */
.tl-sponsor__hero-visual img{
  aspect-ratio: 4 / 3 !important;
  min-height: 420px;
  object-position: center center !important;
}

@media (max-width: 860px){
  .tl-sponsor__hero-visual img{
    min-height: 0;
  }
}


/* Sponsor page: support highlight list as divided rows */
.tl-sponsor__highlight-list--divided{
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.tl-sponsor__highlight-item--divided{
  min-width: 0 !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 4px !important;
}

.tl-sponsor__highlight-item--divided + .tl-sponsor__highlight-item--divided{
  border-top: 1px solid rgba(17, 24, 39, .10) !important;
}


/* Sponsor page: final plan body positioning reset */
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-body{
  grid-template-rows: auto auto 1fr !important;
  padding-top: 8px !important;
  gap: 8px !important;
}

.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-desc{
  min-height: 0 !important;
  margin: 0 !important;
}

.tl-sponsor__plan-copy-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-copy,
.tl-sponsor__plan-head-fixed,
.tl-sponsor__plan-grid > .tl-sponsor__plan .tl-sponsor__plan-head{
  min-height: 56px !important;
}


/* Sponsor page: hero without visual */
.tl-sponsor__hero{
  grid-template-columns: 1fr !important;
}


/* Homepage lesson intro: two-column heading and image */
.tl-home-lesson-intro{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: start;
  gap: clamp(20px, 4vw, 48px);
  margin: 0 0 28px;
}

.tl-home-lesson-intro .tl-home-sectionbar{
  margin-bottom: 0;
}

.tl-home-lesson-intro .tl-home-lesson-hero{
  margin: 0;
  justify-self: end;
  width: 100%;
}

.tl-home-lesson-intro .tl-home-lesson-hero img{
  width: 100%;
  max-width: 380px;
  margin: 0 0 0 auto;
}

@media (max-width: 860px){
  .tl-home-lesson-intro{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tl-home-lesson-intro .tl-home-lesson-hero{
    justify-self: start;
  }

  .tl-home-lesson-intro .tl-home-lesson-hero img{
    margin: 0;
  }
}


/* Homepage lesson intro: tighten desktop spacing to description */
@media (min-width: 861px){
  .tl-home-editorial--apply .tl-home-lesson-intro{
    margin-bottom: 12px;
  }
}


/* Homepage lesson intro: match image height to heading and description */
@media (min-width: 861px){
  .tl-home-editorial--apply .tl-home-lesson-intro{
    align-items: stretch;
  }

  .tl-home-editorial--apply .tl-home-lesson-hero{
    display: flex;
    align-items: stretch;
  }

  .tl-home-editorial--apply .tl-home-lesson-hero img{
    height: 100%;
    min-height: 220px;
    max-height: 220px;
    object-fit: cover;
    object-position: center center;
  }
}


/* Homepage lesson intro: align copy and image heights */
.tl-home-lesson-copy{
  display: grid;
  align-content: start;
  gap: 12px;
}

.tl-home-lesson-copy .tl-home-band--plain{
  margin-top: 0;
}

@media (min-width: 861px){
  .tl-home-editorial--apply .tl-home-lesson-intro{
    align-items: start;
    margin-bottom: 20px;
  }

  .tl-home-editorial--apply .tl-home-lesson-hero img{
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
}


/* Homepage only: loading animation and scroll reveal */
.tl-home-loader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(247, 248, 245, .96);
  backdrop-filter: blur(8px);
  transition: opacity .45s ease, visibility .45s ease;
}

.tl-home-loader.is-hidden{
  opacity: 0;
  visibility: hidden;
}

.tl-home-loader__mark{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 3px solid rgba(34, 183, 86, .18);
  border-top-color: rgba(34, 183, 86, .92);
  animation: tl-home-spin .9s linear infinite;
}

@keyframes tl-home-spin{
  to{ transform: rotate(360deg); }
}

.home:not(.tl-home-ready) .tl-home{
  opacity: .01;
}

.home .tl-home{
  transition: opacity .35s ease;
}

.home .tl-reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: var(--tl-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.home .tl-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .tl-home-loader,
  .home .tl-home,
  .home .tl-reveal{
    transition: none !important;
  }

  .tl-home-loader__mark{
    animation: none !important;
  }

  .home .tl-reveal{
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Lower pages only: align with homepage flat tone (exclude sponsor/home) */
.tl-subpage{
  display: grid;
  gap: 24px;
}

.tl-subpage .tl-lead,
.tl-subpage .tl-glass,
.tl-subpage .tlp-note,
.tl-subpage .tlp-details,
.tl-subpage .tlp-detail,
.tl-subpage .tlp-class-card,
.tl-subpage .tlp-price-card,
.tl-subpage .tlp-venue-card,
.tl-subpage .tlp-term-item,
.tl-subpage .tl-coach-acc,
.tl-subpage .tl-coach-block,
.tl-subpage .tass-about__hero,
.tl-subpage .tass-about__card,
.tl-subpage .tass-about__final,
.tl-subpage .tass-about__quote,
.tl-subpage .tass-about__note{
  background: #f6f8f6 !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

.tl-subpage .tl-figure img,
.tl-subpage .tl-media > img,
.tl-subpage .tl-photo-grid img,
.tl-subpage .tlp-detail-img,
.tl-subpage .tl-coach-photo,
.tl-subpage .tl-coach-photo img,
.tl-subpage .tass-about__figure img{
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

.tl-subpage .tl-section,
.tl-subpage .tass-about__section{
  margin-top: 0;
  padding-top: 0;
}

.tl-subpage .tl-section + .tl-section,
.tl-subpage .tass-about__section + .tass-about__section,
.tl-subpage .tlp-detail + .tlp-detail,
.tl-subpage .tl-coach + .tl-coach{
  border-top: 1px solid rgba(17, 24, 39, .08);
  padding-top: 24px;
  margin-top: 24px;
}

.tl-subpage .tl-btn,
.tl-subpage .tass-about__btn,
.tl-subpage .tlp-apply-actions a,
.tl-subpage .tlp-map-btn,
.tl-subpage .tl-coach-acc__summary,
.tl-subpage .tl-modal__close{
  border-radius: 999px !important;
  box-shadow: none !important;
}

.tl-subpage .tlp-map-btn{
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .10);
}

.tl-subpage .tlp-class-card:hover,
.tl-subpage .tlp-venue-card:hover,
.tl-subpage .tlp-term-item:hover,
.tl-subpage .tass-about__btn:hover,
.tl-subpage .tl-btn:hover,
.tl-subpage .tlp-map-btn:hover{
  transform: translateY(-1px);
  box-shadow: none !important;
}

.tl-subpage .tlp-chip,
.tl-subpage .tlp-pill,
.tl-subpage .tlp-tag,
.tl-subpage .tass-about__chip,
.tl-subpage .tl-coach-tag{
  border: 0 !important;
  background: #eef2ee !important;
  color: #1f2937 !important;
}

.tl-subpage .tass-about__section--bg{
  background: #eef2ee;
  border-radius: 10px;
}

.tl-subpage .tass-about__section--bg::after{
  background: linear-gradient(to bottom, rgba(17,24,39,.34), rgba(17,24,39,.42));
}

.tl-subpage .tass-about__bginner,
.tl-subpage .tass-about__section--bg .tass-about__quote p,
.tl-subpage .tass-about__section--bg .tass-about__quote strong,
.tl-subpage .tass-about__section--bg .tass-about__h2{
  color: #fff;
}

.tl-subpage .tlp-detail-grid,
.tl-subpage .tl-media,
.tl-subpage .tass-about__media,
.tl-subpage .tl-coach-head{
  gap: clamp(16px, 2vw, 24px);
}

.tl-subpage .tlp-detail-body p + p,
.tl-subpage .tl-media p + p,
.tl-subpage .tass-about__text p + p{
  margin-top: 12px;
}

.tl-subpage .tlp-details summary,
.tl-subpage .tl-details summary,
.tl-subpage .tl-coach-acc__summary{
  border-bottom: 1px solid rgba(17, 24, 39, .08);
  padding-bottom: 12px;
}

.tl-subpage .tlp-details[open] summary,
.tl-subpage .tl-details[open] summary,
.tl-subpage .tl-coach-acc[open] > .tl-coach-acc__summary{
  margin-bottom: 12px;
}

.tl-subpage--contact{
  gap: 18px;
}

.tl-subpage--contact .tl-btnrow{
  margin-top: 18px;
}

@media (max-width: 860px){
  .tl-subpage{
    gap: 20px;
  }

  .tl-subpage .tl-section + .tl-section,
  .tl-subpage .tass-about__section + .tass-about__section,
  .tl-subpage .tlp-detail + .tlp-detail,
  .tl-subpage .tl-coach + .tl-coach{
    padding-top: 18px;
    margin-top: 18px;
  }
}


/* Club concept: hero image 16:9 */
.tl-subpage--club-concept > .tl-figure img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}


/* Program page: term-first hero */
.tl-subpage--program .tl-program-term-hero{
  margin-top: 0;
  padding-top: 0;
}

.tl-subpage--program .tl-program-term-hero__title{
  margin-bottom: 18px;
}

.tl-subpage--program .tl-program-term-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tl-subpage--program .tl-program-term-button{
  display: grid;
  gap: 3px;
  align-content: start;
  min-height: 108px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #f8faf8;
  color: #17212b;
  text-decoration: none;
  border: 1px solid rgba(17, 24, 39, .08);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.tl-subpage--program .tl-program-term-button:hover,
.tl-subpage--program .tl-program-term-button:focus-visible{
  transform: translateY(-1px);
  background: #f2f6f2;
  border-color: rgba(34, 95, 55, .14);
}

.tl-subpage--program .tl-program-term-button--muted{
  color: #8d97a5;
  background: #fafbfa;
  border-color: rgba(17, 24, 39, .06);
  pointer-events: none;
}

.tl-subpage--program .tl-program-term-button__status{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #58b86b;
}

.tl-subpage--program .tl-program-term-button--muted .tl-program-term-button__status{
  color: #8d97a5;
}

.tl-subpage--program .tl-program-term-button__name{
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.tl-subpage--program .tl-program-term-button__date{
  font-size: 14px;
  color: #4f5c69;
}

@media (max-width: 980px){
  .tl-subpage--program .tl-program-term-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .tl-subpage--program .tl-program-term-grid{
    grid-template-columns: 1fr;
  }

  .tl-subpage--program .tl-program-term-button{
    min-height: auto;
    padding: 16px;
  }

  .tl-subpage--program .tl-program-term-button__name{
    font-size: 17px;
  }
}


/* Program page: plain notes under pricing table */
.tl-subpage--program .tl-program-notes{
  margin-top: 14px;
}

.tl-subpage--program .tl-program-notes__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.tl-subpage--program .tl-program-notes__list{
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}


/* Program page: clearer dividers between class detail sections */
.tl-subpage--program .tlp-detail + .tlp-detail{
  border-top: 0;
  padding-top: 0;
  margin-top: 34px;
}

.tl-subpage--program .tlp-detail + .tlp-detail::before{
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 34px;
  background: rgba(17, 24, 39, .12);
}


/* Program page: venues in single column with popup map */
.tl-subpage--program .tlp-venue-grid,
.tl-subpage--program .tlp-venue-grid--single{
  grid-template-columns: 1fr !important;
}

.tl-subpage--program .tlp-venue-head{
  align-items: center;
}

.tl-program-map-modal__panel{
  width: min(920px, calc(100vw - 32px));
  max-width: 920px;
}

.tl-program-map-modal__title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.tl-program-map-modal__frame{
  border-radius: 8px;
  overflow: hidden;
}

.tl-program-map-modal__iframe{
  display: block;
  width: 100%;
  height: min(70vh, 560px);
  border: 0;
}

@media (max-width: 760px){
  .tl-program-map-modal__iframe{
    height: 60vh;
  }
}


/* Coach page: prevent portrait images from stretching vertically */
.tl-subpage--coach .tl-coach-head{
  align-items: start;
}

.tl-subpage--coach .tl-coach-photo{
  align-self: start;
}

.tl-subpage--coach .tl-coach-photo img{
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 760px){
  .tl-subpage--coach .tl-coach-photo img{
    aspect-ratio: 4 / 5;
  }
}


/* Coach page: align more button with updated photo height */
.tl-subpage--coach .tl-coach-head{
  align-items: stretch;
}

.tl-subpage--coach .tl-coach-body{
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tl-subpage--coach .tl-coach-acc{
  margin-top: auto;
}

@media (max-width: 760px){
  .tl-subpage--coach .tl-coach-head{
    align-items: start;
  }

  .tl-subpage--coach .tl-coach-acc{
    margin-top: 0;
  }
}


/* Coach page: lighter text-link toggles and tighter preview */
.tl-subpage--coach .tl-coach-grid--preview{
  gap: 12px;
}

.tl-subpage--coach .tl-coach-block{
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.tl-subpage--coach .tl-coach-sub{
  margin: 0 0 6px;
}

.tl-subpage--coach .tl-coach-list{
  margin: 0;
}

.tl-subpage--coach .tl-coach-list li{
  margin: 2px 0;
}

.tl-subpage--coach .tl-coach-acc{
  padding-top: 10px !important;
}

.tl-subpage--coach .tl-coach-acc__summary,
.tl-subpage--coach .tl-coach-acc__close{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #204830;
  font-weight: 700;
  text-decoration: none;
}

.tl-subpage--coach .tl-coach-acc__summary::after{
  content: '→';
  float: none;
  color: currentColor;
}

.tl-subpage--coach .tl-coach-acc[open] > .tl-coach-acc__summary{
  display: none;
}

.tl-subpage--coach .tl-coach-acc__close::after{
  content: '↑';
  font-size: 13px;
}


/* Coach page: final vertical alignment lock */
.tl-subpage--coach .tl-coach-head{
  align-items: stretch !important;
}

.tl-subpage--coach .tl-coach-body{
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-content: start;
  height: 100%;
}

.tl-subpage--coach .tl-coach-name{
  margin: 0 0 8px !important;
}

.tl-subpage--coach .tl-coach-tags{
  margin: 0 0 10px;
}

.tl-subpage--coach .tl-coach-grid--preview{
  margin-top: 0;
  overflow: hidden;
  align-content: start;
}

.tl-subpage--coach .tl-coach-acc{
  align-self: end;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.tl-subpage--coach .tl-coach-acc__summary{
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 760px){
  .tl-subpage--coach .tl-coach-body{
    display: flex !important;
    height: auto;
  }

  .tl-subpage--coach .tl-coach-grid--preview{
    overflow: visible;
  }
}


/* Coach page: hide preview when expanded to avoid duplicated headings */
.tl-subpage--coach .tl-coach-acc[open] ~ .tl-coach-grid--preview,
.tl-subpage--coach .tl-coach-body:has(.tl-coach-acc[open]) .tl-coach-grid--preview{
  display: none;
}


/* Coach page: account for optional role tag and add preview fade */
.tl-subpage--coach .tl-coach-head{
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.tl-subpage--coach .tl-coach-body{
  grid-template-rows: auto minmax(34px, auto) minmax(0, 1fr) auto !important;
}

.tl-subpage--coach .tl-coach-tags{
  min-height: 34px;
  display: flex;
  align-items: flex-start;
}

.tl-subpage--coach .tl-coach-grid--preview{
  position: relative;
  max-height: 280px;
  padding-bottom: 28px;
}

.tl-subpage--coach .tl-coach-grid--preview::after{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(246, 248, 246, 0), rgba(246, 248, 246, .96) 58%, rgba(246, 248, 246, 1));
  pointer-events: none;
}

.tl-subpage--coach .tl-coach-acc{
  display: inline-flex;
  align-items: flex-end;
}

@media (max-width: 760px){
  .tl-subpage--coach .tl-coach-head{
    grid-template-columns: 1fr;
  }

  .tl-subpage--coach .tl-coach-body{
    grid-template-rows: none !important;
  }

  .tl-subpage--coach .tl-coach-tags{
    min-height: 0;
  }

  .tl-subpage--coach .tl-coach-grid--preview{
    max-height: none;
    padding-bottom: 0;
  }

  .tl-subpage--coach .tl-coach-grid--preview::after{
    display: none;
  }
}


/* Coach page: mobile fade + expanded content alignment */
@media (max-width: 760px){
  .tl-subpage--coach .tl-coach-grid,
  .tl-subpage--coach .tl-coach-grid--preview{
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
  }

  .tl-subpage--coach .tl-coach-grid--preview{
    max-height: 280px;
    padding-bottom: 24px;
  }

  .tl-subpage--coach .tl-coach-grid--preview::after{
    display: block;
    height: 88px;
  }

  .tl-subpage--coach .tl-coach-acc[open] .tl-coach-grid{
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
  }

  .tl-subpage--coach .tl-coach-block{
    width: 100%;
  }
}


/* Coach page: seamless preview continuation */
.tl-subpage--coach .tl-coach-body > .tl-coach-grid--preview,
.tl-subpage--coach .tl-coach-acc[open] ~ .tl-coach-grid--preview,
.tl-subpage--coach .tl-coach-body:has(.tl-coach-acc[open]) .tl-coach-grid--preview{
  display: grid !important;
}

.tl-subpage--coach .tl-coach-list-more{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height .5s ease, opacity .32s ease, transform .5s ease;
}

.tl-subpage--coach .tl-coach-list--more{
  padding-top: 2px;
}

.tl-subpage--coach .tl-coach-body.is-expanded .tl-coach-list-more{
  opacity: 1;
  transform: translateY(0);
}

.tl-subpage--coach .tl-coach-grid--preview::after{
  opacity: 1;
  transition: opacity .28s ease;
}

.tl-subpage--coach .tl-coach-body.is-expanded .tl-coach-grid--preview::after{
  opacity: 0;
}

.tl-subpage--coach .tl-coach-acc__panel{
  display: block;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: height .4s ease, opacity .24s ease, transform .4s ease;
}

.tl-subpage--coach .tl-coach-acc__panel > .tl-coach-acc__close{
  display: inline-flex;
  margin-top: 10px;
}

.tl-subpage--coach .tl-coach-body.is-expanded .tl-coach-acc__panel{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .tl-subpage--coach .tl-coach-list-more,
  .tl-subpage--coach .tl-coach-grid--preview::after,
  .tl-subpage--coach .tl-coach-acc__panel{
    transition: none !important;
  }
}

.tl-subpage--coach .tl-coach-body.is-expanded > .tl-coach-grid--preview{
  max-height: none;
  overflow: visible;
  padding-bottom: 0;
}

.tl-subpage--program > .tlp-detail + .tlp-detail{
  margin-top: 34px !important;
  padding-top: 0 !important;
}

.tl-subpage--program > .tlp-detail + .tlp-detail::before{
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 34px;
  background: rgba(17, 24, 39, .12);
}


/* TASS page: plain opening */
.tl-subpage--tass .tass-about__intro{
  margin: 0;
  padding: 0;
}

.tl-subpage--tass .tass-about__intro .tass-about__title{
  margin: 0;
  font-size: clamp(18px, 2vw, 22px) !important;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .01em;
}


/* TASS page: center align heading bar with text */
.tl-subpage--tass .tass-about__h2{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
}

.tl-subpage--tass .tass-about__h2::before{
  position: static;
  top: auto;
  left: auto;
  width: 4px;
  height: 1.05em;
  flex: 0 0 4px;
  align-self: center;
}

.tl-subpage--tass .tass-about__section--bg .tass-about__h2{
  display: block;
}


/* TASS page: align timeline line and dots */
.tl-subpage--tass .tass-about__timeline{
  position: relative;
  border-left: 0;
  padding-left: 0;
}

.tl-subpage--tass .tass-about__timeline::before{
  content: '';
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: rgba(34,183,86,.22);
}

.tl-subpage--tass .tass-about__tlitem{
  padding: 12px 0 12px 28px;
}

.tl-subpage--tass .tass-about__tlitem::before{
  left: 0;
  top: 18px;
}


/* TASS page: improve contrast for background quote section */
.tl-subpage--tass .tass-about__section--bg .tass-about__quote{
  background: rgba(17, 24, 39, .34) !important;
  border-color: rgba(255,255,255,.18) !important;
  backdrop-filter: blur(2px);
}

.tl-subpage--tass .tass-about__section--bg .tass-about__quote p,
.tl-subpage--tass .tass-about__section--bg .tass-about__quote strong,
.tl-subpage--tass .tass-about__section--bg .tass-about__quoteem{
  color: rgba(255,255,255,.96) !important;
}


/* TASS page: align first media block image and text */
.tl-subpage--tass .tass-about__section--origin .tass-about__media{
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  align-items: stretch;
  column-gap: 24px;
}

.tl-subpage--tass .tass-about__section--origin .tass-about__figure,
.tl-subpage--tass .tass-about__section--origin .tass-about__text{
  margin-top: 0;
  align-self: stretch;
}

.tl-subpage--tass .tass-about__section--origin .tass-about__figure{
  position: relative;
  margin: 0;
  min-height: 0;
}

.tl-subpage--tass .tass-about__section--origin .tass-about__figure img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.tl-subpage--tass .tass-about__section--origin .tass-about__text{
  max-width: 36ch;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tl-subpage--tass .tass-about__section--origin .tass-about__text > :first-child,
.tl-subpage--tass .tass-about__section--origin .tass-about__text p{
  margin-top: 0;
}

.tl-subpage--tass .tass-about__section--origin .tass-about__note{
  margin-top: 30px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
}

@media (max-width: 860px){
  .tl-subpage--tass .tass-about__section--origin .tass-about__media{
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tl-subpage--tass .tass-about__section--origin .tass-about__figure,
  .tl-subpage--tass .tass-about__section--origin .tass-about__text{
    align-self: start;
  }

  .tl-subpage--tass .tass-about__section--origin .tass-about__figure img{
    position: static;
    height: auto;
  }

  .tl-subpage--tass .tass-about__section--origin .tass-about__text{
    max-width: none;
  }
}


/* TASS page: darken background image for quote section */
.tl-subpage--tass .tass-about__section--bg::after{
  background: linear-gradient(to bottom, rgba(17,24,39,.38), rgba(17,24,39,.54)) !important;
}


/* TASS page: keep copy above dark overlay */
.tl-subpage--tass .tass-about__section--bg .tass-about__bginner,
.tl-subpage--tass .tass-about__section--bg .tass-about__h2,
.tl-subpage--tass .tass-about__section--bg .tass-about__quote{
  position: relative;
  z-index: 2;
}


/* Contact page: calmer editorial contact layout */
.tl-subpage--contact{
  gap: 20px;
}

.tl-subpage--contact .tl-contact-intro{
  margin-top: 0;
  padding-top: 0;
}

.tl-subpage--contact .tl-contact-intro__copy{
  max-width: 58ch;
}

.tl-subpage--contact .tl-contact-intro__lead{
  margin: 0;
  color: #4f5c69;
  line-height: 1.9;
}

.tl-subpage--contact .tl-contact-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.tl-subpage--contact .tl-contact-action{
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 132px;
  padding: 18px 20px;
  text-align: left;
  text-decoration: none;
  color: #17212b;
  background: #f8faf8;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 10px;
  box-shadow: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.tl-subpage--contact .tl-contact-action:hover,
.tl-subpage--contact .tl-contact-action:focus-visible{
  transform: translateY(-1px);
  background: #f2f6f2;
  border-color: rgba(34, 95, 55, .14);
}

.tl-subpage--contact .tl-contact-action--button{
  width: 100%;
  appearance: none;
  cursor: pointer;
  justify-items: start;
  justify-content: start;
  align-items: start;
  place-content: start;
  place-items: start;
  text-align: left;
  font: inherit;
}

.tl-subpage--contact .tl-contact-action__label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #58b86b;
  text-transform: uppercase;
}

.tl-subpage--contact .tl-contact-action__title{
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.tl-subpage--contact .tl-contact-action__meta{
  font-size: 13px;
  line-height: 1.6;
  color: #5f6b77;
}

.tl-subpage--contact .tl-modal__panel{
  box-shadow: none;
}

@media (max-width: 760px){
  .tl-subpage--contact .tl-contact-actions{
    grid-template-columns: 1fr;
  }

  .tl-subpage--contact .tl-contact-action{
    min-height: auto;
    padding: 18px;
  }

  .tl-subpage--contact .tl-contact-action__title{
    font-size: 20px;
  }
}


/* Shared footer: sitemap top, CTA center, copyright bottom */
.site-footer{
  margin-top: 48px;
  background: #182025;
  color: #e5e7eb;
}

.site-footer__inner{
  width: min(calc(var(--container) + 80px), 100% - 24px);
  margin-inline: auto;
  padding: clamp(18px, 3vw, 28px) 0 5px;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.site-footer__sitemap{
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.site-footer__sitemap .menu,
.site-footer__sitemap ul,
.site-footer__sitemap .footer-nav__sponsor{
  list-style: none;
}

.site-footer__sitemap ul{
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
}

.site-footer__sitemap a,
.site-footer__sitemap .footer-nav__sponsor{
  color: rgba(229, 231, 235, .84);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__sitemap a:hover,
.site-footer__sitemap .footer-nav__sponsor:hover{
  color: #ffffff;
}

.site-footer__cta{
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.site-footer__kicker{
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7fd08f;
}

.site-footer__heading{
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.site-footer__lead{
  margin: 0;
  max-width: 62ch;
  color: rgba(229, 231, 235, .76);
  line-height: 1.8;
}

.site-footer__actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.site-footer__actions .tl-btn{
  min-width: 180px;
}

.site-footer__actions .tl-btn--outline{
  border-color: rgba(255,255,255,.18);
  color: #ffffff;
  background: transparent;
}

.site-footer__actions .tl-btn--outline:hover{
  background: rgba(255,255,255,.06);
}

.site-footer__copyright{
  display: block;
  text-align: center;
  color: rgba(229, 231, 235, .64);
  font-size: 13px;
}

@media (max-width: 760px){
  .site-footer__inner{
    width: min(calc(var(--container) + 40px), 100% - 20px);
    gap: 20px;
  }

  .site-footer__sitemap ul{
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .site-footer__actions{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__actions .tl-btn{
    width: 100%;
    min-width: 0;
  }
}

.site-footer__cta{
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 34vw, 360px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 12px;
  text-align: left;
  isolation: isolate;
}

.site-footer__cta::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--footer-cta-bg);
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.site-footer__cta::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,24,39,.74) 0%, rgba(17,24,39,.54) 44%, rgba(17,24,39,.34) 100%);
  z-index: 1;
}

.site-footer__cta-copy{
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: center;
  min-height: 100%;
  max-width: 560px;
}

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

@media (max-width: 760px){
  .site-footer__cta{
    min-height: 0;
    padding: 22px;
    text-align: center;
  }

  .site-footer__cta::after{
    background: linear-gradient(to bottom, rgba(17,24,39,.64) 0%, rgba(17,24,39,.52) 100%);
  }

  .site-footer__cta-copy{
    justify-items: center;
    max-width: none;
  }

  .site-footer__actions{
    justify-content: center;
  }
}


/* Footer CTA: final button normalization */
.site-footer__cta .site-footer__actions{
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.site-footer__cta .site-footer__actions .tl-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 46px;
  padding: 12px 18px;
  white-space: nowrap;
}

.site-footer__cta .site-footer__actions .tl-btn--outline{
  border: 1px solid rgba(255,255,255,.22) !important;
  background: transparent !important;
  color: #ffffff !important;
}

.site-footer__cta .site-footer__actions .tl-btn:not(.tl-btn--outline){
  background: #ffffff !important;
  color: #182025 !important;
  border-color: transparent !important;
}

.site-footer__cta .site-footer__actions .tl-btn:hover{
  transform: translateY(-1px);
}

@media (max-width: 760px){
  .site-footer__cta .site-footer__actions{
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__cta .site-footer__actions .tl-btn{
    width: 100%;
    min-width: 0;
  }
}


/* Footer: push copyright lower */
.site-footer__copyright{
  margin: 20px 0 0;
  padding: 0 0 0;
}


/* Footer: tighten sitemap area */
.site-footer__inner{
  gap: clamp(18px, 3vw, 28px);
}

.site-footer__sitemap{
  margin-top: 0;
}

.site-footer__sitemap ul{
  align-items: center;
  gap: 10px 16px;
}

.site-footer__sitemap li{
  margin: 0;
}

.site-footer__sitemap a,
.site-footer__sitemap .footer-nav__sponsor{
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}


.site-footer{
  padding-top: 5px;
}


/* Footer spacing final lock */
.site-footer{
  padding-top: 5px !important;
}

.site-footer__inner{
  padding-bottom: 5px !important;
}


/* Footer sitemap: match header width */
.site-footer__sitemap{
  width: min(var(--container), 100% - (var(--pad) * 2));
  margin-inline: auto;
}


/* Footer top row final alignment */
footer.site-footer{
  padding-top: 0 !important;
}

.site-footer__sitemap,
.site-footer__sitemap ul{
  align-items: center;
}

.site-footer__sitemap li{
  display: inline-flex;
  align-items: center;
}


/* Footer: match header inner spacing and nudge sitemap down */
.site-footer__inner{
  width: min(var(--container), 100% - (var(--pad) * 2)) !important;
}

.site-footer__sitemap{
  padding-top: 3px;
}


/* Footer sitemap: nudge menu items down visually */
.site-footer__sitemap ul{
  padding-top: 5px;
}

.site-footer__sitemap li{
  padding-top: 5px;
}


/* Footer sitemap: compact left-aligned layout */
.site-footer__sitemap ul{
  width: 100%;
  justify-content: flex-start;
  gap: 20px;
}


/* Shared footer final lock: match homepage across all pages */
.site-footer,
.home .site-footer{
  margin-top: 48px !important;
  padding-top: 0 !important;
  background: #182025 !important;
  color: #e5e7eb !important;
}

.site-footer__inner,
.home .site-footer__inner{
  width: min(var(--container), 100% - (var(--pad) * 2)) !important;
  margin-inline: auto;
  padding: 12px 0 5px !important;
  display: grid;
  gap: 18px !important;
}

.site-footer__sitemap,
.home .site-footer__sitemap{
  width: min(var(--container), 100% - (var(--pad) * 2));
  margin: 0 auto;
  padding-top: 5px !important;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.site-footer__sitemap ul,
.home .site-footer__sitemap ul,
.home .footer-nav ul{
  width: 100%;
  margin: 0;
  padding: 5px 0 0 !important;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 20px !important;
  list-style: none;
}

.site-footer__sitemap li,
.home .site-footer__sitemap li,
.home .footer-nav li{
  margin: 0;
  padding-top: 0 !important;
  display: inline-flex;
  align-items: center;
}

.site-footer__sitemap a,
.site-footer__sitemap .footer-nav__sponsor,
.home .footer-nav a,
.home .footer-nav__sponsor,
.home .site-footer small,
.site-footer__copyright{
  color: rgba(229, 231, 235, .84) !important;
}

.site-footer__sitemap a,
.site-footer__sitemap .footer-nav__sponsor,
.home .footer-nav a,
.home .footer-nav__sponsor{
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__cta,
.home .site-footer__cta{
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 34vw, 360px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 12px;
  text-align: left;
  isolation: isolate;
  display: block;
}

.site-footer__cta::before,
.home .site-footer__cta::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--footer-cta-bg);
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.site-footer__cta::after,
.home .site-footer__cta::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,24,39,.74) 0%, rgba(17,24,39,.54) 44%, rgba(17,24,39,.34) 100%);
  z-index: 1;
}

.site-footer__cta-copy,
.home .site-footer__cta-copy{
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 560px;
}

.site-footer__kicker,
.home .site-footer__kicker{
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7fd08f !important;
}

.site-footer__heading,
.home .site-footer__heading{
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  color: #fff !important;
}

.site-footer__lead,
.home .site-footer__lead{
  margin: 0;
  max-width: 62ch;
  color: rgba(229, 231, 235, .76) !important;
  line-height: 1.8;
}

.site-footer__cta .site-footer__actions,
.home .site-footer__cta .site-footer__actions{
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.site-footer__cta .site-footer__actions .tl-btn,
.home .site-footer__cta .site-footer__actions .tl-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 46px;
  padding: 12px 18px;
  white-space: nowrap;
}

.site-footer__cta .site-footer__actions .tl-btn--outline,
.home .site-footer__cta .site-footer__actions .tl-btn--outline{
  border: 1px solid rgba(255,255,255,.22) !important;
  background: transparent !important;
  color: #ffffff !important;
}

.site-footer__cta .site-footer__actions .tl-btn:not(.tl-btn--outline),
.home .site-footer__cta .site-footer__actions .tl-btn:not(.tl-btn--outline){
  background: #ffffff !important;
  color: #182025 !important;
  border-color: transparent !important;
}

.site-footer__copyright,
.home .site-footer__copyright,
.home .site-footer small{
  display: block;
  text-align: center;
  margin: 20px 0 0;
  padding: 0;
  font-size: 13px;
  color: rgba(229,231,235,.64) !important;
}

@media (max-width: 760px){
  .site-footer__inner,
  .home .site-footer__inner{
    gap: 20px !important;
  }

  .site-footer__sitemap ul,
  .home .site-footer__sitemap ul,
  .home .footer-nav ul{
    flex-wrap: wrap;
    gap: 10px 12px !important;
  }

  .site-footer__cta,
  .home .site-footer__cta{
    min-height: 0;
    padding: 22px;
    text-align: center;
  }

  .site-footer__cta::after,
  .home .site-footer__cta::after{
    background: linear-gradient(to bottom, rgba(17,24,39,.64) 0%, rgba(17,24,39,.52) 100%);
  }

  .site-footer__cta-copy,
  .home .site-footer__cta-copy{
    justify-items: center;
    max-width: none;
  }

  .site-footer__cta .site-footer__actions,
  .home .site-footer__cta .site-footer__actions{
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__cta .site-footer__actions .tl-btn,
  .home .site-footer__cta .site-footer__actions .tl-btn{
    width: 100%;
    min-width: 0;
  }
}



@media (min-width: 861px){
  .hero-slider,
  .hero-slide{
    height: 690px;
  }
}


/* Footer CTA: remove bottom gap under background image */
.site-footer__cta,
.home .site-footer__cta{
  margin-bottom: 0 !important;
}

.site-footer__cta-copy,
.home .site-footer__cta-copy{
  padding-bottom: 0 !important;
}
