/*
Theme Name: Yogishri
Theme URI: https://www.yogishri.com/
Author: Yogishri
Description: Yogishri — Authentic Yoga & Meditation from Rishikesh. The teachings and guidance of Yogi Shri G. Niranjan.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yogishri
*/

:root {
	--ys-ivory: #F7F2E8;
	--ys-sand: #EFE6D4;
	--ys-sand-2: #E4D9C3;
	--ys-sand-3: #D9CBAE;
	--ys-line: #D6C9AE;
	--ys-green: #2F4A3A;
	--ys-green-dark: #243A2D;
	--ys-green-deep: #1C2E23;
	--ys-ink: #1F2A22;
	--ys-body: #3E463F;
	--ys-muted: #5A6158;
	--ys-ochre: #A8621C;
	--ys-ochre-text: #8A4F12;
	--ys-saffron: #E9B872;
	--ys-cta: #F0DDB8;
	--ys-serif: 'Cormorant Garamond', Georgia, serif;
	--ys-sans: Figtree, 'Segoe UI', system-ui, sans-serif;
	--ys-wrap: 1280px;
	--ys-gutter: clamp(16px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--ys-ivory); color: var(--ys-ink); font-family: var(--ys-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ys-green); text-underline-offset: 3px; }
a:hover { color: var(--ys-green-deep); }
:focus-visible { outline: 3px solid var(--ys-ochre); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--ys-serif); font-weight: 500; color: var(--ys-green); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.03; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; }
p { margin: 0 0 1em; }
.screen-reader-text, .ys-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ys-skip { position: absolute; left: -999px; top: 8px; background: var(--ys-green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.ys-skip:focus { left: 8px; }

.ys-wrap { max-width: var(--ys-wrap); margin: 0 auto; padding: 0 var(--ys-gutter); }
.ys-section { padding: clamp(56px, 8vw, 88px) 0; }
.ys-section--sand { background: var(--ys-sand); }
.ys-section--green { background: var(--ys-green); color: var(--ys-ivory); }
.ys-section--green h2, .ys-section--dark h2 { color: var(--ys-ivory); }
.ys-section--dark { background: var(--ys-green-dark); color: var(--ys-ivory); }
.ys-section--cta { background: var(--ys-cta); text-align: center; }
.ys-eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--ys-ochre-text); margin-bottom: 12px; font-weight: 500; }
.ys-section--dark .ys-eyebrow { color: var(--ys-saffron); }
.ys-muted { color: var(--ys-muted); }
.ys-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ys-body); max-width: 640px; }
.ys-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.ys-head h2 { margin: 0; }
.ys-link { font-weight: 600; text-decoration: none; }
.ys-link::after { content: ' →'; }
.ys-section--dark .ys-link, .ys-section--green .ys-link { color: var(--ys-ivory); }

/* Buttons */
.ys-btn { display: inline-flex; align-items: center; justify-content: center; column-gap: .28em; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background .15s, color .15s; }
.ys-btn--primary { background: var(--ys-green); color: #fff; }
.ys-btn--primary:hover { background: var(--ys-green-deep); color: #fff; }
.ys-btn--accent { background: var(--ys-ochre); color: #fff; }
.ys-btn--accent:hover { background: var(--ys-ochre-text); color: #fff; }
.ys-btn--ghost { border-color: var(--ys-green); color: var(--ys-green); background: transparent; }
.ys-btn--ghost:hover { background: var(--ys-green); color: #fff; }
.ys-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Header */
.ys-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 242, 232, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--ys-sand-2); }
.ys-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.ys-brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.ys-brand__name { font-family: var(--ys-serif); font-size: 32px; font-weight: 600; color: var(--ys-green); letter-spacing: .5px; }
.ys-brand__place { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ys-muted); }
.ys-nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.ys-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.ys-nav a[aria-current="page"], .ys-nav a.is-section { border-bottom-color: var(--ys-green); }
.ys-header__cta { display: flex; gap: 10px; align-items: center; }
.ys-menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--ys-line); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.ys-drawer { display: none; }
@media (max-width: 1080px) {
	.ys-nav { display: none; }
	.ys-menu-btn { display: inline-flex; }
	.ys-header__cta .ys-btn { min-height: 44px; padding: 10px 16px; font-size: 14px; }
	.ys-drawer.is-open { display: block; position: fixed; inset: 80px 0 0 0; background: var(--ys-ivory); padding: 24px var(--ys-gutter); overflow-y: auto; z-index: 49; }
	.ys-drawer a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ys-sand-2); font-size: 20px; font-family: var(--ys-serif); font-weight: 600; text-decoration: none; }
}
@media (max-width: 480px) { .ys-hide-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ys-brand__place { display: none; } .ys-header__in { height: 68px; } .ys-drawer.is-open { inset: 68px 0 0 0; } }

