/*
Theme Name: Tullyallen Community Centre
Theme URI: https://tullyallencc.ie/
Author: Flow Web Design
Author URI: https://flowwebdesign.ie/
Description: A bespoke WordPress theme for Tullyallen Community Centre. Civic blue palette with a warm gold accent. Built around a custom homepage layout with editable events, news and groups via custom post types, plus Customizer settings for the hero, contact info and social URLs. No plugin dependencies.
Version: 2.13.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tullyallen-cc
Tags: community, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
  --green-deep: #1e6fbf;       /* civic blue - primary (like reference) */
  --green-darker: #134a85;     /* darker navy-blue for utility bar */
  --green-soft: #4583c7;       /* lighter blue for highlights */
  --cream: #eaf1f9;            /* light blue-grey for section bands */
  --cream-warm: #f4f8fc;       /* very light blue tint */
  --paper: #fdfeff;            /* near-pure white */
  --amber: #d4a042;            /* warm muted gold - subtle accent */
  --amber-dark: #a07a26;       /* deeper gold */
  --soft-tan: #d8e6f3;         /* light blue tint replacing wheat */
  --ink: #1a2230;
  --ink-muted: #5a6478;
  --border: rgba(30, 111, 191, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ====== TOP UTILITY BAR ====== */
.utility-bar {
  background: var(--green-darker);
  color: var(--cream);
  font-size: 13px;
  padding: 10px 0;
  position: relative;
  z-index: 50;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-bar .left {
  display: flex;
  gap: 24px;
  align-items: center;
}
.utility-bar .left span {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.utility-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.utility-bar a:hover { opacity: 1; color: var(--amber); }
.utility-bar .right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.utility-bar svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ====== MAIN NAVIGATION ====== */
.main-nav {
  background: var(--paper);
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px dashed var(--green-soft);
  border-radius: 50%;
  opacity: 0.4;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--green-deep);
  font-variation-settings: "opsz" 24;
}
.logo-text .sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
}
.nav-links li a {
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.3s ease;
}
.nav-links li a:hover { color: var(--green-deep); }
.nav-links li a:hover::after { width: 100%; }
.nav-links li.active a { color: var(--green-deep); }
.nav-links li.active a::after { width: 100%; }

.btn-book {
  background: var(--green-deep);
  color: var(--cream-warm);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}
.btn-book:hover {
  background: var(--amber);
  transform: translateY(-1px);
}
.btn-book svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 90px 0 110px;
  background: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--soft-tan) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--amber);
}
.hero h1 {
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 .italic {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 300;
}
.hero h1 .accent {
  color: var(--amber);
  position: relative;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn-primary {
  background: var(--green-deep);
  color: var(--cream-warm);
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.btn-primary:hover {
  background: var(--green-darker);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(30,111,191,0.4);
}
.btn-primary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  color: var(--ink);
  padding: 16px 8px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.btn-ghost:hover { border-bottom-color: var(--green-deep); }

/* Hero image collage */
.hero-visual {
  position: relative;
  height: 560px;
}
.hero-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 78%;
  height: 100%;
  border-radius: 280px 280px 24px 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(30,111,191,0.35);
}
.hero-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-img-small {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 50%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -15px rgba(30,111,191,0.4);
  border: 6px solid var(--paper);
  z-index: 2;
}
.hero-img-small img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  top: 40px;
  left: 20px;
  background: var(--amber);
  color: var(--paper);
  padding: 18px 22px;
  border-radius: 999px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  z-index: 3;
  transform: rotate(-6deg);
  box-shadow: 0 12px 30px -10px rgba(212,160,66,0.5);
}
.hero-badge::before {
  content: '★';
  margin-right: 8px;
}

/* Decorative dots */
.dots-pattern {
  position: absolute;
  bottom: -40px; right: 40%;
  width: 120px; height: 80px;
  background-image: radial-gradient(circle, var(--green-deep) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.25;
  z-index: 0;
}

/* ====== QUICK LINKS STRIP ====== */
.quick-links {
  background: var(--green-deep);
  padding: 0;
  position: relative;
  z-index: 3;
}
.quick-links .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.ql-card {
  padding: 38px 36px;
  color: var(--cream);
  border-right: 1px solid rgba(245, 239, 225, 0.12);
  display: flex;
  gap: 22px;
  align-items: center;
  transition: background 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.ql-card:last-child { border-right: none; }
.ql-card:hover { background: var(--green-darker); }
.ql-icon {
  width: 54px; height: 54px;
  background: rgba(245, 239, 225, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.ql-card:hover .ql-icon {
  background: var(--amber);
  transform: rotate(-8deg);
}
.ql-icon svg { width: 24px; height: 24px; stroke: var(--cream); fill: none; stroke-width: 1.6; }
.ql-text h3 {
  font-family: 'Fraunces', serif;
  color: var(--cream);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
  font-variation-settings: "opsz" 24;
}
.ql-text p {
  color: rgba(245, 239, 225, 0.7);
  font-size: 13.5px;
  line-height: 1.5;
}
.ql-arrow {
  position: absolute;
  top: 28px; right: 28px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.ql-card:hover .ql-arrow {
  opacity: 1;
  transform: translate(4px, -4px);
}
.ql-arrow svg { width: 18px; height: 18px; stroke: var(--amber); fill: none; stroke-width: 2; }

/* ====== ABOUT / WHO WE ARE ====== */
.about {
  padding: 130px 0;
  background: var(--paper);
  position: relative;
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 580px;
}
.about-img-1 {
  position: absolute;
  top: 0; left: 0;
  width: 75%; height: 65%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(30,111,191,0.25);
}
.about-img-1 img { width: 100%; height: 100%; object-fit: cover; }
.about-img-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%; height: 50%;
  border-radius: 16px;
  overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: 0 30px 70px -15px rgba(30,111,191,0.35);
}
.about-img-2 img { width: 100%; height: 100%; object-fit: cover; }
.about-stat {
  position: absolute;
  top: 30%;
  right: 30px;
  background: var(--cream-warm);
  padding: 24px 26px;
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(30,111,191,0.2);
  z-index: 3;
  border: 1px solid var(--border);
}
.about-stat .num {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--green-deep);
  font-variation-settings: "opsz" 48;
  line-height: 1;
}
.about-stat .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 500;
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--amber);
}

.about h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  margin-bottom: 28px;
}
.about h2 em {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 300;
}
.about p {
  color: var(--ink-muted);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 540px;
}
.about-features {
  list-style: none;
  margin: 36px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.about-features li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--soft-tan);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231e6fbf' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ====== EVENTS SECTION ====== */
.events {
  background: var(--cream);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.events::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--soft-tan) 0%, transparent 70%);
  opacity: 0.6;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}
.section-head .title-block { max-width: 600px; }
.section-head h2 {
  font-size: clamp(38px, 5vw, 64px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
}
.section-head h2 em {
  font-style: italic;
  color: var(--amber-dark);
  font-weight: 300;
}
.section-head p {
  color: var(--ink-muted);
  font-size: 16px;
  margin-top: 16px;
  max-width: 480px;
}
.view-all {
  color: var(--green-deep);
  font-weight: 500;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--green-deep);
  transition: all 0.25s;
  white-space: nowrap;
}
.view-all:hover {
  color: var(--amber-dark);
  border-bottom-color: var(--amber-dark);
  gap: 12px;
}
.view-all svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}
.event-card {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(30,111,191,0.2);
}
.event-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.event-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.event-card:hover .event-img img { transform: scale(1.05); }
.event-date {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--paper);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 8px 20px -5px rgba(0,0,0,0.15);
  min-width: 60px;
}
.event-date .day {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1;
}
.event-date .month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-top: 4px;
  font-weight: 500;
}
.event-body { padding: 26px 28px 28px; }
.event-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 500;
  margin-bottom: 12px;
}
.event-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 36;
}
.event-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.event-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-meta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ====== GROUPS & CLASSES FEATURED ====== */
.featured-groups {
  padding: 130px 0;
  background: var(--paper);
}
.featured-groups .section-head { margin-bottom: 56px; }
.groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.group-tile {
  position: relative;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.group-tile.tall { grid-row: span 2; height: auto; min-height: 580px; }
.group-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.group-tile:hover img { transform: scale(1.06); }
.group-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 38, 33, 0.85) 0%, rgba(20, 38, 33, 0.2) 50%, transparent 100%);
}
.group-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  color: var(--cream);
  z-index: 2;
}
.group-info .day-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 8px;
}
.group-info h3 {
  font-family: 'Fraunces', serif;
  color: var(--cream);
  font-size: 24px;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
}
.group-tile.tall .group-info h3 { font-size: 32px; font-variation-settings: "opsz" 60; }
.group-info p {
  color: rgba(245,239,225,0.8);
  font-size: 13.5px;
  margin-top: 6px;
}

