/*
Theme Name: Marma Yoga
Theme URI: https://www.marmayoga.net/
Author: Kati Heuer
Description: Responsives Theme für Marma Yoga in Oldenburg. Warme Farben, große Fotos, klares Layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: marma-yoga
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  /* ---------------------------------------------------------------
     Aktuelle Palette: Option D „Tann & Moos"
     Grün-Spektrum (kräftig bis dezent) — siehe COLOR_SCHEMES.md
  --------------------------------------------------------------- */
  --color-primary:    #3d6b4f;   /* kräftiges Tannengrün */
  --color-primary-dk: #2e5640;
  --color-primary-lt: #7a9d89;   /* helles Mittelgrün */
  --color-accent:     #8a9476;   /* gedämpftes Olive */
  --color-sand:       #eef2eb;   /* Pale Green */
  --color-sand-dk:    #dfe5dd;
  --color-dark:       #1d2b22;   /* tiefes Konifer */
  --color-text:       #25322a;
  --color-text-light: #5d6b62;
  --color-white:      #fcfcfc;   /* neutrales Off-White */
  --color-border:     #d0d8cf;

  /* ---------------------------------------------------------------
     Alternative: Option A „Salbei & Stein" (subtilster Sprung)
     Bei Bedarf reaktivieren — siehe COLOR_SCHEMES.md
  --------------------------------------------------------------- */
  /*
  --color-primary:    #6e8a7c;
  --color-primary-dk: #557263;
  --color-primary-lt: #9bb1a4;
  --color-accent:     #8b8378;
  --color-sand:       #f3efe8;
  --color-sand-dk:    #e8e3d8;
  --color-dark:       #2a322d;
  --color-text:       #2c3330;
  --color-text-light: #5e6962;
  --color-white:      #fcfcfc;
  --color-border:     #dad6cf;
  */

  /* ---------------------------------------------------------------
     Alternative: Option C „Mineral & Graphit" (deutlich kühler)
     Bei Bedarf reaktivieren — siehe COLOR_SCHEMES.md
  --------------------------------------------------------------- */
  /*
  --color-primary:    #5d7d8c;
  --color-primary-dk: #44616e;
  --color-primary-lt: #8aa3ae;
  --color-accent:     #6f7a78;
  --color-sand:       #e8ecee;
  --color-sand-dk:    #dbe0e3;
  --color-dark:       #1c242a;
  --color-text:       #313a40;
  --color-text-light: #67737a;
  --color-white:      #fcfcfc;
  --color-border:     #d0cec9;
  */

  /* ---------------------------------------------------------------
     Alternative: Option B „Schiefer & Leinen" (mittel kühl)
     Bei Bedarf reaktivieren — siehe COLOR_SCHEMES.md
  --------------------------------------------------------------- */
  /*
  --color-primary:    #4a6e7a;
  --color-primary-dk: #355361;
  --color-primary-lt: #7a98a3;
  --color-accent:     #7e7367;
  --color-sand:       #f1eee8;
  --color-sand-dk:    #e6e1d8;
  --color-dark:       #1f2a32;
  --color-text:       #2f3a40;
  --color-text-light: #6b7880;
  --color-white:      #fffdf9;
  --color-border:     #d6d2cb;
  */

  /* ---------------------------------------------------------------
     Original-Palette: Terrakotta & Sand (warm-erdig)
     Bei Bedarf reaktivieren — siehe COLOR_SCHEMES.md
  --------------------------------------------------------------- */
  /*
  --color-primary:    #c17a4a;
  --color-primary-dk: #a0623a;
  --color-primary-lt: #dba87e;
  --color-accent:     #8b6e52;
  --color-sand:       #f5efe6;
  --color-sand-dk:    #ede3d5;
  --color-dark:       #2c2318;
  --color-text:       #3d3128;
  --color-text-light: #7a6557;
  --color-white:      #fffdf9;
  --color-border:     #e0d4c4;
  */

  --font-heading: 'Inria Serif', 'Andada Pro', Georgia, serif;
  --font-body:    'Kedebideri', 'Helvetica Neue', Arial, sans-serif;

  --radius:    4px;
  --radius-lg: 8px;
  --shadow:    0 2px 12px rgba(29, 43, 34, .10);
  --shadow-lg: 0 8px 32px rgba(29, 43, 34, .15);

  --max-width: 1200px;
  --header-h:  72px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-dk); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =====================================================
   UTILITY
   ===================================================== */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--sand { background: var(--color-sand); }
.section--dark { background: var(--color-dark); color: var(--color-white); }

.btn {
  display: inline-block;
  padding: .7rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dk);
  border-color: var(--color-primary-dk);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.text-center { text-align: center; }
.section-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .6rem;
}
.section-title { margin-bottom: 1rem; }
.section-intro  { color: var(--color-text-light); max-width: 56ch; margin-inline: auto; font-size: 1.05rem; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
}

