/* ==========================================================================
   Programming Valley — main stylesheet
   One file, no framework. Tokens first, then base, layout, components.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--pv-navy: #140342;
	--pv-navy-2: #1F0F55;
	--pv-navy-line: #2E1E6B;
	--pv-navy-border: #3A2A7A;
	--pv-violet: #5B36F2;
	--pv-violet-hover: #3F1FCB;
	--pv-violet-soft: #EFEAFF;
	--pv-mint: #7EDCB9;
	--pv-mint-soft: rgba(126, 220, 185, .14);
	--pv-sky: #48CAE4;

	--pv-ink: #140342;
	--pv-ink-2: #3B3566;
	--pv-muted: #5E5885;
	--pv-on-dark: #FFFFFF;
	--pv-on-dark-muted: #C9C2EA;

	--pv-bg: #FFFFFF;
	--pv-surface: #F5F4FC;
	--pv-border: #E6E3F3;
	--pv-border-soft: #ECEAF5;
	--pv-border-strong: #D9D4F2;

	--pv-success-bg: #E3F7EF;
	--pv-success: #0E6B4B;
	--pv-success-ink: #0E7A55;
	--pv-warning-bg: #FFF4DB;
	--pv-warning: #7A4B00;
	--pv-danger-bg: #FDECEC;
	--pv-danger: #9B1C1C;
	--pv-star: #F2A93B;

	--pv-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--pv-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--pv-radius-sm: 12px;
	--pv-radius: 16px;
	--pv-radius-lg: 20px;
	--pv-radius-xl: 28px;
	--pv-pill: 999px;

	--pv-shadow: 0 1px 2px rgba(20, 3, 66, .04), 0 8px 24px rgba(20, 3, 66, .06);
	--pv-shadow-lg: 0 20px 48px rgba(20, 3, 66, .14);

	--pv-container: 1200px;
	--pv-gutter: 24px;
	--pv-section: 88px;
	--pv-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 767px) {
	:root {
		--pv-gutter: 16px;
		--pv-section: 56px;
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--pv-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--pv-ink);
	background: var(--pv-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
svg.pv-icon { flex: none; display: inline-block; vertical-align: middle; }
a { color: var(--pv-violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pv-violet-hover); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: inherit; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--pv-sky); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--pv-violet); color: #fff; }
hr { border: 0; border-top: 1px solid var(--pv-border-soft); margin: 2rem 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--pv-border-soft); text-align: left; }

.pv-sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pv-skip-link:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 12px 18px; background: #fff; color: var(--pv-ink); border-radius: var(--pv-pill); font-weight: 700; }

/* ---------- Layout ---------- */
.pv-container { width: 100%; max-width: calc(var(--pv-container) + var(--pv-gutter) * 2); margin-inline: auto; padding-inline: var(--pv-gutter); }
.pv-container--narrow { max-width: calc(760px + var(--pv-gutter) * 2); }
.pv-section { padding-block: var(--pv-section); }
.pv-section--tight { padding-block: calc(var(--pv-section) * .5); }
.pv-section--surface { background: var(--pv-surface); }
.pv-section--dark { background: var(--pv-navy); color: var(--pv-on-dark); }
.pv-stack { display: flex; flex-direction: column; gap: var(--pv-stack-gap, 16px); }
.pv-grid { display: grid; gap: var(--pv-grid-gap, 20px); grid-template-columns: repeat(auto-fill, minmax(var(--pv-grid-min, 260px), 1fr)); }
.pv-split { display: flex; flex-wrap: wrap; gap: 48px; }
.pv-split > .pv-split__main { flex: 999 1 560px; min-width: 0; }
.pv-split > .pv-split__side { flex: 1 1 300px; min-width: 0; }
.pv-main { display: block; min-height: 50vh; }

/* ---------- Typography helpers (also usable as Elementor CSS classes) ---------- */
.pv-display { font-size: clamp(36px, 5.2vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.pv-h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.pv-h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin: 0; }
.pv-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--pv-muted); max-width: 560px; margin: 0; }
.pv-muted { color: var(--pv-muted); }
.pv-hl { color: var(--pv-sky); }
.pv-on-dark { color: var(--pv-on-dark); }
.pv-on-dark .pv-lead, .pv-lead.pv-on-dark, .pv-section--dark .pv-lead { color: var(--pv-on-dark-muted); }
.pv-eyebrow {
	display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 0;
	padding: 8px 14px; border-radius: var(--pv-pill); background: var(--pv-mint-soft);
	font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--pv-success-ink);
}
.pv-section--dark .pv-eyebrow, .pv-on-dark .pv-eyebrow, .pv-eyebrow.pv-on-dark { color: var(--pv-mint); }
.pv-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pv-violet); }

