/* ============================================================
   RISHIKESH YOGPEETH — components.css
   Reusable components: navbar, hero, cards, ribbon, timeline,
   reviews, tables, footer, floating actions.
   ============================================================ */

/* ---------- ANNOUNCEMENT BAR ---------- */
.announce {
  background: var(--ryp-primary);
  color: #EAF0E7;
  font-size: .85rem;
  text-align: center;
  padding: .55rem 1rem;
  padding-left: max(1rem, var(--safe-left));
  padding-right: max(1rem, var(--safe-right));
}
.announce strong { color: var(--ryp-text); font-weight: 700; }
.announce-link { color: #fff; margin-left: .5rem; }

/* ---------- HEADER / NAVBAR ---------- */
.site-header {
  background: rgba(242, 243, 236, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ryp-line);
  transition: box-shadow .25s ease;
  /* iPhone landscape: respect Dynamic Island side insets */
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}
.site-header .navbar { min-height: var(--header-h); transition: min-height .25s ease; }
.site-header.is-shrunk .navbar { min-height: 58px; }
.site-header.is-shrunk { box-shadow: 0 6px 24px rgba(22, 51, 42, .08); }

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.2rem; font-weight: 600;
  color: var(--ryp-primary); text-decoration: none;
}
.brand-light { color: #fff; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--ryp-primary); color: var(--ryp-accent);
  border-radius: 50%; font-size: 1rem;
}
.navbar-nav .nav-link {
  font-weight: 600; font-size: .93rem; color: var(--ryp-body);
  padding: .5rem .9rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: var(--ryp-accent-dark); }
.navbar-toggler {
  border: none; font-size: 1.7rem; color: var(--ryp-primary);
  width: 44px; height: 44px; padding: 0;             /* iOS touch target */
  display: grid; place-items: center;
}
.navbar-toggler:focus { box-shadow: none; outline: 3px solid var(--ryp-accent); }

/* Mobile offcanvas menu */
.mobile-menu { background: var(--ryp-card); max-width: 84vw; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--ryp-line); padding-top: max(1rem, var(--safe-top)); }
.mobile-nav li a {
  display: block; padding: .8rem .25rem;
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--ryp-primary); text-decoration: none;
  border-bottom: 1px solid var(--ryp-line);
}
.mobile-nav li.mobile-sub a {
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  color: var(--ryp-muted); padding-left: 1.1rem; border-bottom: none;
}
.mobile-nav li a:active { color: var(--ryp-accent-dark); }

/* ---------- HERO ---------- */
.hero { padding-top: 4rem; }
.hero-media { min-height: 440px; border-radius: var(--radius-lg); }
.trust-chips { gap: .6rem 1.6rem; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 600; color: var(--ryp-muted);
}
.trust-chips .bi { color: var(--ryp-accent-dark); }
.hero-review {
  position: absolute; right: 16px; bottom: 16px;
  max-width: 290px;
  background: var(--ryp-card);
  border-radius: 12px; padding: .9rem 1.1rem; margin: 0;
}
.hero-review p { font-size: .86rem; font-style: italic; margin: .25rem 0 .35rem; }
.hero-review cite { font-size: .78rem; font-style: normal; font-weight: 700; color: var(--ryp-muted); }
.stars { color: var(--ryp-accent); letter-spacing: 2px; font-size: .85rem; }

/* ---------- TRUST BAR ---------- */
.trustbar { padding: 2.4rem 0; border-top: 1px solid var(--ryp-line); }
.stat { margin: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ryp-primary); line-height: 1.1;
}
.stat-label { font-size: .84rem; font-weight: 600; color: var(--ryp-muted); }

/* ---------- CLIMB RIBBON (signature) ---------- */
.climb { border-top: 1px solid var(--ryp-line); border-bottom: 1px solid var(--ryp-line); }
.climb svg { width: 100%; display: block; }
.climb-line { stroke: var(--ryp-secondary); stroke-width: 2.5; }
.climb-fill { fill: var(--ryp-secondary); opacity: .07; }
.climb-dot  { fill: var(--ryp-primary); }
.climb-peak { fill: var(--ryp-accent); stroke: var(--ryp-primary); stroke-width: 2; }
.climb-label { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; fill: var(--ryp-primary); }
.climb-sub   { font-family: var(--font-body); font-weight: 400; font-size: 11px; fill: var(--ryp-muted); }

/* ---------- COURSE CARDS ---------- */
.course-card {
  background: var(--ryp-bg);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.course-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(22, 51, 42, .12); }
.card-media { min-height: 190px; border-radius: 0; }
.course-tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--ryp-primary); color: var(--ryp-text);
  padding: .3rem .8rem; border-radius: 999px;
  margin-bottom: .85rem;
}
.course-card .card-title { font-size: 1.4rem; margin-bottom: .25rem; }
.card-cert { color: var(--ryp-muted); font-size: .88rem; margin-bottom: 1rem; }
.spec-list { border-top: 1px dashed var(--ryp-line); font-size: .9rem; margin-bottom: 1rem; }
.spec-list li {
  display: flex; justify-content: space-between; gap: .8rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--ryp-line);
}
.spec-list li span:first-child { color: var(--ryp-muted); }
.spec-list li span:last-child  { font-weight: 700; text-align: right; }
.price strong {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.6rem; color: var(--ryp-primary); display: block;
}
.price small { color: var(--ryp-muted); font-size: .82rem; }

