/* Adhyay theme layer: brand tokens, home page, and the Tutor LMS + WooCommerce screens. */
:root {
	--adh-paper: #FBFAF7;
	--adh-sand: #F6EFE3;
	--adh-white: #FFFFFF;
	--adh-ink: #15171C;
	--adh-ink-2: #2E323B;
	--adh-slate: #5A5E67;
	--adh-line: #E4DFD4;
	--adh-amber: #E8A33D;
	--adh-amber-2: #D9922A;
	--adh-navy: #1F3B6E;
	--adh-navy-soft: #E6ECF7;
	--adh-serif: Fraunces, "Noto Sans Devanagari", Georgia, serif;
	--adh-sans: Manrope, "Noto Sans Devanagari", system-ui, sans-serif;
	--adh-radius: 18px;
	--adh-shadow: 0 30px 60px -38px rgba(21, 23, 28, .45);
}

/* Tutor LMS uses these for its buttons, links and highlights. */
html:root {
	--tutor-font-family-body: Manrope, "Noto Sans Devanagari", system-ui, sans-serif;
	--tutor-font-family-heading: Fraunces, "Noto Sans Devanagari", Georgia, serif;
}
html:root body {
	--tutor-color-primary: #1F3B6E;
	--tutor-color-primary-rgb: 31, 59, 110;
	--tutor-color-primary-hover: #16305A;
	--tutor-color-primary-hover-rgb: 22, 48, 90;
	--tutor-body-color: #15171C;
	--tutor-body-color-rgb: 21, 23, 28;
	--tutor-border-color: #E4DFD4;
	--tutor-border-color-rgb: 228, 223, 212;
}

body { background: var(--adh-paper); color: var(--adh-ink); font-family: var(--adh-sans); -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--adh-amber); outline-offset: 2px; }

.adh-wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }

/* ---------- header ---------- */
.adh-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251, 250, 247, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--adh-line); padding-inline: 20px; }
.admin-bar .adh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .adh-header { top: 46px; } }
.adh-header__row { min-height: 72px; gap: 16px; }
.adh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--adh-ink); }
.adh-brand__mark { width: 34px; height: 34px; flex: none; }
.adh-brand__name { font-family: var(--adh-serif); font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.adh-brand--light { color: var(--adh-white); }
.adh-header .wp-block-navigation a { text-decoration: none; color: var(--adh-ink); padding: 8px 4px; }
.adh-header .wp-block-navigation a:hover { color: var(--adh-navy); }
.adh-header .wp-block-navigation__container { gap: 22px; }

/* ---------- fluid scale: sizes follow the screen, not fixed widths ---------- */
:root {
	--adh-gutter: clamp(16px, 4vw, 40px);
	--adh-max: 1180px;
	--adh-space: clamp(36px, 5.5vw, 72px);
	--adh-fs-body: clamp(15px, .2vw + 14.4px, 16.5px);
}
body { font-size: var(--adh-fs-body); }
.adh-wrap { width: min(var(--adh-max), 100%); padding-inline: var(--adh-gutter); }
.adh-ico { width: 18px; height: 18px; flex: none; }

/* header: sign-in button */
.adh-header { padding-inline: var(--adh-gutter); }
.adh-header__row { min-height: 64px; }
.adh-brand__name { font-size: clamp(21px, 1.2vw + 16px, 25px); }
.adh-brand__mark { width: clamp(30px, 2vw + 22px, 34px); height: auto; }
.adh-header__nav { gap: clamp(10px, 2vw, 22px); align-items: center; }
.adh-header .wp-block-navigation { font-size: 15px; font-weight: 700; }
.adh-signin { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--adh-ink); color: var(--adh-white) !important; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.adh-signin:hover { background: var(--adh-navy); }

/* ---------- buttons ---------- */
.adh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.adh-btn:hover { transform: translateY(-1px); }
.adh-btn .adh-ico { width: 15px; height: 15px; }
.adh-btn--amber { background: var(--adh-amber); color: var(--adh-ink); box-shadow: 0 10px 22px -14px rgba(217, 146, 42, .9); }
.adh-btn--amber:hover { background: var(--adh-amber-2); color: var(--adh-ink); }
.adh-btn--ghost { border: 1.5px solid rgba(21, 23, 28, .8); color: var(--adh-ink); background: rgba(255, 255, 255, .6); }
.adh-btn--ghost:hover { background: var(--adh-ink); color: var(--adh-white); }

/* ---------- home: hero ---------- */
.adh-home { margin: 0; }
.adh-hero { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 52px); background:
	radial-gradient(60% 70% at 92% 0%, rgba(232, 163, 61, .18), transparent 70%),
	radial-gradient(50% 60% at 0% 100%, rgba(31, 59, 110, .09), transparent 70%), var(--adh-paper); }
