/* =========================================================
   CAMP CREEK KOMBAT — STYLES.CSS (CLEAN + ORGANIZED)
   ---------------------------------------------------------
   Pages supported by this stylesheet:
   - index.html      (Hero, About, hub sections)
   - classes.html    (Class cards + plans embed)
   - schedule.html   (PushPress calendar embed)
   - contact.html    (Contact form)
   - people.html     (Our Team hub + centered team photo)
   - instructors.html / staff-like pages (bios/cards)
   - community.html  (Community sections/cards)
   - gallery.html    (Featured image + masonry grid)
========================================================= */

/* =========================================================
   1) THEME TOKENS (site-wide colors + constants)
========================================================= */
:root{
  --bg: #0b0f14;
  --panel: rgba(18,26,36,.78);
  --panel2: rgba(15,22,32,.78);
  --text: #e9eef6;
  --muted: #b7c3d6;

  /* Blue from your logo */
  --accent: #1f5ea8;

  /* Yellow (brand highlight) */
  --gold: #ffd166;

  --border: rgba(255,255,255,.10);
}

/* =========================================================
   2) BASE / RESETS (site-wide)
========================================================= */
*{ box-sizing: border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

a{ color: inherit; text-decoration: none; }

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.small{ font-size: 12px; color: var(--muted); }

/* =========================================================
   3) HEADER + NAV (all pages)
========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,15,20,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}

.logo{
  height: 56px;
  width: auto;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  padding: 4px;
}

.site-title{
  margin:0;
  font-size: 22px;
  letter-spacing: .4px;
}

.tagline{
  margin:0;
  font-size: 13px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
}

.nav a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.nav a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

/* =========================================================
   4) BUTTONS (site-wide)
   - .btn is the main blue button
   - .btn-outline is the ghost button
   - .btn-team-primary is the highlighted "Our Team" nav button
========================================================= */
.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.btn:hover{ filter: brightness(1.05); }

.btn-outline{
  background: transparent;
  border: 2px solid rgba(255,255,255,0.20);
  color: #ffffff !important;
}

.btn-outline:hover{
  background: rgba(255,255,255,0.08);
}

/* Optional: make "Our Team" stand out in the nav */
.btn-team-primary{
  background: var(--accent);
  color: #fff !important;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.10);
}

/* =========================================================
   5) SECTIONS (site-wide)
========================================================= */
.section{
  padding: 48px 0;
}

.section h2{
  margin: 0 0 10px;
  font-size: 28px;
}

/* Alt section background with subtle border */
.section-alt{
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Helper: centered content for specific sections */
.section--centered{
  text-align: center;
}

.section--centered p{
  max-width: 760px;
  margin: 0 auto 12px;
  color: var(--muted);
}

/* Generic card stack used in a few places */
.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
  max-width: 720px;
}

.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.card h3{ margin:0 0 6px; font-size: 20px; }
.card p{ margin:0; color: var(--muted); }

/* =========================================================
   6) FOOTER (all pages)
========================================================= */
.footer{
  padding: 22px 0;
  border-top: 1px solid var(--border);
  background: rgba(11,15,20,.6);
}

.footer-row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   7) INDEX HERO (index.html)
   NOTE: This is the *centered* hero layout
========================================================= */
.hero-solid{
  min-height: 85vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(255,209,102,.12), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(31,94,168,.22), transparent 55%),
    linear-gradient(135deg, #0b0f14 0%, #111a24 60%, #0b0f14 100%);
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px; /* little extra breathing room before About */
}

/* Centered hero content */
.hero-content{
  max-width: 900px;
  padding: 26px 0;
  text-align: center;
  margin: 0 auto;
}

.hero-logo{
  width: 240px;
  margin: 0 auto 18px;
  display: block;
  opacity: 0.98;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.10);
}

/* Also supports "hero-logo-left" if your HTML uses it */
.hero-logo-left{
  width: 190px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.10);
}

