/*
 Theme Name:   Yoga with Eli
 Theme URI:    https://yogawitheli.com
 Description:  Custom child theme for Yoga with Eli — small-group yoga in Riga. Pairs with Kadence parent theme + Yoga with Eli — Site Settings plugin.
 Author:       Yoga with Eli
 Author URI:   https://yogawitheli.com
 Template:     kadence
 Version:      1.0.0
 Text Domain:  yoga-with-eli
 License:      GPL-2.0-or-later
*/

@import url("../kadence/style.css");

/* Yoga with Eli — shared styles */

:root {
  --bg: #F5F0E8;
  --bg-soft: #EDE6D9;
  --ink: #2A241D;
  --ink-soft: #5A4F42;
  --accent: #B85738;
  --line: #D9CFBE;
  --status-open: #4A7C4E;
  --status-filling: #C77B3A;
  --status-full: #A8392E;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 760px; }

/* === Header === */
header.site-header { padding: 24px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 22px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.logo em { font-style: italic; font-weight: 400; }
nav.main-nav { display: flex; align-items: center; gap: 36px; flex-wrap: nowrap; white-space: nowrap; }
nav.main-nav ul { display: flex; list-style: none; gap: 28px; padding: 0; margin: 0; flex-wrap: nowrap; }
nav.main-nav a {
  color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 400; letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
nav.main-nav a:hover { opacity: 0.6; }
nav.main-nav a.current { font-weight: 600; }

.lang-switch {
  display: flex; gap: 4px;
  font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ink-soft);
}
.lang-switch a { color: var(--ink-soft); text-decoration: none; padding: 0 6px; cursor: pointer; }
.lang-switch a.active { color: var(--ink); font-weight: 600; }
.lang-switch span { opacity: 0.4; }

/* === Buttons === */
.btn {
  display: inline-block; padding: 14px 28px;
  background: var(--ink); color: var(--bg);
  text-decoration: none; font-size: 14px;
  font-weight: 500; letter-spacing: 0.04em;
  border-radius: 999px; transition: background 0.2s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--small { padding: 10px 18px; font-size: 13px; }

/* === Hero === */
.hero { padding: 48px 0 28px; text-align: center; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero p {
  font-size: 16px; color: var(--ink-soft);
  max-width: 520px; margin: 0 auto; line-height: 1.6;
}

/* Page hero — matches .hero so H1 looks identical across pages */
.page-hero { padding: 48px 0 28px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.page-hero h1 em { font-style: italic; font-weight: 400; }
.page-hero p { font-size: 16px; color: var(--ink-soft); max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* === Calendar — smaller / closer to intro === */
.calendar-band { padding: 12px 0 60px; }
.calendar-band--top { padding: 32px 0 40px; }
.cal-head { text-align: center; margin-bottom: 20px; }
.cal-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.01em; line-height: 1.2;
}
.cal-head h2 em { font-style: italic; font-weight: 400; }
.cal-head p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

.calendar {
  max-width: 560px; margin: 0 auto;
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 18px 20px 16px;
}
.cal-month-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.cal-month-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.cal-nav-btn {
  background: transparent; border: 1px solid var(--line);
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cal-nav-btn:hover { background: var(--ink); color: var(--bg); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.cal-dow {
  text-align: center; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); padding: 6px 0;
  font-weight: 500;
}
.cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 7px; font-size: 13px;
  color: var(--ink-soft); position: relative;
  cursor: default;
}
.cal-day.muted { color: rgba(0,0,0,0.18); }
.cal-day.today { font-weight: 700; color: var(--ink); }
.cal-day.session {
  cursor: pointer; color: var(--ink); font-weight: 500;
  background: rgba(0,0,0,0.04);
}
.cal-day.session:hover { background: var(--ink); color: var(--bg); }
.cal-day.session::after {
  content: ''; position: absolute; bottom: 4px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--status-open);
}
.cal-day.session.filling::after { background: var(--status-filling); }
.cal-day.session.full::after { background: var(--status-full); }
.cal-day.session.full {
  color: rgba(0,0,0,0.45); cursor: not-allowed;
  background: transparent;
}
.cal-day.session.full:hover { background: transparent; color: rgba(0,0,0,0.45); }

.cal-legend {
  display: flex; justify-content: center; gap: 16px;
  margin-top: 16px; font-size: 11px; color: var(--ink-soft);
  flex-wrap: wrap;
}
.cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cal-legend .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--status-open); }
.cal-legend .dot.filling { background: var(--status-filling); }
.cal-legend .dot.full { background: var(--status-full); }

/* === Section heading === */
.section { padding: 70px 0; }
.section--top { padding-top: 50px; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 36px; letter-spacing: -0.01em;
}
.section-head h2 em { font-style: italic; font-weight: 400; }
.section-head a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 14px; letter-spacing: 0.02em;
}
.section-head a:hover { color: var(--ink); }

/* === Sessions cards (upcoming) === */
.session-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.session-card {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: #1a1a1a; color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}
.session-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.18); }
.session-card .poster-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.session-card .session-meta-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 100%);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 13px; font-weight: 500; color: #fff;
  pointer-events: none;
}
.session-card .spots {
  background: rgba(0,0,0,0.55);
  padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.session-card .spots.open { background: rgba(74,124,78,0.85); }
.session-card .spots.filling { background: rgba(199,123,58,0.9); }
.session-card .spots.full { background: rgba(168,57,46,0.92); }

.session-card.placeholder-cool {
  background: linear-gradient(180deg, #DDE6EC 0%, #B6C7D4 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 32px;
}
.session-card.placeholder-cool .session-card-text { color: #1F2D3A; text-align: center; }
.session-card.placeholder-cool .session-card-text .date {
  position: absolute; top: 24px; left: 24px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.4;
}
.session-card.placeholder-cool .session-card-text .title {
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.05; max-width: 280px; margin: 0 auto;
}
.session-card.placeholder-cool .session-meta-overlay {
  color: #1F2D3A; background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.4) 100%);
}

/* === Past sessions grid === */
.past-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.past-card {
  aspect-ratio: 3 / 4; border-radius: 10px;
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--bg-soft);
  border: none; padding: 0;
  display: block; text-align: left;
  font-family: inherit;
}
.past-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.past-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.past-card.hidden { display: none; }

/* Mild-color placeholder past cards (for sessions without banners) */
.past-card.ph {
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px;
}
.past-card.ph .ph-date {
  position: absolute; top: 18px; left: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.3;
}
.past-card.ph .ph-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 18px; line-height: 1.15;
  text-align: center; margin: 0 auto;
  letter-spacing: -0.01em; max-width: 140px;
}

/* Rotate through 6 mild palettes — sand / clay / sage / mist / dusk / linen */
.past-card.ph-sand   { background: linear-gradient(180deg, #EFE7D6 0%, #C9B894 100%); color: #4A3D24; }
.past-card.ph-clay   { background: linear-gradient(180deg, #E9D6C9 0%, #C9A48B 100%); color: #4A2A1A; }
.past-card.ph-sage   { background: linear-gradient(180deg, #DCE3D4 0%, #A6B89A 100%); color: #2E3D28; }
.past-card.ph-mist   { background: linear-gradient(180deg, #DDE6EC 0%, #A8BCC9 100%); color: #243340; }
.past-card.ph-dusk   { background: linear-gradient(180deg, #E1D6E0 0%, #A899B0 100%); color: #2D2235; }
.past-card.ph-linen  { background: linear-gradient(180deg, #F0E9DD 0%, #D4C3A6 100%); color: #463821; }

.load-more-row { display: flex; justify-content: center; margin-top: 36px; }

/* === About: photo grid with lightbox === */
.about-photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 360px 220px;
  gap: 16px;
  max-width: 1136px;
  margin: 0 auto 60px;
  padding: 0 32px;
}
.about-photos .ap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: zoom-in;
  position: relative;
}
.about-photos .ap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.about-photos .ap:hover img { transform: scale(1.03); }
.about-photos .ap-1 { grid-row: span 2; }

/* About teaser on home — keep existing single-photo layout */
.about-band {
  padding: 90px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-inner {
  max-width: 1136px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden;
  background: var(--bg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 44px; letter-spacing: -0.01em;
  line-height: 1.1; margin-bottom: 28px;
}
.about-text h2 em { font-style: italic; font-weight: 400; }
.about-text p {
  font-size: 17px; line-height: 1.7;
  color: var(--ink-soft); margin-bottom: 16px;
}
.about-text p:last-of-type { margin-bottom: 28px; }

/* About full-page layout */
.about-body {
  max-width: 640px; margin: 0 auto; padding: 60px 32px 80px;
}
.about-body p {
  font-size: 18px; line-height: 1.75;
  color: var(--ink); margin-bottom: 24px;
}
.about-body p.lead {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 22px;
  font-weight: 400; line-height: 1.5;
  color: var(--ink); margin-bottom: 32px;
}
.about-fact-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; padding: 32px 0; margin: 40px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.about-fact .label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-soft);
  margin-bottom: 8px;
}
.about-fact .value {
  font-family: 'Playfair Display', serif;
  font-size: 22px; line-height: 1.2;
  color: var(--ink);
}

/* === Quote === */
.quote-band { padding: 90px 0; text-align: center; }
.quote-band blockquote {
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px); line-height: 1.3; letter-spacing: -0.01em;
  max-width: 720px; margin: 0 auto; color: var(--ink);
  /* Kill any default browser/theme blockquote left bar */
  border: none; padding: 0; quotes: none;
}
.quote-band blockquote::before, .quote-band blockquote::after { content: none; }

/* === Tips/Blog list === */
.tips-list { display: flex; flex-direction: column; }
.tip-item {
  display: grid; grid-template-columns: 140px 1fr auto;
  gap: 28px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: opacity 0.2s;
}
.tip-item:first-child { border-top: 1px solid var(--line); }
.tip-item:hover { opacity: 0.7; }
.tip-thumb { aspect-ratio: 1 / 1; border-radius: 8px; background: var(--bg-soft); }
.tip-thumb.t1 { background: linear-gradient(135deg, #D9C9B5 0%, #BFA98C 100%); }
.tip-thumb.t2 { background: linear-gradient(135deg, #C5CDB7 0%, #9BAE8E 100%); }
.tip-thumb.t3 { background: linear-gradient(135deg, #DCCBC0 0%, #B89890 100%); }
.tip-thumb.t4 { background: linear-gradient(135deg, #C8B8D4 0%, #9582AD 100%); }
.tip-thumb.t5 { background: linear-gradient(135deg, #E8B89A 0%, #D49872 100%); }
.tip-thumb.t6 { background: linear-gradient(135deg, #B6C7D4 0%, #8DA8BC 100%); }
.tip-content { min-width: 0; }
.tip-meta {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); margin-bottom: 6px;
}
.tip-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 22px; line-height: 1.25;
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.tip-excerpt {
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.tip-arrow { color: var(--ink-soft); font-size: 18px; transition: transform 0.2s, color 0.2s; }
.tip-item:hover .tip-arrow { transform: translateX(4px); color: var(--ink); }

/* Article */
.article {
  max-width: 680px; margin: 0 auto;
  padding: 60px 32px 100px;
}
.article .meta {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-soft);
  margin-bottom: 16px;
}
.article h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.article .deck {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 22px; line-height: 1.5;
  color: var(--ink-soft); margin-bottom: 40px;
}
.article p { font-size: 18px; line-height: 1.75; margin-bottom: 24px; }
.article h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 28px;
  margin: 48px 0 16px; letter-spacing: -0.01em;
}
.article ol, .article ul { margin: 0 0 24px 24px; }
.article ol li, .article ul li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.article .article-footer {
  margin-top: 60px; padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.article .back-link { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.article .back-link:hover { color: var(--ink); }

/* === Author box (end of article) === */
.author-box {
  max-width: 680px; margin: -40px auto 80px;
  padding: 28px 32px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: grid; grid-template-columns: 84px 1fr;
  gap: 22px; align-items: center;
}
.author-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  overflow: hidden; display: block;
  background: var(--bg);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-text { min-width: 0; }
.author-text .author-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-soft);
  margin-bottom: 2px;
}
.author-text .author-name {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 22px;
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.author-text p {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-soft); margin-bottom: 6px;
}
.author-text a {
  font-size: 13px; color: var(--ink);
  text-decoration: none; font-weight: 500;
}
.author-text a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .author-box {
    grid-template-columns: 64px 1fr;
    margin: -20px 20px 60px;
    padding: 20px 22px; gap: 16px;
  }
  .author-avatar { width: 64px; height: 64px; }
  .author-text .author-name { font-size: 18px; }
}

/* === Modal — poster-immersive === */
.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-backdrop::before {
  content: '';
  position: absolute; inset: -10%;
  background-image: var(--poster-bg, none);
  background-size: cover; background-position: center;
  filter: blur(40px) brightness(0.45) saturate(1.1);
  z-index: -1;
}
.modal-backdrop::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(15, 12, 10, 0.55);
  z-index: -1;
}
.modal {
  background: rgba(245, 240, 232, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  max-width: 880px; width: 100%;
  max-height: 92vh;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transform: translateY(8px);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.85);
  border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 22px; cursor: pointer;
  color: var(--ink); display: inline-flex;
  align-items: center; justify-content: center;
  z-index: 5;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--ink); color: var(--bg); }

/* Two-column layout for session modal */
.session-modal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 520px;
}
.session-modal-grid .smg-poster {
  background: #1a1a1a;
  position: relative; overflow: hidden;
}
.session-modal-grid .smg-poster img {
  width: 100%; height: 100%; object-fit: cover;
}
.session-modal-grid .smg-content {
  padding: 36px 40px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.smg-meta {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-soft);
  margin-bottom: 10px;
}
.smg-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.smg-spots {
  display: inline-block;
  padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  margin-bottom: 18px;
}
.smg-spots.open { background: rgba(74,124,78,0.15); color: var(--status-open); }
.smg-spots.filling { background: rgba(199,123,58,0.18); color: var(--status-filling); }
.smg-spots.full { background: rgba(168,57,46,0.15); color: var(--status-full); }

.smg-desc {
  font-size: 15px; line-height: 1.65;
  color: var(--ink); margin-bottom: 22px;
  white-space: pre-line;
  /* Limit length to avoid scrolling on most descriptions */
  max-height: 240px; overflow-y: auto;
}
.smg-actions {
  display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap;
}
.smg-other-dates {
  margin-top: 14px; font-size: 13px; color: var(--ink-soft);
}
.smg-other-dates a { color: var(--ink); text-decoration: underline; }

/* Register form modal */
.modal-form-body { padding: 40px 44px; }
.modal-form-body .smg-meta { margin-bottom: 8px; }
.modal-form-body .smg-title { margin-bottom: 24px; font-size: 26px; }
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); margin-bottom: 6px;
  font-weight: 500;
}
.form-row label .opt { text-transform: none; letter-spacing: 0; opacity: 0.7; font-size: 11px; }
.form-row input[type=text],
.form-row input[type=email],
.form-row textarea {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.55); border: 1px solid transparent;
  border-radius: 8px; font: inherit; color: var(--ink);
  transition: border 0.2s, background 0.2s;
  font-size: 14px;
}
.form-row textarea { min-height: 70px; resize: vertical; line-height: 1.5; }
.form-row input[type=text]:focus,
.form-row input[type=email]:focus,
.form-row input[type=tel]:focus,
.form-row textarea:focus {
  outline: none; background: var(--bg);
  border-color: var(--ink);
}
.form-row input[type=tel] {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.55); border: 1px solid transparent;
  border-radius: 8px; font: inherit; color: var(--ink);
  font-size: 14px;
}
/* Validation error state */
.form-row.has-error input,
.form-row.has-error textarea {
  border-color: var(--status-full);
  background: rgba(168,57,46,0.05);
}
.form-row .error-msg {
  display: none;
  font-size: 12px; color: var(--status-full);
  margin-top: 6px; align-items: center; gap: 6px;
}
.form-row.has-error .error-msg { display: inline-flex; }
.form-row .error-msg::before {
  content: ''; display: inline-block;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--status-full);
  color: #fff; text-align: center; line-height: 14px;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><text x='7' y='11' fill='white' font-family='Arial' font-weight='bold' font-size='10' text-anchor='middle'>!</text></svg>");
  background-size: contain;
}
.form-actions {
  display: flex; gap: 10px; margin-top: 20px;
  align-items: center; flex-wrap: wrap;
}

/* Success state */
.modal-success { padding: 44px 44px 36px; text-align: center; max-height: 92vh; overflow-y: auto; }
.modal-success .check {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.modal-success h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 28px; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.modal-success .subtitle {
  font-size: 15px; color: var(--ink-soft); line-height: 1.6;
  max-width: 420px; margin: 0 auto 22px;
}
.modal-success .address-row {
  background: rgba(255,255,255,0.55); border-radius: 10px;
  padding: 14px 18px; margin: 0 auto 8px;
  max-width: 460px; text-align: left;
}
.modal-success .address-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); margin-bottom: 4px;
}
.modal-success .address-value {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: var(--ink);
}
.modal-success .howto-row {
  background: rgba(255,255,255,0.4); border-radius: 10px;
  padding: 12px 18px; margin: 0 auto 22px;
  max-width: 460px; text-align: left;
  font-size: 14px; color: var(--ink);
}
.modal-success .howto-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); margin-bottom: 4px;
}
.action-group { margin: 18px auto 0; max-width: 480px; text-align: left; }
.action-group h4 {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-soft);
  font-weight: 600; margin-bottom: 8px;
}
.action-row {
  display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap;
}
.action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; background: rgba(255,255,255,0.55);
  border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; color: var(--ink);
  font-size: 13px; cursor: pointer; transition: background 0.2s, border 0.2s;
  font-family: inherit;
}
.action-btn:hover { background: var(--bg); border-color: var(--ink); }

/* Success modal — stay-in-touch block */
.success-social {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.success-social .success-social-h {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 18px;
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.success-social p { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.success-social .social-icons { display: flex; justify-content: center; gap: 10px; }
.success-social .social-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.success-social .social-icons a:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.success-social .social-icons svg { width: 18px; height: 18px; fill: currentColor; }

/* === Lightbox === */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 8, 6, 0.92);
  z-index: 1500;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none; color: #fff; font-size: 24px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* === Social row above footer === */
.social-row {
  padding: 56px 0; text-align: center;
  border-top: 1px solid var(--line);
}
.social-row h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 22px;
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.social-row p { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
.social-icons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.social-icons a {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-icons a:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.social-icons svg { width: 20px; height: 20px; fill: currentColor; }

/* === Footer === */
footer.site-footer { padding: 50px 0 36px; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500; font-size: 24px; margin-bottom: 12px;
}
.footer-brand h3 em { font-style: italic; font-weight: 400; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; margin-bottom: 14px; color: var(--ink-soft);
}
.footer-col ul { list-style: none; padding: 0 !important; margin: 0; }
.footer-col li { margin-bottom: 8px; padding: 0; list-style: none; }
.footer-col li::marker, .footer-col li::before { content: none; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: 14px; cursor: pointer; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-soft);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--ink-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* === Mobile === */
@media (max-width: 768px) {
  nav.main-nav ul { display: none; }
  .container { padding: 0 20px; }
  .hero { padding: 40px 0 24px; }
  .session-grid { grid-template-columns: 1fr; }
  .past-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-text h2 { font-size: 32px; }
  .about-fact-row { grid-template-columns: 1fr; gap: 16px; }
  .tip-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .tip-item .tip-arrow { display: none; }
  .tip-title { font-size: 18px; }
  .article p { font-size: 16px; }
  .calendar { padding: 14px; }
  .cal-grid { gap: 2px; }
  .cal-day { font-size: 12px; }

  .session-modal-grid { grid-template-columns: 1fr; }
  .session-modal-grid .smg-poster { aspect-ratio: 4 / 3; min-height: 0; }
  .session-modal-grid .smg-content { padding: 24px 22px 28px; }
  .modal-form-body { padding: 24px 22px 28px; }
  .modal-success { padding: 28px 22px 28px; }
  .about-photos {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 220px 220px;
    padding: 0 20px;
  }
  .about-photos .ap-1 { grid-row: span 1; }
}
