/*
Theme Name: Liz Vowles
Theme URI: https://www.lizvowles.com
Author: Liz Vowles Studio Theme
Description: Editorial botanical WordPress theme for Liz Vowles — weaving together mindful yoga, Pilates, special North Yorkshire venues, essential oils in practice, and fine art. Built with core WordPress blocks, interactive venue/oil filters, and streamlined dropdown navigation.
Version: 2.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: liz-vowles
*/

:root {
  --lv-linen: #f9f7f3;
  --lv-white: #ffffff;
  --lv-sage-soft: #e9f1ee;
  --lv-sage: #c5dbd5;
  --lv-teal: #2e524d;
  --lv-teal-mid: #4a7c74;
  --lv-teal-dark: #203b37;
  --lv-clay: #c47d5c;
  --lv-clay-dark: #a66446;
  --lv-clay-soft: #f6ece6;
  --lv-blue: #3d658a;
  --lv-ink: #252320;
  --lv-ink-muted: #5b5751;
  --lv-border: rgba(46, 82, 77, 0.14);
  --lv-border-strong: rgba(46, 82, 77, 0.26);
  --lv-shadow-sm: 0 6px 24px rgba(37, 35, 32, 0.05);
  --lv-shadow-md: 0 14px 40px rgba(37, 35, 32, 0.09);
  --lv-radius: 16px;
  --lv-radius-lg: 24px;
  --lv-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --lv-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lv-script: "Caveat", "DrSugiyama", cursive;
  --lv-wide: 1220px;
  --lv-narrow: 760px;
  --lv-gutter: clamp(20px, 4.5vw, 56px);
  --lv-header-h: 78px;
}

@font-face {
  font-family: "DrSugiyama";
  src: url("assets/fonts/DrSugiyama-Regular.ttf") format("truetype");
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--lv-header-h) + 20px); }
body {
  margin: 0;
  background: var(--lv-linen);
  color: var(--lv-ink);
  font-family: var(--lv-body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lv-teal); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--lv-clay); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--lv-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--lv-teal);
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(2.7rem, 5.8vw, 4.7rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); }
h4 { font-size: 1.35rem; }

.lv-script {
  font-family: var(--lv-script);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.lv-eyebrow {
  font-family: var(--lv-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lv-clay);
  margin-bottom: 0.9rem;
  display: block;
}
.lv-lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  color: var(--lv-ink-muted);
  line-height: 1.75;
}
.lv-muted { color: var(--lv-ink-muted); font-size: 0.93rem; }
.lv-center { text-align: center; }

.screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  background: var(--lv-white);
  color: var(--lv-teal);
  padding: 10px 16px;
  z-index: 1000;
  top: 10px;
  left: 10px;
  border-radius: 8px;
  box-shadow: var(--lv-shadow-sm);
}

/* ==========================================================================
   Header & Navigation (Single-line, Dropdown-enabled, Frosted Linen)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 247, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lv-border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(249, 247, 243, 0.97);
  box-shadow: 0 8px 28px rgba(37, 35, 32, 0.06);
}
.site-header__inner {
  max-width: var(--lv-wide);
  margin: 0 auto;
  padding: 10px var(--lv-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--lv-header-h);
}
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  max-height: 54px;
  width: auto;
}
.site-logo .site-title {
  font-family: var(--lv-display);
  font-size: 1.9rem;
  color: var(--lv-teal);
}

.primary-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px 26px;
  flex-wrap: nowrap;
}
.primary-nav li {
  position: relative;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lv-ink);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 2px;
  white-space: nowrap;
  position: relative;
}
.primary-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--lv-clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-ancestor > a {
  color: var(--lv-teal);
}

/* Caret for dropdown parent items */
.primary-nav .menu-item-has-children > a::before {
  content: "";
  order: 2;
  width: 5px;
  height: 5px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: 3px;
  opacity: 0.65;
  transition: transform 0.2s ease;
}
.primary-nav .menu-item-has-children:hover > a::before,
.primary-nav .menu-item-has-children:focus-within > a::before {
  transform: rotate(-135deg) translateY(-1px);
}