/* ---------- Buttons ---------- */
.pv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--pv-pill);
	font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
	background: var(--pv-violet); color: #fff; transition: background .2s var(--pv-ease), color .2s, border-color .2s, transform .2s var(--pv-ease);
}
.pv-btn:hover { background: var(--pv-violet-hover); color: #fff; }
.pv-btn:active { transform: translateY(1px); }
.pv-btn[disabled], .pv-btn.is-loading { opacity: .6; pointer-events: none; }
.pv-btn--mint { background: var(--pv-mint); color: var(--pv-navy); }
.pv-btn--mint:hover { background: #69d1aa; color: var(--pv-navy); }
.pv-btn--dark { background: var(--pv-navy); color: #fff; }
.pv-btn--dark:hover { background: var(--pv-navy-2); color: #fff; }
.pv-btn--outline { background: var(--pv-bg); color: var(--pv-ink); border-color: var(--pv-border-strong); }
.pv-btn--outline:hover { background: var(--pv-surface); color: var(--pv-ink); border-color: var(--pv-violet); }
.pv-btn--ghost { background: transparent; color: inherit; padding-inline: 14px; }
.pv-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: inherit; }
.pv-btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.pv-btn--block { width: 100%; }
.pv-link-arrow { font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pv-link-arrow::after { content: " →"; }

/* ---------- Badges / chips ---------- */
.pv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pv-pill); background: var(--pv-violet-soft); font-size: 13px; font-weight: 800; line-height: 1.2; color: var(--pv-violet-hover); white-space: nowrap; }
.pv-badge--free { background: var(--pv-success-bg); color: var(--pv-success); }
.pv-badge--new { background: var(--pv-mint); color: var(--pv-navy); }
.pv-badge--featured { background: #FFE7C2; color: #7A4B00; }
.pv-badge--popular { background: var(--pv-violet); color: #fff; }
.pv-chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--pv-pill); border: 1px solid var(--pv-border-strong); font-size: 15px; line-height: 1.2; color: var(--pv-ink); text-decoration: none; background: none; transition: border-color .2s, background .2s; }
.pv-chip:hover { border-color: var(--pv-violet); color: var(--pv-ink); }
.pv-section--dark .pv-chip, .pv-on-dark .pv-chip { border-color: var(--pv-navy-border); color: #fff; }
.pv-section--dark .pv-chip:hover, .pv-on-dark .pv-chip:hover { border-color: var(--pv-mint); background: rgba(255, 255, 255, .04); }
.pv-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv-chips__label { font-size: 15px; color: var(--pv-muted); }
.pv-section--dark .pv-chips__label, .pv-on-dark .pv-chips__label { color: var(--pv-on-dark-muted); }

/* ---------- Forms ---------- */
.pv-form { display: grid; gap: 18px; }
.pv-form--2col { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pv-form__full { grid-column: 1 / -1; }
.pv-field { display: flex; flex-direction: column; gap: 8px; }
.pv-field label, .pv-label { font-size: 15px; font-weight: 600; color: var(--pv-ink); }
.pv-input,
.pv-form input[type="text"], .pv-form input[type="email"], .pv-form input[type="password"], .pv-form input[type="url"],
.pv-form input[type="date"], .pv-form input[type="tel"], .pv-form input[type="number"], .pv-form input[type="search"],
.pv-form select, .pv-form textarea, .comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-sm);
	background: #fff; font-size: 16px; color: var(--pv-ink); transition: border-color .2s, box-shadow .2s;
}
.pv-form textarea, .comment-form textarea { min-height: 140px; resize: vertical; }
.pv-input:focus, .pv-form input:focus, .pv-form select:focus, .pv-form textarea:focus { outline: none; border-color: var(--pv-violet); box-shadow: 0 0 0 4px rgba(91, 54, 242, .14); }
.pv-check { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pv-check input { width: 18px; height: 18px; accent-color: var(--pv-violet); }
.pv-strength { height: 6px; border-radius: 6px; background: var(--pv-border-soft); overflow: hidden; }
.pv-strength span { display: block; height: 100%; width: 0; background: var(--pv-danger); transition: width .25s, background .25s; }
.pv-strength[data-level="2"] span { background: var(--pv-star); }
.pv-strength[data-level="3"] span { background: var(--pv-success); }
.pv-hp { position: absolute !important; left: -9999px !important; }

.pv-alert { padding: 14px 18px; border-radius: var(--pv-radius-sm); font-size: 15px; font-weight: 600; background: var(--pv-surface); color: var(--pv-ink); }
.pv-alert--success { background: var(--pv-success-bg); color: var(--pv-success); }
.pv-alert--warning { background: var(--pv-warning-bg); color: var(--pv-warning); }
.pv-alert--danger { background: var(--pv-danger-bg); color: var(--pv-danger); }
.pv-field-error { font-size: 13px; color: var(--pv-danger); }

/* ---------- Header ---------- */
.pv-header { position: relative; z-index: 50; background: var(--pv-navy); color: #fff; }
.pv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; padding-block: 14px; }
.pv-logo { display: flex; align-items: center; flex: none; }
.pv-logo img { width: 88px; height: 64px; object-fit: contain; }
.pv-nav { display: flex; align-items: center; }
.pv-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pv-nav a { display: block; padding: 12px 14px; border-radius: var(--pv-pill); font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; transition: background .2s; }
.pv-nav a:hover, .pv-nav .current-menu-item > a, .pv-nav .current-menu-ancestor > a { background: rgba(255, 255, 255, .08); color: #fff; }
.pv-nav .sub-menu { display: none; }
.pv-header__actions { display: flex; align-items: center; gap: 8px; }
.pv-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--pv-pill); background: transparent; color: inherit; transition: background .2s; }
.pv-icon-btn:hover { background: rgba(255, 255, 255, .08); }
.pv-header .pv-btn--ghost { color: #fff; }
.pv-menu-toggle { display: none; }

.pv-user { position: relative; }
.pv-user__btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px; border: 0; border-radius: var(--pv-pill); background: transparent; color: #fff; }
.pv-user__btn img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pv-dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px; border-radius: var(--pv-radius); background: #fff; color: var(--pv-ink); box-shadow: var(--pv-shadow-lg); }
.pv-dropdown[hidden] { display: none; }
.pv-dropdown__head { padding: 10px 12px 12px; border-bottom: 1px solid var(--pv-border-soft); margin-bottom: 6px; }
.pv-dropdown__head strong { display: block; font-size: 15px; }
.pv-dropdown__head span { font-size: 13px; color: var(--pv-muted); word-break: break-all; }
.pv-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--pv-ink); text-decoration: none; }
.pv-dropdown a:hover { background: var(--pv-surface); }

@media (max-width: 1023px) {
	.pv-menu-toggle { display: inline-flex; }
	.pv-nav {
		position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(360px, 88vw); flex-direction: column; align-items: stretch;
		padding: 88px 20px 24px; background: var(--pv-navy); box-shadow: var(--pv-shadow-lg);
		transform: translateX(100%); transition: transform .3s var(--pv-ease); overflow-y: auto; visibility: hidden;
	}
	.pv-nav.is-open { transform: none; visibility: visible; }
	.pv-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.pv-nav a { padding: 14px 16px; font-size: 17px; border-radius: var(--pv-radius-sm); }
	.pv-nav .sub-menu { display: block; padding-left: 12px; }
	.pv-nav__close { position: absolute; top: 20px; right: 16px; }
	.pv-nav__auth { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--pv-navy-line); }
	.pv-header__auth { display: none; }
	/* Must stay below .pv-header (z-index 50): the menu panel lives inside the header's stacking context. */
	.pv-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(10, 2, 33, .5); }
}
@media (min-width: 1024px) {
	.pv-nav__close, .pv-nav__auth { display: none; }
	.pv-nav .menu-item-has-children { position: relative; }
	.pv-nav .menu-item-has-children:hover > .sub-menu, .pv-nav .menu-item-has-children:focus-within > .sub-menu {
		display: block; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; border-radius: var(--pv-radius); background: #fff; box-shadow: var(--pv-shadow-lg);
	}
	.pv-nav .sub-menu a { color: var(--pv-ink); border-radius: 10px; }
	.pv-nav .sub-menu a:hover { background: var(--pv-surface); }
}