/* ---------- RETREAT STRIP ---------- */
.retreat-strip {
  background: var(--ryp-bg);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.retreat-mini {
  gap: .9rem;
  background: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  text-decoration: none; color: var(--ryp-body);
  transition: border-color .2s ease, transform .2s ease;
  min-height: 44px;
}
.retreat-mini:hover { border-color: var(--ryp-accent); transform: translateY(-2px); }
.retreat-mini > .bi:first-child { font-size: 1.4rem; color: var(--ryp-accent-dark); }
.retreat-mini strong { display: block; font-size: .95rem; color: var(--ryp-primary); }
.retreat-mini small  { color: var(--ryp-muted); font-size: .8rem; }

/* ---------- YTT ROUTER ---------- */
.router-card {
  background: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none; color: var(--ryp-body);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.router-card:hover {
  border-color: var(--ryp-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(22, 51, 42, .1);
  color: var(--ryp-body);
}
.router-answer {
  display: inline-block;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--ryp-primary); color: #fff;
  padding: .35rem .95rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.router-card p { color: var(--ryp-muted); font-size: .95rem; }
.router-note {
  border-top: 1px dashed var(--ryp-line);
  padding-top: .9rem; font-size: .86rem !important;
}
.router-note .bi { color: var(--ryp-accent-dark); margin-right: .3rem; }
.router-go { font-weight: 700; color: var(--ryp-secondary); }

/* ---------- TIMELINE (day at the ashram) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 3.2rem 0 0; position: relative;
}
.timeline::before {
  content: ""; position: absolute;
  top: 7px; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ryp-text), var(--ryp-text), transparent);
}
.timeline li { text-align: center; padding: 0 .5rem; }
.timeline li::before {
  content: ""; display: block;
  width: 14px; height: 14px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--ryp-text);
  border: 3px solid var(--ryp-primary);
  position: relative;
}
.timeline time { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--ryp-text); margin-bottom: .2rem; }
.timeline strong { display: block; font-size: .95rem; color: #fff; margin-bottom: .15rem; }
.timeline span:not(.visually-hidden) { font-size: .8rem; color: #A7B7AA; line-height: 1.4; }

/* ---------- WHY CARDS ---------- */
.why-card {
  background: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.why-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--ryp-primary); color: var(--ryp-text);
  border-radius: 12px; font-size: 1.25rem;
  margin-bottom: 1rem;
}
.why-card p { font-size: .93rem; color: var(--ryp-muted); margin: 0; }

/* ---------- REVIEWS (scroll-snap track) ---------- */
.review-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.review-card {
  background: var(--ryp-bg);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex; flex-direction: column;
}
.review-card p { font-size: .93rem; flex: 1; margin: .6rem 0 1rem; }
.review-card footer { display: flex; align-items: center; gap: .75rem; }
.avatar {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--ryp-primary); color: var(--ryp-text);
  border-radius: 50%; font-weight: 700; font-size: .85rem;
}
.review-card strong { display: block; font-size: .9rem; color: var(--ryp-primary); }
.review-card small  { color: var(--ryp-muted); font-size: .78rem; }

/* ---------- GALLERY PREVIEW ---------- */
.gal-tile {
  min-height: 210px; width: 100%;
  text-decoration: none;
  transition: transform .25s ease;
}
.gal-tile:hover { transform: translateY(-4px); }
.media-tall { min-height: 420px; }

/* ---------- INTAKES TABLE ---------- */
.intake-table {
  --bs-table-bg: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.intake-table thead th {
  background: var(--ryp-primary); color: #fff;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  border: none; padding: .9rem 1.1rem;
}
.intake-table tbody th, .intake-table tbody td {
  padding: .85rem 1.1rem; border-color: var(--ryp-line);
  font-size: .95rem; vertical-align: middle;
}
.intake-table tbody th { font-family: var(--font-display); font-weight: 600; color: var(--ryp-primary); }
.chip {
  display: inline-block;
  font-size: .74rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 999px;
}
.chip-open { background: rgba(62, 155, 107, .14); color: #2C7B52; }
.chip-soon { background: rgba(227, 154, 46, .18); color: var(--ryp-accent-dark); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.accordion { --bs-accordion-bg: var(--ryp-bg); --bs-accordion-border-color: var(--ryp-line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(227,154,46,.4); }
.accordion-item { border-radius: var(--radius) !important; overflow: hidden; margin-bottom: .75rem; border: 1px solid var(--ryp-line); }
.accordion-button {
  font-weight: 700; color: var(--ryp-primary);
  background: var(--ryp-bg); font-size: 1rem;
  min-height: 44px;
}
.accordion-button:not(.collapsed) { background: var(--ryp-bg); color: var(--ryp-accent-dark); box-shadow: none; }
.accordion-body { color: var(--ryp-muted); font-size: .95rem; }

/* ---------- FINAL CTA ---------- */
.final-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--ryp-secondary), var(--ryp-primary));
  border-radius: 26px;
  padding: 4.5rem 3.5rem;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 80% 110%, rgba(227,154,46,.2), transparent);
}
.final-cta > * { position: relative; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ryp-primary);
  color: #A7B7AA;
  padding: 4rem 0 2rem;
  /* iPhone: keep content clear of home indicator + sticky CTA */
  padding-bottom: calc(2rem + var(--safe-bottom));
}
.footer-head {
  font-family: var(--font-body);
  color: #fff; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #A7B7AA; text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: var(--ryp-accent); }
.footer-addr { font-size: .9rem; }
.footer-addr a { color: #A7B7AA; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.6rem; padding-top: 1.4rem;
  font-size: .82rem;
}
.footer-legal a { color: #A7B7AA; text-decoration: none; }

/* ---------- FLOATING ACTIONS ---------- */
.wa-float {
  position: fixed; z-index: 1040;
  right: max(1.2rem, var(--safe-right));
  bottom: calc(1.2rem + var(--safe-bottom));
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  border-radius: 50%; font-size: 1.6rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  text-decoration: none;
}
.wa-float:hover, .wa-float:focus { color: #fff; transform: scale(1.05); }

/* Sticky mobile CTA — hidden until user scrolls past hero (main.js) */
.mobile-cta {
  position: fixed; z-index: 1039;
  left: 0; right: 0; bottom: 0;
  display: flex; gap: .6rem;
  padding: .7rem .9rem;
  /* iPhone 15+: pad above the home indicator */
  padding-bottom: calc(.7rem + var(--safe-bottom));
  padding-left: max(.9rem, var(--safe-left));
  padding-right: max(.9rem, var(--safe-right));
  background: rgba(252, 252, 247, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--ryp-line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { min-height: 48px; font-size: .95rem; }

/* ---------- PATTERN B NAVIGATION ----------
   Desktop: parent links navigate; dropdown reveals on hover
   AND on keyboard focus-within (accessible without JS).
   Mobile: offcanvas accordions via Bootstrap collapse. */
.nav-hover-group { position: relative; }
.nav-caret { font-size: .65rem; margin-left: .15rem; transition: transform .2s ease; }
.nav-drop {
  display: block;                       /* kept in flow for transition */
  visibility: hidden; opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  margin-top: 0;
  min-width: 240px;
  background: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(22, 51, 42, .14);
  padding: .5rem;
}
@media (min-width: 992px) {
  .nav-hover-group:hover > .nav-drop,
  .nav-hover-group:focus-within > .nav-drop {
    visibility: visible; opacity: 1; transform: translateY(0);
  }
  .nav-hover-group:hover .nav-caret,
  .nav-hover-group:focus-within .nav-caret { transform: rotate(180deg); }
}
.nav-drop .dropdown-item {
  font-weight: 600; font-size: .92rem;
  color: var(--ryp-body);
  border-radius: 8px;
  padding: .55rem .8rem;
  min-height: 40px; display: flex; align-items: center;
}
.nav-drop .dropdown-item:hover,
.nav-drop .dropdown-item:focus { background: var(--ryp-bg); color: var(--ryp-accent-dark); }
.nav-drop .dropdown-divider { border-color: var(--ryp-line); opacity: 1; }

/* Mobile offcanvas accordion */
.mobile-parent {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none;
  padding: .85rem .25rem;
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--ryp-primary);
  border-bottom: 1px solid var(--ryp-line);
  min-height: 48px;                     /* iOS touch target */
}
.mobile-parent .bi { font-size: .95rem; transition: transform .2s ease; color: var(--ryp-accent-dark); }
.mobile-parent[aria-expanded="true"] .bi { transform: rotate(180deg); }
.mobile-single {
  display: block; padding: .85rem .25rem;
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--ryp-primary); text-decoration: none;
  border-bottom: 1px solid var(--ryp-line);
}
.mobile-children { border-bottom: 1px solid var(--ryp-line); padding: .25rem 0 .5rem; }
.mobile-children li a {
  display: block;
  padding: .6rem .25rem .6rem 1.1rem;
  font-family: var(--font-body); font-size: .96rem; font-weight: 600;
  color: var(--ryp-muted); text-decoration: none;
  min-height: 44px; display: flex; align-items: center;
}
.mobile-children li:first-child a { color: var(--ryp-primary); }   /* landing page = first item */
.mobile-children li a:active { color: var(--ryp-accent-dark); }

/* ---------- COURSE COMPARISON TABLE (hub pages) ---------- */
.cmp-table {
  --bs-table-bg: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cmp-table thead th {
  background: var(--ryp-primary); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  border: none; padding: 1rem 1.1rem; text-align: center;
}
.cmp-table thead th:first-child { background: var(--ryp-primary); text-align: left; font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.cmp-table tbody th {
  font-size: .88rem; color: var(--ryp-muted); font-weight: 600;
  background: rgba(46, 86, 70, .05); padding: .8rem 1.1rem;
  border-color: var(--ryp-line); width: 22%;
}
.cmp-table tbody td {
  padding: .8rem 1.1rem; text-align: center;
  font-weight: 700; color: var(--ryp-primary); font-size: .93rem;
  border-color: var(--ryp-line); vertical-align: middle;
}
.cmp-table .cmp-fee { font-family: var(--font-display); font-size: 1.15rem; }

/* ---------- YOGA VALUES CARDS (curriculum philosophy) ---------- */
.yoga-card {
  background: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  height: 100%;
}
.yoga-letter {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: 3rem; line-height: 1;
  color: var(--ryp-accent);
  margin-bottom: .8rem;
}
.yoga-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.yoga-card p { font-size: .88rem; color: var(--ryp-muted); margin: 0; }

/* ---------- CERTIFICATION RINGS ---------- */
.cert-ring-card {
  background: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center; height: 100%;
}
.cert-ring {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--ryp-accent);
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  color: var(--ryp-primary);
}
.cert-ring-card p { font-size: .88rem; color: var(--ryp-muted); margin: 0; }

/* ---------- BREADCRUMB ---------- */
.crumbs { padding: 1.1rem 0 0; font-size: .84rem; }
.crumbs .breadcrumb { margin: 0; }
.crumbs .breadcrumb-item a { color: var(--ryp-muted); text-decoration: none; }
.crumbs .breadcrumb-item a:hover { color: var(--ryp-accent-dark); }
.crumbs .breadcrumb-item.active { color: var(--ryp-primary); font-weight: 600; }

/* ============================================================
   COURSE PAGE COMPONENTS (shared by 200/300/500 Hr pages)
   ============================================================ */

/* ---------- QUICK FACTS TABLE ---------- */
.facts-table {
  --bs-table-bg: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts-table th {
  width: 42%;
  background: rgba(46, 86, 70, .05);
  color: var(--ryp-muted); font-weight: 600; font-size: .9rem;
  padding: .8rem 1.2rem; border-color: var(--ryp-line);
}
.facts-table td {
  font-weight: 700; color: var(--ryp-primary); font-size: .95rem;
  padding: .8rem 1.2rem; border-color: var(--ryp-line);
}

/* ---------- CHECK LIST (takeaways / inclusions) ---------- */
.check-list { margin: 0; }
.check-list li {
  position: relative;
  list-style: none;
  padding: 0 0 .8rem 2rem;
  color: var(--ryp-muted); font-size: .96rem;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: .1rem;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--ryp-primary); color: var(--ryp-accent);
  border-radius: 50%; font-size: .72rem; font-weight: 700;
}
.check-list strong { color: var(--ryp-primary); }

/* ---------- INTAKE DATE BOARD ---------- */
.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: .65rem;
}
.date-chip {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  border: 1px solid var(--ryp-line); border-radius: 10px;
  background: var(--ryp-bg);
  padding: .7rem .9rem;
  font-size: .88rem; font-weight: 700; color: var(--ryp-primary);
  min-height: 44px;
}
.date-chip small { font-weight: 600; font-size: .72rem; color: var(--ryp-muted); }
.date-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ryp-open); flex: none; }
.date-chip.is-soon .dot { background: var(--ryp-accent); }
.date-chip.is-full { color: var(--ryp-muted); background: transparent; border-style: dashed; }
.date-chip.is-full .dot { background: #C4CCC2; }
.date-legend { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1rem; font-size: .8rem; font-weight: 600; color: var(--ryp-muted); }
.date-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.date-legend .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---------- PRICE PANEL (beside date board) ---------- */
.price-panel { border-left: 1px solid var(--ryp-line); padding-left: 2.2rem; height: 100%; display: flex; flex-direction: column; }
.fee-row { padding: .85rem 0; border-bottom: 1px dashed var(--ryp-line); }
.fee-row small { display: block; color: var(--ryp-muted); font-weight: 600; font-size: .8rem; }
.fee-row strong { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--ryp-primary); }
.price-panel .btn { margin-top: 1.3rem; }
.price-note { margin-top: .9rem; font-size: .78rem; color: var(--ryp-muted); }

/* ---------- ROOM CARDS (accommodation) ---------- */
.room-card {
  background: var(--ryp-card);
  border: 1px solid var(--ryp-line);
  border-radius: var(--radius);
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
}
.room-card.is-featured { border-color: var(--ryp-accent); box-shadow: 0 14px 34px rgba(227, 154, 46, .14); }
.room-card .room-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.room-card ul { border-top: 1px dashed var(--ryp-line); margin: .4rem 0 1.1rem; flex: 1; }
.room-card ul li {
  list-style: none; position: relative;
  padding: .5rem 0 .5rem 1.6rem;
  border-bottom: 1px dashed var(--ryp-line);
  font-size: .9rem; color: var(--ryp-muted);
}
.room-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ryp-accent-dark); font-weight: 700; }