/* Dropdown sub-menu */
.primary-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 230px;
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  border-radius: 14px;
  box-shadow: var(--lv-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-nav .sub-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 0.86rem;
  color: var(--lv-ink);
  white-space: nowrap;
}
.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu .current-menu-item > a {
  background: var(--lv-sage-soft);
  color: var(--lv-teal);
}

/* Header pill CTA item */
.primary-nav > ul > li.lv-nav-cta > a {
  background: var(--lv-teal);
  color: var(--lv-white) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.primary-nav > ul > li.lv-nav-cta > a::after { display: none; }
.primary-nav > ul > li.lv-nav-cta > a:hover {
  background: var(--lv-clay);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--lv-teal);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--lv-linen);
    border-bottom: 1px solid var(--lv-border);
    padding: 16px var(--lv-gutter) 28px;
    box-shadow: var(--lv-shadow-md);
    max-height: calc(100vh - var(--lv-header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav > ul > li > a { padding: 12px 4px; font-size: 1rem; justify-content: space-between; }
  .primary-nav > ul > li > a::after { display: none; }
  .primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: rgba(233, 241, 238, 0.55);
    border-radius: 12px;
    margin: 2px 0 10px;
    padding: 6px 0;
  }
  .primary-nav .sub-menu a { padding: 9px 16px; font-size: 0.92rem; }
  .primary-nav > ul > li.lv-nav-cta { margin-top: 12px; }
  .primary-nav > ul > li.lv-nav-cta > a { justify-content: center; width: 100%; padding: 12px 20px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
}

/* ==========================================================================
   Section Rhythm & Colour Surfaces
   ========================================================================== */
.entry-content > .lv-section {
  position: relative;
  isolation: isolate;
  padding: clamp(54px, 7.5vw, 108px) var(--lv-gutter);
  overflow: hidden;
}
.lv-section > *:not(.lv-section-bg) {
  position: relative;
  z-index: 2;
  max-width: var(--lv-wide);
  margin-left: auto;
  margin-right: auto;
}
.lv-section > p,
.lv-section > h1,
.lv-section > h2,
.lv-section > h3,
.lv-section > h4,
.lv-section > ul,
.lv-section > ol {
  max-width: var(--lv-narrow);
}
.lv-section-header {
  max-width: 680px;
  margin: 0 auto clamp(32px, 4.5vw, 56px);
  text-align: center;
}
.lv-section-header p { color: var(--lv-ink-muted); }

.lv-section-bg {
  position: absolute !important;
  inset: 0;
  margin: 0 !important;
  max-width: none !important;
  z-index: 0;
}
.lv-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Surfaces */
.lv-theme-linen { background: var(--lv-linen); }
.lv-theme-white { background: var(--lv-white); }
.lv-theme-mint { background: var(--lv-sage-soft); }
.lv-theme-blush { background: var(--lv-clay-soft); }
.lv-theme-pattern {
  background-color: var(--lv-white);
  background-image: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)), url("assets/images/liz-section-background-min-936fdd.jpg");
  background-size: cover;
  background-position: center;
}
.lv-theme-teal,
.lv-theme-bright-inverse {
  background: var(--lv-teal);
  color: rgba(249, 247, 243, 0.92);
}
.lv-theme-teal h1, .lv-theme-teal h2, .lv-theme-teal h3, .lv-theme-teal h4,
.lv-theme-bright-inverse h1, .lv-theme-bright-inverse h2, .lv-theme-bright-inverse h3 {
  color: var(--lv-white);
}
.lv-theme-teal .lv-eyebrow { color: var(--lv-sage); }
.lv-theme-teal .lv-lead, .lv-theme-teal .lv-section-header p { color: rgba(249, 247, 243, 0.82); }
.lv-theme-teal a:not(.wp-block-button__link):not(.lv-btn) { color: var(--lv-sage); }

.lv-theme-dark-bold {
  background: var(--lv-teal-dark);
  color: var(--lv-white);
  text-align: center;
}
.lv-theme-dark-bold h1, .lv-theme-dark-bold h2, .lv-theme-dark-bold h3, .lv-theme-dark-bold a { color: var(--lv-white); }
.lv-theme-dark-bold.lv-has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 46, 43, 0.76), rgba(37, 35, 32, 0.62));
  z-index: 1;
}