/* Admin-Bar (WP-Backend): Header nach unten schieben */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.site-header {
  z-index: 100;
  height: var(--header-h);
  background: rgba(252,252,252,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.site-logo img,
.custom-logo-link .custom-logo {
  height: 44px !important;
  width: auto !important;
}
.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: .02em;
}
.site-logo-text span { color: var(--color-primary); }

/* --- Main Nav --- */
.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: block;
  padding: .5rem .85rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-ancestor > a {
  background: var(--color-sand-dk);
  color: var(--color-primary-dk);
}

/* Dropdown */
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  z-index: 200;
}
/* Unsichtbare Brücke, damit der Hover nicht in der Lücke abreißt */
.main-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -.5rem;
  left: 0;
  right: 0;
  height: .5rem;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.main-nav .sub-menu li a {
  display: block;
  padding: .55rem 1rem;
  font-size: .87rem;
  color: var(--color-text);
  transition: background .15s, color .15s;
}
.main-nav .sub-menu li a:hover {
  background: var(--color-sand);
  color: var(--color-primary);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  height: clamp(260px, 38vh, 420px);
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  flex: 0 0 100%;
  position: relative;
}

.slide img,
.slide .slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.slide-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c17a4a 0%, #8b6e52 50%, #2c2318 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.25);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(44,35,24,.55) 0%, rgba(44,35,24,.15) 60%, transparent 100%);
}

.slide-caption {
  position: absolute;
  bottom: clamp(2rem, 6vw, 4rem);
  right: clamp(1.5rem, 8vw, 5rem);
  max-width: 520px;
  color: var(--color-white);
  text-align: right;
}
.slide-caption h2 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: .75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.slide-caption p {
  font-size: 1.05rem;
  opacity: .9;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}

/* Logo über dem Slider */
.hero-overlay-left {
  position: absolute;
  top: 50%;
  left: clamp(2rem, 6vw, 6rem);
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: flex-end;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-logo {
  pointer-events: none;
}
.hero-logo img {
  height: clamp(120px, calc(38vh * 0.6), 252px);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.35));
}

.hero-cta {
  position: absolute;
  left: 50%;
  bottom: calc(50% - clamp(60px, calc(38vh * 0.3), 126px));
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
}
.hero-cta .btn {
  min-width: 195px;
  padding: 1.05rem 2.7rem;
  font-size: 1.05rem;
  border-width: 1px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}
.hero-cta .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
/* CTAs ausblenden, sobald sie sich mit Slide-Caption (rechts) oder
   Slider-Navi (links/rechts, vertikal mittig) überschneiden würden.
   Schwellen sind konservativ gewählt; bei längeren Captions ggf. höher setzen. */
@media (max-width: 1280px), (max-height: 700px) {
  .hero-cta { display: none; }
}
.btn--on-photo {
  background: rgba(0,0,0,.25);
  color: var(--color-white);
  border-color: rgba(255,255,255,.75);
}
.btn--on-photo:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 6px;
  background: rgba(0,0,0,.28);
  border: 1.5px solid rgba(255,255,255,.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.slider-btn:hover { background: rgba(0,0,0,.48); border-color: rgba(255,255,255,.85); }
.slider-btn svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.92); }
.slider-btn--prev { left: 1.25rem; }
.slider-btn--next { right: 1.25rem; }

.slider-play {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 10;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(252,252,252,.80);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  color: var(--color-dark);
}
.slider-play:hover { background: var(--color-white); }
.slider-play svg { width: 13px; height: 13px; }

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.slider-dot.is-active {
  background: var(--color-white);
  transform: scale(1.25);
}

/* =====================================================
   LOGO + TESTIMONIALS
   ===================================================== */
.logo-testimonials {
  background: var(--color-sand);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.logo-testimonials__logo {
  display: none;
}
.logo-testimonials__logo-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-dark);
  line-height: 1.2;
}
.logo-testimonials__logo-text span { color: var(--color-primary); }
.logo-testimonials__tagline {
  font-size: 1rem;
  color: var(--color-text-light);
  letter-spacing: .08em;
  margin-top: .5rem;
}

/* Testimonials carousel */
.testimonials-wrap {
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform .5s ease;
}

.testimonial {
  flex: 0 0 100%;
  padding: 0 1rem;
  text-align: center;
}

.testimonial__quote {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  /*font-style: italic;*/
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  position: relative;
  font-size: 1.3em
}
.testimonial__quote::before {
  content: '\201E';
  display: block;
  font-size: 4rem;
  color: var(--color-primary-lt);
  line-height: .8;
  margin-bottom: 1.75rem;
  font-style: normal;
}

.testimonial__author {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: .06em;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
}
.testimonials-nav button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.testimonials-nav button.is-active { background: var(--color-primary); }

/* =====================================================
   INTRO TEXT (Homepage)
   ===================================================== */