/* ---------- DAILY SCHEDULE TABLE (dark band) ---------- */
.sched-table {
  max-width: 760px; margin: 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); overflow: hidden;
}
.sched-row { display: grid; grid-template-columns: 190px 1fr; background: rgba(255,255,255,.04); }
.sched-row:nth-child(even) { background: rgba(255,255,255,.08); }
.sched-row time { padding: .7rem 1.3rem; font-weight: 700; color: var(--ryp-accent); font-size: .87rem; border-right: 1px solid rgba(255,255,255,.1); }
.sched-row span { padding: .7rem 1.3rem; color: #E9EFE5; font-size: .92rem; font-weight: 600; }
.shat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; max-width: 760px; margin: 2rem auto 0; }
.shat-grid > div { background: rgba(255,255,255,.07); border-radius: 10px; padding: .9rem; text-align: center; }
.shat-grid time { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ryp-accent); font-weight: 700; margin-bottom: .3rem; }
.shat-grid strong { color: #fff; font-size: .92rem; }
.sched-note { text-align: center; margin: 1.6rem auto 0; color: #A7B7AA; font-size: .84rem; max-width: 720px; }

/* ---------- SIGNATURE: 200 HR SYLLABUS HOUR BAR ---------- */
.hour-bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; border: 1px solid var(--ryp-line); }
.hour-seg { display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.hour-seg.s1 { background: var(--ryp-primary); }
.hour-seg.s2 { background: var(--ryp-secondary); }
.hour-seg.s3 { background: var(--ryp-accent-dark); }
.hour-seg.s4 { background: var(--ryp-accent); color: var(--ryp-primary); }
.hour-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.hour-legend > div { border-top: 3px solid; padding-top: .7rem; }
.hour-legend .k1 { border-color: var(--ryp-primary); } .hour-legend .k2 { border-color: var(--ryp-secondary); }
.hour-legend .k3 { border-color: var(--ryp-accent-dark); } .hour-legend .k4 { border-color: var(--ryp-accent); }
.hour-legend strong { display: block; color: var(--ryp-primary); font-size: .95rem; }
.hour-legend span { font-size: .84rem; color: var(--ryp-muted); }

/* ---------- SIGNATURE: 300 HR PATH TO RYT 500 ---------- */
.path-track { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; max-width: 940px; margin: 0 auto; }
.path-track::before { content: ""; position: absolute; top: 26px; left: 16%; right: 16%; height: 3px; background: linear-gradient(90deg, var(--ryp-open), var(--ryp-accent)); }
.path-node { text-align: center; padding: 0 1rem; position: relative; }
.path-disc {
  width: 52px; height: 52px; border-radius: 50%;
  margin: 0 auto 1rem; display: grid; place-items: center;
  font-weight: 700; font-size: .9rem;
  border: 3px solid var(--ryp-bg); position: relative;
}
.path-node.is-done .path-disc { background: var(--ryp-open); color: #fff; }
.path-node.is-here .path-disc { background: var(--ryp-accent); color: var(--ryp-primary); box-shadow: 0 0 0 6px rgba(227,154,46,.25); }
.path-node.is-next .path-disc { background: var(--ryp-card); border-color: var(--ryp-line); color: var(--ryp-muted); }
.path-node strong { display: block; color: var(--ryp-primary); font-size: 1.02rem; margin-bottom: .3rem; }
.path-node small { display: block; color: var(--ryp-muted); font-size: .85rem; line-height: 1.45; }
.path-tag { display: inline-block; margin-top: .6rem; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 999px; }
.path-node.is-done .path-tag { background: rgba(62,155,107,.14); color: #2C7B52; }
.path-node.is-here .path-tag { background: var(--ryp-accent-dark); color: var(--ryp-bg); }
.path-node.is-next .path-tag { background: var(--ryp-card); border: 1px solid var(--ryp-line); color: var(--ryp-muted); }

/* ---------- SIGNATURE: 500 HR JOURNEY BAR + SAVINGS ---------- */
.journey-bar { display: flex; height: 70px; border-radius: 14px; overflow: hidden; border: 1px solid var(--ryp-line); }
.journey-seg { display: flex; flex-direction: column; justify-content: center; padding: 0 1.6rem; color: #fff; }
.journey-seg strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.journey-seg small { font-size: .74rem; opacity: .85; font-weight: 600; }
.journey-seg.j1 { background: var(--ryp-secondary); flex: 3; }
.journey-seg.j2 { background: var(--ryp-primary); flex: 4; border-left: 3px solid var(--ryp-accent); }
.journey-weeks { display: flex; margin-top: .6rem; }
.journey-weeks span { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; color: var(--ryp-muted); letter-spacing: .05em; }
.mile-card { background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: 12px; padding: 1.2rem 1.3rem; height: 100%; }
.mile-card time { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ryp-accent-dark); margin-bottom: .35rem; }
.mile-card strong { display: block; color: var(--ryp-primary); font-size: .96rem; margin-bottom: .2rem; }
.mile-card p { font-size: .84rem; color: var(--ryp-muted); margin: 0; }
.save-table { max-width: 760px; margin: 0 auto; background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); overflow: hidden; }
.save-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1.2rem; padding: .9rem 1.6rem; border-bottom: 1px solid var(--ryp-line); font-size: .93rem; align-items: center; }
.save-row:last-child { border-bottom: none; }
.save-row span:first-child { color: var(--ryp-muted); font-weight: 600; }
.save-row strong { font-weight: 700; color: var(--ryp-primary); text-align: right; min-width: 90px; }
.save-row.is-total { background: rgba(227,154,46,.1); }
.save-row.is-total strong { font-family: var(--font-display); font-size: 1.15rem; }
.save-chip { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ryp-accent); color: var(--ryp-primary); padding: .25rem .8rem; border-radius: 999px; }

/* ================================================================
   COURSE PAGE COMPONENTS (200 / 300 / 500 Hr)
================================================================ */

/* ---------- QUICK FACTS ---------- */
.facts-table { --bs-table-bg: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); overflow: hidden; }
.facts-table th { color: var(--ryp-muted); font-weight: 600; width: 42%; background: rgba(46,86,70,.05); border-color: var(--ryp-line); padding: .8rem 1.2rem; font-size: .93rem; }
.facts-table td { font-weight: 700; color: var(--ryp-primary); border-color: var(--ryp-line); padding: .8rem 1.2rem; font-size: .93rem; }
.takeaways { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.takeaways li { position: relative; padding: 0 0 .9rem 2rem; color: var(--ryp-muted); font-size: .96rem; }
.takeaways li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ryp-primary); color: var(--ryp-text); font-size: .72rem; display: grid; place-items: center; font-weight: 700; }