/* ==========================================================================
   Hero Variants
   ========================================================================== */
.lv-hero {
  min-height: clamp(460px, 74vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(64px, 9vw, 110px) !important;
  padding-bottom: clamp(64px, 9vw, 110px) !important;
}
.lv-hero.lv-has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(24, 44, 41, 0.72) 0%, rgba(24, 44, 41, 0.44) 55%, rgba(24, 44, 41, 0.18) 100%);
  z-index: 1;
}
.lv-hero--center.lv-has-bg::after {
  background: linear-gradient(180deg, rgba(24, 44, 41, 0.56) 0%, rgba(24, 44, 41, 0.64) 100%);
}
.lv-hero--light.lv-has-bg::after {
  background: linear-gradient(95deg, rgba(249, 247, 243, 0.94) 0%, rgba(249, 247, 243, 0.82) 48%, rgba(249, 247, 243, 0.12) 100%);
}
.lv-hero__inner {
  max-width: 680px;
  margin-left: 0 !important;
}
.lv-hero--center .lv-hero__inner {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  max-width: 760px;
}
.lv-hero:not(.lv-hero--light) { color: var(--lv-white); }
.lv-hero:not(.lv-hero--light) h1,
.lv-hero:not(.lv-hero--light) h2 {
  color: var(--lv-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
}
.lv-hero:not(.lv-hero--light) .lv-eyebrow { color: var(--lv-sage); }
.lv-hero:not(.lv-hero--light) p { color: rgba(255, 255, 255, 0.92); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.lv-hero--compact { min-height: clamp(340px, 48vh, 480px); }

/* Fallback hero style for legacy v1 content blocks */
.entry-content > .lv-section.lv-has-bg:first-child:not(.lv-hero) {
  min-height: clamp(380px, 60vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.entry-content > .lv-section.lv-has-bg:first-child:not(.lv-hero)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 247, 243, 0.52);
  z-index: 1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 1.5rem 0 0;
}
.wp-block-button__link,
.button,
.lv-btn,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lv-teal);
  color: var(--lv-white) !important;
  border: 1.5px solid var(--lv-teal);
  border-radius: 999px;
  padding: 0.78em 1.85em;
  font-family: var(--lv-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.wp-block-button__link:hover,
.button:hover,
.lv-btn:hover,
input[type="submit"]:hover {
  background: var(--lv-clay);
  border-color: var(--lv-clay);
  color: var(--lv-white) !important;
  transform: translateY(-1px);
  text-decoration: none;
}

.is-style-outline .wp-block-button__link,
.lv-btn--outline {
  background: transparent;
  color: var(--lv-teal) !important;
  border-color: var(--lv-teal);
}
.is-style-outline .wp-block-button__link:hover,
.lv-btn--outline:hover {
  background: var(--lv-teal);
  color: var(--lv-white) !important;
}

.lv-hero:not(.lv-hero--light) .is-style-outline .wp-block-button__link,
.lv-theme-teal .is-style-outline .wp-block-button__link,
.lv-theme-dark-bold .is-style-outline .wp-block-button__link {
  color: var(--lv-white) !important;
  border-color: rgba(255, 255, 255, 0.7);
}
.lv-hero:not(.lv-hero--light) .is-style-outline .wp-block-button__link:hover,
.lv-theme-teal .is-style-outline .wp-block-button__link:hover,
.lv-theme-dark-bold .is-style-outline .wp-block-button__link:hover {
  background: var(--lv-white);
  color: var(--lv-teal) !important;
  border-color: var(--lv-white);
}

.lv-btn--clay .wp-block-button__link,
.lv-hero:not(.lv-hero--light) .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lv-theme-teal .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lv-theme-dark-bold .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--lv-clay);
  border-color: var(--lv-clay);
}
.lv-hero:not(.lv-hero--light) .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lv-theme-teal .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lv-theme-dark-bold .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--lv-white);
  border-color: var(--lv-white);
  color: var(--lv-teal) !important;
}

/* ==========================================================================
   Editorial Grids, Split Features & Cards
   ========================================================================== */