/* ====== SPLIT CTA TILES ====== */
.split-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.split-tile {
  position: relative;
  height: 480px;
  overflow: hidden;
  cursor: pointer;
}
.split-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.split-tile:hover img { transform: scale(1.04); }
.split-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 111, 191, 0.75) 0%, rgba(30, 111, 191, 0.4) 100%);
  transition: background 0.3s;
}
.split-tile:hover::after {
  background: linear-gradient(135deg, rgba(30, 111, 191, 0.85) 0%, rgba(30, 111, 191, 0.55) 100%);
}
.split-tile .content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  color: var(--cream);
  z-index: 2;
}
.split-tile .eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 18px;
}
.split-tile h2 {
  font-family: 'Fraunces', serif;
  color: var(--cream);
  font-size: clamp(36px, 4vw, 54px);
  font-variation-settings: "opsz" 72;
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 320px;
}
.split-tile h2 em { font-style: italic; font-weight: 300; }
.split-tile p {
  color: rgba(245,239,225,0.85);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 340px;
}
.split-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 500;
  font-size: 14.5px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cream);
  align-self: flex-start;
  transition: gap 0.25s;
}
.split-tile:hover .split-link { gap: 14px; }
.split-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ====== NEWS / BLOG ====== */
.news {
  padding: 130px 0;
  background: var(--paper);
}
.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.news-card {
  cursor: pointer;
  transition: transform 0.3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card .img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
}
.news-card.featured .img { aspect-ratio: 1.2/1; }
.news-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .img img { transform: scale(1.05); }
.news-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.news-meta .cat { color: var(--amber-dark); }
.news-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 36;
  line-height: 1.2;
}
.news-card.featured h3 {
  font-size: 32px;
  font-variation-settings: "opsz" 60;
}
.news-card p {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.news-card.featured p { font-size: 16px; }

/* ====== SOCIALS ====== */
.socials {
  background: var(--cream);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.socials::before {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--soft-tan) 0%, transparent 70%);
  opacity: 0.5;
}
.socials .container { position: relative; z-index: 2; }
.socials h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  margin-bottom: 16px;
}
.socials h2 em { font-style: italic; color: var(--amber-dark); }
.socials p {
  color: var(--ink-muted);
  max-width: 500px;
  margin: 0 auto 48px;
  font-size: 16px;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.social-tile {
  background: var(--paper);
  padding: 32px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.social-tile:hover {
  background: var(--green-deep);
  color: var(--cream);
  transform: translateY(-4px);
  border-color: var(--green-deep);
}
.social-tile .icon {
  width: 44px; height: 44px;
  background: var(--soft-tan);
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.social-tile:hover .icon { background: var(--amber); }
.social-tile .icon svg { width: 22px; height: 22px; fill: var(--green-deep); transition: fill 0.3s; }
.social-tile:hover .icon svg { fill: var(--paper); }
.social-tile .name {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
}
.social-tile .handle {
  font-size: 12.5px;
  color: var(--ink-muted);
  transition: color 0.3s;
}
.social-tile:hover .handle { color: rgba(245,239,225,0.8); }

/* ====== FOOTER ====== */
footer {
  background: var(--green-darker);
  color: var(--cream);
  padding: 90px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 70px;
}
.footer-brand .logo-mark { background: var(--cream); }
.footer-brand .logo-mark::after { border-color: var(--soft-tan); }
.footer-brand .logo-mark svg path { stroke: var(--green-deep); }
.footer-brand .logo-text .name { color: var(--cream); }
.footer-brand .logo-text .sub { color: rgba(245,239,225,0.6); }
.footer-brand p {
  color: rgba(245,239,225,0.7);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 24px 0;
  max-width: 320px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(245,239,225,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.footer-socials a:hover {
  background: var(--amber);
  border-color: var(--amber);
}
.footer-socials svg { width: 15px; height: 15px; fill: var(--cream); }

footer h4 {
  font-family: 'Fraunces', serif;
  color: var(--cream);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(245,239,225,0.75);
  font-size: 14.5px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--amber); }
.footer-links a::before { content: '→'; opacity: 0; transition: opacity 0.2s; }
.footer-links a:hover::before { opacity: 1; }

.contact-block {
  font-size: 14.5px;
  color: rgba(245,239,225,0.75);
  line-height: 1.8;
}
.contact-block strong {
  color: var(--cream);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.contact-block .item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-block .item svg {
  width: 18px; height: 18px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
  margin-top: 3px;
}
.search-box {
  margin-top: 24px;
}
.search-box .field {
  position: relative;
  display: flex;
}
.search-box input {
  width: 100%;
  background: rgba(245,239,225,0.06);
  border: 1px solid rgba(245,239,225,0.15);
  border-radius: 999px;
  padding: 14px 50px 14px 20px;
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.search-box input:focus { border-color: var(--amber); }
.search-box input::placeholder { color: rgba(245,239,225,0.5); }
.search-box button {
  position: absolute;
  right: 5px; top: 50%;
  transform: translateY(-50%);
  background: var(--amber);
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-box button svg { width: 14px; height: 14px; stroke: var(--cream); fill: none; stroke-width: 2.2; }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(245,239,225,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(245,239,225,0.5);
}
.footer-bottom .legals {
  display: flex;
  gap: 24px;
}
.footer-bottom a:hover { color: var(--amber); }

/* Responsive */
@media (max-width: 1100px) {
  .hero .container, .about .container { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual, .about-visual { height: 460px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .groups-grid { grid-template-columns: repeat(2, 1fr); }
  .group-tile.tall { grid-row: auto; min-height: 280px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split-ctas { grid-template-columns: 1fr; }
  .quick-links .container { grid-template-columns: 1fr; }
  .ql-card { border-right: none; border-bottom: 1px solid rgba(245,239,225,0.12); }
  .split-tile .content { padding: 50px; }
}

/* ============================================================
   NAV — Desktop layout + mobile slide-in menu
   ============================================================ */

/* Wrap the Book button + burger together on the right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Burger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-toggle:hover {
  border-color: var(--green-deep);
  color: var(--green-deep);
}
.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle-bars span {
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease;
  transform-origin: center;
}
/* Bars morph into X when menu open */
body.nav-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Scrim behind slide-in menu */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(19, 74, 133, 0.55);
  backdrop-filter: blur(4px);
  z-index: 39;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-scrim:not([hidden]) { display: block; }
body.nav-open .nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

/* Prevent background scroll when menu is open */
body.nav-open { overflow: hidden; }

/* Mobile-only Book CTA — appears at top of slide-in menu */
.nav-mobile-book {
  display: none;
}
@media (max-width: 1100px) {
  .nav-mobile-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    top: 24px;
    right: 32px;
    width: calc(min(88vw, 380px) - 64px);
    max-width: 320px;
    padding: 14px 22px;
    background: var(--green-deep);
    color: var(--cream);
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-decoration: none;
    z-index: 46;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
  }
  .nav-mobile-book:hover { background: var(--green-darker); }
  .nav-mobile-book svg { width: 14px; height: 14px; }
  body.nav-open .nav-mobile-book {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {

  /* Show the burger button on mobile */
  .nav-toggle { display: inline-flex; }

  /* Hide the desktop Book CTA in the header — it's inside the mobile menu instead */
  .nav-actions .btn-book { display: none; }

  /* Nav-links becomes a slide-in panel from the right */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(88vw, 380px);
    background: var(--paper);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 50px -20px rgba(19, 74, 133, 0.25);
    padding: 100px 32px 40px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    z-index: 45;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  body.nav-open .nav-links {
    transform: translateX(0);
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li a {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-variation-settings: "opsz" 36;
    font-weight: 500;
    color: var(--ink);
    padding: 18px 4px;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.25s;
  }
  .nav-links li a:hover,
  .nav-links li.active a,
  .nav-links li.current-menu-item a {
    color: var(--green-deep);
    padding-left: 8px;
  }
  /* Kill the desktop underline effect */
  .nav-links li a::after { display: none; }

}

/* Very small screens — logo compact + utility bar tidy */
@media (max-width: 720px) {
  .utility-bar { padding: 8px 0; font-size: 12px; }
  .utility-bar .container {
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
  }
  .utility-bar .left {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .utility-bar .right {
    gap: 14px;
    justify-content: center;
  }
  /* Hide long address on small screens — phone + hours are more actionable */
  .utility-bar .left span:first-child { display: none; }
  /* Hide FAQ/Find Us duplicates — they're in the main menu */
  .utility-bar .right a:first-child,
  .utility-bar .right a:last-child { display: none; }
}
@media (max-width: 480px) {
  /* Tighten header padding */
  .main-nav { padding: 14px 0; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-mark svg { width: 20px; height: 20px; }
  .logo-text .name { font-size: 22px; }
  .logo-text .sub { font-size: 10.5px; letter-spacing: 0.14em; }
  .nav-toggle {
    padding: 8px 12px;
    font-size: 12px;
  }
  .nav-toggle-label { display: none; } /* Just the burger icon at very narrow widths */
  .nav-toggle-bars { width: 20px; gap: 5px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .events-grid, .groups-grid, .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .about-features { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 70px; }
  .about, .events, .featured-groups, .news, .socials { padding: 80px 0; }
}

/* Fade-in animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero p.lead, .hero-ctas, .hero-eyebrow {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero p.lead { animation-delay: 0.45s; }
.hero-ctas { animation-delay: 0.6s; }
.hero-visual { animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards; }

/* ============================================
   WordPress core required styles
   ============================================ */
.alignleft   { float: left;  margin: 0 1.5em 1em 0; }
.alignright  { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide   { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull   { width: 100vw; margin-left: calc(50% - 50vw); }

.wp-caption        { max-width: 100%; }
.wp-caption-text   { font-size: 13px; color: var(--ink-muted); text-align: center; padding: 8px 4px 0; }
.gallery-caption   { font-size: 13px; color: var(--ink-muted); }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1; clip: auto !important; -webkit-clip-path: none; clip-path: none;
  color: #21759b; display: block; font-size: 14px; font-weight: 700;
  height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px;
  text-decoration: none; top: 5px; width: auto; z-index: 100000;
}
.sticky    { display: block; }
.bypostauthor { display: block; }

/* Admin bar nudge for sticky nav */
.admin-bar .main-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .main-nav { top: 46px; }
}

/* Default page content wrapper for non-homepage pages */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.page-content h1 { font-size: 48px; margin-bottom: 32px; font-variation-settings: "opsz" 96; }
.page-content h2 { font-size: 32px; margin: 48px 0 16px; }
.page-content h3 { font-size: 24px; margin: 32px 0 12px; }
.page-content p, .page-content ul, .page-content ol { margin-bottom: 18px; color: var(--ink-muted); line-height: 1.75; }
.page-content ul, .page-content ol { padding-left: 24px; }
.page-content a { color: var(--green-deep); border-bottom: 1px solid var(--green-deep); }
.page-content a:hover { color: var(--amber-dark); border-bottom-color: var(--amber-dark); }

/* Pagination */
.pagination {
  display: flex; justify-content: center; gap: 12px;
  padding: 40px 0; flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 10px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--border);
  color: var(--ink);
  transition: all 0.2s;
}
.pagination a:hover, .pagination .current {
  background: var(--green-deep); color: var(--paper); border-color: var(--green-deep);
}


/* ============================================================
   ABOUT US PAGE
   ============================================================ */

/* --- Page hero --- */
.pg-hero {
  padding: 100px 0 90px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.pg-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--soft-tan) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
}
.pg-hero .container {
  position: relative; z-index: 2;
  max-width: 900px;
}
.pg-hero .section-eyebrow { margin-bottom: 28px; }
.pg-hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  color: var(--ink);
}
.pg-hero h1 em {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 300;
}
.pg-hero h1 .accent { color: var(--amber); }
.pg-hero .lead {
  font-size: 20px;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 720px;
}

/* --- Focus grid (5 items) --- */
.focus {
  padding: 100px 0;
  background: var(--cream);
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.focus-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 32px 26px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(30,111,191,0.15);
}
.focus-num {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  color: var(--amber);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.focus-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 24;
}
.focus-card p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Mission block --- */
.mission {
  background: var(--green-deep);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  color: var(--cream);
}
.mission::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(circle, rgba(212,160,66,0.08) 2px, transparent 2px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.mission .container {
  position: relative; z-index: 2;
  max-width: 900px;
  text-align: center;
}
.mission .section-eyebrow {
  justify-content: center;
  color: var(--amber);
}
.mission .section-eyebrow::before { background: var(--amber); }
.mission blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  font-variation-settings: "opsz" 96;
  color: var(--cream);
  margin: 32px 0 0;
  letter-spacing: -0.015em;
}
.mission blockquote::before {
  content: '“';
  display: block;
  font-size: 100px;
  line-height: 0.4;
  color: var(--amber);
  margin-bottom: 24px;
  opacity: 0.75;
}

/* --- Values grid (8 items) --- */
.values {
  padding: 120px 0;
  background: var(--paper);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  margin-top: 60px;
}
.value-item {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--soft-tan);
}
.value-num {
  position: absolute;
  top: -14px;
  left: 0;
  background: var(--paper);
  padding-right: 12px;
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--amber-dark);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.value-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 36;
  color: var(--ink);
}
.value-item p {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* --- In Practice block (split layout) --- */
.practice {
  padding: 100px 0;
  background: var(--cream-warm);
}
.practice .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.practice-visual {
  border-radius: 16px;
  overflow: hidden;
  height: 480px;
  box-shadow: 0 25px 60px -20px rgba(30,111,191,0.25);
}
.practice-visual img { width: 100%; height: 100%; object-fit: cover; }
.practice-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  margin-bottom: 20px;
}
.practice-content h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.practice-content > p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}
.practice-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}
.practice-list li {
  padding-left: 34px;
  position: relative;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
}
.practice-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--soft-tan);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231e6fbf' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- History / Timeline --- */
.history {
  padding: 120px 0;
  background: var(--paper);
}
.history .container { max-width: 900px; }
.history-intro {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.75;
  margin-top: 24px;
  margin-bottom: 60px;
  max-width: 720px;
}
.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--soft-tan);
}
.timeline-item {
  position: relative;
  padding-bottom: 56px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -49px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--amber);
}
.timeline-year {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.timeline-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 48;
  line-height: 1.25;
}
.timeline-item p {
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.timeline-photo { margin: 20px 0 0; }
.timeline-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 6px;
}

/* --- Volunteer form --- */
.volunteer {
  padding: 100px 0 120px;
  background: var(--green-deep);
  color: var(--cream);
}
.volunteer .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.volunteer-intro .section-eyebrow { color: var(--amber); }
.volunteer-intro .section-eyebrow::before { background: var(--amber); }
.volunteer-intro h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 24px;
}
.volunteer-intro h2 em { font-style: italic; opacity: 0.9; font-weight: 300; }
.volunteer-intro p {
  color: rgba(245,239,225,0.85);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 460px;
}
.volunteer-form {
  background: var(--paper);
  border-radius: 16px;
  padding: 40px 40px 36px;
  color: var(--ink);
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.35);
}
.volunteer-form h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  margin-bottom: 8px;
}
.volunteer-form .form-sub {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.volunteer-form .field {
  margin-bottom: 20px;
}
.volunteer-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.volunteer-form input[type="text"],
.volunteer-form input[type="email"],
.volunteer-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.volunteer-form input:focus,
.volunteer-form textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(30,111,191,0.12);
}
.volunteer-form textarea { resize: vertical; min-height: 130px; }
.volunteer-form button {
  background: var(--green-deep);
  color: var(--paper);
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
  margin-top: 8px;
}
.volunteer-form button:hover {
  background: var(--amber);
  transform: translateY(-2px);
}
.volunteer-form button svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.form-notice {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14.5px;
  font-weight: 500;
}
.form-notice.success { background: #e8f4ea; color: #1a6d2e; border: 1px solid #b6dbc0; }
.form-notice.error   { background: #fbeaea; color: #8f2020; border: 1px solid #e5b6b6; }

/* --- Related cards footer --- */
.related {
  padding: 100px 0;
  background: var(--paper);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.related-card {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.related-card:hover {
  background: var(--green-deep);
  color: var(--cream);
  transform: translateY(-4px);
  border-color: var(--green-deep);
}
.related-card:hover h3,
.related-card:hover p,
.related-card:hover .related-arrow { color: var(--cream); }
.related-card:hover .related-arrow { color: var(--amber); }
.related-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.related-card:hover .related-eyebrow { color: var(--amber); }
.related-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.related-card p {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 22px;
  transition: color 0.3s;
}
.related-arrow {
  font-weight: 500;
  font-size: 14px;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s, gap 0.25s;
}
.related-card:hover .related-arrow { gap: 12px; }
.related-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .focus-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .practice .container { grid-template-columns: 1fr; gap: 50px; }
  .practice-visual { height: 380px; }
  .volunteer .container { grid-template-columns: 1fr; gap: 50px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .focus-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .pg-hero { padding: 60px 0 50px; }
  .focus, .values, .practice, .history, .volunteer, .related { padding: 70px 0; }
  .mission { padding: 80px 0; }
  .timeline { padding-left: 30px; }
  .timeline-item::before { left: -39px; }
  .volunteer-form { padding: 30px 24px; }
}


/* ============================================================
   WEEKLY TIMETABLE
   ============================================================ */
.timetable {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.timetable::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--soft-tan) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.timetable .container { position: relative; z-index: 2; }
.timetable .section-head { margin-bottom: 48px; }

/* Grid wrapper (allows horizontal scroll on narrow desktop/tablet) */
.tt-grid-wrap {
  background: var(--paper);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(30, 111, 191, 0.12);
}
.tt-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tt-grid thead th {
  background: var(--green-deep);
  color: var(--cream);
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 14px;
  font-variation-settings: "opsz" 24;
  text-align: left;
  padding: 20px 18px;
  letter-spacing: 0.02em;
  vertical-align: middle;
  border-right: 1px solid rgba(245, 239, 225, 0.15);
}
.tt-grid thead th:last-child { border-right: none; }
.tt-day-short { display: none; }

.tt-grid tbody th.tt-time-col,
.tt-grid thead th.tt-time-col {
  width: 130px;
  background: var(--green-deep);
  color: var(--cream);
}
.tt-grid tbody tr {
  border-bottom: 1px solid var(--border);
}
.tt-grid tbody tr:last-child { border-bottom: none; }
.tt-grid tbody tr:nth-child(even) td { background: var(--cream-warm); }
.tt-grid tbody th.tt-time-col {
  padding: 20px 18px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
}
.tt-grid tbody td {
  padding: 18px 16px;
  vertical-align: middle;
  border-right: 1px solid var(--border);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.4;
}
.tt-grid tbody td:last-child { border-right: none; }

/* Cell styling — clickable class links vs plain text vs empty */
.tt-empty {
  color: var(--ink-muted);
  opacity: 0.4;
  font-weight: 400;
}
.tt-class {
  font-weight: 500;
  color: var(--ink);
}
a.tt-class {
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
a.tt-class:hover {
  color: var(--amber-dark);
  border-bottom-color: var(--amber);
}

/* Session duration shown per class, since rows are keyed on start time only */
.tt-class-time {
	display: block;
	margin-top: 3px;
	font-size: 11px;
	letter-spacing: .04em;
	color: var(--ink-muted, #6b727b);
	font-variant-numeric: tabular-nums;
}

/* Mobile: hide the table, show day cards */
.tt-mobile { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .tt-grid { font-size: 13px; }
  .tt-grid thead th, .tt-grid tbody th.tt-time-col, .tt-grid tbody td { padding: 14px 10px; }
  .tt-grid tbody th.tt-time-col, .tt-grid thead th.tt-time-col { width: 100px; }
  .tt-day-full { display: none; }
  .tt-day-short { display: inline; }
}
@media (max-width: 780px) {
  .tt-grid-wrap { display: none; }
  .tt-mobile { display: block; }
  .tt-day {
    background: var(--paper);
    border-radius: 14px;
    padding: 26px 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
  }
  .tt-day h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-variation-settings: "opsz" 36;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--green-deep);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }
  .tt-day ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
  }
  .tt-day li {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: center;
    font-size: 14.5px;
  }
  .tt-mob-time {
    font-family: 'Fraunces', serif;
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
  }
  .tt-mob-class .tt-class {
    color: var(--ink);
    font-weight: 500;
  }
  .tt-mob-class a.tt-class { color: var(--green-deep); border-bottom-color: rgba(30,111,191,0.3); }
  .timetable { padding: 80px 0; }
}


/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */
.blog-listing {
  padding: 60px 0 120px;
  background: var(--paper);
}
.blog-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 1100px) {
  .blog-more-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-more-grid { grid-template-columns: 1fr; }
  .blog-listing { padding: 40px 0 80px; }
}


/* ============================================================
   SHARE BUTTONS (single blog post)
   ============================================================ */
.share-block {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.share-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0 0 18px;
}
.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--green-deep);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  position: relative;
}
.share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.share-btn:hover {
  background: var(--amber);
  color: var(--cream);
  border-color: var(--amber);
  transform: translateY(-2px);
}

/* Copy-link button state */
.share-copy .icon-check { display: none; }
.share-copy.copied {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
}
.share-copy.copied .icon-link  { display: none; }
.share-copy.copied .icon-check { display: block; }

/* "Copied!" tooltip */
.share-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.share-copy.copied .share-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.share-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--ink);
}