.adh-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--adh-line), transparent); }
.adh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.adh-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 6px 12px; border: 1px solid var(--adh-line); border-radius: 999px; background: var(--adh-white); font-size: 13px; font-weight: 700; color: var(--adh-ink-2); }
.adh-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--adh-amber); box-shadow: 0 0 0 4px rgba(232, 163, 61, .2); }
.adh-hero__title { margin: clamp(14px, 1.6vw, 20px) 0 0; font-family: var(--adh-serif); font-weight: 500; font-size: clamp(32px, 3.4vw + 14px, 56px); line-height: 1.04; letter-spacing: -.022em; color: var(--adh-ink); }
.adh-hero__title em { font-style: italic; color: var(--adh-navy); }
.adh-hero__lead { margin: clamp(12px, 1.4vw, 18px) 0 0; max-width: 34em; font-size: clamp(15.5px, .4vw + 14px, 18px); line-height: 1.6; color: #4A4E57; }
.adh-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(18px, 2vw, 26px) 0 0; }
.adh-hero__trust { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: clamp(18px, 2vw, 24px) 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--adh-slate); }
.adh-hero__trust li { display: inline-flex; align-items: baseline; gap: 5px; }
.adh-hero__trust li + li { padding-left: 22px; border-left: 1px solid var(--adh-line); }
.adh-hero__trust b { font-family: var(--adh-serif); font-size: 22px; font-weight: 600; color: var(--adh-ink); }

.adh-hero__visual { position: relative; padding: 22px 8px 40px; max-width: 520px; justify-self: end; width: 100%; }
.adh-player { background: var(--adh-ink); border-radius: 18px; padding: 10px; box-shadow: var(--adh-shadow); transform: rotate(-1deg); }
.adh-player__screen { position: relative; display: grid; grid-template-columns: 30% 1fr; aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; background: var(--adh-paper); }
.adh-player__panel { display: flex; flex-direction: column; justify-content: space-between; padding: 12px; background: linear-gradient(160deg, #24457F, #182F59); color: var(--adh-white); }
.adh-player__badge { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--adh-amber); color: var(--adh-ink); font-size: 11px; font-weight: 800; }
.adh-player__unit { font-size: 12px; font-weight: 700; line-height: 1.35; color: #DCE7F8; }
.adh-player__brand { font-family: var(--adh-serif); font-size: 15px; font-weight: 600; }
.adh-player__slide { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.adh-player__kicker { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--adh-slate); }
.adh-player__title { font-family: var(--adh-serif); font-size: clamp(15px, 1.3vw + 6px, 21px); line-height: 1.15; color: var(--adh-ink); }
.adh-player__table { display: grid; gap: 6px; margin-top: 4px; }
.adh-player__table i { display: block; height: 8px; border-radius: 4px; background: var(--adh-line); }
.adh-player__table i:nth-child(2) { width: 82%; } .adh-player__table i:nth-child(3) { width: 90%; } .adh-player__table i:nth-child(4) { width: 64%; background: rgba(232, 163, 61, .45); }
.adh-player__play { position: absolute; left: 58%; top: 58%; width: 52px; height: 52px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--adh-amber); color: var(--adh-ink); box-shadow: 0 0 0 8px rgba(232, 163, 61, .25); }
.adh-player__play svg { width: 22px; height: 22px; margin-left: 3px; }
.adh-player__bar { display: flex; align-items: center; gap: 8px; padding: 10px 4px 2px; color: #C9CCD3; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.adh-player__bar b { position: relative; flex: 1; height: 4px; border-radius: 3px; background: #3A3E47; }
.adh-player__bar b i { position: absolute; inset: 0 54% 0 0; border-radius: 3px; background: var(--adh-amber); }
.adh-chip { padding: 1px 6px; border: 1px solid #4A4E57; border-radius: 6px; }
.adh-float { position: absolute; display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 14px; background: var(--adh-white); border: 1px solid var(--adh-line); box-shadow: var(--adh-shadow); font-size: 13px; }
.adh-float strong { display: block; font-size: 14px; }
.adh-float__label { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--adh-slate); }
.adh-float__meta { display: block; font-size: 12px; color: var(--adh-slate); }
.adh-float--progress { left: -8px; bottom: 0; display: block; width: 200px; }
.adh-float--progress b { display: block; position: relative; height: 5px; margin: 8px 0 5px; border-radius: 3px; background: var(--adh-sand); }
.adh-float--progress b i { position: absolute; inset: 0 69% 0 0; border-radius: 3px; background: var(--adh-navy); }
.adh-float--cert { right: -10px; top: -6px; }
.adh-player__slide { padding-top: 26px; }
.adh-float__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--adh-sand); color: var(--adh-navy); }
.adh-float__icon svg { width: 19px; height: 19px; }