/* ---------- SIGNATURE: 200 HR HOUR BAR ---------- */
.hourbar-bar { display: flex; height: 62px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ryp-line); }
.hourbar-seg { display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.hb1 { background: var(--ryp-primary); flex: 115; } .hb2 { background: var(--ryp-secondary); }
.hb3 { background: var(--ryp-accent-dark); flex: 30; } .hb4 { background: var(--ryp-accent); color: var(--ryp-bg); flex: 55; }
.hour-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.hour-legend > div { border-top: 3px solid; padding-top: .7rem; }
.hl1 { border-color: var(--ryp-primary); } .hl2 { border-color: var(--ryp-secondary); }
.hl3 { border-color: var(--ryp-accent-dark); } .hl4 { border-color: var(--ryp-accent); }
.hour-legend strong { display: block; color: var(--ryp-primary); font-size: .95rem; }
.hour-legend span { font-size: .84rem; color: var(--ryp-muted); }

/* ---------- SIGNATURE: 300 HR PATH TO RYT 500 ---------- */
.path-track { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; max-width: 940px; margin: 0 auto; }
.path-track::before { content: ""; position: absolute; top: 26px; left: 16%; right: 16%; height: 3px; background: linear-gradient(90deg, var(--ryp-open), var(--ryp-accent)); }
.path-node { text-align: center; padding: 0 1rem; position: relative; }
.path-disc { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-weight: 700; font-size: .9rem; border: 3px solid var(--ryp-bg); }
.path-node.is-done .path-disc { background: var(--ryp-open); color: #fff; }
.path-node.is-here .path-disc { background: var(--ryp-accent); color: var(--ryp-bg); box-shadow: 0 0 0 6px rgba(227,154,46,.25); }
.path-node.is-next .path-disc { background: var(--ryp-card); border-color: var(--ryp-line); color: var(--ryp-muted); }
.path-node strong { display: block; color: var(--ryp-primary); font-size: 1.02rem; margin-bottom: .3rem; }
.path-node small { display: block; color: var(--ryp-muted); font-size: .85rem; line-height: 1.45; }
.path-tag { display: inline-block; margin-top: .6rem; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 999px; }
.is-done .path-tag { background: rgba(62,155,107,.14); color: #2C7B52; }
.is-here .path-tag { background: var(--ryp-accent); color: var(--ryp-primary); }
.is-next .path-tag { background: var(--ryp-card); border: 1px solid var(--ryp-line); color: var(--ryp-muted); }

/* ---------- SIGNATURE: 500 HR JOURNEY BAR ---------- */
.jbar { display: flex; height: 70px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ryp-line); }
.jseg { display: flex; flex-direction: column; justify-content: center; padding: 0 1.6rem; color: #fff; }
.jseg strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.jseg small { font-size: .76rem; opacity: .85; font-weight: 600; }
.jseg-1 { background: var(--ryp-secondary); flex: 3; }
.jseg-2 { background: var(--ryp-primary); flex: 4; border-left: 3px solid var(--ryp-accent); }
.jweeks { display: flex; margin-top: .6rem; }
.jweeks span { flex: 1; text-align: center; font-size: .74rem; font-weight: 700; color: var(--ryp-muted); letter-spacing: .06em; }
.save-box { max-width: 720px; margin: 2.6rem auto 0; background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); overflow: hidden; }
.save-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.5rem; border-bottom: 1px solid var(--ryp-line); font-size: .94rem; }
.save-row:last-child { border-bottom: none; }
.save-row span:first-child { color: var(--ryp-muted); font-weight: 600; }
.save-row strong { color: var(--ryp-primary); }
.save-row.is-total { background: rgba(227,154,46,.1); }
.save-row.is-total strong { font-family: var(--font-display); font-size: 1.15rem; }
.save-chip { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ryp-accent); color: var(--ryp-text); padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }

/* ---------- DATE BOARD (availability grid) ---------- */
.dateboard { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .7rem; }
.dateslot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; border: 1px solid var(--ryp-line); border-radius: 10px; padding: .7rem .95rem; font-size: .88rem; font-weight: 700; color: var(--ryp-primary); background: var(--ryp-card); min-height: 44px; }
.dateslot .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ryp-open); flex: none; }
.dateslot small { font-weight: 600; font-size: .72rem; color: var(--ryp-muted); }
.dateslot.is-full { color: var(--ryp-muted); background: transparent; border-style: dashed; }
.dateslot.is-full .dot { background: #C4CCC2; }
.dateslot.is-soon .dot { background: var(--ryp-accent); }
.board-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; font-size: .8rem; color: var(--ryp-muted); font-weight: 600; }
.board-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.board-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---------- ROOM / PRICING CARDS ---------- */
.room-card { background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.room-card.is-featured { border-color: var(--ryp-accent); box-shadow: 0 14px 34px rgba(227,154,46,.14); }
.room-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 1.2rem; }
.room-list { list-style: none; padding: 0; border-top: 1px dashed var(--ryp-line); flex: 1; margin: 1rem 0 1.2rem; }
.room-list li { padding: .5rem 0 .5rem 1.6rem; position: relative; font-size: .89rem; color: var(--ryp-muted); border-bottom: 1px dashed var(--ryp-line); }
.room-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ryp-accent-dark); font-weight: 700; }