@media (max-width: 480px) {
  .share-btn { width: 40px; height: 40px; }
  .share-btn svg { width: 16px; height: 16px; }
  .share-buttons { gap: 10px; }
}


/* ============================================================
   BLOG CATEGORY FILTER PILLS
   ============================================================ */
.blog-filter {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.blog-filter .filter-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-right: 6px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  line-height: 1.2;
  white-space: nowrap;
}
.filter-pill:hover {
  background: var(--paper);
  border-color: var(--green-deep);
  color: var(--green-deep);
  transform: translateY(-1px);
}
.filter-pill.active {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
}
.filter-pill.active:hover {
  background: var(--green-darker);
  border-color: var(--green-darker);
  color: var(--cream);
  transform: none;
}
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: rgba(30, 111, 191, 0.12);
  color: var(--green-deep);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}
.filter-pill.active .filter-count {
  background: rgba(245, 239, 225, 0.22);
  color: var(--cream);
}

@media (max-width: 640px) {
  .blog-filter { gap: 8px; margin-top: 28px; }
  .blog-filter .filter-label { width: 100%; margin-right: 0; margin-bottom: 4px; }
  .filter-pill { padding: 7px 14px; font-size: 13px; }
}


/* ============================================================
   FACILITIES & SERVICES PAGE
   ============================================================ */

/* --- Spaces (Main Hall, Meeting Rooms) — alternating image/text --- */
.fac-spaces {
  padding: 110px 0;
  background: var(--paper);
}
.spaces-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 56px;
}
.space-item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.space-item:nth-child(even) {
  direction: rtl;
}
.space-item:nth-child(even) > * {
  direction: ltr;
}
.space-visual {
  border-radius: 18px;
  overflow: hidden;
  height: 460px;
  box-shadow: 0 30px 60px -25px rgba(30, 111, 191, 0.28);
  position: relative;
}
.space-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.space-content h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.space-desc {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 26px;
}
.space-bullets {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  margin: 0;
}
.space-bullets li {
  padding-left: 34px;
  position: relative;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
}
.space-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--soft-tan);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231e6fbf' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.space-cta {
  margin: 28px 0 0;
}
.space-bullets + .space-cta {
  margin-top: 30px;
}
.space-desc + .space-cta {
  margin-top: 4px;
}

/* --- Services grid (Kitchen, IT, Safety, Parking) --- */
.fac-services {
  padding: 110px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.fac-services::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--soft-tan) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.fac-services .container { position: relative; z-index: 2; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--paper);
  border-radius: 16px;
  padding: 36px 34px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-deep);
  box-shadow: 0 22px 44px -18px rgba(30, 111, 191, 0.22);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s, color 0.3s;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon {
  background: var(--amber);
  color: var(--cream);
}
.service-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  margin-bottom: 12px;
  color: var(--ink);
}
.service-card p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-bullets {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
}
.service-bullets li {
  padding-left: 20px;
  position: relative;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

/* --- Accessibility section (split layout) --- */
.fac-access {
  padding: 110px 0;
  background: var(--cream-warm);
}
.fac-access .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.access-visual {
  border-radius: 18px;
  overflow: hidden;
  height: 500px;
  box-shadow: 0 30px 60px -25px rgba(30, 111, 191, 0.25);
}
.access-visual img { width: 100%; height: 100%; object-fit: cover; }
.access-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.access-content h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.access-content > p {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.access-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  margin: 0;
}
.access-list li {
  padding-left: 34px;
  position: relative;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
}
.access-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231e6fbf' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border);
}