/* Search overlay */
.pv-search-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 10vh var(--pv-gutter) 24px; background: rgba(10, 2, 33, .6); backdrop-filter: blur(4px); }
.pv-search-overlay[hidden] { display: none; }
.pv-search-overlay__panel { width: 100%; max-width: 720px; padding: 20px; border-radius: var(--pv-radius-lg); background: #fff; color: var(--pv-ink); box-shadow: var(--pv-shadow-lg); }
.pv-search-overlay__results { list-style: none; margin: 16px 0 0; padding: 0; max-height: 50vh; overflow-y: auto; }
.pv-search-overlay__results a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--pv-radius-sm); color: var(--pv-ink); text-decoration: none; font-weight: 600; }
.pv-search-overlay__results a:hover, .pv-search-overlay__results a:focus { background: var(--pv-surface); }
.pv-search-overlay__results .pv-icon { color: var(--pv-violet); }
.pv-search-overlay__hint { margin: 14px 4px 0; font-size: 14px; color: var(--pv-muted); }

/* ---------- Search form (pill) ---------- */
.pv-search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; padding: 8px 8px 8px 22px; border-radius: var(--pv-pill); background: #fff; color: var(--pv-ink); box-shadow: 0 0 0 1px var(--pv-border); }
.pv-section--dark .pv-search, .pv-on-dark .pv-search { box-shadow: none; }
.pv-search > .pv-icon { color: var(--pv-muted); }
.pv-search input { flex: 1 1 auto; min-width: 0; padding: 12px 0; border: 0; outline: none; background: transparent; font-size: 17px; color: var(--pv-ink); }
.pv-search input::-webkit-search-cancel-button { display: none; }
.pv-search .pv-btn { flex: none; min-height: 52px; padding-inline: 26px; }
@media (max-width: 479px) {
	.pv-search { padding-left: 16px; }
	.pv-search .pv-btn { padding-inline: 18px; }
	.pv-search > .pv-icon { display: none; }
}
.pv-search-block { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Section heading ---------- */
.pv-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 20px; margin-bottom: 36px; }
.pv-section-head__text { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.pv-section-head__title { margin: 0; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.01em; }
.pv-section-head__title--sm { font-size: clamp(24px, 2.6vw, 32px); }
.pv-section-head__sub { margin: 0; font-size: 17px; color: var(--pv-muted); }
.pv-section--dark .pv-section-head__sub { color: var(--pv-on-dark-muted); }
.pv-section-head--center { justify-content: center; text-align: center; }
.pv-section-head--center .pv-section-head__text { align-items: center; }

/* ---------- Hero ---------- */
.pv-hero { background: var(--pv-navy); color: #fff; }
.pv-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 72px 96px; }
.pv-hero__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pv-hero__side { flex: 1 1 380px; min-width: 0; }
.pv-hero .pv-lead { color: var(--pv-on-dark-muted); }
@media (max-width: 767px) { .pv-hero__inner { padding-block: 48px 64px; gap: 40px; } }

/* Spotlight mini cards */
.pv-spotlight { display: flex; flex-direction: column; gap: 16px; }
.pv-mini-course { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--pv-radius-lg); background: #fff; color: var(--pv-ink); text-decoration: none; transition: transform .25s var(--pv-ease), box-shadow .25s; }
.pv-mini-course:hover { color: var(--pv-ink); transform: translateY(-2px); box-shadow: var(--pv-shadow-lg); }
.pv-spotlight > .pv-mini-course:nth-child(2) { margin-left: 32px; }
@media (max-width: 479px) { .pv-spotlight > .pv-mini-course:nth-child(2) { margin-left: 0; } .pv-mini-course { padding: 16px; gap: 14px; } }
.pv-mini-course__logo { flex: none; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; padding: 6px; border-radius: 14px; font-size: 13px; font-weight: 800; text-align: center; line-height: 1.15; overflow: hidden; }
.pv-mini-course__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pv-mini-course__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pv-mini-course__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.pv-mini-course__meta { font-size: 14px; color: var(--pv-muted); }
.pv-mini-course__meta strong { color: var(--pv-success-ink); }

/* ---------- Providers strip ---------- */
.pv-providers { border-bottom: 1px solid var(--pv-border-soft); }
.pv-providers__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 32px; }
.pv-providers__label { font-size: 15px; font-weight: 600; color: var(--pv-muted); }
.pv-providers__item { font-size: 22px; font-weight: 800; color: var(--pv-ink-2); text-decoration: none; }
.pv-providers__item img { height: 28px; width: auto; filter: grayscale(1); opacity: .8; }
a.pv-providers__item:hover { color: var(--pv-violet); }
@media (max-width: 767px) { .pv-providers__inner { justify-content: flex-start; gap: 12px 22px; } .pv-providers__item { font-size: 18px; } .pv-providers__label { width: 100%; } }

/* ---------- Topic cards ---------- */
.pv-topic-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--pv-radius); background: var(--pv-surface); color: var(--pv-ink); text-decoration: none; transition: background .2s, transform .25s var(--pv-ease); }
.pv-topic-card:hover { background: var(--pv-violet-soft); color: var(--pv-ink); transform: translateY(-2px); }
.pv-topic-card__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--pv-violet); }
.pv-topic-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pv-topic-card__name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.pv-topic-card__count { font-size: 14px; color: var(--pv-muted); }