/* ---------- DARK DAILY SCHEDULE ---------- */
.sched { max-width: 720px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.sched-row { display: grid; grid-template-columns: 170px 1fr; background: rgba(255,255,255,.04); }
.sched-row:nth-child(even) { background: rgba(255,255,255,.08); }
.sched-row time { padding: .7rem 1.3rem; font-weight: 700; color: var(--ryp-text); font-size: .87rem; border-right: 1px solid rgba(255,255,255,.1); }
.sched-row span { padding: .7rem 1.3rem; color: #E9EFE5; font-size: .92rem; font-weight: 600; }
.shat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; max-width: 720px; margin: 2rem auto 0; }
.shat-grid > div { background: rgba(255,255,255,.07); border-radius: 10px; padding: 1rem; text-align: center; }
.shat-grid time { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ryp-text); font-weight: 700; margin-bottom: .3rem; }
.shat-grid strong { color: #fff; font-size: .93rem; }
.sched-note { text-align: center; margin: 1.6rem auto 0; color: #A7B7AA; font-size: .84rem; max-width: 720px; }

/* ---------- CURRICULUM MODULES ---------- */
.mod-card { background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); padding: 1.8rem 1.6rem; height: 100%; }
.mod-kicker { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ryp-accent-dark); font-weight: 700; display: block; margin-bottom: .5rem; }
.mod-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.mod-card > p { font-size: .89rem; color: var(--ryp-muted); margin-bottom: .8rem; }
.mod-list { list-style: none; padding: .3rem 0 0; margin: 0; border-top: 1px dashed var(--ryp-line); }
.mod-list li { padding: .4rem 0 .4rem 1.3rem; position: relative; font-size: .87rem; color: var(--ryp-muted); }
.mod-list li::before { content: "·"; position: absolute; left: .3rem; color: var(--ryp-accent-dark); font-weight: 700; font-size: 1.3rem; line-height: 1; }

/* Course-page responsive bits */
@media (max-width: 991.98px) {
  .hour-legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .path-track { grid-template-columns: 1fr; gap: 1.8rem; }
  .path-track::before { display: none; }
  .jseg { padding: 0 .8rem; } .jseg strong { font-size: .84rem; }
  .hourbar-seg { font-size: .72rem; }
  .sched-row { grid-template-columns: 118px 1fr; }
  .shat-grid { grid-template-columns: 1fr 1fr; }
  .hour-legend { grid-template-columns: 1fr; }
}

/* Board legend dots (attribute-driven, no inline styles) */
.board-legend i[data-legend="open"] { background: var(--ryp-open); }
.board-legend i[data-legend="soon"] { background: var(--ryp-accent); }
.board-legend i[data-legend="full"] { background: #C4CCC2; }

/* ================================================================
   RETREAT PAGE COMPONENTS
================================================================ */

/* ---------- CHOOSER CARDS (retreats hub) ---------- */
.pick-card { background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.pick-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(22,51,42,.13); }
.pick-body { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.pick-whofor { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ryp-accent-dark); margin-bottom: .6rem; }
.pick-body h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.pick-body > p { color: var(--ryp-muted); font-size: .95rem; margin-bottom: 1rem; }
.pick-list { list-style: none; padding: 0; border-top: 1px dashed var(--ryp-line); margin-bottom: 1.2rem; }
.pick-list li { padding: .55rem 0 .55rem 1.6rem; position: relative; font-size: .89rem; color: var(--ryp-muted); border-bottom: 1px dashed var(--ryp-line); }
.pick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ryp-accent-dark); font-weight: 700; }
.pick-meta { display: flex; justify-content: space-between; align-items: baseline; margin: auto 0 1.2rem; }
.pick-meta strong { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--ryp-primary); }
.pick-meta small { color: var(--ryp-muted); font-weight: 600; }