.home-intro {
  background: var(--color-white);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.home-intro__inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.home-intro__inner h2 { margin-bottom: 1.25rem; }
.home-intro__inner p  { font-size: 1.05rem; color: var(--color-text-light); }
.home-intro__ctas { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   COURSE CARDS
   ===================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.course-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.course-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-sand-dk);
}
.course-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.course-card:hover .course-card__img img { transform: scale(1.04); }

.course-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-sand-dk), var(--color-primary-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
}

.course-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.course-card__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(193,122,74,.1);
  padding: .25rem .65rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.course-card__title { font-size: 1.15rem; margin-bottom: .5rem; }
.course-card__meta {
  font-size: .85rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.course-card__meta span::before { margin-right: .35rem; }

/* Workshop-Termine in der Detail-Box */
.workshop-termine {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.workshop-termine li {
  color: var(--color-text-light);
  line-height: 1.4;
}
.workshop-termine .workshop-termin__titel {
  font-weight: 600;
  color: var(--color-text);
  margin-right: .25rem;
}

/* =====================================================
   PAGE TEMPLATE STYLES
   ===================================================== */
.page-hero {
  margin-top: var(--header-h);
  background: var(--color-sand);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { margin-bottom: .5rem; }
.page-hero .subtitle { color: var(--color-text-light); font-size: 1.1rem; }

.page-content { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* =====================================================
   REGISTRATION FORM
   ===================================================== */
.registration-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  max-width: 600px;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(193,122,74,.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* =====================================================
   VIDEO GRID
   ===================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-dark);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44,35,24,.35);
  transition: background .2s;
}
.video-card:hover .video-card__play { background: rgba(44,35,24,.5); }
.video-card__play-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(252,252,252,.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card__play-icon svg { width: 22px; height: 22px; fill: var(--color-primary); margin-left: 3px; }
.video-card__info { padding: 1rem 1.25rem; color: var(--color-white); }
.video-card__info h4 { color: var(--color-white); margin-bottom: .25rem; }
.video-card__info p  { font-size: .85rem; opacity: .7; margin: 0; }

/* =====================================================
   ABOUT / TEACHER
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  background: var(--color-sand-dk);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--color-sand-dk), var(--color-primary-lt));
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 4rem;
}

.about-text h2 { margin-bottom: 1rem; }
.about-text p   { color: var(--color-text-light); font-size: 1rem; }
.about-text .btn { margin-top: 1.5rem; }

/* =====================================================
   POSTS / NEWS
   ===================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.post-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-sand-dk);
}
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }

.post-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.post-card__date { font-size: .8rem; color: var(--color-primary); font-weight: 600; margin-bottom: .5rem; }
.post-card__title { font-size: 1.1rem; margin-bottom: .5rem; }
.post-card__excerpt { font-size: .9rem; color: var(--color-text-light); }

/* =====================================================
   SINGLE POST / PAGE CONTENT
   ===================================================== */
.entry-content {
  max-width: 720px;
  margin-inline: auto;
}
.entry-content h2, .entry-content h3 { margin-top: 2rem; margin-bottom: .75rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .35rem; }
.entry-content img { border-radius: var(--radius-lg); margin-block: 1.5rem; }
.entry-content a {
  border-bottom: 1px solid rgba(193,122,74,.5);
}
.entry-content a:hover {
  border-bottom-color: var(--color-primary-dk);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--color-dark);
  color: rgba(252,252,252,.75);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand p { font-size: .9rem; margin-top: .75rem; line-height: 1.7; }
.footer-brand .site-logo-text { color: var(--color-white); }
.footer-brand .site-logo-text span { color: var(--color-primary-lt); }

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--color-white);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(252,252,252,.65); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--color-primary-lt); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(252,252,252,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .85rem;
  color: rgba(252,252,252,.4);
}
.footer-bottom a { color: rgba(252,252,252,.5); }
.footer-bottom a:hover { color: var(--color-primary-lt); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(calc(-100% - var(--header-h)));
    transition: transform .3s;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }

  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a {
    padding: .75rem 1.5rem;
    border-radius: 0;
  }

  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--color-border);
    background: var(--color-sand);
    display: none;
  }
  .main-nav li.is-open > .sub-menu { display: block; }
  .main-nav .sub-menu li a { padding-left: 2.5rem; }

  .slider-btn { width: 36px; height: 36px; }
  .slider-btn--prev { left: .75rem; }
  .slider-btn--next { right: .75rem; }
  .slider-play { top: .75rem; right: .75rem; width: 30px; height: 30px; }
  .hero-overlay-left,
  .hero-cta { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .courses-grid, .video-grid, .posts-grid { grid-template-columns: 1fr; }
  .slide-caption { bottom: 1.5rem; right: 1.25rem; left: 1.25rem; max-width: 100%; text-align: right; }
}