/* ---------- Tabs ---------- */
.pv-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--pv-pill); background: var(--pv-surface); }
.pv-tab { min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--pv-pill); background: transparent; font-size: 15px; font-weight: 700; color: var(--pv-ink-2); transition: background .2s, color .2s; }
.pv-tab:hover { color: var(--pv-ink); background: rgba(20, 3, 66, .05); }
.pv-tab[aria-selected="true"] { background: var(--pv-navy); color: #fff; }
.pv-tabpanel[hidden] { display: none; }

/* ---------- Course card ---------- */
.pv-course-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--pv-border); border-radius: 18px; overflow: hidden; background: #fff; color: var(--pv-ink); text-decoration: none; transition: transform .25s var(--pv-ease), box-shadow .25s, border-color .25s; }
.pv-course-card:hover { color: var(--pv-ink); transform: translateY(-3px); box-shadow: var(--pv-shadow-lg); border-color: transparent; }
.pv-course-card__banner { display: flex; flex-direction: column; justify-content: space-between; height: 168px; padding: 20px; background: var(--pv-card-bg, #F0EDFB); color: var(--pv-card-fg, #2A1A6E); }
.pv-course-card__banner img { width: 100%; height: 100%; object-fit: cover; }
.pv-course-card__banner--image { padding: 0; }
.pv-course-card__provider { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pv-course-card__short { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pv-course-card__body { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; }
.pv-course-card__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pv-course-card__meta { font-size: 14px; color: var(--pv-muted); }
.pv-course-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--pv-border-soft); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pv-course-card__social { font-size: 14px; font-weight: 600; color: var(--pv-ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Guides ---------- */
.pv-guides { display: flex; flex-wrap: wrap; gap: 20px; }
.pv-guide-feature { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 360px; padding: 36px; border-radius: 22px; background: var(--pv-navy) center / cover no-repeat; color: #fff; text-decoration: none; position: relative; overflow: hidden; isolation: isolate; }
.pv-guide-feature.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 3, 66, .2) 0%, rgba(20, 3, 66, .92) 70%); }
.pv-guide-feature:hover { color: #fff; }
.pv-guide-feature:hover .pv-guide-feature__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pv-guide-feature .pv-eyebrow { color: var(--pv-mint); font-size: 13px; font-weight: 700; padding: 6px 12px; background: rgba(126, 220, 185, .16); }
.pv-guide-feature__title { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; }
.pv-guide-feature__meta { font-size: 15px; color: var(--pv-on-dark-muted); }
.pv-guide-list { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pv-guide-item { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: #fff; color: var(--pv-ink); text-decoration: none; transition: transform .25s var(--pv-ease), box-shadow .25s; }
.pv-section:not(.pv-section--surface) .pv-guide-item { background: var(--pv-surface); }
.pv-guide-item:hover { color: var(--pv-ink); transform: translateX(3px); box-shadow: var(--pv-shadow); }
.pv-guide-item__title { font-size: 18px; font-weight: 700; line-height: 1.35; }

/* ---------- Post card ---------- */
.pv-post-card { display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--pv-border); color: var(--pv-ink); text-decoration: none; transition: transform .25s var(--pv-ease), box-shadow .25s; }
.pv-post-card:hover { color: var(--pv-ink); transform: translateY(-3px); box-shadow: var(--pv-shadow-lg); }
.pv-post-card__media { aspect-ratio: 16 / 10; background: var(--pv-surface); overflow: hidden; }
.pv-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pv-post-card__media--empty { display: flex; align-items: flex-end; padding: 20px; background: var(--pv-navy); color: #fff; font-size: 20px; font-weight: 800; line-height: 1.2; }
.pv-post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex-grow: 1; }
.pv-post-card__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.pv-post-card__date { margin-top: auto; font-size: 14px; color: var(--pv-muted); }

/* ---------- Books ---------- */
.pv-books { --pv-grid-min: 150px; --pv-grid-gap: 18px; }
.pv-book { display: flex; flex-direction: column; gap: 12px; color: var(--pv-ink); text-decoration: none; }
.pv-book:hover { color: var(--pv-ink); }
.pv-book__cover { position: relative; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border-radius: 6px 14px 14px 6px; background: var(--pv-cover, var(--pv-navy)); color: #fff; overflow: hidden; box-shadow: inset 6px 0 0 rgba(0, 0, 0, .14); transition: transform .25s var(--pv-ease), box-shadow .25s; }
.pv-book:hover .pv-book__cover { transform: translateY(-3px) rotate(-.6deg); box-shadow: inset 6px 0 0 rgba(0, 0, 0, .14), var(--pv-shadow-lg); }
.pv-book__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-book__topic { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pv-book__cover-title { font-size: 19px; font-weight: 800; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.pv-book__title { font-size: 15px; font-weight: 700; line-height: 1.35; }

/* ---------- Tool list ---------- */
.pv-tool-list { display: flex; flex-direction: column; border: 1px solid var(--pv-border); border-radius: 18px; overflow: hidden; }
.pv-tool-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; color: var(--pv-ink); text-decoration: none; border-bottom: 1px solid var(--pv-border-soft); transition: background .2s; }
.pv-tool-list a:last-child { border-bottom: 0; }
.pv-tool-list a:hover { background: var(--pv-surface); color: var(--pv-ink); }
.pv-tool-list__name { font-size: 16px; font-weight: 700; }
.pv-tool-list__cat { font-size: 14px; color: var(--pv-muted); text-align: right; }

/* ---------- Newsletter ---------- */
.pv-newsletter-wrap { padding-inline: var(--pv-gutter); }
.pv-newsletter { max-width: var(--pv-container); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: 56px; border-radius: var(--pv-radius-xl); background: var(--pv-navy); color: #fff; }
.pv-newsletter__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pv-newsletter__title { margin: 0; font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; line-height: 1.15; }
.pv-newsletter__sub { margin: 0; font-size: 17px; line-height: 1.6; color: var(--pv-on-dark-muted); }
.pv-newsletter__form { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pv-newsletter__form label { font-size: 14px; font-weight: 600; color: var(--pv-on-dark-muted); }
.pv-newsletter__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-newsletter__row input { flex: 1 1 220px; min-width: 0; height: 54px; padding: 0 20px; border: 1px solid var(--pv-navy-border); border-radius: var(--pv-pill); background: var(--pv-navy-2); font-size: 16px; color: #fff; outline: none; }
.pv-newsletter__row input::placeholder { color: #9A90C9; }
.pv-newsletter__row input:focus { border-color: var(--pv-mint); }
.pv-newsletter__row .pv-btn { height: 54px; padding-inline: 28px; font-weight: 800; }
@media (max-width: 767px) { .pv-newsletter { padding: 32px 24px; border-radius: 22px; } .pv-newsletter__row .pv-btn { flex: 1 1 auto; } }

/* ---------- FAQ ---------- */
.pv-faq-layout { display: flex; flex-wrap: wrap; gap: 48px; }
.pv-faq-layout__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pv-faq-layout__list { flex: 999 1 560px; min-width: 0; }
.pv-faq { display: flex; flex-direction: column; gap: 12px; }
.pv-faq__item { border: 1px solid var(--pv-border); border-radius: var(--pv-radius); background: #fff; transition: border-color .2s; }
.pv-faq__item[open] { border-color: var(--pv-border-strong); }
.pv-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 22px; font-size: 17px; font-weight: 700; color: var(--pv-ink); cursor: pointer; list-style: none; }
.pv-faq__q::-webkit-details-marker { display: none; }
.pv-faq__q::after { content: "+"; flex: none; font-size: 24px; font-weight: 500; line-height: 1; color: var(--pv-violet); }
.pv-faq__item[open] .pv-faq__q::after { content: "−"; }
.pv-faq__a { padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--pv-muted); }
.pv-faq__a > :last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.pv-footer { margin-top: var(--pv-section); background: var(--pv-navy); color: #fff; }
.pv-footer__inner { display: flex; flex-direction: column; gap: 48px; padding-block: 64px 32px; }
.pv-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.pv-footer__brand { flex: 2 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pv-footer__brand .pv-logo img { width: 110px; height: 80px; }
.pv-footer__brand p { max-width: 320px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--pv-on-dark-muted); }
.pv-footer__brand a { color: #fff; }
.pv-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 12px; }
.pv-footer__title { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-mint); }
.pv-footer__col ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pv-footer__col a { font-size: 15px; color: #fff; text-decoration: none; }
.pv-footer__col a:hover { color: var(--pv-mint); }
.pv-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--pv-navy-line); }
.pv-footer__copy { font-size: 14px; color: var(--pv-on-dark-muted); }
.pv-footer__social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pv-footer__social a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; }
.pv-footer__social a:hover { color: var(--pv-mint); }
.pv-is-builder .pv-footer, .home .pv-footer { margin-top: 96px; }

/* ---------- Page header / breadcrumbs ---------- */
.pv-page-header { padding-block: 56px 40px; background: var(--pv-surface); }
.pv-page-header--dark { background: var(--pv-navy); color: #fff; }
.pv-page-header__title { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; max-width: 880px; }
.pv-page-header__sub { margin-top: 14px; max-width: 720px; font-size: 17px; color: var(--pv-muted); }
.pv-page-header__sub > :last-child { margin-bottom: 0; }
.pv-page-header--dark .pv-page-header__sub { color: var(--pv-on-dark-muted); }
.pv-page-header .pv-eyebrow { margin-bottom: 16px; }
.pv-breadcrumbs { margin-bottom: 18px; font-size: 14px; color: var(--pv-muted); }
.pv-breadcrumbs a { color: inherit; text-decoration: none; }
.pv-breadcrumbs a:hover { color: var(--pv-violet); text-decoration: underline; }
.pv-breadcrumbs a { text-decoration: underline; text-decoration-color: transparent; transition: color .2s, text-decoration-color .2s; }
.pv-breadcrumbs a:hover { text-decoration-color: currentColor; }
.pv-breadcrumbs .breadcrumb_last, .pv-breadcrumbs [aria-current] { color: var(--pv-ink); font-weight: 600; }
/* Breadcrumbs on navy backgrounds (dark page header, course/book/tool hero, dark sections). */
.pv-page-header--dark .pv-breadcrumbs, .pv-section--dark .pv-breadcrumbs, .pv-item-hero .pv-breadcrumbs { color: var(--pv-on-dark-muted); }
.pv-page-header--dark .pv-breadcrumbs a, .pv-section--dark .pv-breadcrumbs a, .pv-item-hero .pv-breadcrumbs a { color: var(--pv-on-dark-muted); }
.pv-page-header--dark .pv-breadcrumbs a:hover, .pv-section--dark .pv-breadcrumbs a:hover, .pv-item-hero .pv-breadcrumbs a:hover { color: var(--pv-mint); }
.pv-page-header--dark .pv-breadcrumbs .breadcrumb_last, .pv-section--dark .pv-breadcrumbs .breadcrumb_last, .pv-item-hero .pv-breadcrumbs .breadcrumb_last,
.pv-page-header--dark .pv-breadcrumbs [aria-current], .pv-section--dark .pv-breadcrumbs [aria-current], .pv-item-hero .pv-breadcrumbs [aria-current] { color: #fff; }

/* ---------- Pagination ---------- */
.pv-pagination { margin-top: 48px; }
.pv-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pv-pagination a, .pv-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--pv-pill); font-weight: 700; color: var(--pv-ink-2); text-decoration: none; }
.pv-pagination a:hover { background: var(--pv-surface); color: var(--pv-ink); }
.pv-pagination .current { background: var(--pv-navy); color: #fff; }
.pv-load-more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Prose (post / page content) ---------- */
.pv-prose { font-size: 18px; line-height: 1.75; color: #2A2350; }
.pv-prose > * { margin-block: 0 1.1em; }
.pv-prose h2 { margin-top: 1.8em; font-size: 30px; color: var(--pv-ink); }
.pv-prose h3 { margin-top: 1.6em; font-size: 24px; color: var(--pv-ink); }
.pv-prose h4 { margin-top: 1.4em; font-size: 20px; color: var(--pv-ink); }
.pv-prose ul, .pv-prose ol { padding-left: 1.4em; }
.pv-prose li { margin-bottom: .4em; }
.pv-prose ul li { list-style: disc; }
.pv-prose ol li { list-style: decimal; }
.pv-prose a { font-weight: 600; }
.pv-prose img, .pv-prose figure { border-radius: var(--pv-radius); }
.pv-prose figure { margin-inline: 0; }
.pv-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--pv-muted); text-align: center; }
.pv-prose blockquote { margin-inline: 0; padding: 18px 24px; border-left: 4px solid var(--pv-violet); border-radius: 0 var(--pv-radius) var(--pv-radius) 0; background: var(--pv-surface); font-size: 19px; color: var(--pv-ink); }
.pv-prose code { padding: .15em .4em; border-radius: 6px; background: var(--pv-surface); font-family: var(--pv-mono); font-size: .88em; }
.pv-prose pre { padding: 18px 20px; border-radius: var(--pv-radius); background: var(--pv-navy); color: #E9E5FF; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.pv-prose pre code { padding: 0; background: none; color: inherit; }
.pv-prose table { font-size: 16px; display: block; overflow-x: auto; }
.pv-prose th { background: var(--pv-surface); font-weight: 700; }
.pv-prose .wp-block-button__link, .pv-prose .wp-block-file__button { display: inline-flex; padding: 12px 24px; border-radius: var(--pv-pill); background: var(--pv-violet); color: #fff !important; font-weight: 700; text-decoration: none; }
.pv-prose .alignwide { max-width: 1000px; }
.pv-prose .aligncenter { margin-inline: auto; }
.pv-prose iframe { max-width: 100%; border-radius: var(--pv-radius); }
.pv-prose .CodeMirror-simplescroll:first-of-type { display: none !important; }

/* Table of contents */
.pv-toc { margin-bottom: 32px; border: 1px solid var(--pv-border); border-radius: var(--pv-radius); }
.pv-toc summary { padding: 16px 20px; font-weight: 700; cursor: pointer; }
.pv-toc ol, .pv-toc ul { margin: 0; padding: 0 20px 18px 40px; font-size: 16px; }

/* ---------- Single post ---------- */
.pv-article__header { padding-block: 56px 32px; text-align: center; }
.pv-article__header .pv-breadcrumbs { text-align: center; }
.pv-article__cats { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pv-article__cats a { text-decoration: none; }
.pv-article__title { margin: 12px auto 14px; max-width: 900px; font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.pv-article__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; font-size: 15px; color: var(--pv-muted); }
.pv-article__meta img { width: 32px; height: 32px; border-radius: 50%; }
.pv-article__media { margin: 0 auto 40px; max-width: 900px; }
.pv-article__media img { width: 100%; border-radius: var(--pv-radius-lg); }
.pv-article__caption { margin-top: 10px; font-size: 14px; color: var(--pv-muted); text-align: center; }
.pv-article__foot { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; }
.pv-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv-share__label { font-weight: 700; margin-right: 6px; }
.pv-share a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pv-surface); color: var(--pv-ink); transition: background .2s, color .2s; }
.pv-share a:hover { background: var(--pv-violet); color: #fff; }
.pv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-tags a { padding: 6px 12px; border-radius: var(--pv-pill); background: var(--pv-surface); font-size: 14px; font-weight: 600; color: var(--pv-ink-2); text-decoration: none; }
.pv-tags a:hover { background: var(--pv-violet-soft); color: var(--pv-violet-hover); }
.pv-author { display: flex; gap: 20px; padding: 24px; border-radius: var(--pv-radius-lg); background: var(--pv-surface); }
.pv-author img { flex: none; width: 64px; height: 64px; border-radius: 50%; }
.pv-author__name { margin: 0; font-size: 18px; }
.pv-author__role { font-size: 14px; color: var(--pv-muted); }
.pv-author p { margin: 10px 0 0; font-size: 15px; color: var(--pv-ink-2); }
.pv-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pv-post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--pv-border); border-radius: var(--pv-radius); color: var(--pv-ink); text-decoration: none; }
.pv-post-nav a:hover { border-color: var(--pv-violet); }
.pv-post-nav span { font-size: 13px; font-weight: 700; color: var(--pv-violet); text-transform: uppercase; letter-spacing: .06em; }
.pv-post-nav strong { font-size: 16px; line-height: 1.35; }
.pv-post-nav__next { text-align: right; grid-column: 2; }
@media (max-width: 599px) { .pv-post-nav { grid-template-columns: 1fr; } .pv-post-nav__next { grid-column: auto; } }

/* ---------- Course / book / tool single ---------- */
.pv-item-hero { padding-block: 48px 64px; background: var(--pv-navy); color: #fff; }
.pv-item-hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.pv-item-hero__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pv-item-hero__side { flex: 1 1 340px; min-width: 0; }
.pv-item-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-item-hero__title { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.pv-item-hero__excerpt { margin: 0; font-size: 18px; color: var(--pv-on-dark-muted); }
.pv-item-hero__excerpt p { margin: 0; }
.pv-item-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 15px; color: var(--pv-on-dark-muted); }
.pv-item-hero__row a { color: #fff; }
.pv-item-hero .pv-breadcrumbs { margin-bottom: 0; }
.pv-item-card { padding: 24px; border-radius: var(--pv-radius-lg); background: #fff; color: var(--pv-ink); box-shadow: var(--pv-shadow-lg); }
.pv-item-card__media { position: relative; margin: -24px -24px 20px; aspect-ratio: 16 / 10; border-radius: var(--pv-radius-lg) var(--pv-radius-lg) 0 0; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: var(--pv-card-bg, #F0EDFB); color: var(--pv-card-fg, #2A1A6E); }
.pv-item-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-item-card__media .pv-play { position: absolute; inset: 0; margin: auto; z-index: 1; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--pv-violet); box-shadow: var(--pv-shadow-lg); }
.pv-item-card__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; font-size: 28px; font-weight: 800; }
.pv-item-card__price del { font-size: 17px; font-weight: 600; color: var(--pv-muted); }
.pv-item-card__actions { display: flex; flex-direction: column; gap: 10px; }
.pv-facts { margin: 20px 0 0; padding: 0; list-style: none; }
.pv-facts li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pv-border-soft); font-size: 15px; }
.pv-facts li:last-child { border-bottom: 0; }
.pv-facts__label { display: inline-flex; align-items: center; gap: 10px; color: var(--pv-muted); }
.pv-facts__label .pv-icon { color: var(--pv-violet); }
.pv-facts__value { font-weight: 700; text-align: right; }
.pv-facts__value img { max-height: 24px; width: auto; display: inline-block; }
.pv-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.pv-rating__value { font-weight: 800; color: var(--pv-star); }
.pv-rating__stars { display: inline-flex; gap: 2px; }
.pv-rating__star { display: inline-flex; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .3); }
.pv-rating__star .pv-icon { fill: currentColor; stroke: none; }
.pv-rating__star.is-on { color: var(--pv-star); }
.pv-item-card .pv-rating__star:not(.is-on), .pv-section .pv-rating__star:not(.is-on) { color: var(--pv-border-strong); }
.js-rating button.pv-rating__star:hover, .js-rating button.pv-rating__star:hover ~ .pv-rating__star { transform: scale(1.12); }
.js-rating.is-done button.pv-rating__star { pointer-events: none; }
.pv-item-body { padding-block: 56px 0; }

/* ---------- Listing / filters ---------- */
.pv-listing__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.pv-listing__count { font-size: 15px; color: var(--pv-muted); }
.pv-listing__count strong { color: var(--pv-ink); }
.pv-listing__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv-select { min-height: 44px; padding: 8px 40px 8px 16px; border: 1px solid var(--pv-border-strong); border-radius: var(--pv-pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23140342' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; font-size: 15px; font-weight: 600; appearance: none; }
.pv-filters { margin-bottom: 32px; padding: 24px; border-radius: var(--pv-radius-lg); background: var(--pv-surface); }
.pv-filters[hidden] { display: none; }
.pv-filters__grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pv-filter__title { margin: 0 0 12px; font-size: 15px; font-weight: 800; }
.pv-filter__list { display: flex; flex-direction: column; gap: 8px; }
.pv-filter__list.is-collapsed > :nth-child(n + 7) { display: none; }
.pv-filter__item { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pv-filter__item input { width: 18px; height: 18px; accent-color: var(--pv-violet); }
.pv-filter__item label { flex: 1; cursor: pointer; }
.pv-filter__count { font-size: 13px; color: var(--pv-muted); }
.pv-filter__more { margin-top: 10px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--pv-violet); }
.pv-filters__actions { display: flex; gap: 10px; margin-top: 24px; }

/* ---------- Comments ---------- */
.pv-comments { margin-top: 56px; }
.pv-comments__list { margin: 24px 0 40px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pv-comment { display: flex; gap: 16px; padding: 20px; border-radius: var(--pv-radius); background: var(--pv-surface); }
.pv-comment img { flex: none; width: 48px; height: 48px; border-radius: 50%; }
.pv-comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pv-comment__author { font-weight: 700; }
.pv-comment__date { font-size: 13px; color: var(--pv-muted); }
.pv-comment__text { margin: 8px 0 10px; font-size: 16px; color: var(--pv-ink-2); }
.pv-comment__reply { padding: 0; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--pv-violet); }

/* ---------- Account (login, signup, settings, bookmarks) ---------- */
.pv-auth { display: flex; justify-content: center; padding-block: 64px; background: var(--pv-surface); }
.pv-auth__card { width: 100%; max-width: 520px; padding: 40px; border-radius: var(--pv-radius-xl); background: #fff; box-shadow: var(--pv-shadow); }
.pv-auth__card--wide { max-width: 720px; }
.pv-auth__title { margin: 0 0 6px; font-size: 30px; }
.pv-auth__sub { margin: 0 0 28px; color: var(--pv-muted); }
.pv-auth__divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; font-size: 14px; font-weight: 600; color: var(--pv-muted); }
.pv-auth__divider::before, .pv-auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--pv-border); }
.pv-auth__social { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (max-width: 599px) { .pv-auth__card { padding: 28px 20px; border-radius: var(--pv-radius-lg); } }

.pv-account { padding-block: 48px 0; }
.pv-account__head { margin-bottom: 28px; }
.pv-account__head h1 { margin: 0; font-size: 34px; }
.pv-panel { border: 1px solid var(--pv-border); border-radius: var(--pv-radius-lg); background: #fff; }
.pv-panel__tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--pv-border-soft); }
.pv-panel__tab { padding: 12px 14px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 15px; font-weight: 700; color: var(--pv-muted); }
.pv-panel__tab[aria-selected="true"] { color: var(--pv-ink); border-bottom-color: var(--pv-violet); }
.pv-panel__body { padding: 28px; }
.pv-avatar-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--pv-border-soft); }
.pv-avatar-edit img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--pv-surface); }
.pv-avatar-edit__actions { display: flex; gap: 8px; margin-top: 10px; }
.pv-bookmarks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.pv-bookmark { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--pv-border); border-radius: var(--pv-radius); color: var(--pv-ink); text-decoration: none; }
.pv-bookmark:hover { border-color: var(--pv-violet); color: var(--pv-ink); }
.pv-bookmark__thumb { flex: none; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--pv-card-bg, var(--pv-surface)); color: var(--pv-card-fg, var(--pv-violet)); font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; }
.pv-bookmark__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv-bookmark__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pv-bookmark__type { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pv-violet); }
.pv-bookmark__title { font-size: 16px; font-weight: 700; line-height: 1.35; }

/* ---------- Empty / 404 ---------- */
.pv-empty { padding: 48px 24px; border-radius: var(--pv-radius-lg); background: var(--pv-surface); text-align: center; }
.pv-empty h2 { font-size: 24px; }
.pv-empty p { color: var(--pv-muted); }
.pv-404 { padding-block: 96px; text-align: center; }
.pv-404__code { font-size: clamp(96px, 18vw, 180px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--pv-navy); }
.pv-404__code span { color: var(--pv-violet); }
.pv-404 .pv-search { margin: 28px auto 20px; }

/* ---------- Widgets (sidebar) ---------- */
.pv-widget { margin-bottom: 28px; padding: 22px; border-radius: var(--pv-radius); background: var(--pv-surface); }
.pv-widget__title { margin: 0 0 14px; font-size: 17px; }
.pv-widget ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pv-widget a { color: var(--pv-ink); text-decoration: none; font-weight: 600; }
.pv-widget a:hover { color: var(--pv-violet); }

/* ---------- Ads ---------- */
.pv-ad { margin-block: 24px; text-align: center; }
.pv-ad img { display: inline-block; }

/* ---------- Elementor integration ---------- */
.elementor .pv-container, .elementor-widget .pv-container { padding-inline: var(--pv-gutter); }
.elementor-widget-pv-section-heading .pv-section-head { margin-bottom: 0; }
.e-con.pv-section, .elementor-element.pv-section { padding-block: var(--pv-section); }
.e-con.pv-hero-con > .e-con-inner, .e-con.pv-hero-con { color: #fff; }
.elementor-widget-heading .pv-display, .elementor-widget-heading.pv-display .elementor-heading-title { font-size: clamp(36px, 5.2vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: inherit; }
.elementor-widget.pv-lead .elementor-widget-container, .elementor-widget.pv-lead p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--pv-on-dark-muted); max-width: 560px; margin: 0; }
.pv-is-builder .pv-main > .elementor { overflow-x: clip; }

/* ==========================================================================
   Goal-first learning layer: goal cards, paths, steps, pay box, comparisons
   ========================================================================== */
.pv-goal, .pv-path-card {
	display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius-lg); background: #fff; color: var(--pv-ink); text-decoration: none;
	transition: border-color .2s, transform .25s var(--pv-ease), box-shadow .25s;
}
.pv-goal:hover, .pv-path-card:hover { color: var(--pv-ink); border-color: var(--pv-violet); transform: translateY(-3px); box-shadow: var(--pv-shadow-lg); }
.pv-goal .pv-topic-card__icon, .pv-path-card .pv-topic-card__icon { background: var(--pv-violet-soft); margin-bottom: 4px; }
.pv-goal__label { font-size: 20px; font-weight: 800; line-height: 1.25; }
.pv-goal__desc, .pv-path-card__for { font-size: 15px; color: var(--pv-muted); }
.pv-goal__cta { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--pv-violet); }
.pv-section--dark .pv-goal { background: var(--pv-navy-2); border-color: var(--pv-navy-border); color: #fff; }
.pv-section--dark .pv-goal__desc { color: var(--pv-on-dark-muted); }
.pv-section--dark .pv-goal__cta { color: var(--pv-mint); }
.pv-path-card__title { font-size: 19px; font-weight: 800; line-height: 1.3; }
.pv-path-card__meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--pv-border-soft); font-size: 14px; font-weight: 600; color: var(--pv-ink-2); }