/* Hero */
.ys-hero { padding: clamp(40px, 6vw, 72px) 0; }
.ys-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.ys-hero__text { grid-column: span 6; display: flex; flex-direction: column; gap: 24px; }
.ys-hero__text h1 { margin: 0; }
.ys-hero__media { grid-column: span 6; min-height: 520px; border-radius: 280px 280px 24px 24px; background: var(--ys-sand-2); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 36px; }
.ys-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ys-pillars { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--ys-muted); }
.ys-support { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ys-muted); }
@media (max-width: 900px) {
	.ys-hero__text, .ys-hero__media { grid-column: span 12; }
	.ys-hero__media { min-height: 300px; order: -1; border-radius: 150px 150px 20px 20px; }
	.ys-pillars { font-size: 11px; letter-spacing: 2px; }
}

/* Placeholder (owner-to-supply) */
.ys-ph { display: inline-block; font-size: 14px; color: #5E5440; background: var(--ys-ivory); border: 1px dashed #B8A887; padding: 6px 12px; border-radius: 999px; }
.ys-ph--block { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--ys-sand-3); border: none; border-radius: 20px; min-height: 180px; padding: 16px; }
.ys-verify { background: #FFF6E2; border: 1px dashed #C9A15A; color: #5E4411; font-size: 14px; padding: 2px 8px; border-radius: 6px; }

/* Find my path */
.ys-path { text-align: center; }
.ys-path h2 { margin-bottom: 8px; }
.ys-path p { color: #D9E1D6; }
.ys-path__form { display: flex; gap: 12px; max-width: 760px; margin: 20px auto 16px; }
.ys-path__form input { flex: 1; min-height: 56px; padding: 0 22px; border: none; border-radius: 999px; font: inherit; background: var(--ys-ivory); color: var(--ys-ink); }
.ys-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ys-chip { border: 1px solid #6F8A76; background: transparent; color: var(--ys-ivory); padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px; cursor: pointer; min-height: 40px; }
.ys-chip:hover { background: rgba(255,255,255,.08); }
.ys-chips[hidden] { display: none; }
.ys-path__out { max-width: 760px; margin: 20px auto 0; text-align: left; }
.ys-path__msg { background: rgba(255,255,255,.08); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
.ys-path__msg--you { background: transparent; border: 1px solid #4F6B58; }
.ys-path__cta { margin-top: 10px; }
.ys-path__count { font-size: 13px; color: #B9C6B6; margin-top: 8px; }
@media (max-width: 640px) { .ys-path__form { flex-direction: column; } .ys-path { text-align: left; } .ys-chips { justify-content: flex-start; } }

/* Grids & cards */
.ys-grid { display: grid; gap: 24px; }
.ys-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ys-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ys-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .ys-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ys-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ys-grid--2, .ys-grid--3, .ys-grid--4 { grid-template-columns: minmax(0, 1fr); } }
.ys-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: var(--ys-ivory); text-decoration: none; color: var(--ys-body); transition: transform .15s; }
a.ys-card:hover { transform: translateY(-2px); color: var(--ys-body); }
.ys-section--sand .ys-card, .ys-card--solid { background: var(--ys-ivory); }
.ys-section:not(.ys-section--sand) .ys-card:not(.ys-card--solid) { background: transparent; border: 1px solid var(--ys-line); }
.ys-section:not(.ys-section--sand) .ys-card--solid { background: var(--ys-sand); }
.ys-card__kicker { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ys-muted); }
.ys-card__title { font-family: var(--ys-serif); font-size: 28px; font-weight: 600; line-height: 1.15; color: var(--ys-green); }
.ys-card__meta { font-size: 14px; color: var(--ys-body); }
.ys-card--media { padding: 0; overflow: hidden; }
.ys-card--media .ys-card__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 8px; }
.ys-card__img { height: 180px; background: var(--ys-sand-3); display: flex; align-items: center; justify-content: center; font-size: 13px; color: #5E5440; }
.ys-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ys-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.ys-pill { display: inline-flex; padding: 7px 16px; border-radius: 999px; border: 1px solid #C9BA9A; font-size: 14px; font-weight: 500; text-decoration: none; background: transparent; }
.ys-pill--solid { background: var(--ys-ivory); border-color: transparent; }

/* Split */
.ys-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.ys-split__a { grid-column: span 5; }
.ys-split__b { grid-column: 7 / span 6; }
.ys-split__media { min-height: 380px; border-radius: 24px; background: var(--ys-sand-2); display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .ys-split__a, .ys-split__b { grid-column: span 12; } .ys-split__media { min-height: 260px; } }

/* Steps */
.ys-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ys-steps li { border-top: 2px solid var(--ys-green); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.ys-steps__n { font-family: var(--ys-serif); font-size: 26px; color: var(--ys-ochre-text); }
.ys-steps strong { color: var(--ys-green); }
.ys-steps span:last-child { font-size: 15px; }
@media (max-width: 900px) { .ys-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ys-steps { grid-template-columns: minmax(0, 1fr); } }

/* Feature box */
.ys-feature { border: 1px solid #4F6B58; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.ys-feature__title { font-family: var(--ys-serif); font-size: 32px; font-weight: 600; }

/* Page hero */
.ys-pagehero { background: var(--ys-sand); padding: 40px 0 56px; }
.ys-crumbs { font-size: 14px; color: var(--ys-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ys-crumbs a { color: var(--ys-muted); }
.ys-pagehero h1 { font-size: clamp(38px, 5vw, 64px); max-width: 900px; }
.ys-pagehero .ys-lead { margin-top: 10px; }

/* Prose (the_content) */
.ys-prose { max-width: 760px; }
.ys-prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.ys-prose h3 { margin-top: 1.4em; }
.ys-prose ul, .ys-prose ol { padding-left: 1.3em; }
.ys-prose li { margin-bottom: .4em; }
.ys-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ys-ochre); font-family: var(--ys-serif); font-size: 24px; color: var(--ys-green); }
.ys-note { background: var(--ys-sand); border-radius: 16px; padding: 18px 22px; font-size: 15px; color: var(--ys-body); margin: 1.5em 0; }
.ys-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.ys-layout__main { grid-column: span 8; }
.ys-layout__side { grid-column: 9 / span 4; position: sticky; top: 104px; }
@media (max-width: 960px) { .ys-layout__main, .ys-layout__side { grid-column: span 12; } .ys-layout__side { position: static; } }

/* Course */
.ys-enroll { background: #fff; border: 1px solid var(--ys-sand-2); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.ys-enroll__price { font-family: var(--ys-serif); font-size: 40px; font-weight: 600; color: var(--ys-green); line-height: 1; }
.ys-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; font-size: 15px; }
.ys-dl dt { color: var(--ys-muted); }
.ys-dl dd { margin: 0; font-weight: 500; }
.ys-modules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ys-line); }
.ys-modules li { padding: 16px 0; border-bottom: 1px solid var(--ys-line); display: flex; gap: 20px; }
.ys-modules li span:first-child { font-family: var(--ys-serif); font-size: 22px; color: var(--ys-ochre-text); width: 36px; flex-shrink: 0; }
.ys-teacher { display: flex; gap: 22px; align-items: center; background: var(--ys-sand); border-radius: 20px; padding: 24px; margin: 2em 0; }
.ys-teacher__img { width: 96px; height: 96px; border-radius: 999px; background: var(--ys-sand-3); flex-shrink: 0; overflow: hidden; }
.ys-faq details { border-bottom: 1px solid var(--ys-line); padding: 16px 0; }
.ys-faq summary { font-weight: 600; cursor: pointer; color: var(--ys-green); }
.ys-faq details p { margin: 10px 0 0; }
.ys-status { display: inline-block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--ys-sand-2); color: var(--ys-body); }

/* Forms */
.ys-form { display: grid; gap: 16px; max-width: 640px; }
.ys-form label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; color: var(--ys-green); }
.ys-form input, .ys-form select, .ys-form textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--ys-line); border-radius: 12px; background: #fff; font: inherit; color: var(--ys-ink); }
.ys-form textarea { min-height: 140px; }
.ys-form .ys-hp { position: absolute; left: -9999px; }
.ys-alert { padding: 14px 18px; border-radius: 12px; background: #E3EEDF; color: var(--ys-green-deep); margin-bottom: 20px; }
.ys-alert--err { background: #F8E3DC; color: #6B2412; }

/* Footer */
.ys-footer { background: var(--ys-green-deep); color: #D9E1D6; padding: 64px 0 28px; font-size: 15px; }
.ys-footer a { color: #D9E1D6; text-decoration: none; }
.ys-footer a:hover { color: #fff; text-decoration: underline; }
.ys-footer__grid { display: grid; grid-template-columns: 4fr 2fr 2fr 4fr; gap: 32px; }
.ys-footer__brand { font-family: var(--ys-serif); font-size: 34px; font-weight: 600; color: var(--ys-ivory); }
.ys-footer h2 { font-family: var(--ys-sans); font-size: 15px; font-weight: 600; color: var(--ys-ivory); margin: 0 0 10px; }
.ys-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ys-footer__bar { margin-top: 48px; padding-top: 20px; border-top: 1px solid #3B5244; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9FB09C; }
.ys-footer .ys-ph { background: transparent; color: #D9E1D6; border-color: #5E7766; }
@media (max-width: 900px) { .ys-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ys-footer__grid { grid-template-columns: 1fr; } }

.ys-staging { background: #FFF6E2; color: #5E4411; font-size: 13px; text-align: center; padding: 6px 12px; }

/* Video library (click-to-load) */
.ys-video { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ys-video__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--ys-sand-3); cursor: pointer; }
.ys-video__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ys-video__icon { position: absolute; inset: 50% auto auto 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 999px; background: rgba(28, 46, 35, .82); }
.ys-video__icon::after { content: ''; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.ys-video__play:hover .ys-video__icon { background: var(--ys-ochre); }
.ys-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; display: block; }
.ys-video figcaption { display: flex; flex-direction: column; gap: 4px; }
.ys-video__title { font-weight: 600; color: var(--ys-green); line-height: 1.35; }

/* Completion pass */
.ys-split__media--img { overflow: hidden; padding: 0; }
.ys-split__media--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ys-hero__media { padding-bottom: 0; }
.ys-rishikesh-art { position: relative; overflow: hidden; padding: 0; }
.ys-rishikesh-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ys-rishikesh-art__label { position: absolute; left: 24px; bottom: 20px; color: #F7F2E8; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.ys-table-wrap { overflow-x: auto; margin: 1em 0; }
.ys-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ys-table th, .ys-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ys-line); vertical-align: top; }
.ys-table thead th { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ys-muted); }
.ys-table tbody th { color: var(--ys-green); }

.ys-card__img { background: linear-gradient(135deg, #2F4A3A 0%, #3E5E4B 60%, #6F8A76 100%); }
.ys-card__art { font-family: var(--ys-serif); font-size: 28px; font-weight: 600; color: #F7F2E8; opacity: .92; padding: 0 24px; text-align: center; line-height: 1.15; }
.ys-photo { margin: 0 0 32px; }
.ys-photo img { width: 100%; height: auto; display: block; border-radius: 6px; }
.ys-photo figcaption { font-size: 14px; color: var(--ys-muted, #6B6B6B); margin-top: 8px; }
.ys-teacher__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ys-teacher .ys-card__title a { color: inherit; text-decoration: none; }
.ys-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--ys-sand-2); border-radius: 16px; padding: 16px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.12); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 15px; }
.ys-consent[hidden] { display: none; }
.ys-consent p { margin: 0; flex: 1 1 260px; }