.hero-title{
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 2px;
  margin: 0 0 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-subtitle{
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
  margin: 0 0 12px;
}

.hero-text{
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 22px;
}

.hero-buttons{
  display:flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-bullets{
  list-style: none;
  padding: 0;
  margin: 14px auto 0;
  display: grid;
  gap: 10px;
  justify-content: center;
}

.hero-bullets li{
  position: relative;
  padding-left: 18px;
  font-weight: 650;
}

.hero-bullets li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

/* About link (index) */
.about-link{
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 800;
}
.about-link:hover{ text-decoration: underline; }

/* =========================================================
   7b) HERO COMMUNITY / SOCIAL LINKS
========================================================= */

.hero-community{
  margin-top: 22px;
  text-align: center;
}

.hero-community-label{
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-socials{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Base social button */
.social-btn{
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #fff;
  background: rgba(15,22,32,.85);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

/* Hover = lift + glow */
.social-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

/* Platform accents (subtle, not loud) */
.social-btn.facebook:hover{
  background: rgba(24,119,242,.25);
  border-color: rgba(24,119,242,.55);
}

.social-btn.instagram:hover{
  background: linear-gradient(
    135deg,
    rgba(193,53,132,.35),
    rgba(245,96,64,.35)
  );
  border-color: rgba(245,96,64,.55);
}

.social-btn.discord:hover{
  background: rgba(88,101,242,.35);
  border-color: rgba(88,101,242,.65);
}

/* Note text under socials */
.hero-social-note{
  margin-top: 10px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Extra separation between hero bullets and community section */
.hero-community{
  margin-top: 32px; /* was 22px */
}

/* Optional: slightly more space after bullets themselves */
.hero-bullets{
  margin-bottom: 18px;
}


/* =========================================================
   7c) HOME ABOUT SECTION LAYOUT
========================================================= */

.section-about{
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-about h2{
  margin-bottom: 18px;
}

/* Two-column layout on desktop */
.about-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 20px;
  text-align: left;
}

/* Card-style blocks */
.about-block{
  background: rgba(15,22,32,.75);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 18px 20px;
}

.about-block h3{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.about-block p{
  margin: 0 0 10px;
  color: var(--muted);
}

/* Bullet list for the right block */
.about-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li{
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--muted);
}

.about-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

/* =========================================================
   8) SCHEDULE (old table layout — optional)
   If you no longer use the table schedule on index, you can delete this block later.
========================================================= */
.schedule{
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow:hidden;
}

.schedule-row{
  display:grid;
  grid-template-columns: 1.4fr .8fr 1.8fr;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(18,26,36,.55);
  border-top: 1px solid var(--border);
}
.schedule-row:first-child{ border-top: none; }

/* =========================================================
   9) SCHEDULE PAGE EMBED (schedule.html)
   Classes used:
   - .schedule-page, .calendar-embed
========================================================= */
.schedule-page{
  max-width: 1200px;
}

.calendar-embed{
  width: 100%;
  height: 80vh;
  min-height: 620px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  margin-top: 18px;
}

.calendar-embed iframe{
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================================
   10) CONTACT PAGE (contact.html)
========================================================= */
.contact-page{
  padding: 80px 0;
}

/* If your HTML uses a wrapper card like <div class="contact-card"> */
.contact-card{
  width: min(680px, 100%);
  margin: 0 auto;
  background: rgba(18,26,36,.70);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.contact-title,
.contact-heading{
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: 0.5px;
  font-weight: 950;
}

/* If you wrap a word in <span> to color it */
.contact-title span,
.contact-heading span{
  color: var(--gold);
  position: relative;
}

.contact-title span::after,
.contact-heading span::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  opacity: .95;
}

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Works whether your HTML uses label blocks or .form-group */
.contact-form label,
.form-group label{
  font-weight: 650;
  color: var(--muted);
  font-size: 15px;
  display: block;
}

.required,
.req{
  color: var(--gold);
  font-weight: 900;
  margin-left: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(15,22,32,0.85);
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: var(--gold);
}

/* Submit button: supports either .contact-submit or <button> */
.contact-submit,
.contact-form button{
  align-self: center;
  margin-top: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 850;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  width: auto; /* prevents “too wide” */
  transition: filter .15s ease, transform .12s ease;
}

.contact-submit:hover,
.contact-form button:hover{
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.form-note,
.contact-note{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* =========================================================
   11) PEOPLE HUB (people.html) — "Our Team"
========================================================= */
.people-hero{
  text-align: center;
}

.people-title{
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 950;
  margin: 0 0 10px;
}

.people-intro{
  max-width: 720px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 18px;
}

/* Centered team photo */
.team-photo-wrap{
  display: flex;
  justify-content: center;
  margin: 22px 0 32px;
}

.team-photo-wrap img{
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  object-fit: contain; /* no cropping */
}

/* Center the cards + keep buttons consistent */
.people-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  justify-items: center;
}

.people-card{
  width: 100%;
  max-width: 360px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.people-card h3{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.people-card p{
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 260px;
}

/* Make all buttons in these cards match */
.people-card .btn{
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 850;
  border-radius: 999px;
  width: auto;
}

/* Back link used on community/gallery/etc */
.people-back{
  display: inline-block;
  margin: 10px 0 20px;
  color: var(--gold);
  font-weight: 800;
}
.people-back:hover{ text-decoration: underline; }

/* =========================================================
   12) INSTRUCTORS / STAFF BIO PAGES (instructors.html)
========================================================= */
.staff-page{
  max-width: 980px;
  margin: 0 auto;
}

.staff-title{
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 950;
  margin: 0 0 26px;
  color: var(--accent);
  letter-spacing: .5px;
  position: relative;
}

/* short underline accent under the title */
.staff-title::after{
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 10px;
  background: var(--gold);
  border-radius: 999px;
}

.staff-grid{
  display: grid;
  gap: 18px;
}

.staff-card{
  background: rgba(18,26,36,.70);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

/* Names: Hunter / Graham */
.staff-name{
  margin: 0 0 6px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: .3px;
}

/* Role line */
.staff-role{
  display: inline-block;
  margin: 0 0 14px;
  color: var(--accent); /* you asked for blue roles */
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 14px;
}

.staff-bio p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.staff-bio p strong{
  color: var(--text);
  font-weight: 850;
}

/* =========================================================
   13) COMMUNITY PAGE (community.html)
========================================================= */
.community-page{
  max-width: 1100px;
}

.community-sections{
  margin-top: 18px;
  display: grid;
  gap: 22px;
}

.community-block{
  background: rgba(18,26,36,.55);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.community-title{
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.community-sub{
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 900px;
}

.community-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.community-card{
  background: rgba(15,22,32,.70);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.community-name{
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 18px;
}

.community-text{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.community-tag{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: rgba(31,94,168,.22);
  border: 1px solid rgba(31,94,168,.35);
}

/* =========================================================
   14) GALLERY PAGE (gallery.html)
   - Featured image (no head-chopping: object-position can be adjusted)
   - Masonry grid (CSS columns)
========================================================= */
.gallery-page{
  max-width: 1100px;
}

/* Featured hero image */
.gallery-feature{
  position: relative;
  display: block;
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(18,26,36,.45);
}

/* IMPORTANT: object-position helps “heads not cut off”
   Default: center top. If still cropped, try: 50% 20% */
.gallery-feature img{
  width: 100%;
  height: clamp(220px, 34vw, 360px);
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
  filter: brightness(0.92);
  transform: scale(1.01);
}

.gallery-feature-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
}

.gallery-feature-title{
  font-size: 22px;
  font-weight: 950;
  letter-spacing: .6px;
}

.gallery-feature-sub{
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
}

/* Masonry */
.gallery-masonry{
  margin-top: 18px;
  column-count: 3;
  column-gap: 14px;
}

.gallery-tile{
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(18,26,36,.45);
  break-inside: avoid;
}

.gallery-tile img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform .18s ease, filter .18s ease;
  filter: brightness(0.96);
}

.gallery-tile:hover img{
  transform: scale(1.02);
  filter: brightness(1.05);
}

.gallery-note{
  margin-top: 12px;
  color: var(--muted);
}

/* =========================================================
   15) CLASSES PAGE (classes.html)
   Includes: class cards + plans embed styling
========================================================= */
.classes-page{
  max-width: 1100px;
}

.section-title{
  margin: 0 0 10px;
  font-size: 28px;
}

.classes-sub{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 920px;
}

.classes-cta-row{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 8px;
}

.classes-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.class-card{
  background: rgba(18,26,36,.70);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.class-card h3{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.class-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Plans embed (PushPress plans) */
.plans-embed{
  width: 100%;
  max-width: 1100px;
  height: 760px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  margin-top: 10px;
}

.plans-embed iframe{
  width: 100%;
  height: 100%;
  border: none;
}

.plans-fallback{
  margin-top: 10px;
  color: var(--muted);
}

.plans-fallback a{
  color: var(--gold);
  font-weight: 800;
}

/* ==============================
   CLASSES PAGE ALIGNMENT FIX
============================== */

/* Center the hero content on Classes page */
.classes-page > .people-title,
.classes-page > .people-intro{
  text-align: center;
}

/* Center the CTA buttons row */
.classes-cta-row{
  justify-content: center;
}

/* Keep cards readable (do NOT center text inside them) */
.card{
  text-align: left;
}

/* ==============================
   CLASSES + PLANS CENTERING
============================== */

/* Center the class cards group */
#classes .cards{
  margin-left: auto;
  margin-right: auto;
}

/* Slightly narrow cards for better focus */
#classes .cards{
  max-width: 900px;
}

/* Keep card text readable */
#classes .card{
  text-align: left;
}

/* Center the Plans section content */
#plans .classes-page{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Constrain the plans embed width */
#plans .plans-embed{
  max-width: 900px;
  width: 100%;
}

/* Keep fallback text centered */
#plans .plans-fallback{
  text-align: center;
}


/* ==================================
   AFFILIATIONS / SPONSORS
================================== */

.affiliations-grid{
  display: grid;
  justify-content: center;
  margin-top: 18px;
}

.affiliation-card{
  background: rgba(18,26,36,.70);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 22px;
  text-align: center;
  max-width: 360px;
}

.affiliation-card img{
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.affiliation-name{
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 16px;
}

.affiliation-text{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================================
   16) RESPONSIVE (site-wide)
========================================================= */
@media (max-width: 900px){

  /* ---------- HEADER / NAV ON MOBILE ---------- */

  .header-row{
    flex-direction: column;
    align-items: flex-start;   /* or center if you prefer */
    gap: 8px;
    padding: 10px 0;
  }

  .nav{
    display: flex;             /* no longer hidden */
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }

  .nav a{
    font-size: 14px;
    padding: 8px 10px;
  }

  /* ---------- HERO ---------- */

  .hero-title{
    white-space: normal;
  }

  /* ---------- SCHEDULE TABLE FALLBACK ---------- */

  .schedule-row{
    grid-template-columns: 1fr;
  }

  /* ---------- SCHEDULE / CALENDAR EMBEDS ---------- */

  .calendar-embed{
    height: 70vh;
    min-height: 520px;
  }

  /* ---------- COMMUNITY GRID ---------- */

  .community-grid{
    grid-template-columns: 1fr;
  }

  /* ---------- GALLERY MASONRY ---------- */

  .gallery-masonry{
    column-count: 2;
  }

  /* ---------- PLANS EMBED HEIGHT ---------- */

  .plans-embed{
    height: 680px;
  }

  /* ---------- ABOUT SECTION STACKS ---------- */

  .about-grid{
    grid-template-columns: 1fr;
  }

  /* ---------- CLASSES PAGE LAYOUT ---------- */

  #classes .cards{
    max-width: 100%;
  }

  #classes .card{
    padding: 16px;
  }

  #plans .classes-page{
    align-items: stretch;
  }

  #plans .plans-embed{
    max-width: 100%;
  }
}


/* ==============================
   CLASSES + PLANS LAYOUT
   (desktop + mobile)
============================== */

/* Center hero content on the Classes page */
.classes-page > .people-title,
.classes-page > .people-intro{
  text-align: center;
}

/* Center the CTA buttons row under the Classes hero */
.classes-cta-row{
  justify-content: center;
}

/* ---------- CLASS CARDS ---------- */

/* Center the group of cards and gently constrain width on larger screens */
#classes .cards{
  max-width: 900px;
  margin: 18px auto 0;   /* centers within the container */
}

/* Keep card text left-aligned for readability */
#classes .card{
  text-align: left;
}

/* ---------- PLANS SECTION ---------- */

/* Center the Plans content and text */
#plans .classes-page{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Constrain the embed so it lines up with the cards */
#plans .plans-embed{
  max-width: 900px;
  width: 100%;
}

/* Center the fallback link text */
#plans .plans-fallback{
  text-align: center;
}

@media (max-width: 900px){

  /* Allow cards to use full container width on small screens */
  #classes .cards{
    max-width: 100%;
  }

  /* Slightly tighter card padding on small screens (optional) */
  #classes .card{
    padding: 16px;
  }

  /* Plans section: let content stretch instead of feeling cramped */
  #plans .classes-page{
    align-items: stretch;
  }

  #plans .plans-embed{
    max-width: 100%;
  }
}
.site-footer {
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
  line-height: 1.4;
}

.footer-right {
  text-align: right;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-note {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