.pv-path-hero { padding-block: 48px 56px; background: var(--pv-navy); color: #fff; }
.pv-path-hero .pv-container { display: flex; flex-direction: column; gap: 18px; }
.pv-path-hero .pv-breadcrumbs { margin-bottom: 0; }
.pv-path-hero__title { margin: 0; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.pv-path-hero .pv-lead { color: var(--pv-on-dark-muted); max-width: none; }
.pv-path-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 15px; color: var(--pv-on-dark-muted); }
.pv-fit { display: grid; gap: 10px; margin: 0; }
.pv-fit__row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--pv-radius-sm); background: rgba(255, 255, 255, .06); }
.pv-fit dt { font-size: 14px; font-weight: 800; }
.pv-fit dd { margin: 0; font-size: 15px; color: var(--pv-on-dark-muted); }
.pv-fit dd a { display: inline-block; margin-top: 4px; color: var(--pv-mint); font-weight: 700; }
.pv-fit__row--yes dt { color: var(--pv-mint); }
.pv-fit__row--no dt { color: #FFB4A8; }
@media (max-width: 539px) { .pv-fit__row { grid-template-columns: 1fr; gap: 4px; } }

.pv-path__label { margin: 0 0 18px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-muted); }
.pv-steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pv-step { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-lg); background: #fff; }
.pv-step__num { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pv-navy); color: #fff; font-size: 16px; font-weight: 800; }
.pv-step--project .pv-step__num { background: var(--pv-violet); }
.pv-step--optional { border-color: #F3D9A8; }
.pv-step--optional .pv-step__num { background: #B86E00; }
.pv-step__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.pv-step__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv-step__time { font-size: 14px; color: var(--pv-muted); }
.pv-step__title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; }
.pv-step__desc { margin: 0; font-size: 16px; color: var(--pv-ink-2); }
.pv-step__course { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; margin-top: 6px; padding: 14px 16px; border-radius: var(--pv-radius-sm); background: var(--pv-surface); color: var(--pv-ink); text-decoration: none; transition: background .2s; }
.pv-step__course:hover { background: var(--pv-violet-soft); color: var(--pv-ink); }
.pv-step__course-title { font-weight: 700; }
.pv-step__course-meta { grid-column: 1; font-size: 14px; color: var(--pv-muted); }
.pv-step__go { grid-column: 2; grid-row: 1 / span 2; font-size: 15px; font-weight: 700; color: var(--pv-violet); white-space: nowrap; }
@media (max-width: 539px) { .pv-step { padding: 18px; gap: 14px; } .pv-step__course { grid-template-columns: 1fr; } .pv-step__go { grid-column: 1; grid-row: auto; } }
.pv-badge--project { background: var(--pv-violet-soft); color: var(--pv-violet-hover); }
.pv-badge--optional { background: #FFE7C2; color: #7A4B00; }
.pv-path__notes { margin-top: 40px; }

.pv-pay { padding-block: 48px; background: #FFF6E8; }
.pv-pay__facts { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--pv-ink-2); }
.pv-pay__note { margin: 14px 0 0; font-size: 15px; color: var(--pv-ink-2); }
.pv-pay__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
.pv-disclosure { margin: 16px 0 0; font-size: 13px; color: var(--pv-muted); }

.pv-path-callouts { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; }
.pv-path-callout { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-left: 4px solid var(--pv-violet); border-radius: 0 var(--pv-radius) var(--pv-radius) 0; background: var(--pv-violet-soft); }
.pv-path-callout__title { font-size: 18px; font-weight: 800; color: var(--pv-ink); text-decoration: none; }
.pv-path-callout__title:hover { color: var(--pv-violet-hover); text-decoration: underline; }
.pv-path-callout__next, .pv-path-callout__cert { font-size: 15px; color: var(--pv-ink-2); }
.pv-path-callout a:not(.pv-path-callout__title) { font-weight: 700; }

.pv-compare-wrap { overflow-x: auto; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-lg); }
.pv-compare { min-width: 520px; font-size: 15px; }
.pv-compare thead th { background: var(--pv-surface); font-size: 14px; font-weight: 800; }
.pv-compare tbody th { width: 28%; font-weight: 700; }
.pv-compare tr:last-child th, .pv-compare tr:last-child td { border-bottom: 0; }
.pv-verdict { padding: 22px; border-radius: var(--pv-radius-lg); }
.pv-verdict h2 { margin: 0 0 8px; font-size: 18px; }
.pv-verdict p { margin: 0; color: var(--pv-ink-2); }
.pv-verdict--pay { background: #FFF6E8; }
.pv-verdict--free { background: var(--pv-success-bg); }

.pv-footer__disclosure { margin: 0; max-width: 820px; font-size: 13px; line-height: 1.6; color: var(--pv-on-dark-muted); }
.pv-footer__disclosure a { color: #fff; }
.pv-step__extra { font-size: 15px; font-weight: 700; }
.pv-path__label--spaced { margin-top: 48px; }
.pv-resources { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0; padding: 0; list-style: none; }
.pv-resource { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px; border: 1px solid var(--pv-border); border-radius: var(--pv-radius); color: var(--pv-ink); text-decoration: none; transition: border-color .2s, background .2s; }
.pv-resource:hover { border-color: var(--pv-violet); background: var(--pv-surface); color: var(--pv-ink); }
.pv-resource__top { display: flex; align-items: center; gap: 8px; }
.pv-resource__source { font-size: 13px; font-weight: 700; color: var(--pv-muted); }
.pv-resource__title { font-size: 16px; font-weight: 800; line-height: 1.35; }
.pv-resource__note { font-size: 14px; color: var(--pv-ink-2); }