/* --- Virtual Tour section --- */
.fac-tour {
  padding: 110px 0;
  background: var(--paper);
  text-align: center;
}
.fac-tour .container { max-width: 780px; }
.fac-tour .section-eyebrow { justify-content: center; }
.fac-tour h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 24px 0 22px;
}
.fac-tour h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.tour-desc {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.tour-ctas {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.tour-ctas .btn-primary,
.tour-ctas .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tour-ctas .btn-primary svg,
.tour-ctas .btn-ghost svg { width: 18px; height: 18px; }
.tour-soon {
  color: var(--ink-muted);
  font-size: 14px;
  font-style: italic;
  padding: 12px 4px;
}

/* --- Booking CTA banner --- */
.fac-cta {
  padding: 110px 0 120px;
  background: var(--green-deep);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fac-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(circle, rgba(212, 160, 66, 0.08) 2px, transparent 2px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}
.fac-cta .container { position: relative; z-index: 2; max-width: 780px; }
.fac-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
}
.fac-cta h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.fac-cta p {
  color: rgba(245, 239, 225, 0.85);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.btn-cta-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--amber);
  color: var(--ink);
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-cta-light:hover {
  background: var(--cream);
  color: var(--green-deep);
  transform: translateY(-2px);
}
.btn-cta-light svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .space-item { grid-template-columns: 1fr; gap: 40px; }
  .space-item:nth-child(even) { direction: ltr; }
  .space-visual { height: 360px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .fac-access .container { grid-template-columns: 1fr; gap: 50px; }
  .access-visual { height: 380px; }
}
@media (max-width: 640px) {
  .fac-spaces, .fac-services, .fac-access, .fac-tour, .fac-cta { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 26px; }
  .spaces-list { gap: 60px; }
  .space-visual, .access-visual { height: 260px; }
  .tour-ctas { flex-direction: column; align-items: stretch; }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* --- Contact split: info tiles + form --- */
.contact-split {
  padding: 100px 0;
  background: var(--paper);
}
.contact-split .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
}
.contact-info h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.contact-intro {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.contact-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
a.contact-tile:hover {
  background: var(--paper);
  border-color: var(--green-deep);
  transform: translateY(-2px);
}
.contact-tile-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-tile-icon svg { width: 20px; height: 20px; }
.contact-tile-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-tile-value {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}

/* --- Contact form card (reuses volunteer-form aesthetic on a light bg) --- */
.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  color: var(--ink);
  box-shadow: 0 24px 60px -25px rgba(30, 111, 191, 0.18);
}
.contact-form h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  margin-bottom: 8px;
  color: var(--ink);
}
.contact-form .form-sub {
  color: var(--ink-muted);
  font-size: 14.5px;
  margin-bottom: 28px;
}
.contact-form .field { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(30, 111, 191, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button {
  background: var(--green-deep);
  color: var(--paper);
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s, transform 0.25s;
  margin-top: 8px;
}
.contact-form button:hover {
  background: var(--amber);
  transform: translateY(-2px);
}
.contact-form button svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Map --- */
.contact-map {
  padding: 100px 0 0;
  background: var(--cream);
  text-align: center;
}
.contact-map .container { max-width: 780px; margin-bottom: 44px; }
.contact-map .section-eyebrow { justify-content: center; }
.contact-map h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 22px 0 18px;
}
.contact-map h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.map-desc {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.map-directions-link:hover {
  color: var(--amber-dark);
  border-color: var(--amber);
}
.map-directions-link svg { width: 14px; height: 14px; }
.map-embed {
  padding-bottom: 100px;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
  filter: saturate(0.85);
}

/* --- FAQ accordion --- */
.contact-faq {
  padding: 110px 0;
  background: var(--paper);
}
.contact-faq .container { max-width: 820px; }
.contact-faq h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 22px 0 18px;
}
.contact-faq h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.faq-intro {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 640px;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-question {
  font-family: 'Fraunces', serif;
  font-size: clamp(19px, 2.1vw, 22px);
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.faq-item summary:hover .faq-question,
.faq-item[open] .faq-question {
  color: var(--green-deep);
}
.faq-chevron {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.3s, color 0.2s;
}
.faq-chevron svg { width: 16px; height: 16px; }
.faq-item[open] .faq-chevron {
  background: var(--amber);
  color: var(--cream);
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 0 26px;
  padding-right: 54px;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.75;
}
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color:var(--amber); }

/* --- Policies grid --- */
.contact-policies {
  padding: 110px 0;
  background: var(--cream-warm);
}
.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.policy-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
a.policy-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-deep);
  box-shadow: 0 20px 40px -20px rgba(30, 111, 191, 0.2);
}
.policy-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}
a.policy-card:hover .policy-icon {
  background: var(--amber);
  color: var(--cream);
}
.policy-icon svg { width: 20px; height: 20px; }
.policy-body { flex: 1; min-width: 0; }
.policy-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.policy-body p {
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 12px;
}
.policy-link-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-deep);
  transition: color 0.25s, gap 0.25s;
}
.policy-link-label svg { width: 12px; height: 12px; }
a.policy-card:hover .policy-link-label { color: var(--amber-dark); gap: 10px; }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .contact-split .container { grid-template-columns: 1fr; gap: 50px; }
  .policies-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact-split, .contact-map, .contact-faq, .contact-policies { padding: 70px 0; }
  .contact-map { padding-bottom: 0; }
  .map-embed iframe { height: 360px; }
  .map-embed { padding-bottom: 70px; }
  .contact-tiles { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
  .policies-grid { grid-template-columns: 1fr; }
  .faq-item summary { padding: 20px 0; }
  .faq-answer { padding-right: 0; }
}


/* ============================================================
   PAGE HERO — BACKGROUND IMAGE VARIANT
   Applied via .pg-hero.with-bg when an image is set. Works on any
   page template that uses .pg-hero (Contact, About Us, etc.).
   ============================================================ */
.pg-hero.with-bg {
  padding: 140px 0 120px;
  background-color: var(--green-darker);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--cream);
}
.pg-hero.with-bg::before {
  /* Hide the base soft-tan decoration */
  display: none;
}
.pg-hero.with-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 74, 133, 0.62) 0%, rgba(19, 74, 133, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}
.pg-hero.with-bg .container {
  position: relative;
  z-index: 2;
}
.pg-hero.with-bg .section-eyebrow {
  color: var(--amber);
}
.pg-hero.with-bg .section-eyebrow::before {
  background: var(--amber);
}
.pg-hero.with-bg h1 {
  color: var(--cream);
}
.pg-hero.with-bg h1 em {
  color: var(--amber);
  font-weight: 300;
}
.pg-hero.with-bg h1 .accent {
  color: var(--amber);
}
.pg-hero.with-bg .lead {
  color: rgba(245, 239, 225, 0.92);
}
@media (max-width: 640px) {
  .pg-hero.with-bg { padding: 90px 0 80px; }
}


/* ============================================================
   FAQ PAGE
   Uses the existing .faq-list accordion styles from the Contact page.
   ============================================================ */
.faq-page {
  padding: 100px 0;
  background: var(--paper);
}
.faq-page .container { max-width: 820px; }

/* --- Still stuck? contact CTA card --- */
.faq-cta {
  padding: 40px 0 120px;
  background: var(--paper);
}
.faq-cta .container { max-width: 820px; }
.faq-cta-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-cta-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--soft-tan) 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}
.faq-cta-card > * { position: relative; z-index: 1; }
.faq-cta-card .section-eyebrow { justify-content: center; }
.faq-cta-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 20px 0 16px;
}
.faq-cta-card h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.faq-cta-card p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.faq-cta-card .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .faq-page { padding: 60px 0; }
  .faq-cta { padding: 20px 0 70px; }
  .faq-cta-card { padding: 40px 26px; }
}


/* ============================================================
   GALLERY PAGE
   ============================================================ */