/* ---------- home: value props (cards, not full-width lines) ---------- */
.adh-props { padding-block: clamp(20px, 3vw, 32px) 0; background: transparent; }
.adh-props__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.adh-props__grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: start; padding: 16px; border-radius: 14px; background: var(--adh-white); border: 1px solid var(--adh-line); }
.adh-props__ico { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--adh-sand); color: var(--adh-navy); }
.adh-props__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.adh-props strong { font-size: 15.5px; font-weight: 800; color: var(--adh-ink); }
.adh-props__grid span:not(.adh-props__ico) { color: var(--adh-slate); font-size: 14px; line-height: 1.45; }

/* ---------- sections ---------- */
.adh-section { padding-block: var(--adh-space); }
.adh-section__head { margin-bottom: clamp(18px, 2.4vw, 28px); }
.adh-section__head--center { text-align: center; }
.adh-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--adh-navy); }
.adh-section__title { margin: 6px 0 0; font-family: var(--adh-serif); font-weight: 500; font-size: clamp(24px, 1.6vw + 16px, 36px); line-height: 1.15; letter-spacing: -.012em; }

/* ---------- home: featured course ---------- */
.adh-courses { padding-inline: 0; }
.adh-courses-list { width: min(var(--adh-max), 100%); margin-inline: auto; padding-inline: var(--adh-gutter); box-sizing: border-box; display: grid; gap: 18px; }
.adh-course { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "media body" "outline outline"; border-radius: 20px; overflow: hidden; background: var(--adh-white); border: 1px solid var(--adh-line); box-shadow: 0 30px 60px -48px rgba(21, 23, 28, .55); }
.adh-course__media { grid-area: media; display: flex; align-items: center; padding: clamp(14px, 2vw, 22px); background: radial-gradient(120% 90% at 0% 0%, #F6EFE3, #EFE6D6); }
.adh-course__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 22px 40px -26px rgba(21, 23, 28, .55); }
.adh-course__body { grid-area: body; display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 30px); }
.adh-course__tag { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--adh-amber-2); }
.adh-course__title { margin: 6px 0 0; font-family: var(--adh-serif); font-weight: 600; font-size: clamp(22px, 1.2vw + 16px, 30px); line-height: 1.15; }
.adh-course__title a { color: var(--adh-ink); text-decoration: none; }
.adh-course__title a:hover { color: var(--adh-navy); }
.adh-course__lead { margin: 10px 0 0; color: #4A4E57; line-height: 1.55; font-size: 15px; }
.adh-course__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.adh-course__facts li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--adh-paper); border: 1px solid var(--adh-line); font-size: 13px; font-weight: 700; color: var(--adh-ink-2); }
.adh-course__facts .adh-ico { width: 15px; height: 15px; color: var(--adh-navy); }
.adh-course__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: auto; padding-top: 18px; }
.adh-course__price { margin: 0; font-family: var(--adh-serif); font-size: clamp(26px, 1.4vw + 18px, 34px); font-weight: 600; line-height: 1; color: var(--adh-ink); }
.adh-course__price del { font-size: .55em; color: var(--adh-slate); margin-right: 6px; }
.adh-course__price ins { text-decoration: none; }
.adh-course__price .adh-course__note { display: block; margin-top: 6px; font-family: var(--adh-sans); font-size: 12.5px; font-weight: 600; color: var(--adh-slate); }
.adh-course__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.adh-outline { grid-area: outline; border-top: 1px solid var(--adh-line); background: #FDFCF9; }
.adh-outline summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(18px, 2.4vw, 30px); cursor: pointer; font-weight: 800; font-size: 15px; list-style: none; }
.adh-outline summary::-webkit-details-marker { display: none; }
.adh-outline summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--adh-navy); }
.adh-outline[open] summary::after { content: "–"; }
.adh-outline summary span { margin-left: auto; font-weight: 600; font-size: 13px; color: var(--adh-slate); }
.adh-outline ol { columns: 3 220px; column-gap: 28px; margin: 0; padding: 0 clamp(18px, 2.4vw, 30px) 18px calc(clamp(18px, 2.4vw, 30px) + 18px); font-size: 14px; color: var(--adh-ink-2); }
.adh-outline li { break-inside: avoid; padding: 3px 0; }
.adh-outline li::marker { color: var(--adh-amber-2); font-weight: 800; }
.adh-empty { text-align: center; color: var(--adh-slate); }