/* ---------- DURATION / PROGRAM PRICING CARDS ---------- */
.dur-card { background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); padding: 2rem 1.7rem; text-align: center; display: flex; flex-direction: column; height: 100%; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.dur-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(22,51,42,.12); }
.dur-card.is-featured { border-color: var(--ryp-accent); }
.dur-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ryp-accent); color: var(--ryp-text); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem 1rem; border-radius: 999px; white-space: nowrap; }
.dur-num { font-family: var(--font-display); font-weight: 600; font-size: 2.9rem; line-height: 1; color: var(--ryp-primary); }
.dur-num small { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--ryp-muted); margin-top: .2rem; }
.dur-fit { font-size: .87rem; color: var(--ryp-muted); margin: 1rem 0; min-height: 44px; }
.dur-list { list-style: none; padding: 0; text-align: left; border-top: 1px dashed var(--ryp-line); margin-bottom: 1rem; flex: 1; }
.dur-list li { padding: .5rem 0 .5rem 1.5rem; position: relative; font-size: .85rem; color: var(--ryp-muted); border-bottom: 1px dashed var(--ryp-line); }
.dur-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ryp-accent-dark); font-weight: 700; }
.dur-list li.is-no { color: #9AA69B; }
.dur-list li.is-no::before { content: "—"; color: #B9C2B7; }

/* ---------- 4-STEP JOURNEY (Ayurveda prescribed path) ---------- */
.path-track.is-four { grid-template-columns: repeat(4, 1fr); counter-reset: aj; }
.path-track.is-four::before { left: 12%; right: 12%; background: linear-gradient(90deg, var(--ryp-secondary), var(--ryp-accent)); }
.path-track.is-four .path-disc { counter-increment: aj; background: var(--ryp-card); border-color: var(--ryp-secondary); color: var(--ryp-primary); font-family: var(--font-display); font-size: 1.15rem; }
.path-track.is-four .path-disc::after { content: counter(aj); }
.path-track.is-four .path-node:last-child .path-disc { border-color: var(--ryp-accent); background: var(--ryp-accent); }
.callout { max-width: 680px; margin: 2.4rem auto 0; text-align: center; background: var(--ryp-card); border: 1px solid var(--ryp-accent); border-radius: var(--radius); padding: 1.3rem 1.8rem; font-size: .95rem; color: var(--ryp-muted); }
.callout strong { color: var(--ryp-primary); }

@media (max-width: 900px) { .path-track.is-four { grid-template-columns: 1fr 1fr; gap: 2rem 0; } .path-track.is-four::before { display: none; } }
@media (max-width: 560px) { .path-track.is-four { grid-template-columns: 1fr; } }

/* ================================================================
   ABOUT CLUSTER COMPONENTS
================================================================ */

/* ---------- ABOUT ROUTER TILES (about.html landing) ---------- */
.about-tile { background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); padding: 1.7rem 1.5rem; height: 100%; display: flex; flex-direction: column; text-decoration: none; color: var(--ryp-body); transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease; }
.about-tile:hover { transform: translateY(-4px); border-color: var(--ryp-accent); box-shadow: 0 16px 36px rgba(22,51,42,.1); color: var(--ryp-body); }
.about-tile .why-ico { margin-bottom: .9rem; }
.about-tile h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.about-tile p { font-size: .89rem; color: var(--ryp-muted); margin: 0 0 1rem; flex: 1; }
.about-tile .router-go { font-size: .9rem; }

/* ---------- STORY MILESTONES (vertical timeline) ---------- */
.story { position: relative; max-width: 760px; margin: 0 auto; padding-left: 2.2rem; }
.story::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--ryp-secondary), var(--ryp-accent)); }
.story-item { position: relative; padding-bottom: 2rem; }
.story-item:last-child { padding-bottom: 0; }
.story-item::before { content: ""; position: absolute; left: -2.2rem; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--ryp-accent); border: 4px solid var(--ryp-bg); box-shadow: 0 0 0 2px var(--ryp-secondary); }
.story-item time { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ryp-accent-dark); margin-bottom: .25rem; }
.story-item h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.story-item p { font-size: .94rem; color: var(--ryp-muted); margin: 0; }

/* ================================================================
   ABOUT CLUSTER COMPONENTS
================================================================ */

/* ---------- ABOUT ROUTER TILES (about.html landing) ---------- */
.about-tile { display: flex; flex-direction: column; gap: .5rem; height: 100%; background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); padding: 1.7rem 1.5rem; text-decoration: none; color: var(--ryp-body); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.about-tile:hover { transform: translateY(-4px); border-color: var(--ryp-accent); box-shadow: 0 16px 38px rgba(22,51,42,.1); color: var(--ryp-body); }
.about-tile .why-ico { margin-bottom: .3rem; }
.about-tile h3 { font-size: 1.1rem; margin: 0; }
.about-tile p { font-size: .88rem; color: var(--ryp-muted); margin: 0; flex: 1; }
.about-tile .tile-go { font-weight: 700; font-size: .88rem; color: var(--ryp-secondary); }
.about-tile:hover .tile-go { color: var(--ryp-accent-dark); }

/* ---------- STORY MILESTONES (ashram page) ---------- */
.milestones { list-style: none; padding: 0; margin: 2rem 0 0; border-left: 2px solid var(--ryp-line); }
.milestones li { position: relative; padding: 0 0 1.6rem 1.8rem; }
.milestones li:last-child { padding-bottom: 0; }
.milestones li::before { content: ""; position: absolute; left: -8px; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--ryp-accent); border: 3px solid var(--ryp-bg); }
.milestones time { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ryp-accent-dark); margin-bottom: .15rem; }
.milestones strong { display: block; color: var(--ryp-primary); font-size: 1rem; }
.milestones p { font-size: .9rem; color: var(--ryp-muted); margin: .2rem 0 0; }

/* ================================================================
   TEACHERS / REVIEWS / ALUMNI / SCHOLARSHIP COMPONENTS
================================================================ */
.teacher-card { background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.teacher-card .ph { min-height: 250px; border-radius: 0; }
.teacher-body { padding: 1.5rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.teacher-role { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ryp-accent-dark); margin-bottom: .35rem; }
.teacher-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.teacher-body p { font-size: .88rem; color: var(--ryp-muted); margin: 0; }
.teacher-badge { align-self: flex-start; margin-top: .9rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(62,155,107,.14); color: #2C7B52; padding: .28rem .8rem; border-radius: 999px; }

.platform-card { background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); padding: 1.6rem 1.4rem; text-align: center; height: 100%; display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--ryp-body); transition: transform .25s ease, border-color .25s ease; }
.platform-card:hover { transform: translateY(-4px); border-color: var(--ryp-accent); color: var(--ryp-body); }
.platform-card .bi { font-size: 1.7rem; color: var(--ryp-accent-dark); }
.platform-card strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ryp-primary); }
.platform-rating { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ryp-primary); }
.platform-card small { color: var(--ryp-muted); font-weight: 600; font-size: .8rem; }
.review-wall { columns: 3; column-gap: 1.4rem; }
.review-wall .review-card { break-inside: avoid; margin-bottom: 1.4rem; display: block; }
.review-wall .review-card p { margin: .6rem 0 1rem; }
@media (max-width: 991.98px) { .review-wall { columns: 2; } }
@media (max-width: 640px) { .review-wall { columns: 1; } }