/* --- Photo gallery section --- */
.gallery-photos {
  padding: 100px 0;
  background: var(--paper);
}
.gallery-filter {
  margin: 32px 0 40px;
}
.gallery-filter .filter-pill {
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}
.gallery-filter .filter-pill:hover {
  background: var(--paper);
  border-color: var(--green-deep);
  color: var(--green-deep);
}
.gallery-filter .filter-pill.active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: none;
  background: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  width: 100%;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(30, 111, 191, 0.28);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  background: linear-gradient(180deg, transparent 0%, rgba(19, 74, 133, 0.85) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* --- Lightbox overlay --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(19, 30, 43, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  animation: lb-fade 0.25s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(245, 239, 225, 0.15);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.lightbox-close:hover { background: var(--amber); color: var(--ink); }
.lightbox-close svg { width: 22px; height: 22px; }

/* Prev / next navigation arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 239, 225, 0.12);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 2;
}
.lightbox-nav[hidden] { display: none; }
.lightbox-nav:hover  { background: var(--amber); color: var(--ink); }
.lightbox-nav svg    { width: 26px; height: 26px; }
.lightbox-prev       { left: 24px; }
.lightbox-next       { right: 24px; }
.lightbox-prev:active { transform: translateY(-50%) translateX(-2px); }
.lightbox-next:active { transform: translateY(-50%) translateX(2px); }

.lightbox-content {
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
#lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-caption-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 700px;
}
.lightbox-caption {
  color: var(--cream);
  font-size: 14.5px;
  text-align: center;
}
.lightbox-counter {
  color: rgba(245, 239, 225, 0.65);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 239, 225, 0.08);
}
.lightbox-counter:empty { display: none; }

/* Tighten nav arrows on narrow screens so they don't crowd the photo */
@media (max-width: 620px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .lightbox-nav svg { width: 22px; height: 22px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox { padding: 48px 12px; }
}

/* --- Video gallery --- */
.gallery-videos {
  padding: 100px 0;
  background: var(--cream);
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.video-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-deep);
  box-shadow: 0 22px 44px -18px rgba(30, 111, 191, 0.22);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(245, 239, 225, 0.94);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.video-card:hover .video-play {
  background: var(--amber);
  color: var(--cream);
  transform: translate(-50%, -50%) scale(1.05);
}
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-body { padding: 22px 22px 26px; }
.video-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.video-body p {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* --- Feed handle + "coming soon" note --- */
.feed-handle {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.feed-handle a {
  color: var(--green-deep);
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
}
.feed-handle a:hover { color: var(--amber-dark); }
.feed-note {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  background: var(--cream);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px dashed var(--border);
}

/* --- Instagram section (dummy) --- */
.gallery-ig {
  padding: 100px 0;
  background: var(--paper);
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 44px;
}
.ig-tile {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.ig-tile:hover img { transform: scale(1.06); }
.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 30, 43, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
.ig-tile:hover .ig-overlay { opacity: 1; }
.ig-overlay span { display: inline-flex; align-items: center; gap: 6px; }
.ig-overlay svg { width: 16px; height: 16px; }

/* --- Facebook section (dummy) --- */
.gallery-fb {
  padding: 100px 0;
  background: var(--cream-warm);
}
.fb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.fb-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.fb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(30, 111, 191, 0.18);
}
.fb-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 12px;
}
.fb-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fb-avatar svg { width: 20px; height: 20px; }
.fb-meta { display: flex; flex-direction: column; }
.fb-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.fb-date {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.fb-text {
  padding: 0 20px 14px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.fb-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.fb-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.fb-engage {
  display: flex;
  gap: 20px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.fb-engage span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}
.fb-engage svg { width: 14px; height: 14px; color: var(--green-deep); }

/* --- Join us on our socials CTA --- */
.gallery-cta {
  padding: 110px 0 120px;
  background: var(--green-deep);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gallery-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(circle, rgba(212, 160, 66, 0.08) 2px, transparent 2px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}
.gallery-cta .container { position: relative; z-index: 2; max-width: 780px; }
.gallery-cta .section-eyebrow { justify-content: center; color: var(--amber); }
.gallery-cta .section-eyebrow::before { background: var(--amber); }
.gallery-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cream);
  margin: 22px 0 22px;
}
.gallery-cta h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.gallery-cta p {
  color: rgba(245, 239, 225, 0.85);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.social-follow {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  background: rgba(245, 239, 225, 0.1);
  color: var(--cream);
  border: 1px solid rgba(245, 239, 225, 0.25);
  border-radius: 14px;
  text-decoration: none;
  text-align: left;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.social-follow-btn:hover {
  background: rgba(245, 239, 225, 0.18);
  border-color: var(--amber);
  transform: translateY(-2px);
}
.social-follow-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.social-follow-btn .social-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.social-follow-btn .social-handle {
  display: block;
  font-size: 13px;
  color: rgba(245, 239, 225, 0.7);
  margin-top: 3px;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .fb-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .gallery-photos, .gallery-videos, .gallery-ig, .gallery-fb { padding: 60px 0; }
  .gallery-cta { padding: 70px 0 80px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-close { top: 14px; right: 14px; }
  .social-follow { flex-direction: column; align-items: stretch; }
  .social-follow-btn { justify-content: flex-start; }
}


/* ============================================================
   CALENDAR (FullCalendar + wrapper + filter)
   ============================================================ */
.pg-calendar {
  padding: 80px 0 40px;
  background: var(--paper);
}
/* Widen the container for the calendar section only — long class names
   need more room per day cell than the standard 1280px allows. */
.pg-calendar .container {
  max-width: 1440px;
}
.tcc-calendar-wrap { width: 100%; }

/* Filter pills — extend the existing .blog-filter pattern */
.calendar-filter { margin: 0 0 32px; }
.calendar-filter .filter-pill { cursor: pointer; font: inherit; }
.calendar-filter .filter-pill .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}
.calendar-filter .dot-events   { background: var(--amber); }
.calendar-filter .dot-classes  { background: var(--green-deep); }

.calendar-help {
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 20px;
  font-style: italic;
}

/* --- FullCalendar overrides to match theme --- */
#tcc-calendar { font-family: 'Outfit', sans-serif; }

/* Toolbar */
.fc .fc-toolbar-title {
  font-family: 'Fraunces', serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  font-variation-settings: "opsz" 36;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fc .fc-button {
  background: var(--cream) !important;
  border: 1px solid var(--border) !important;
  color: var(--ink) !important;
  font-weight: 500 !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-transform: none !important;
  font-size: 13.5px !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}
.fc .fc-button:hover:not(:disabled) {
  background: var(--paper) !important;
  border-color: var(--green-deep) !important;
  color: var(--green-deep) !important;
}
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
  background: var(--green-deep) !important;
  border-color: var(--green-deep) !important;
  color: var(--cream) !important;
}
.fc .fc-button-group .fc-button { border-radius: 0 !important; }
.fc .fc-button-group .fc-button:first-child { border-top-left-radius: 8px !important; border-bottom-left-radius: 8px !important; }
.fc .fc-button-group .fc-button:last-child  { border-top-right-radius: 8px !important; border-bottom-right-radius: 8px !important; }
.fc .fc-toolbar.fc-header-toolbar { margin-bottom: 24px; gap: 12px; flex-wrap: wrap; }

/* Grid */
.fc .fc-scrollgrid, .fc .fc-scrollgrid-section > * {
  border-color: var(--border) !important;
}
.fc-theme-standard td, .fc-theme-standard th {
  border-color: var(--border) !important;
}
.fc .fc-col-header-cell {
  background: var(--cream);
  padding: 10px 0;
}
.fc .fc-col-header-cell-cushion {
  color: var(--amber-dark);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 8px;
  text-decoration: none;
}
.fc .fc-daygrid-day-number {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 10px;
  text-decoration: none;
  font-size: 14px;
}
.fc .fc-day-today { background: rgba(212, 160, 66, 0.09) !important; }
.fc .fc-day-today .fc-daygrid-day-number { color: var(--amber-dark); font-weight: 700; }
.fc .fc-day-other .fc-daygrid-day-number { opacity: 0.4; }

/* Events on the calendar */
.fc-event {
  border-radius: 6px !important;
  padding: 3px 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer;
  border: none !important;
  transition: transform 0.15s, filter 0.15s;
  line-height: 1.3 !important;
}
.fc-event:hover { transform: translateY(-1px); filter: brightness(1.08); }
.fc-daygrid-event { white-space: normal !important; }
.fc-daygrid-event .fc-event-title {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.fc-h-event .fc-event-main { color: inherit !important; }

/* List view */
.fc-list-day-cushion { background: var(--cream) !important; }
.fc-list-event:hover td { background: var(--cream-warm) !important; }
.fc-list-event-time, .fc-list-event-title {
  color: var(--ink);
  font-size: 14px;
}

/* --- Responsive --- */
@media (max-width: 720px) {
  .fc .fc-toolbar.fc-header-toolbar { flex-direction: column; align-items: stretch; }
  .fc .fc-toolbar-chunk { display: flex; justify-content: center; }
  .fc .fc-toolbar-title { font-size: 20px !important; text-align: center; }
  .fc .fc-button { font-size: 12.5px !important; padding: 7px 10px !important; }
  .fc-event { font-size: 11.5px !important; }

  /* Toolbar button groups fill the width so they are thumb-friendly */
  .fc .fc-toolbar-chunk .fc-button-group { display: flex; width: 100%; }
  .fc .fc-toolbar-chunk .fc-button-group .fc-button { flex: 1 1 0; }

  /* Month/week grid scrolls sideways (dayMinWidth set in calendar.php)
     instead of crushing seven columns into the viewport. */
  .fc .fc-scroller { -webkit-overflow-scrolling: touch; }
  .fc .fc-scroller-harness { overscroll-behavior-x: contain; }

  /* Tighter day cells so more of the week is visible per scroll */
  .fc .fc-daygrid-day-number { padding: 5px 7px; font-size: 13px; }
  .fc .fc-col-header-cell { padding: 7px 0; }
  .fc .fc-col-header-cell-cushion { font-size: 10.5px; letter-spacing: 0.08em; padding: 4px 4px; }
  .fc .fc-daygrid-day-bottom { font-size: 11px; padding: 0 4px 4px; }

  /* Event chips: keep the time on its own line above the title rather than
     letting an unbreakable "19:00" set the column's minimum width. */
  .fc-daygrid-event { padding: 2px 4px !important; }
  .fc-daygrid-event .fc-event-time {
    display: block;
    font-weight: 600;
    opacity: 0.9;
  }
  .fc-daygrid-dot-event { align-items: flex-start; }

  /* List view is the mobile default, so give it room to breathe */
  .fc .fc-list-table td { padding: 11px 12px; }
  .fc-list-event-time { white-space: nowrap; font-weight: 600; }
  .fc-list-event-title { line-height: 1.35; }
  .fc .fc-list-day-cushion { padding: 9px 12px; }
  .fc .fc-list-empty { padding: 32px 16px; font-size: 14px; }
}


/* ============================================================
   EVENTS PAGE — Upcoming events list
   ============================================================ */
.pg-upcoming { padding: 80px 0 100px; background: var(--cream); }
.upcoming-list { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.upcoming-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.upcoming-item:hover {
  transform: translateY(-2px);
  border-color: var(--green-deep);
  box-shadow: 0 20px 40px -20px rgba(30, 111, 191, 0.2);
}
.upcoming-date {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  padding: 12px 8px;
  background: var(--cream);
  border-radius: 10px;
  color: var(--green-deep);
}
.upcoming-date .d-day {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}
.upcoming-date .d-mon {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amber-dark);
}
.upcoming-body { flex: 1; min-width: 0; }
.upcoming-when {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.upcoming-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.upcoming-body p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.upcoming-arrow {
  flex-shrink: 0;
  color: var(--green-deep);
  transition: transform 0.25s;
}
.upcoming-arrow svg { width: 20px; height: 20px; }
.upcoming-item:hover .upcoming-arrow { transform: translateX(4px); color: var(--amber-dark); }


/* ============================================================
   ACTIVITIES PAGE — Classes grid + join
   ============================================================ */
.pg-classes { padding: 100px 0; background: var(--cream); }
.classes-filter { margin: 32px 0 40px; }
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.class-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.class-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(30, 111, 191, 0.2);
}
.class-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.class-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.class-card:hover .class-thumb img { transform: scale(1.04); }
.class-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.class-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amber-dark);
  margin-bottom: 8px;
}
.class-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  line-height: 1.25;
  margin-bottom: 10px;
}
.class-body h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.class-body h3 a:hover { color: var(--green-deep); }
.class-desc {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.class-sessions {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.class-sessions li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.class-sessions svg { width: 15px; height: 15px; color: var(--green-deep); flex-shrink: 0; }
.class-contact {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
}
.class-contact .c-name { color: var(--ink); font-weight: 500; }
.class-contact a { color: var(--green-deep); text-decoration: none; }
.class-contact a:hover { color: var(--amber-dark); }

/* --- Activities page: How to join --- */
.pg-join {
  padding: 100px 0 120px;
  background: var(--paper);
  text-align: center;
}
.pg-join .container { max-width: 720px; }
.pg-join .section-eyebrow { justify-content: center; }
.pg-join h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 22px 0 20px;
}
.pg-join h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.pg-join p {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.pg-join .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pg-join .btn-primary svg { width: 16px; height: 16px; }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pg-calendar { padding: 60px 0 20px; }
  .pg-upcoming, .pg-classes, .pg-join { padding: 60px 0; }
  .classes-grid { grid-template-columns: 1fr; }
  .upcoming-item { flex-direction: column; align-items: stretch; text-align: left; gap: 16px; padding: 20px; }
  .upcoming-date { width: auto; padding: 8px 14px; align-self: flex-start; }
  .upcoming-date .d-day { display: inline; font-size: 22px; }
  .upcoming-date .d-mon { display: inline; margin: 0 0 0 6px; }
  .upcoming-arrow { align-self: flex-end; }
}


/* ============================================================
   SINGLE CLASS / GROUP PAGE (single-tcc_group.php)
   ============================================================ */

/* --- Hero (side-by-side with portrait-friendly poster) --- */
.single-class-hero {
  padding: 90px 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.single-class-hero .container { max-width: 1180px; }
.single-class-hero .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.single-class-hero.has-image .hero-grid {
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
}
.single-class-hero .hero-text { text-align: center; }
.single-class-hero.has-image .hero-text { text-align: left; }
.single-class-hero .section-eyebrow { justify-content: center; }
.single-class-hero.has-image .section-eyebrow { justify-content: flex-start; }
.single-class-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 5.2vw, 68px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 20px 0 22px;
}
.single-class-hero .lead {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}
.single-class-hero.has-image .lead { margin: 0; }
.single-class-hero .hero-poster {
  display: flex;
  justify-content: center;
  align-items: center;
}
.single-class-hero .poster-img {
  max-width: 100%;
  max-height: 640px;
  height: auto;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 24px 60px -22px rgba(30, 111, 191, 0.35);
  display: block;
  background: var(--cream);
}

/* --- Meta info bar --- */
.single-class-meta {
  padding: 60px 0;
  background: var(--paper);
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.meta-tile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.meta-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.meta-icon svg { width: 20px; height: 20px; }
.meta-body { flex: 1; min-width: 0; }
.meta-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.meta-value {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.meta-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 3px;
}
.meta-sub a {
  color: var(--green-deep);
  text-decoration: none;
}
.meta-sub a:hover { color: var(--amber-dark); }
.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-list li {
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.4;
}
.meta-list .s-day { font-weight: 500; }
.meta-list .s-sep { color: var(--ink-muted); }
.meta-list .s-time { color: var(--ink-muted); }

/* --- Content block --- */
.single-class-content {
  padding: 60px 0 100px;
  background: var(--paper);
}
.single-class-content .container { max-width: 780px; }
.single-class-content .section-eyebrow { justify-content: flex-start; }
.single-class-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 3.8vw, 44px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 20px 0 32px;
}
.single-class-content h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.single-class-content .prose {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}
.single-class-content .prose p { margin: 0 0 18px; }
.single-class-content .prose h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 32px 0 12px;
  color: var(--ink);
}
.single-class-content .prose ul,
.single-class-content .prose ol { margin: 0 0 18px 22px; }
.single-class-content .prose li { margin-bottom: 6px; }
.single-class-content .prose a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-class-content .prose a:hover { color: var(--amber-dark); }

/* --- Get in touch CTA --- */
.single-class-cta {
  padding: 40px 0 100px;
  background: var(--paper);
}
.single-class-cta .container { max-width: 820px; }
.cta-card {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 52px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--soft-tan) 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .section-eyebrow { justify-content: center; }
.cta-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 18px 0 14px;
}
.cta-card h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.cta-card p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-buttons .btn-primary,
.cta-buttons .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-buttons svg { width: 16px; height: 16px; }

/* --- Related classes --- */
.single-class-related {
  padding: 100px 0 120px;
  background: var(--cream);
}
.single-class-back {
  margin-top: 44px;
  text-align: center;
}
.single-class-back .btn-ghost { display: inline-flex; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .single-class-hero.has-image .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .single-class-hero.has-image .hero-text { text-align: center; }
  .single-class-hero.has-image .section-eyebrow { justify-content: center; }
  .single-class-hero.has-image .lead { margin: 0 auto; }
  .single-class-hero.has-image .hero-poster { order: -1; }
  .single-class-hero .poster-img { max-height: 520px; }
}
@media (max-width: 640px) {
  .single-class-hero { padding: 60px 0; }
  .single-class-hero .poster-img { max-height: 440px; }
  .single-class-image { aspect-ratio: 16 / 10; }
  .single-class-meta { padding: 40px 0; }
  .single-class-content { padding: 40px 0 60px; }
  .single-class-cta { padding: 20px 0 60px; }
  .cta-card { padding: 36px 24px; }
  .single-class-related { padding: 60px 0 80px; }
  .meta-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   WHAT'S ON PAGE + UPDATES
   ============================================================ */

/* --- Section head with link on the right --- */
.wo-events .section-head,
.wo-updates .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.wo-events .section-head .title-block,
.wo-updates .section-head .title-block { flex: 1; min-width: 260px; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
  padding-bottom: 6px;
  transition: color 0.2s, gap 0.2s;
}
.section-link:hover { color: var(--amber-dark); gap: 12px; }
.section-link svg { width: 15px; height: 15px; }

/* --- Upcoming events section --- */
.wo-events { padding: 100px 0 80px; background: var(--paper); }
/* reuses .upcoming-list, .upcoming-item, .upcoming-date, .upcoming-body from Events page */

/* --- Updates carousels --- */
.wo-updates-empty {
  padding: 60px 0;
  background: var(--cream);
  text-align: center;
  color: var(--ink-muted);
}
.wo-carousel-section {
  padding: 80px 0;
}
.wo-carousel-section:nth-of-type(odd)  { background: var(--cream); }
.wo-carousel-section:nth-of-type(even) { background: var(--paper); }

/* Section head with actions on the right */
.wo-carousel-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.wo-carousel-section .section-head .title-block {
  flex: 1;
  min-width: 260px;
}
.wo-carousel-section .section-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.carousel-nav {
  display: inline-flex;
  gap: 8px;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--cream);
  transform: translateY(-1px);
}
.carousel-btn:active { transform: translateY(0); }
.carousel-btn svg { width: 16px; height: 16px; }

/* Scroll-snap carousel track */
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Room for hover-lift shadows without them being clipped */
  padding: 8px 4px 24px;
  margin: -8px -4px 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus { outline: none; }
.carousel-track:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 4px; border-radius: 8px; }

/* Card sizing per breakpoint — show 3 on desktop, 2 on tablet, 1 on mobile */
.carousel-track .update-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 1000px) {
  .carousel-track .update-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 620px) {
  .carousel-track .update-card { flex: 0 0 100%; }
}

/* Archive page for "View all Announcements/News/Notices" */
.wo-archive {
  padding: 80px 0 100px;
  background: var(--paper);
}
.wo-archive .updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wo-archive-back {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 1000px) {
  .wo-archive .updates-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .wo-archive .updates-grid { grid-template-columns: 1fr; }
  .wo-carousel-section { padding: 60px 0; }
  .wo-archive { padding: 60px 0 80px; }
}
.update-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.update-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-deep);
  box-shadow: 0 22px 44px -20px rgba(30, 111, 191, 0.22);
}
.update-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.update-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.update-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.update-card:hover .update-thumb img { transform: scale(1.04); }
.update-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.update-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* Type badges — coloured per taxonomy term */
.update-type {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.update-type-announcement {
  background: rgba(30, 111, 191, 0.12);
  color: var(--green-deep);
}
.update-type-community-news {
  background: rgba(212, 160, 66, 0.15);
  color: var(--amber-dark);
}
/* Events carousel on What's On, sitting where Community News used to.
   Reuses the amber of the badge it replaced. */
.update-type-event {
  background: rgba(212, 160, 66, 0.15);
  color: var(--amber-dark);
}
.update-type-notice {
  background: rgba(138, 122, 94, 0.15);
  color: #6b5c40;
}

.update-date {
  font-size: 12.5px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.update-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}
.update-body p {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.update-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
  transition: color 0.2s, gap 0.2s;
}
.update-more svg { width: 13px; height: 13px; }
.update-card:hover .update-more { color: var(--amber-dark); gap: 10px; }


/* ============================================================
   SINGLE UPDATE PAGE
   ============================================================ */
.single-update {
  padding: 80px 0 100px;
  background: var(--paper);
}
.single-update .container { max-width: 820px; }
.update-header { margin-bottom: 40px; }
.update-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.single-update h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 5vw, 56px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.single-update .lead {
  color: var(--ink-muted);
  font-size: 19px;
  line-height: 1.6;
}
.update-image {
  margin: 0 0 32px;
  border-radius: 14px;
  overflow: hidden;
}
.update-expires-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(212, 160, 66, 0.14);
  border: 1px solid rgba(212, 160, 66, 0.35);
  border-radius: 12px;
  color: var(--amber-dark);
  font-size: 14.5px;
  font-weight: 500;
  margin: 0 0 32px;
}
.update-expires-note svg { width: 18px; height: 18px; flex-shrink: 0; }
.update-content.prose {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}
.update-content.prose p { margin: 0 0 18px; }
.update-content.prose h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 32px 0 14px;
  color: var(--ink);
}
.update-content.prose h3 {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 500;
  margin: 28px 0 12px;
}
.update-content.prose ul,
.update-content.prose ol { margin: 0 0 18px 22px; }
.update-content.prose li { margin-bottom: 6px; }
.update-content.prose a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.update-content.prose a:hover { color: var(--amber-dark); }
.update-back {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}