.lv-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.lv-split--reverse > :first-child { order: 2; }
.lv-split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.lv-split figure { margin: 0; }
.lv-split img {
  width: 100%;
  border-radius: var(--lv-radius-lg);
  box-shadow: var(--lv-shadow-md);
}
.lv-arch img {
  border-radius: 999px 999px 22px 22px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.lv-frame-art img {
  border-radius: 8px;
  padding: 14px;
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  box-shadow: var(--lv-shadow-md);
}
@media (max-width: 840px) {
  .lv-split, .lv-split--wide-media { grid-template-columns: 1fr; }
  .lv-split--reverse > :first-child { order: 0; }
}

/* Four Pillars Bento / Editorial Grid */
.lv-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 780px) {
  .lv-pillars-grid { grid-template-columns: 1fr; }
}
.lv-pillar-card {
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lv-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lv-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lv-shadow-md);
}
.lv-pillar-card__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--lv-sage-soft);
}
.lv-pillar-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.lv-pillar-card:hover .lv-pillar-card__media img { transform: scale(1.04); }
.lv-pillar-card__body {
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lv-pillar-card__body p { color: var(--lv-ink-muted); font-size: 0.95rem; }
.lv-pillar-card__body .wp-block-buttons { margin-top: auto; padding-top: 12px; }

/* Venue Spotlight Strip (Dark Teal) */
.lv-venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 22px;
}
.lv-venue-tile {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lv-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, background 0.25s ease;
}
.lv-venue-tile:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
}
.lv-venue-tile figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.lv-venue-tile figure img { width: 100%; height: 100%; object-fit: cover; }
.lv-venue-tile__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lv-venue-tile__body h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.lv-venue-tile__body p { font-size: 0.9rem; color: rgba(249, 247, 243, 0.82); margin-bottom: 0.7rem; }
.lv-venue-tile__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lv-sage) !important;
}
.lv-venue-tile__link:hover { color: var(--lv-white) !important; }

/* Filter Pills Bar (for Yoga Venues & Essential Oils Shop) */
.lv-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 36px;
}
.lv-filter-btn {
  appearance: none;
  background: var(--lv-white);
  color: var(--lv-ink-muted);
  border: 1px solid var(--lv-border-strong);
  border-radius: 999px;
  padding: 9px 20px;
  font-family: var(--lv-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lv-filter-btn:hover {
  border-color: var(--lv-teal);
  color: var(--lv-teal);
}
.lv-filter-btn.is-active {
  background: var(--lv-teal);
  border-color: var(--lv-teal);
  color: var(--lv-white);
}
.lv-filter-item.is-hidden { display: none !important; }

/* Standard Card Grid (Oils, Classes, Info) */
.lv-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 30px);
  align-items: stretch;
}
.lv-card-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.lv-card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.lv-card {
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  padding: 24px;
  box-shadow: var(--lv-shadow-sm);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lv-shadow-md);
}
.lv-card figure {
  margin: -24px -24px 20px;
  border-radius: var(--lv-radius) var(--lv-radius) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--lv-linen);
}
.lv-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lv-card--product figure img {
  object-fit: contain;
  background: var(--lv-white);
  padding: 12px;
}
.lv-card h3, .lv-card h4 { margin-top: 0; margin-bottom: 0.4rem; }
.lv-card p { font-size: 0.93rem; color: var(--lv-ink-muted); }
.lv-card .wp-block-buttons { margin-top: auto; padding-top: 14px; justify-content: flex-start; }

/* Legacy top-level single .lv-card support */
.lv-section > .lv-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 0;
  align-items: center;
  padding: clamp(22px, 3vw, 36px);
}
.lv-section > .lv-card > figure {
  grid-column: 1;
  grid-row: 1 / span 40;
  margin: 0;
  border-radius: 14px;
  aspect-ratio: auto;
}
.lv-section > .lv-card > :not(figure) { grid-column: 2; }
@media (max-width: 780px) {
  .lv-section > .lv-card { display: block; }
  .lv-section > .lv-card > figure { margin-bottom: 1.2rem; }
}