/* ---------- home: how it works ---------- */
.adh-steps { background: linear-gradient(180deg, var(--adh-sand), #FBF6EC); }
.adh-steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.adh-steps__list li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; border-radius: 16px; background: var(--adh-white); border: 1px solid var(--adh-line); }
.adh-steps__list li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--adh-ink); color: var(--adh-white); font-weight: 800; font-size: 14px; }
.adh-steps__list strong { font-family: var(--adh-serif); font-size: 19px; font-weight: 600; }
.adh-steps__list span { color: var(--adh-slate); line-height: 1.5; font-size: 14.5px; }

/* ---------- footer ---------- */
.wp-site-blocks > * { margin-block-start: 0 !important; }
.wp-site-blocks > footer, .wp-site-blocks > .site-footer { margin-block-start: 0 !important; }
footer.wp-block-template-part, header.wp-block-template-part { margin: 0 !important; }
.adh-footer { position: relative; margin: 0; padding: 0; background: #0F1116; color: #A9ADB6; font-size: 13.5px; line-height: 1.5; }
.adh-footer::before { content: ""; display: block; height: 2px; background: linear-gradient(90deg, var(--adh-navy), var(--adh-amber), var(--adh-navy), var(--adh-amber)); background-size: 300% 100%; animation: adh-shimmer 14s linear infinite; }
@keyframes adh-shimmer { to { background-position: -300% 0; } }
.adh-foot { width: min(var(--adh-max), 100%); margin-inline: auto; padding: clamp(24px, 3.2vw, 38px) var(--adh-gutter) 14px; box-sizing: border-box; }
.adh-foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 2.6vw, 36px); }
.adh-foot__brand p { margin: 8px 0 0; max-width: 25em; font-size: 13px; line-height: 1.55; color: #9BA0AA; }
.adh-foot__brand .adh-brand__name { font-size: 19px; }
.adh-foot__brand .adh-brand__mark { width: 26px; }
.adh-foot__badges { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: #C9CCD3; }
.adh-foot__badges li { display: flex; align-items: center; gap: 6px; }
.adh-foot__badges .adh-ico { width: 14px; height: 14px; color: var(--adh-amber); }
.adh-foot__col h2 { margin: 3px 0 10px; font-family: var(--adh-sans); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #E8EAEE; }
.adh-foot__col ul { display: grid; gap: 4px; align-content: start; margin: 0; padding: 0; list-style: none; }
.adh-foot__col a { position: relative; display: inline-block; padding: 2px 0; color: #C2C6CE; text-decoration: none; transition: color .2s ease; }
.adh-foot__col ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--adh-amber); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.adh-foot__col a:hover, .adh-foot__col a:focus-visible { color: var(--adh-amber); }
.adh-foot__col ul a:hover::after, .adh-foot__col ul a:focus-visible::after { transform: scaleX(1); }
.adh-foot__col a.adh-foot__todo { color: #E8A33D; opacity: .75; border-bottom: 1px dashed currentColor; }
.adh-foot__contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.adh-foot__contact-list .adh-ico { flex: none; width: 15px; height: 15px; margin-top: 4px; color: var(--adh-amber); }
.adh-foot__contact-list a { overflow-wrap: anywhere; }
.adh-foot__map { margin-top: 10px; border-radius: 10px; overflow: hidden; border: 1px solid #2A2E37; height: clamp(96px, 9vw, 120px); background: #1A1D24; }
.adh-foot__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(.95); }
.adh-foot__bottom { margin-top: clamp(18px, 2.4vw, 26px); padding-top: 12px; border-top: 1px solid #23262E; text-align: center; }
.adh-foot__note { margin: 0 auto; max-width: 62em; font-size: 11.5px; line-height: 1.5; color: #80848E; }
.adh-foot__copy { margin: 4px 0 0; font-size: 11.5px; color: #80848E; letter-spacing: .02em; }

/* Gentle reveal as sections scroll into view (only when JavaScript runs; off for reduced motion). */
.adh-anim .adh-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--adh-d, 0s); }
.adh-anim .adh-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tutor LMS: course cards ---------- */
.tutor-course-card, .tutor-card.tutor-course-card { border: 1px solid var(--adh-line) !important; border-radius: var(--adh-radius) !important; overflow: hidden; background: var(--adh-white); box-shadow: 0 18px 40px -34px rgba(21, 23, 28, .5); transition: transform .2s ease, box-shadow .2s ease; }
.tutor-course-card:hover { transform: translateY(-3px); box-shadow: var(--adh-shadow); }
.tutor-course-card .tutor-course-name, .tutor-course-card .tutor-course-name a { font-family: var(--adh-serif); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--adh-ink); text-decoration: none; }
.tutor-course-card .tutor-card-footer { border-top: 1px solid var(--adh-line); }
.tutor-course-filter, .tutor-course-listing-filter { font-family: var(--adh-sans); }

/* ---------- Tutor LMS: buttons ---------- */
.tutor-btn { border-radius: 12px !important; font-family: var(--adh-sans); font-weight: 800 !important; }
.tutor-btn-primary, .tutor-btn.tutor-btn-primary { background: var(--adh-amber) !important; border-color: var(--adh-amber) !important; color: var(--adh-ink) !important; }
.tutor-btn-primary:hover, .tutor-btn.tutor-btn-primary:hover { background: var(--adh-amber-2) !important; border-color: var(--adh-amber-2) !important; color: var(--adh-ink) !important; }
.tutor-btn-outline-primary { border-color: var(--adh-ink) !important; color: var(--adh-ink) !important; }
.tutor-btn-outline-primary:hover { background: var(--adh-ink) !important; color: var(--adh-white) !important; }

/* ---------- Tutor LMS: course page ---------- */
.tutor-course-details-page { padding-top: 32px; }
.tutor-course-details-title { font-family: var(--adh-serif) !important; font-weight: 500 !important; font-size: clamp(30px, 4vw, 46px) !important; line-height: 1.1 !important; letter-spacing: -.015em; }
.tutor-course-details-page h2, .tutor-course-details-page h3, .tutor-course-details-page .tutor-course-details-widget-title { font-family: var(--adh-serif); }
.tutor-course-details-page .tutor-accordion-item-body .tutor-course-content-list-item-title, .tutor-course-details-page .tutor-accordion-item-body .tutor-course-content-list-item-title a { font-family: var(--adh-sans) !important; }
.tutor-course-details-page .tutor-course-thumbnail img, .tutor-course-details-page .tutor-ratio img { border-radius: var(--adh-radius); }
.tutor-sidebar-card, .tutor-course-details-page .tutor-card { border-radius: var(--adh-radius) !important; border-color: var(--adh-line) !important; background: var(--adh-white); }
.tutor-accordion-item { border-radius: 14px !important; border-color: var(--adh-line) !important; overflow: hidden; margin-bottom: 10px; background: var(--adh-white); }
.tutor-accordion-item-header { font-family: var(--adh-serif); font-weight: 600 !important; }
.tutor-accordion-item-header.is-active { background: var(--adh-sand) !important; color: var(--adh-ink) !important; }

/* ---------- WooCommerce cart / checkout / account ---------- */
.woocommerce, .wc-block-cart, .wc-block-checkout { font-family: var(--adh-sans); }
.wc-block-components-button:not(.is-link), .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--adh-amber) !important; color: var(--adh-ink) !important; border-radius: 12px !important; font-weight: 800 !important; border: 0 !important; }
.wc-block-components-button:not(.is-link):hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--adh-amber-2) !important; }
.wc-block-components-title, .wc-block-cart__totals-title, .woocommerce h2, .woocommerce h3 { font-family: var(--adh-serif) !important; }