/* --- Responsive (What's On) --- */
@media (max-width: 1100px) {
  .wo-archive .updates-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wo-events { padding: 60px 0 40px; }
  .single-update { padding: 50px 0 70px; }
}


/* ============================================================
   BOOK NOW PAGE
   ============================================================ */

/* --- 5-step guide --- */
.bk-steps {
  padding: 100px 0 90px;
  background: var(--paper);
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 20px;
  counter-reset: none;
}
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 28px 32px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.25s, transform 0.25s;
}
.step:hover {
  border-color: var(--green-deep);
  transform: translateY(-1px);
}
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-variation-settings: "opsz" 96;
  font-weight: 300;
  color: var(--amber-dark);
  line-height: 1;
  font-style: italic;
}
.step-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}
.step-body p {
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.step-link:hover { color: var(--amber-dark); gap: 12px; }
.step-link svg { width: 14px; height: 14px; }
.step-contacts {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-muted);
}
.step-contacts a {
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 500;
}
.step-contacts a:hover { color: var(--amber-dark); }

/* --- Enquiry form --- */
.bk-form {
  padding: 20px 0 100px;
  background: var(--paper);
}
.form-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 44px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.form-wrap h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.8vw, 42px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 18px 0 14px;
}
.form-wrap h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.form-intro {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Notices at the top of the form */
.form-notice {
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.form-notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.form-notice strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}
.form-notice p { margin: 0; font-size: 14px; line-height: 1.55; }
.form-notice-success {
  background: rgba(30, 111, 191, 0.08);
  border: 1px solid rgba(30, 111, 191, 0.28);
  color: var(--green-darker);
}
.form-notice-error {
  background: rgba(180, 60, 60, 0.08);
  border: 1px solid rgba(180, 60, 60, 0.28);
  color: #8a3535;
}

/* Fieldsets */
.tcc-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 28px;
}
.tcc-form fieldset:last-of-type { margin-bottom: 16px; }
.tcc-form legend {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--green-deep);
  padding-bottom: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Form fields — shared with payment page */
.form-field {
  display: block;
  margin-bottom: 16px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.field-label .req { color: var(--amber-dark); }
.field-hint {
  display: inline-block;
  margin-left: 4px;
  width: 15px; height: 15px;
  line-height: 15px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--border);
  border-radius: 50%;
  cursor: help;
}
.field-help {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: -2px 0 8px;
  line-height: 1.5;
  font-weight: 400;
}
.tcc-form input[type="text"],
.tcc-form input[type="email"],
.tcc-form input[type="tel"],
.tcc-form input[type="url"],
.tcc-form input[type="number"],
.tcc-form input[type="date"],
.tcc-form input[type="time"],
.tcc-form select,
.tcc-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tcc-form textarea { resize: vertical; min-height: 120px; }
.tcc-form input:focus,
.tcc-form select:focus,
.tcc-form textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(30, 111, 191, 0.15);
}
.tcc-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231e6fbf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 6 11 1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Row layouts */
.form-row { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Radios & checkboxes */
.field-radios { margin-bottom: 20px; }
.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.radio-row:hover { border-color: var(--green-deep); }
.radio-row input[type="radio"] { flex-shrink: 0; margin: 0; accent-color: var(--green-deep); }
.radio-row span { font-size: 14.5px; color: var(--ink); }
.field-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 0;
}
.field-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--green-deep);
}
.field-checkbox span { font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.field-checkbox a { color: var(--green-deep); font-weight: 500; }

/* Form actions */
.form-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.form-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.form-actions .btn-primary svg { width: 16px; height: 16px; }
.form-note {
  flex: 1;
  min-width: 240px;
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* --- Payment info section --- */
.bk-payment-info {
  padding: 100px 0 120px;
  background: var(--cream);
}
.pay-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.pay-info-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 18px 0 18px;
}
.pay-info-text h2 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.pay-info-text > p {
  color: var(--ink-muted);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.pay-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.pay-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
}
.pay-features svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--green-deep);
  margin-top: 1px;
}
.pay-features strong { color: var(--ink); font-weight: 600; }

.pay-info-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 30px;
  position: sticky;
  top: 100px;
}
.pay-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pay-card-header svg {
  width: 24px; height: 24px;
  color: var(--green-deep);
}
.pay-card-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.pay-info-card p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.pay-info-card .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
}
.pay-info-card .btn-ghost svg { width: 15px; height: 15px; }


/* ============================================================
   PAYMENT PAGE (dummy)
   ============================================================ */