/* Badges & Tags */
.lv-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lv-sage-soft);
  color: var(--lv-teal);
  margin-bottom: 10px;
  align-self: flex-start;
}
.lv-badge--clay {
  background: var(--lv-clay-soft);
  color: var(--lv-clay-dark);
}

/* Schedule List inside Venue Cards */
.lv-schedule-list {
  list-style: none;
  margin: 0.6rem 0 1rem;
  padding: 0;
  border-top: 1px solid var(--lv-border);
}
.lv-schedule-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--lv-border);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.lv-schedule-list strong { color: var(--lv-teal); font-weight: 600; }

/* Date Booking Grid (Castle Yoga) */
.lv-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.lv-date-card {
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--lv-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lv-date-card:hover {
  transform: translateY(-3px);
  border-color: var(--lv-clay);
}
.lv-date-card__date {
  font-family: var(--lv-display);
  font-size: 1.85rem;
  color: var(--lv-teal);
  line-height: 1.1;
  margin-bottom: 4px;
}
.lv-date-card__meta {
  font-size: 0.84rem;
  color: var(--lv-ink-muted);
  margin-bottom: 14px;
}
.lv-date-card .wp-block-buttons { margin-top: auto; justify-content: center; }

/* Featured Season Pass / Highlight Banner */
.lv-pass-banner {
  margin-top: 28px;
  background: var(--lv-teal);
  color: var(--lv-white);
  border-radius: var(--lv-radius-lg);
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--lv-shadow-md);
}
.lv-pass-banner h3 { color: var(--lv-white); margin-bottom: 0.25rem; }
.lv-pass-banner p { color: rgba(249, 247, 243, 0.85); margin: 0; max-width: 580px; }
.lv-pass-banner .wp-block-buttons { margin: 0; }

/* Pricing Tiers (Personal Coaching) */
.lv-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 24px;
  align-items: stretch;
}
.lv-price-card {
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lv-shadow-sm);
}
.lv-price-card--featured {
  border: 2px solid var(--lv-teal);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9f7 100%);
  box-shadow: var(--lv-shadow-md);
}
.lv-price-card__amount {
  font-family: var(--lv-display);
  font-size: 2.8rem;
  color: var(--lv-teal);
  line-height: 1;
  margin: 8px 0 6px;
}
.lv-price-card__sub {
  font-size: 0.86rem;
  color: var(--lv-clay-dark);
  font-weight: 500;
  margin-bottom: 18px;
}
.lv-price-card ul {
  list-style: none;
  margin: 14px 0 22px;
  padding: 0;
}
.lv-price-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 0.92rem;
  color: var(--lv-ink-muted);
}
.lv-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lv-teal-mid);
  font-weight: 700;
}
.lv-price-card .wp-block-buttons { margin-top: auto; }

/* Quote / Testimonial Grid */
.lv-quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}
.lv-quote-card {
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lv-shadow-sm);
}
.lv-quote-card::before {
  content: "\201C";
  font-family: var(--lv-display);
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--lv-clay);
  opacity: 0.55;
  margin-bottom: 10px;
}
.lv-quote-card p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--lv-ink);
  font-style: italic;
}
.lv-quote-card__author {
  margin-top: auto;
  padding-top: 14px;
  font-style: normal !important;
  font-size: 0.82rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lv-teal) !important;
}

/* Native Accordion (<details>) for compact depth without page bloat */
.lv-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lv-accordion details {
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  border-radius: 14px;
  padding: 18px 24px;
  transition: box-shadow 0.2s ease;
}
.lv-accordion details[open] {
  box-shadow: var(--lv-shadow-sm);
  border-color: var(--lv-teal-mid);
}
.lv-accordion summary {
  font-family: var(--lv-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--lv-teal);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lv-accordion summary::-webkit-details-marker { display: none; }
.lv-accordion summary::after {
  content: "+";
  font-family: var(--lv-body);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--lv-clay);
  transition: transform 0.2s ease;
}
.lv-accordion details[open] summary::after {
  content: "−";
}
.lv-accordion details > :not(summary) {
  margin-top: 12px;
  color: var(--lv-ink-muted);
  font-size: 0.95rem;
}