/* ================================================================
   PARTNERS PAGE COMPONENTS
================================================================ */

/* ---------- ACCREDITATION CARDS ---------- */
.accr-card { display: flex; align-items: center; gap: 1.2rem; background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); padding: 1.4rem 1.6rem; height: 100%; }
.accr-badge { flex: none; width: 64px; height: 64px; border-radius: 14px; background: rgba(46,86,70,.08); display: grid; place-items: center; font-size: 1.7rem; color: var(--ryp-secondary); }
.accr-card h3 { font-size: 1.02rem; margin: 0 0 .2rem; }
.accr-card p { font-size: .86rem; color: var(--ryp-muted); margin: 0; }

/* ---------- PARTNER DIRECTORY LISTING ---------- */
.dir-card { display: flex; flex-direction: column; gap: .45rem; background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); padding: 1.5rem; height: 100%; }
.dir-top { display: flex; align-items: center; gap: .9rem; }
.dir-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ryp-primary); color: var(--ryp-accent); font-weight: 700; font-size: .95rem; display: grid; place-items: center; }
.dir-card h3 { font-size: 1rem; margin: 0; }
.dir-card .dir-kind { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ryp-accent-dark); }
.dir-card p { font-size: .87rem; color: var(--ryp-muted); margin: 0; flex: 1; }
.dir-link { font-weight: 700; font-size: .87rem; color: var(--ryp-secondary); text-decoration: none; }
.dir-link:hover { color: var(--ryp-accent-dark); }
.dir-card.is-invite { border-style: dashed; background: transparent; align-items: center; justify-content: center; text-align: center; }
.dir-card.is-invite .why-ico { margin: 0 auto .4rem; }

/* ================================================================
   FAQ / CONTACT / BLOG / GALLERY COMPONENTS
================================================================ */

/* ---------- FAQ CATEGORY NAV ---------- */
.faq-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.faq-nav a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; min-height: 44px; border: 1px solid var(--ryp-line); border-radius: 999px; background: var(--ryp-card); color: var(--ryp-primary); font-weight: 700; font-size: .87rem; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.faq-nav a:hover { border-color: var(--ryp-accent); background: rgba(227,154,46,.08); }
.faq-group-head { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; }
.faq-group-head .why-ico { margin: 0; }
.faq-group-head h2 { font-size: 1.4rem; margin: 0; }

/* ---------- CONTACT CHANNEL CARDS ---------- */
.chan-card { display: flex; flex-direction: column; gap: .5rem; background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); padding: 1.7rem 1.5rem; height: 100%; text-align: center; align-items: center; }
.chan-card .why-ico { margin-bottom: .2rem; }
.chan-card h3 { font-size: 1.05rem; margin: 0; }
.chan-card p { font-size: .87rem; color: var(--ryp-muted); margin: 0; flex: 1; }
.chan-card .btn { min-height: 44px; }

/* ---------- BLOG CARDS ---------- */
.post-card { display: flex; flex-direction: column; background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(22,51,42,.11); }
.post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ryp-accent-dark); }
.post-card h3 { font-size: 1.12rem; margin: 0; }
.post-card h3 a { color: var(--ryp-primary); text-decoration: none; }
.post-card h3 a:hover { color: var(--ryp-accent-dark); }
.post-card p { font-size: .88rem; color: var(--ryp-muted); margin: 0; flex: 1; }
.post-meta { font-size: .78rem; color: var(--ryp-muted); font-weight: 600; }
.post-feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ryp-card); border: 1px solid var(--ryp-line); border-radius: var(--radius-lg); overflow: hidden; }
.post-feature .ph { min-height: 320px; height: 100%; border-radius: 0; }
.post-feature-body { padding: 2.4rem; display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
@media (max-width: 767.98px) { .post-feature { grid-template-columns: 1fr; } .post-feature .ph { min-height: 220px; } }

/* ---------- GALLERY ---------- */
.gal-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.gal-filter button { padding: .55rem 1.15rem; min-height: 44px; border: 1px solid var(--ryp-line); border-radius: 999px; background: var(--ryp-card); color: var(--ryp-primary); font-weight: 700; font-size: .87rem; cursor: pointer; transition: all .2s ease; }
.gal-filter button:hover { border-color: var(--ryp-accent); }
.gal-filter button.is-active { background: var(--ryp-primary); border-color: var(--ryp-primary); color: #fff; }
.gal-masonry { columns: 3 300px; column-gap: 1rem; }
.gal-item { break-inside: avoid; margin-bottom: 1rem; }
.gal-item button { display: block; width: 100%; border: none; padding: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gal-item .ph { border-radius: var(--radius); transition: transform .3s ease; }
.gal-item button:hover .ph { transform: scale(1.02); }
.gal-item.is-hidden { display: none; }
.gal-h-sm .ph { min-height: 200px; } .gal-h-md .ph { min-height: 280px; } .gal-h-lg .ph { min-height: 380px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1080; background: rgba(20, 30, 25, .95); display: none; align-items: center; justify-content: center; padding: max(1.5rem, env(safe-area-inset-top)) 1.5rem max(1.5rem, env(safe-area-inset-bottom)); }
.lightbox.is-open { display: flex; }
.lightbox-stage { max-width: min(1040px, 92vw); width: 100%; }
.lightbox-media { border-radius: var(--radius); min-height: 55vh; }
.lightbox-caption { color: #DCE6DC; text-align: center; margin-top: 1rem; font-size: .95rem; }
.lightbox-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 1.3rem; cursor: pointer; transition: background .2s ease; }
.lightbox-btn:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: max(1.2rem, env(safe-area-inset-top)); right: 1.2rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .gal-masonry { columns: 2 150px; } .lightbox-prev { left: .4rem; } .lightbox-next { right: .4rem; } }