.py-hero {
  padding: 70px 0 30px;
  background: var(--paper);
  text-align: center;
}
.py-hero-inner { max-width: 720px; margin: 0 auto; }
.py-hero .section-eyebrow { justify-content: center; }
.py-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.6vw, 52px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 20px 0 18px;
}
.py-hero h1 em { font-style: italic; color: var(--green-deep); font-weight: 300; }
.py-hero .lead {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

/* Demo notice at top */
.py-demo-notice {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 900px;
  margin: 20px auto 0;
  padding: 14px 20px;
  background: rgba(212, 160, 66, 0.12);
  border: 1px solid rgba(212, 160, 66, 0.4);
  border-radius: 12px;
  color: var(--amber-dark);
  font-size: 14px;
  line-height: 1.5;
}
.py-demo-notice svg { width: 20px; height: 20px; flex-shrink: 0; }
.py-demo-notice strong { display: block; margin-bottom: 2px; }

/* Form grid */
.py-form-section { padding: 40px 0 120px; background: var(--paper); }
.py-form-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
.py-form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.py-block { margin-bottom: 32px; }
.py-block:last-of-type { margin-bottom: 24px; }
.py-block h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Card number field with brand badges */
.card-number-wrap { position: relative; }
.card-number-wrap input { padding-right: 130px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.card-brands {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
}
.brand-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}
.brand-badge.visa { background: #1a1f71; }
.brand-badge.mc   { background: linear-gradient(90deg, #eb001b 0%, #eb001b 50%, #f79e1b 50%, #f79e1b 100%); }
.brand-badge.amex { background: #2e77bc; }

.py-form input[type="text"],
.py-form input[type="email"] {
  font-variant-numeric: tabular-nums;
}
.py-form input[name="card_expiry"],
.py-form input[name="card_cvc"] { letter-spacing: 0.08em; }

/* Pay button */
.py-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 28px;
  border: none;
  border-radius: 12px;
  background: var(--green-deep);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 16px;
}
.py-pay-btn:hover {
  background: var(--green-darker);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -12px rgba(30, 111, 191, 0.5);
}
.py-pay-btn:active { transform: translateY(0); }
.py-pay-btn svg { width: 18px; height: 18px; }
.py-secure-note {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  justify-content: center;
}
.py-secure-note svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Booking summary sidebar */
.py-summary {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 30px;
  position: sticky;
  top: 100px;
}
.py-summary h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.py-summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 22px;
}
.py-summary-list div { display: flex; flex-direction: column; gap: 3px; }
.py-summary-list dt {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 600;
}
.py-summary-list dd {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.py-summary-list dd code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--paper);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--border);
  color: var(--green-deep);
}
.py-summary-total {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.py-summary-total div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.py-summary-total dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.py-summary-total dd.amount {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-variation-settings: "opsz" 48;
  font-weight: 500;
  color: var(--green-deep);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.py-help {
  padding-top: 4px;
}
.py-help strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.py-help p {
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 12px;
}
.py-help-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-deep);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
}
.py-help-link:hover { color: var(--amber-dark); gap: 10px; }
.py-help-link svg { width: 13px; height: 13px; transition: transform 0.2s; }

/* Success overlay */
.py-success {
  position: fixed;
  inset: 0;
  background: rgba(26, 34, 48, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.py-success[hidden] { display: none; }
.py-success-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 44px 40px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.35);
}
.py-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(30, 111, 191, 0.12);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.py-success-icon svg { width: 30px; height: 30px; }
.py-success h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 12px;
}
.py-success p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .pay-info-grid { grid-template-columns: 1fr; gap: 30px; }
  .pay-info-card { position: static; }
  .py-form-grid { grid-template-columns: 1fr; gap: 24px; }
  .py-summary { position: static; }
  .step { grid-template-columns: 60px 1fr; gap: 18px; padding: 22px 24px; }
  .step-number { font-size: 32px; }
}
@media (max-width: 620px) {
  .bk-steps { padding: 60px 0; }
  .bk-form { padding: 0 0 60px; }
  .form-wrap { padding: 32px 24px; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .bk-payment-info { padding: 60px 0 80px; }
  .py-form { padding: 28px 22px; }
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   Base: .tcc-reveal is hidden + offset, IntersectionObserver adds
   .is-visible to fade/slide it into place. Variants via data-reveal.
   Auto-stagger via .stagger-children on the parent.
   ============================================================ */
.tcc-reveal {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Default & variants */
.tcc-reveal,
.tcc-reveal[data-reveal="fade-up"]      { transform: translateY(32px); }
.tcc-reveal[data-reveal="fade-down"]    { transform: translateY(-32px); }
.tcc-reveal[data-reveal="fade-in"]      { transform: none; }
.tcc-reveal[data-reveal="slide-left"]   { transform: translateX(40px); }
.tcc-reveal[data-reveal="slide-right"]  { transform: translateX(-40px); }
.tcc-reveal[data-reveal="scale-in"]     { transform: scale(0.94); }
.tcc-reveal[data-reveal="blur-in"]      { filter: blur(8px); transform: none; }

.tcc-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Auto-stagger — children reveal in sequence when parent has this class.
   Works for up to 12 children; beyond that, extras land together. */
.stagger-children > .tcc-reveal:nth-child(1)  { transition-delay: 0ms; }
.stagger-children > .tcc-reveal:nth-child(2)  { transition-delay: 80ms; }
.stagger-children > .tcc-reveal:nth-child(3)  { transition-delay: 160ms; }
.stagger-children > .tcc-reveal:nth-child(4)  { transition-delay: 240ms; }
.stagger-children > .tcc-reveal:nth-child(5)  { transition-delay: 320ms; }
.stagger-children > .tcc-reveal:nth-child(6)  { transition-delay: 400ms; }
.stagger-children > .tcc-reveal:nth-child(7)  { transition-delay: 480ms; }
.stagger-children > .tcc-reveal:nth-child(8)  { transition-delay: 560ms; }
.stagger-children > .tcc-reveal:nth-child(9)  { transition-delay: 640ms; }
.stagger-children > .tcc-reveal:nth-child(10) { transition-delay: 720ms; }
.stagger-children > .tcc-reveal:nth-child(11) { transition-delay: 800ms; }
.stagger-children > .tcc-reveal:nth-child(12) { transition-delay: 880ms; }

/* Respect user preference — no motion at all */
@media (prefers-reduced-motion: reduce) {
  .tcc-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}


/* ============================================================
   PARALLAX BACKGROUND SECTIONS
   Uses background-attachment: fixed for desktop parallax;
   falls back to scroll on mobile / iOS where fixed is broken.
   ============================================================ */
.parallax-bg {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.parallax-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 74, 133, 0.85) 0%, rgba(30, 111, 191, 0.75) 100%);
  pointer-events: none;
}
.parallax-bg > * { position: relative; z-index: 1; }

/* Fallback: iOS + narrow screens can't handle fixed attachment reliably */
@media (max-width: 900px), (hover: none) {
  .parallax-bg { background-attachment: scroll; }
}


/* ============================================================
   FACILITIES HERO WITH PARALLAX
   ============================================================ */
.pg-hero.parallax {
  background-image: linear-gradient(135deg, rgba(19, 74, 133, 0.85) 0%, rgba(30, 111, 191, 0.72) 100%),
                    var(--hero-bg-url, url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=2200&auto=format&fit=crop'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  padding: 100px 0;
}
.pg-hero.parallax .section-eyebrow { color: rgba(255, 255, 255, 0.9); }
.pg-hero.parallax .section-eyebrow::before,
.pg-hero.parallax .section-eyebrow::after { background: rgba(255, 255, 255, 0.5); }
.pg-hero.parallax h1 { color: var(--cream); }
.pg-hero.parallax h1 em { color: #f4c780; }
.pg-hero.parallax h1 .accent { color: #f4c780; }
.pg-hero.parallax .lead { color: rgba(255, 255, 255, 0.9); }

@media (max-width: 900px), (hover: none) {
  .pg-hero.parallax { background-attachment: scroll; min-height: 40vh; }
}


/* ============================================================
   VOLUNTEER SECTION WITH PARALLAX BACKGROUND
   Extends existing .volunteer with dramatic bg + light text.
   ============================================================ */
.volunteer.parallax {
  background-image: linear-gradient(135deg, rgba(19, 74, 133, 0.88) 0%, rgba(30, 111, 191, 0.80) 100%),
                    var(--volunteer-bg-url, url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=2200&auto=format&fit=crop'));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--cream);
  padding: 120px 0;
}
.volunteer.parallax .section-eyebrow { color: rgba(255, 255, 255, 0.85); }
.volunteer.parallax .section-eyebrow::before,
.volunteer.parallax .section-eyebrow::after { background: rgba(255, 255, 255, 0.4); }
.volunteer.parallax h2 { color: var(--cream); }
.volunteer.parallax h2 em { color: #f4c780; }
.volunteer.parallax .volunteer-intro p { color: rgba(255, 255, 255, 0.92); }

/* The form card floats on top of the parallax bg */
.volunteer.parallax .volunteer-form {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px), (hover: none) {
  .volunteer.parallax {
    background-attachment: scroll;
    padding: 80px 0;
  }
}


/* ============================================================
   MICRO-INTERACTIONS — subtle lifts and glows on interactive bits
   ============================================================ */
.section-link,
.step-link,
.upcoming-arrow svg,
.update-more svg,
.filter-pill,
.btn-primary,
.btn-cta-light,
.btn-ghost {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slight lift on cards that don't already have hover states */
@media (hover: hover) {
  .value-card,
  .service-card,
  .space-card,
  .fac-tile {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
  }
  .value-card:hover,
  .service-card:hover,
  .space-card:hover,
  .fac-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -22px rgba(30, 111, 191, 0.25);
  }
}


/* ============================================================
   GALLERY — ALBUM CARD GRID
   Cards linking to individual album pages. Each shows cover +
   title + date + photo count.
   ============================================================ */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.album-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}
.album-card:hover,
.album-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--green-deep);
  box-shadow: 0 26px 50px -22px rgba(30, 111, 191, 0.28);
  outline: none;
}
.album-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.album-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.album-card:hover .album-card-image img { transform: scale(1.05); }
.album-card-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  opacity: 0.35;
}
.album-card-empty svg { width: 44px; height: 44px; }
.album-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.album-card-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}
.album-card:hover h3 { color: var(--green-deep); }
.album-card-meta {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.album-card-date {
  color: var(--amber-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}
.album-card-sep { margin: 0 2px; }
.album-card-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
  transition: gap 0.25s ease;
}
.album-card-arrow svg { width: 14px; height: 14px; }
.album-card:hover .album-card-arrow { gap: 10px; }

@media (max-width: 1000px) { .albums-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 600px)  { .albums-grid { grid-template-columns: 1fr; } }


/* ============================================================
   SINGLE ALBUM PAGE (single-tcc_album.php)
   ============================================================ */
.single-album-hero {
  padding: 60px 0 40px;
  background: var(--paper);
}
.album-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.2s, gap 0.2s;
}
.album-back-link:hover { color: var(--green-deep); gap: 12px; }
.album-back-link svg { width: 15px; height: 15px; }
.single-album-hero-inner { max-width: 820px; }
.single-album-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5.2vw, 60px);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 16px 0 18px;
}
.single-album-meta {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.album-meta-date {
  color: var(--amber-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}
.single-album-desc {
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.7;
  margin-top: 20px;
}
.single-album-desc p { margin: 0 0 14px; }

.single-album-photos {
  padding: 40px 0 100px;
  background: var(--paper);
}
.single-album-related {
  padding: 80px 0 100px;
  background: var(--cream);
}
.single-album-related .section-head { margin-bottom: 40px; }

@media (max-width: 620px) {
  .single-album-hero { padding: 40px 0 20px; }
  .single-album-photos { padding: 20px 0 60px; }
  .single-album-related { padding: 60px 0 80px; }
}


/* ============================================================
   SINGLE CLASS PAGE — Posters & flyers grid
   ============================================================ */
.single-class-posters {
  padding: 20px 0 100px;
  background: var(--paper);
}
.posters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.poster-item {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px -14px rgba(30, 111, 191, 0.28);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.poster-item:hover,
.poster-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(30, 111, 191, 0.42);
  outline: none;
}
.poster-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(19, 74, 133, 0.25));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.poster-item:hover::after,
.poster-item:focus-visible::after { opacity: 1; }
.poster-item img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--cream);
}

@media (max-width: 1000px) { .posters-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .posters-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 440px)  { .posters-grid { grid-template-columns: 1fr; max-width: 380px; margin: 40px auto 0; } }