/* ---------- certificates page links ---------- */
.adhyay-cert-list a { color: var(--adh-navy); font-weight: 700; }

/* ---------- account menu (signed in) ---------- */
.adh-avatar { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--s, 36px); height: var(--s, 36px); border-radius: 50%; overflow: hidden;
	background: linear-gradient(140deg, var(--adh-navy), #2F5597); color: #fff; font: 800 calc(var(--s, 36px) * .38) / 1 var(--adh-sans); letter-spacing: .02em; }
.adh-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adh-account { position: relative; }
.adh-account summary { display: block; list-style: none; cursor: pointer; border-radius: 50%; padding: 2px; border: 2px solid transparent; transition: border-color .2s; }
.adh-account summary::-webkit-details-marker { display: none; }
.adh-account summary:hover, .adh-account[open] summary, .adh-account summary:focus-visible { border-color: var(--adh-amber); outline: 0; }
.adh-account__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; width: 260px; padding: 8px; background: #fff; border: 1px solid var(--adh-line);
	border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(21, 23, 28, .35); animation: adh-pop .18s ease-out; }
@keyframes adh-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.adh-account__who { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--adh-line); }
.adh-account__who span { display: grid; min-width: 0; }
.adh-account__who strong { font-size: 14px; color: var(--adh-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adh-account__who small { font-size: 12px; color: var(--adh-slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adh-account__menu a { display: block; padding: 9px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--adh-ink-2); text-decoration: none; }
.adh-account__menu a:hover, .adh-account__menu a:focus-visible { background: var(--adh-sand); color: var(--adh-navy); outline: 0; }
.adh-account__menu .adh-account__out { margin-top: 4px; border-top: 1px solid var(--adh-line); border-radius: 0 0 10px 10px; color: #A3361F; }

/* ---------- sign-in page (Tutor full-page login) ---------- */
.adh-auth { padding: clamp(20px, 5vw, 64px) var(--adh-gutter); background:
	radial-gradient(900px 420px at 85% -10%, rgba(232, 163, 61, .10), transparent 60%),
	radial-gradient(700px 380px at -10% 110%, rgba(31, 59, 110, .08), transparent 60%), var(--adh-paper); }
.adh-auth__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); width: min(1000px, 100%); margin-inline: auto;
	background: var(--adh-white); border: 1px solid var(--adh-line); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(21, 23, 28, .45);
	animation: adh-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes adh-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.adh-auth__brand { position: relative; display: flex; flex-direction: column; gap: 28px; padding: clamp(28px, 4vw, 48px); overflow: hidden; color: #DCE3F0;
	background: linear-gradient(160deg, #1F3B6E 0%, #172C54 55%, #10203F 100%); isolation: isolate; }
.adh-auth__brand::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 18px 18px;
	mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); }
.adh-auth__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); mix-blend-mode: screen; animation: adh-drift 12s ease-in-out infinite alternate; }
.adh-auth__glow--a { width: 260px; height: 260px; right: -80px; top: -60px; background: rgba(232, 163, 61, .22); }
.adh-auth__glow--b { width: 220px; height: 220px; left: -90px; bottom: -70px; background: rgba(110, 150, 230, .30); animation-delay: -6s; }
@keyframes adh-drift { to { transform: translate(-30px, 24px) scale(1.12); } }
.adh-auth__logo .adh-brand__name { font-size: 22px; color: #fff; }
.adh-auth__logo .adh-brand__mark { width: 30px; }
.adh-auth__kicker { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--adh-amber); }
.adh-auth__title { margin: 0; font-family: var(--adh-serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: #fff; letter-spacing: -.01em; }
.adh-auth__title em { font-style: italic; color: #F3C67E; }
.adh-auth__points { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; }
.adh-auth__points li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.adh-auth__points .adh-ico { flex: none; width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; background: rgba(232, 163, 61, .16); color: var(--adh-amber); }
.adh-auth__progress { display: grid; gap: 6px; max-width: 280px; margin-top: auto; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); animation: adh-float 6s ease-in-out infinite; }
@keyframes adh-float { 50% { transform: translateY(-6px); } }
.adh-auth__progress-label { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9FB0CF; }
.adh-auth__progress-title { font-size: 14px; font-weight: 700; color: #fff; }
.adh-auth__bar { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.adh-auth__bar span { display: block; height: 100%; width: 31%; border-radius: inherit; background: linear-gradient(90deg, var(--adh-amber), #F3C67E); transform-origin: left; animation: adh-fill 1.6s .4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes adh-fill { from { transform: scaleX(0); } }
.adh-auth__progress-meta { font-size: 12px; color: #9FB0CF; }
.adh-auth__secure { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: #9FB0CF; }
.adh-auth__secure svg { width: 15px; height: 15px; }
/* The form side: Tutor's own card, re-dressed. */
.adh-auth__main { display: flex; align-items: center; }
.adh-auth__main .tutor-page-wrap { width: 100%; }
.adh-auth .tutor-login-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
.adh-auth .tutor-login-form-wrapper { padding: clamp(26px, 4vw, 52px) clamp(22px, 4vw, 52px) !important; }
.adh-auth .tutor-login-form-wrapper > div:first-child { margin: 0 0 4px !important; font-family: var(--adh-serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; color: var(--adh-ink); letter-spacing: -.01em; }
.adh-auth__sub { margin: 0 0 24px; color: var(--adh-slate); font-size: 15px; }
.adh-auth .adh-google--first { margin-bottom: 0 !important; }
.adh-auth .tutor-input-field { margin-bottom: 14px !important; }
.adh-auth input.tutor-form-control { min-height: 48px; padding-inline: 14px; background: #fff !important; border: 1.5px solid var(--adh-line); border-radius: 12px; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.adh-auth input.tutor-form-control:focus { border-color: var(--adh-navy); box-shadow: 0 0 0 4px rgba(31, 59, 110, .12); outline: 0; }
.adh-auth .tutor-checkbox { accent-color: var(--adh-navy); }
.adh-auth #tutor-login-form .tutor-mt-9 { margin-top: 4px !important; }
.adh-auth #tutor-login-form .tutor-btn-link-gray, .adh-auth #tutor-login-form a[href*="lost"], .adh-auth #tutor-login-form a[href*="retrieve"] { color: var(--adh-navy) !important; font-weight: 700; }
.adh-auth #tutor-login-form button[type="submit"] { min-height: 50px; margin-top: 20px !important; border-radius: 12px !important; background: var(--adh-ink) !important; color: #fff !important; font-weight: 800; font-size: 15px; letter-spacing: .01em; border: 0 !important; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.adh-auth #tutor-login-form button[type="submit"]:hover { background: var(--adh-navy) !important; transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(31, 59, 110, .6); }
.adh-auth #tutor-login-form .tutor-mt-7 { margin-top: 20px !important; }
.adh-auth #tutor-login-form .tutor-mt-7 a { color: var(--adh-navy) !important; font-weight: 800; }
.adh-auth .tutor-alert { border-radius: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.adh-foot__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .9fr); }
	.adh-foot__contact { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(16px, 2.6vw, 36px); }
	.adh-foot__contact h2 { grid-column: 1 / -1; }
	.adh-foot__contact .adh-foot__map { margin-top: 0; }
}
@media (max-width: 900px) {
	.adh-auth__card { grid-template-columns: 1fr; }
	.adh-auth__brand { gap: 14px; padding: 22px 22px 24px; }
	.adh-auth__points, .adh-auth__progress, .adh-auth__secure { display: none; }
	.adh-auth__title { font-size: 22px; }
	.adh-auth__kicker { margin-bottom: 6px; }
	.adh-hero__grid { grid-template-columns: 1fr; }
	.adh-hero__visual { justify-self: center; max-width: 480px; }
	.adh-course { grid-template-columns: 1fr; grid-template-areas: "media" "body" "outline"; }
	.adh-course__media { background: none; }
}
@media (max-width: 600px) {
	.adh-auth { padding: 12px 10px 28px; }
	.adh-auth__card { border-radius: 18px; }
	.adh-header .wp-block-navigation__responsive-container-open { padding: 6px; }
	.adh-float--cert { display: none; }
	.adh-float--progress { width: 180px; left: 0; }
	.adh-hero__actions .adh-btn { flex: 1 1 auto; }
	.adh-hero__trust li + li { padding-left: 14px; }
	.adh-hero__trust { gap: 6px 14px; }
	.adh-course__buy { flex-direction: column; align-items: stretch; }
	.adh-course__actions .adh-btn { flex: 1 1 auto; }
	.adh-footer { font-size: 13px; }
	.adh-foot__grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
	.adh-foot__brand, .adh-foot__contact { grid-column: 1 / -1; }
	.adh-foot__contact { display: block; }
	.adh-foot__map { display: none; }
	.adh-foot__col a { padding: 4px 0; }
	.adh-signin { min-height: 34px; padding: 0 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .adh-anim .adh-reveal { opacity: 1; transform: none; } }

/* ---------- Tutor 4 lesson player, dashboard and account screens ---------- */
/* Brand scale (navy) and fonts for both light and dark mode. */
html[data-tutor-theme] {
	--tutor-brand-50: #F3F6FB;
	--tutor-brand-100: #E9EEF7;
	--tutor-brand-200: #D5DFEF;
	--tutor-brand-300: #B7C8E3;
	--tutor-brand-400: #8AA4CF;
	--tutor-brand-500: #4F70A8;
	--tutor-brand-600: #1F3B6E;
	--tutor-brand-700: #1A325E;
	--tutor-brand-800: #15294D;
	--tutor-brand-900: #10203C;
	--tutor-brand-950: #0B162A;
	--tutor-font-family-body: Manrope, "Noto Sans Devanagari", system-ui, sans-serif;
	--tutor-font-family-heading: Fraunces, "Noto Sans Devanagari", Georgia, serif;
}
/* Light mode in Adhyay's warm paper colours. */
html[data-tutor-theme="light"] {
	--tutor-surface-base: #FBFAF7;
	--tutor-surface-l1: #FFFFFF;
	--tutor-surface-l1-hover: #FBF7F0;
	--tutor-surface-l2: #EFE9DE;
	--tutor-surface-l2-hover: #E8E1D3;
	--tutor-surface-l3: #F6EFE3;
	--tutor-surface-sidebar-l1: #FFFFFF;
	--tutor-text-primary: #15171C;
	--tutor-text-secondary: #2E323B;
	--tutor-text-subdued: #5A5E67;
	--tutor-border-idle: #E4DFD4;
	--tutor-border-hover: #D6CFC0;
}
/* Dark mode keeps a readable brand colour on dark surfaces. */
html[data-tutor-theme="dark"] {
	--tutor-text-brand: #9FB6E3;
	--tutor-border-brand: #8AA4CF;
	--tutor-surface-brand-primary: #8AA4CF;
}
/* The site header stays light in every mode. */
html body .adh-header { color: var(--adh-ink); background: rgba(251, 250, 247, .96); }
html body .adh-header .wp-block-navigation a,
html body .adh-header .adh-brand { color: var(--adh-ink); font-family: var(--adh-sans); }
html body .adh-header .wp-block-navigation a:hover { color: var(--adh-navy); }

/* Menus use the Adhyay font everywhere. */
html body .adh-header .wp-block-navigation,
html body .adh-footer,
html body .adh-footer a { font-family: var(--adh-sans); }

/* Tutor's own screens (dashboard, sign-in): Adhyay mark and name instead of plain text. */
.tutor-brand-logo .site-title {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--adh-serif); font-size: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--adh-ink);
}
.tutor-brand-logo .site-title::before {
	content: ""; width: 32px; height: 32px; flex: none; border-radius: 9px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='9' fill='%2315171C'/%3E%3Cpath d='M7 11.5c3-1.4 6-1.4 9 0v12c-3-1.4-6-1.4-9 0zM25 11.5c-3-1.4-6-1.4-9 0v12c3-1.4 6-1.4 9 0z' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='16' cy='6.8' r='2' fill='%23E8A33D'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-tutor-theme="dark"] .tutor-brand-logo .site-title { color: #fff; }

/* Tutor sign-in card */
.tutor-login-wrap, .tutor-login-form-wrapper { font-family: var(--adh-sans); }
.tutor-login-wrap h4, .tutor-login-form-wrapper .tutor-fs-5 { font-family: var(--adh-serif); font-weight: 500; }
.tutor-login-form-wrapper input.tutor-form-control { background: #fff; border-color: var(--adh-line); border-radius: 10px; min-height: 46px; }

/* Policy pages: comfortable reading width and tidy tables */
.wp-block-post-content .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.wp-block-post-content .wp-block-table th, .wp-block-post-content .wp-block-table td { border: 1px solid var(--adh-line); padding: 8px 12px; text-align: left; vertical-align: top; }
.wp-block-post-content .wp-block-table thead th { background: var(--adh-sand); }

/* Header content lines up with the page content on every screen (including Tutor's own pages). */
.adh-header .adh-header__row { width: min(calc(var(--adh-max) - 2 * var(--adh-gutter)), 100%); margin-inline: auto !important; max-width: none; box-sizing: border-box; }