/* Checklist Box */
.lv-info-box {
  background: var(--lv-sage-soft);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  padding: 24px 28px;
  margin: 1.4rem 0;
}
.lv-info-box--blush { background: var(--lv-clay-soft); }
.lv-info-box ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}
.lv-info-box li { margin-bottom: 0.45rem; }

/* Decorative Botanical Watermark */
.lv-botanical-accent {
  width: 110px;
  opacity: 0.82;
  margin: 0 auto 14px;
}

/* Generic WordPress Content & Embeds */
.entry-content > :not(.lv-section) {
  max-width: var(--lv-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--lv-gutter);
  padding-right: var(--lv-gutter);
}
.entry-content > .alignwide { max-width: var(--lv-wide); }
.entry-content > .alignfull { max-width: none; padding: 0; }
.wp-block-embed { margin: 1.8rem auto; max-width: 760px; }
.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow-md);
}
.wp-block-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-header, .entry-header {
  max-width: var(--lv-narrow);
  margin: 0 auto;
  padding: 56px var(--lv-gutter) 16px;
  text-align: center;
}
.site-main { min-height: 55vh; }
.posts-list {
  max-width: var(--lv-narrow);
  margin: 0 auto;
  padding: 40px var(--lv-gutter) 72px;
}
.posts-list article {
  background: var(--lv-white);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  padding: 28px;
  margin-bottom: 1.5rem;
}

/* Subtle Scroll Reveal */
.js-ready .lv-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-ready .lv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .lv-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Editorial Footer
   ========================================================================== */
.site-footer {
  background: var(--lv-teal-dark);
  color: rgba(249, 247, 243, 0.82);
  padding: clamp(52px, 6vw, 76px) var(--lv-gutter) 34px;
  font-size: 0.9rem;
}
.site-footer__grid {
  max-width: var(--lv-wide);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
}
@media (max-width: 820px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
.site-footer__brand-title {
  font-family: var(--lv-display);
  font-size: 2rem;
  color: var(--lv-white);
  margin: 0 0 10px;
}
.site-footer__tagline {
  max-width: 340px;
  color: rgba(249, 247, 243, 0.76);
  line-height: 1.65;
  margin-bottom: 16px;
}
.site-footer__heading {
  font-family: var(--lv-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lv-sage);
  margin: 0 0 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a { color: rgba(249, 247, 243, 0.86); }
.site-footer a:hover { color: var(--lv-white); text-decoration: underline; }
.site-footer__bottom {
  max-width: var(--lv-wide);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.82rem;
  color: rgba(249, 247, 243, 0.64);
}

/* ==========================================================================
   Guided Meditation Audio Sanctuary Card
   ========================================================================== */
.lv-audio-card {
  max-width: 860px !important;
  margin: 0 auto;
  background: var(--lv-linen);
  color: var(--lv-ink);
  border-radius: var(--lv-radius-lg);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--lv-shadow-md);
  text-align: center;
}
.lv-audio-card h2,
.lv-audio-card h3 {
  color: var(--lv-teal) !important;
}
.lv-audio-card > p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--lv-ink-muted);
}
.lv-audio-card .lv-badge {
  margin-left: auto;
  margin-right: auto;
}
.wp-block-audio {
  margin: 2rem auto 1.6rem;
  max-width: 620px;
  background: var(--lv-white);
  border: 1px solid var(--lv-border-strong);
  border-radius: 18px;
  padding: 20px 22px 16px;
  box-shadow: var(--lv-shadow-sm);
}
.wp-block-audio audio {
  width: 100%;
  min-width: 0;
  height: 46px;
  border-radius: 999px;
  outline: none;
}
.wp-block-audio figcaption {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--lv-ink-muted);
  text-align: center;
}
.lv-ritual-steps {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--lv-border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px 24px;
  text-align: left;
}
.lv-ritual-step strong {
  display: block;
  font-family: var(--lv-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--lv-teal);
  margin-bottom: 4px;
}
.lv-ritual-step span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--lv-ink-muted);
}
.lv-ritual-step a {
  color: var(--lv-teal) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lv-ritual-step a:hover {
  color: var(--lv-clay) !important;
}