/* ============================================================
   WHAT'S ON — CLASSES SLIDER (poster-forward, portrait cards)
   ============================================================ */
.wo-classes-section {
  padding: 80px 0;
  background: var(--paper);
}
.wo-classes-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.wo-classes-section .section-head .title-block {
  flex: 1;
  min-width: 260px;
}
.wo-classes-section .section-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.class-slider-track .class-slide {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--cream);
  text-decoration: none;
  color: var(--cream);
  box-shadow: 0 14px 32px -18px rgba(30, 111, 191, 0.28);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.class-slider-track .class-slide:hover,
.class-slider-track .class-slide:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -20px rgba(30, 111, 191, 0.42);
  outline: none;
}
.class-slider-track .class-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.class-slider-track .class-slide:hover img { transform: scale(1.05); }

.class-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg,
              transparent 0%,
              rgba(19, 74, 133, 0.15) 40%,
              rgba(19, 74, 133, 0.86) 100%);
  z-index: 1;
}
.class-slide-cat {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-deep);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.class-slide-overlay h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.class-slide-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.class-slide-meta svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Card sizing per breakpoint */
@media (max-width: 1100px) {
  .class-slider-track .class-slide { flex: 0 0 calc((100% - 40px) / 3); }
}
@media (max-width: 800px) {
  .class-slider-track .class-slide { flex: 0 0 calc((100% - 20px) / 2); }
  .class-slide-overlay h3 { font-size: 19px; }
}
@media (max-width: 520px) {
  .class-slider-track .class-slide { flex: 0 0 calc(100% - 30px); }
  .wo-classes-section { padding: 60px 0; }
}


/* ============================================================
   EVENT DATE — multi-day indicator
   Little "+" pip on the date tile for events with a range,
   and a small daterange line in event card meta.
   ============================================================ */
.upcoming-date { position: relative; }
.upcoming-date .d-plus,
.event-date .range-indicator {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 4px 10px -3px rgba(30, 111, 191, 0.25);
}
.event-date { position: relative; }

.event-daterange {
  color: var(--amber-dark);
  font-weight: 600;
}
.event-daterange svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   SINGLE EVENT PAGE — featured image + back link
   Respects the poster's natural aspect ratio (portrait or landscape)
   ============================================================ */
.event-feature-image {
  margin: 0 auto 40px;
  max-width: 760px;   /* Comfortable for portrait posters; landscape fits within */
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 24px 50px -22px rgba(30, 111, 191, 0.28);
}
.event-feature-image img {
  display: block;
  width: 100%;
  height: auto;
}

.event-body {
  max-width: 760px;
  margin: 0 auto;
}

.event-back-wrap {
  max-width: 760px;
  margin: 60px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.event-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, gap 0.2s;
}
.event-back-link:hover { color: var(--green-deep); gap: 12px; }
.event-back-link svg { width: 15px; height: 15px; }


/* ============================================================
   CUSTOM LOGO — cap size for WordPress's the_custom_logo() output
   Lands at the same visual height as the default logo mark.
   ============================================================ */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.custom-logo {
  display: block;
  width: auto;
  height: auto;
/*   max-height: 56px; */
  max-width: 260px;
  object-fit: contain;
}

/* Very small screens — shrink a touch so it doesn't crowd the burger */
@media (max-width: 480px) {
  .custom-logo {
    max-height: 44px;
    max-width: 200px;
  }
}


/* ============================================================
   FACILITIES — Photos + Videos sections
   Reuses .albums-grid + .videos-grid CSS from the gallery.
   ============================================================ */
.fac-photos {
  padding: 110px 0;
  background: var(--paper);
}
.fac-videos {
  padding: 110px 0;
  background: var(--cream-warm);
}
.fac-photos .section-head,
.fac-videos .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.fac-photos .section-head .title-block,
.fac-videos .section-head .title-block {
  flex: 1;
  min-width: 260px;
}

@media (max-width: 700px) {
  .fac-photos { padding: 80px 0; }
  .fac-videos { padding: 80px 0; }
}


/* ============================================================
   BOOK NOW — Bookly widget + Pricing enquiry card
   ============================================================ */
.bk-bookly {
  padding: 100px 0;
  background: var(--cream-warm);
}
.bookly-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.bookly-intro {
  color: var(--ink-muted);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 8px 0 40px;
  max-width: 720px;
}
.bookly-widget {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 24px 60px -32px rgba(30, 111, 191, 0.25);
}

/* Editor-visible + visitor-visible fallback when Bookly isn't rendering */
.bookly-fallback {
  padding: 28px;
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
}
.bookly-fallback strong { color: var(--ink); }
.bookly-fallback code {
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid var(--border);
}
.bookly-fallback .btn-primary { margin-top: 12px; }

/* Try to make Bookly's own DOM feel at home — targets common wrappers */
.bookly-widget .bookly-form,
.bookly-widget .bookly-column {
  font-family: 'Outfit', sans-serif;
}
.bookly-widget input[type="text"],
.bookly-widget input[type="email"],
.bookly-widget input[type="tel"],
.bookly-widget select,
.bookly-widget textarea {
  font-family: 'Outfit', sans-serif;
  border-radius: 8px !important;
}

@media (max-width: 700px) {
  .bk-bookly     { padding: 70px 0; }
  .bookly-widget { padding: 24px; border-radius: 14px; }
}


/* ============================================================
   BOOK NOW — Pricing enquiry card
   ============================================================ */
.bk-pricing {
  padding: 100px 0;
  background: var(--paper);
}
.pricing-card {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-darker) 100%);
  color: var(--cream);
  border-radius: 20px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 32px 80px -28px rgba(19, 74, 133, 0.4);
}
.pricing-text .section-eyebrow { color: rgba(255, 255, 255, 0.85); }
.pricing-text .section-eyebrow::before,
.pricing-text .section-eyebrow::after { background: rgba(255, 255, 255, 0.4); }
.pricing-text h2 { color: var(--cream); margin: 12px 0 20px; }
.pricing-text h2 em { color: #f4c780; }
.pricing-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.pricing-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-contact-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--cream);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.pricing-contact-tile:hover,
.pricing-contact-tile:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 199, 128, 0.5);
  transform: translateY(-2px);
  outline: none;
}
.pricing-contact-tile svg {
  width: 26px;
  height: 26px;
  color: #f4c780;
  flex-shrink: 0;
}
.pricing-contact-tile .tile-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  font-weight: 600;
}
.pricing-contact-tile .tile-value {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
}

@media (max-width: 900px) {
  .pricing-card {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 32px;
  }
}
@media (max-width: 520px) {
  .bk-pricing { padding: 60px 0; }
  .pricing-card { padding: 28px; }
  .pricing-contact-tile .tile-value { font-size: 16px; }
}


/* ==========================================================================
   Logo wall — exhibitor logo galleries (Showcase posts)
   Scoped to .single-post so the Gallery page's photo grids stay cropped,
   and nested under the gallery so standalone image blocks are untouched.
   ========================================================================== */

.single-post .wp-block-gallery,
.single-post .gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
	margin: 2.5rem 0;
	padding: 0;
}

/* Card */
.single-post .wp-block-gallery.has-nested-images figure.wp-block-image,
.single-post .gallery .gallery-item {
	width: auto !important;
	max-width: none !important;
	flex: none !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tcc-rule, #e6ddcd);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(19, 74, 133, .05);
}

/* Image well — the actual fix */
.single-post .wp-block-gallery.has-nested-images figure.wp-block-image img,
.single-post .gallery .gallery-icon img {
	display: block;
	width: 100% !important;
	height: 150px !important;
	padding: 20px;
	box-sizing: border-box;
	object-fit: contain !important;
	object-position: center;
	background: #fff;
	border: 0 !important;
	border-radius: 0;
}

.single-post .wp-block-gallery figure.wp-block-image > a,
.single-post .gallery .gallery-icon {
	display: block;
	margin: 0 !important;
}

/* Caption bar, if you add business names */
.single-post .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.single-post .gallery .gallery-caption {
	position: static !important;
	max-height: none !important;
	overflow: visible !important;
	text-align: left;
	margin: 0;
	padding: 9px 11px 10px;
	background: #fcfaf6 !important;
	background-image: none !important;
	border-top: 1px solid var(--tcc-rule, #e6ddcd);
	color: var(--tcc-ink, #22262b);
	font-size: .72rem;
	font-weight: 500;
	line-height: 1.35;
}

@media (max-width: 480px) {
	.single-post .wp-block-gallery,
	.single-post .gallery {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 14px;
	}

	.single-post .wp-block-gallery.has-nested-images figure.wp-block-image img,
	.single-post .gallery .gallery-icon img {
		height: 120px !important;
		padding: 14px;
	}
}


/* ==========================================================================
   Before & After photo pairs (single posts)
   Appended by template-parts/blog/before-after.php — outside .entry-content,
   so the logo-wall gallery rules above do not reach it.
   ========================================================================== */

.tcc-ba {
	margin: 3.5rem 0 0;
	padding: 2.5rem 0 0;
	border-top: 1px solid var(--tcc-rule, #e6ddcd);
}

.tcc-ba__inner {
	max-width: 820px;
	margin: 0 auto;
}

.tcc-ba__heading {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 700;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	line-height: 1.15;
	color: var(--tcc-navy, #134a85);
	margin: 0 0 .6rem;
}

.tcc-ba__intro {
	max-width: 60ch;
	color: #4a5058;
	line-height: 1.65;
	margin: 0 0 2.25rem;
}

.tcc-ba__intro p:last-child {
	margin-bottom: 0;
}

.tcc-ba__pair {
	margin: 0 0 2.75rem;
}

.tcc-ba__pair:last-child {
	margin-bottom: 0;
}

.tcc-ba__label {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--tcc-navy, #134a85);
	margin: 0 0 .7rem;
}

.tcc-ba__frames {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* Image well — a shared frame per pair, so the two photos line up even though
   they were shot at different aspect ratios. Cover trims the edges rather than
   squashing the photo; the orientation choice keeps that trim small. */
.tcc-ba__frame {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: #f1ece1;
	border: 1px solid var(--tcc-rule, #e6ddcd);
	box-shadow: 0 1px 3px rgba(19, 74, 133, .06);
	line-height: 0;
}

.tcc-ba__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	margin: 0;
	border-radius: 0;
}

.tcc-ba__pair--landscape .tcc-ba__frame {
	aspect-ratio: 4 / 3;
}

.tcc-ba__pair--portrait .tcc-ba__frame {
	aspect-ratio: 3 / 4;
}

/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 4 / 3) {
	.tcc-ba__pair--landscape .tcc-ba__frame {
		height: 0;
		padding-bottom: 75%;
	}

	.tcc-ba__pair--portrait .tcc-ba__frame {
		height: 0;
		padding-bottom: 133.33%;
	}

	.tcc-ba__frame img {
		position: absolute;
		inset: 0;
		height: 100%;
	}
}

.tcc-ba__tag {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 11px;
	border-radius: 99px;
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.4;
	pointer-events: none;
}

.tcc-ba__tag--before {
	background: rgba(34, 38, 43, .78);
	color: #fff;
}

.tcc-ba__tag--after {
	background: var(--tcc-gold, #d4a042);
	color: #3a2a06;
}

.tcc-ba__caption {
	margin: .75rem 0 0;
	font-size: .88rem;
	line-height: 1.55;
	color: #6b727b;
}

@media (max-width: 640px) {
	.tcc-ba__frames {
		gap: 10px;
	}

	.tcc-ba__label {
		font-size: 1.05rem;
	}

	.tcc-ba__tag {
		top: 8px;
		left: 8px;
		font-size: .6rem;
		padding: 3px 9px;
	}
}