/* ==========================================================================
   Pilgrim theme — main stylesheet
   1. Tokens   2. Base   3. Header   4. Footer   5. Theme templates
   6. Utility classes for Elementor   7. Elementor tweaks   8. Responsive
   Defaults use :where() (zero specificity) so anything set in Elementor wins.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--pg-black: #0F1512;
	--pg-green: #14231C;
	--pg-stone: #F5F3EE;
	--pg-sand: #EBE8E1;
	--pg-blush: #EFC5C5;
	--pg-blush-deep: #E7A9A9;
	--pg-muted: #4A4A44;
	--pg-white: #FFFFFF;
	--pg-teal: #3A7D8C;

	--pg-push: #B34A55;
	--pg-practice: #C9A63E;
	--pg-practice-ink: #8A6F1C;
	--pg-pause: #4E6B56;

	--pg-tt-push: #F0AEAE;
	--pg-tt-practice: #F6C99A;
	--pg-tt-pause: #F1E08E;
	--pg-tt-other: #E3DFD6;

	--pg-line: rgba(15, 21, 18, .13);
	--pg-overlay: linear-gradient(90deg, rgba(15, 21, 18, .92) 35%, rgba(15, 21, 18, .2));
	--pg-overlay-soft: linear-gradient(90deg, rgba(15, 21, 18, .85) 30%, rgba(15, 21, 18, .05));

	--pg-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--pg-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--pg-gutter: 48px;
	--pg-max: 1184px; /* content width; overridden by Customize > Pilgrim theme */
	/* Side padding that keeps content at --pg-max on wide screens and --pg-gutter on narrow ones */
	--pg-inline: max(var(--pg-gutter), calc((100% - var(--pg-max)) / 2));
	--pg-header-h: 86px;
	--pg-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { :where(html) { scroll-behavior: auto; } }

:where(body) {
	margin: 0;
	background: var(--pg-stone);
	color: var(--pg-black);
	font-family: var(--pg-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, h4) {
	font-family: var(--pg-serif);
	font-weight: 500;
	line-height: 1.1;
	margin: 0 0 .5em;
}
/* Heading scale from the Pilgrim design (also written to Elementor > Site Settings > Typography) */
:where(h1) { font-size: 72px; line-height: 1; text-transform: uppercase; }
:where(h2) { font-size: 48px; line-height: 1.1; }
:where(h3) { font-size: 24px; line-height: 1.2; }
:where(h4) { font-size: 20px; line-height: 1.25; }
:where(h5, h6) { font-family: var(--pg-sans); font-weight: 500; text-transform: uppercase; margin: 0 0 .75em; }
:where(h5) { font-size: 14px; line-height: 1.4; letter-spacing: .2em; }
:where(h6) { font-size: 12px; line-height: 1.6; letter-spacing: .25em; }
@media (max-width: 1024px) { :where(h1) { font-size: 56px; } :where(h2) { font-size: 40px; } }
@media (max-width: 767px) { :where(h1) { font-size: 44px; } :where(h2) { font-size: 34px; } :where(h3) { font-size: 22px; } :where(h4) { font-size: 18px; } :where(h5) { font-size: 13px; } }

:where(p) { margin: 0 0 1em; }
:where(a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(a:hover) { color: var(--pg-push); }
:where(img, video) { max-width: 100%; height: auto; display: block; }
:where(hr) { border: 0; border-top: 1px solid var(--pg-line); margin: 40px 0; }

:focus-visible { outline: 2px solid var(--pg-push); outline-offset: 3px; }

.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;
}
.pg-skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--pg-blush); color: var(--pg-black); padding: 12px 20px;
	font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.pg-skip-link:focus { top: 16px; }
.pg-main:focus { outline: none; }

/* Form fields — match the Contact page */
:where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="date"], select, textarea) {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid rgba(15, 21, 18, .25);
	border-radius: 0;
	background: var(--pg-white);
	color: var(--pg-black);
	font: inherit;
	font-size: 15px;
}
:where(textarea) { min-height: 140px; resize: vertical; }
:where(input, select, textarea):focus { border-color: var(--pg-black); outline: none; box-shadow: 0 0 0 3px rgba(239, 197, 197, .7); }
:where(label) { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }

/* Theme buttons (also used by WP core buttons) */
.pg-btn,
:where(button[type="submit"], input[type="submit"], .wp-block-button__link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--pg-blush);
	color: var(--pg-black);
	font-family: var(--pg-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .2em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s var(--pg-ease), color .25s var(--pg-ease), border-color .25s var(--pg-ease);
}
.pg-btn:hover,
:where(button[type="submit"], input[type="submit"], .wp-block-button__link):hover {
	background: var(--pg-black);
	color: var(--pg-white);
}

/* 3. Header ---------------------------------------------------------------- */
.pg-header {
	position: relative;
	z-index: 100;
	background: var(--pg-black);
	color: var(--pg-white);
	font-size: 14px;
	transition: background-color .3s var(--pg-ease), box-shadow .3s var(--pg-ease);
}
.pg-sticky-header .pg-header { position: sticky; top: 0; }
.admin-bar.pg-sticky-header .pg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.pg-sticky-header .pg-header { top: 0; } }

.pg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	padding: 20px var(--pg-inline);
}

.pg-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	color: inherit;
	text-decoration: none;
	flex: 0 0 auto;
}
.pg-logo:hover { color: inherit; }
.pg-logo__word {
	font-family: var(--pg-serif);
	font-size: 30px;
	font-weight: 500;
	letter-spacing: .22em;
	line-height: 1;
	margin-right: -.22em;
}
.pg-logo__img { height: 40px; width: auto; margin-bottom: 6px; }
.pg-logo--footer .pg-logo__img { height: 32px; margin: 0; }
.pg-logo--footer .pg-logo__word { font-size: 24px; }
.pg-logo__sub {
	display: block;
	margin-top: 6px;
	font-family: var(--pg-sans);
	font-size: 10px;
	letter-spacing: .3em;
	white-space: nowrap;
	margin-right: -.3em;
}

.pg-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.pg-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.pg-menu li { position: relative; }
.pg-menu a {
	display: inline-block;
	padding: 4px 0;
	font-size: 16px;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .2s var(--pg-ease), opacity .2s;
}
.pg-header .pg-menu a:hover { color: inherit; border-bottom-color: rgba(255, 255, 255, .5); }
.pg-menu .current-menu-item > a,
.pg-menu .current-menu-ancestor > a,
.pg-menu a[aria-current="page"] { border-bottom-color: currentColor; }

/* Dropdowns */
.pg-menu .sub-menu {
	list-style: none; margin: 0; padding: 12px 0;
	position: absolute; left: -16px; top: 100%; min-width: 220px;
	background: var(--pg-black); box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s var(--pg-ease), visibility .2s;
}
.pg-menu li:hover > .sub-menu,
.pg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pg-menu .sub-menu a { display: block; padding: 8px 16px; border: 0; }
.pg-menu .sub-menu a:hover { background: var(--pg-green); }

/* Desktop menu: a blush line on hover. Items without a dropdown get it under the link;
 * dropdowns carry it along their top edge (and are wide enough that links stay on one line). */
@media (min-width: 1181px) {
	.pg-header .pg-menu > li > a { position: relative; }
	.pg-header .pg-menu > li > a::after {
		content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
		background: var(--pg-blush); transform: scaleX(0); transform-origin: left center;
		transition: transform .25s var(--pg-ease);
	}
	.pg-header .pg-menu > li:not(.menu-item-has-children) > a:hover::after,
	.pg-header .pg-menu > li:not(.menu-item-has-children) > a:focus-visible::after { transform: scaleX(1); }
	.pg-header .pg-menu > li:not(.menu-item-has-children) > a:hover { border-bottom-color: transparent; }
	/* The current page (or the section you're in): the same pink line, always showing. */
	.pg-header .pg-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a { border-bottom-color: transparent; }
	.pg-header .pg-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a::after { transform: scaleX(1); }
	.pg-menu .sub-menu { min-width: 250px; border-top: 3px solid var(--pg-blush); }
	.pg-menu .sub-menu a { white-space: nowrap; }
}
@media (min-width: 1181px) and (prefers-reduced-motion: reduce) {
	.pg-header .pg-menu > li > a::after { transition: none; }
}

.pg-header__cta { flex: 0 0 auto; }
.pg-header__cta:hover { background: var(--pg-white); color: var(--pg-black); }
.pg-header__cta--mobile { display: none; }
.pg-header__book { display: none; }

.pg-nav-toggle {
	display: none;
	width: 44px; height: 44px; padding: 0; margin-left: auto;
	background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: inherit; cursor: pointer;
}
.pg-nav-toggle:hover { background: transparent; color: inherit; }
.pg-nav-toggle__bars, .pg-nav-toggle__bars::before, .pg-nav-toggle__bars::after {
	display: block; width: 20px; height: 1.5px; margin: 0 auto; background: currentColor; position: relative;
	transition: transform .25s var(--pg-ease), opacity .2s;
}
.pg-nav-toggle__bars::before, .pg-nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.pg-nav-toggle__bars::before { top: -6px; }
.pg-nav-toggle__bars::after { top: 6px; }
.pg-nav-open .pg-nav-toggle__bars { background: transparent; }
.pg-nav-open .pg-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.pg-nav-open .pg-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Transparent header template */
.pg-transparent-header .pg-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; }
.admin-bar.pg-transparent-header .pg-header { top: 32px; }
.pg-transparent-header .pg-header.pg-scrolled { background: var(--pg-black); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
@media (max-width: 782px) { .admin-bar.pg-transparent-header .pg-header { top: 46px; } .admin-bar.pg-transparent-header .pg-header.pg-scrolled { top: 0; } }

/* 4. Footer ---------------------------------------------------------------- */
.pg-footer { background: var(--pg-green); color: var(--pg-white); font-size: 13px; }
.pg-footer__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
	padding: 32px var(--pg-inline);
}
.pg-footer__nav .pg-menu a:hover { color: var(--pg-blush); }
.pg-footer__mid { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1 1 0; min-width: 0; }
/* Divider between footer links */
.pg-footer__nav .pg-menu { gap: 6px 37px; justify-content: center; }
.pg-footer__nav .pg-menu > li + li::before {
	content: ""; position: absolute; left: -19px; top: 50%; width: 1px; height: 16px;
	background: rgba(255, 255, 255, .35); transform: translateY(-50%);
}
.pg-footer__nav .pg-menu > li.pg-line-start::before { display: none; }
/* Social icons under the footer links */
.pg-footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pg-footer__social li { margin: 0; }
body .pg-footer .pg-footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--pg-white); transition: background-color .2s, color .2s; }
body .pg-footer .pg-footer__social a:hover,
body .pg-footer .pg-footer__social a:focus-visible { background: rgba(255, 255, 255, .12); color: var(--pg-blush); }
.pg-footer__social svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.pg-footer__tagline { font-size: 11px; letter-spacing: .25em; white-space: pre; }
.pg-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding: 16px var(--pg-inline) 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .65);
}
.pg-footer-extra { padding: 48px 0; }
.pg-footer-extra .widget-title { color: inherit; }

/* 5. Theme templates (non-Elementor pages, Journal) ------------------------ */
.pg-wrap { max-width: calc(var(--pg-max) + 2 * var(--pg-gutter)); margin: 0 auto; padding: 0 var(--pg-gutter); }

.pg-page__header, .pg-article__header, .pg-archive__header { padding: 64px var(--pg-inline) 40px; }
.pg-page__title, .pg-article__title { max-width: 900px; margin: 0; font-size: clamp(40px, 5.5vw, 64px); line-height: 1.02; }
.pg-article__lede, .pg-archive__desc { max-width: 620px; margin: 16px 0 0; font-size: 18px; color: var(--pg-muted); }
.pg-archive__header .pg-page__title { text-transform: none; }

.pg-article__image { max-width: var(--pg-max); margin: 0 auto 48px; padding: 0 var(--pg-gutter); box-sizing: content-box; }
.pg-article__image img { width: 100%; max-height: 620px; object-fit: cover; }

.pg-prose { max-width: 760px; margin: 0 auto; padding: 24px var(--pg-gutter) 72px; font-size: 17px; line-height: 1.75; }
.pg-page .pg-prose { max-width: none; padding-left: var(--pg-inline); padding-right: var(--pg-inline); }
.pg-page .pg-prose > * { max-width: 760px; }
.pg-prose h2 { font-size: 36px; margin-top: 1.4em; }
.pg-prose h3 { font-size: 26px; margin-top: 1.4em; }
.pg-prose a { color: var(--pg-push); }
.pg-prose blockquote {
	margin: 2em 0; padding: 0 0 0 24px; border-left: 3px solid var(--pg-blush);
	font-family: var(--pg-serif); font-size: 28px; line-height: 1.3;
}
.pg-prose ul, .pg-prose ol { padding-left: 1.3em; }
.pg-prose li { margin-bottom: .4em; }
.pg-prose img { margin: 2em 0; }
.pg-prose figcaption { font-size: 13px; color: var(--pg-muted); }

.pg-article__footer { border-top: 1px solid var(--pg-line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px var(--pg-inline); }
.post-navigation a { text-decoration: none; display: block; }
.post-navigation .nav-next { text-align: right; }
.pg-card-title { display: block; font-family: var(--pg-serif); font-size: 24px; line-height: 1.2; }

.pg-grid { display: grid; gap: 20px; }
.pg-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.pg-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #8C5A48, #2A1F1A); }
.pg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pg-ease); }
.pg-card:hover .pg-card__media img { transform: scale(1.03); }
.pg-card__placeholder { display: block; width: 100%; height: 100%; }
.pg-card__body { padding: 16px 16px 20px; }
.pg-card__title { font-size: 24px; margin: 0 0 6px; }
.pg-card__title a { text-decoration: none; }
.pg-card__body p { font-size: 14px; color: var(--pg-muted); margin: 0 0 12px; }

.navigation.pagination { margin-top: 48px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; text-decoration: none; font-size: 13px; letter-spacing: .1em; border: 1px solid var(--pg-line); }
.page-numbers.current { background: var(--pg-black); color: var(--pg-white); border-color: var(--pg-black); }

.pg-search { display: flex; gap: 8px; max-width: 520px; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.pg-comments { padding-top: 0; }
.pg-comment-list { list-style: none; padding: 0; }
.pg-comment-list .comment-body { padding: 20px 0; border-bottom: 1px solid var(--pg-line); }

/* 6. Utility classes for Elementor ------------------------------------------
   Add under Advanced > CSS Classes. Each class works on a plain element and
   on Elementor's wrappers (heading title, text editor, button).
   -------------------------------------------------------------------------- */

/* Sections / containers */
.pg-section { padding: 56px var(--pg-inline); }
.pg-section-lg { padding: 88px var(--pg-inline); }
.pg-dark { background-color: var(--pg-green); color: var(--pg-white); }
.pg-black { background-color: var(--pg-black); color: var(--pg-white); }
.pg-sand { background-color: var(--pg-sand); }
.pg-stone { background-color: var(--pg-stone); }
.pg-dark :where(h1, h2, h3, h4, p, a, .elementor-heading-title),
.pg-black :where(h1, h2, h3, h4, p, a, .elementor-heading-title) { color: inherit; }

/* Heroes: set a background image on the container; the overlay is added here. */
.pg-hero {
	position: relative;
	isolation: isolate;
	padding: 72px var(--pg-inline) 88px;
	background-color: var(--pg-black);
	background-size: cover;
	background-position: center;
	color: var(--pg-white);
}
.pg-hero::before {
	content: '';
	position: absolute; inset: 0; z-index: -1;
	background: var(--pg-overlay);
	pointer-events: none;
}
.pg-hero.pg-hero--soft::before { background: var(--pg-overlay-soft); }
.pg-hero.pg-hero--solid { background: linear-gradient(90deg, var(--pg-black) 38%, #7A4A3A); }
.pg-hero.pg-hero--solid::before { display: none; }
.pg-hero :where(h1, .elementor-heading-title) { color: inherit; }
.pg-hero h1,
.pg-hero .pg-hero-title,
.pg-hero .pg-hero-title .elementor-heading-title {
	max-width: 640px;
	margin: 0;
	font-size: clamp(44px, 6vw, 72px);
	line-height: 1;
	text-transform: uppercase;
}
.pg-hero p { max-width: 480px; margin: 20px 0 28px; }
.pg-hero .elementor-widget-text-editor p { margin: 0; }
/* Elementor's own background overlay sits above ::before; that is fine too. */
.pg-hero > .elementor-background-overlay ~ * { position: relative; }

.pg-hero-light { background-color: var(--pg-stone); color: var(--pg-black); }
.pg-hero-light.pg-hero { padding: 40px var(--pg-inline); min-height: 300px; display: flex; flex-direction: column; justify-content: center; background-color: var(--pg-stone); background-position: right center; background-repeat: no-repeat; }
.pg-hero-light.pg-hero::before { display: none; }
.pg-hero-light .pg-hero-title .elementor-heading-title,
.pg-hero-light h1 { font-size: clamp(40px, 5vw, 52px); }

/* Quiz call-out strip */
.pg-quiz-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
	padding: 28px var(--pg-inline);
	background-color: var(--pg-sand);
	border-bottom: 1px solid rgba(15, 21, 18, .13);
}
.pg-quiz-bar :where(h2, .elementor-heading-title) { font-size: 34px; line-height: 1.1; margin: 0 0 4px; }
.pg-quiz-bar .pg-eyebrow, .pg-quiz-bar .pg-eyebrow .elementor-heading-title { color: var(--pg-push); margin: 0 0 6px; }

/* Typography helpers */
.pg-eyebrow,
.pg-eyebrow .elementor-heading-title,
.pg-eyebrow.elementor-widget-text-editor {
	font-family: var(--pg-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .25em;
	line-height: 1.6;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.pg-eyebrow .elementor-heading-title { margin: 0; }
.pg-eyebrow p { margin: 0; }

.pg-section-title,
.pg-section-title .elementor-heading-title {
	font-family: var(--pg-serif);
	font-weight: 500;
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1.1;
	margin: 0 0 16px;
}
.pg-section-title .elementor-heading-title { margin: 0; }

.pg-hero-title .elementor-heading-title { font-family: var(--pg-serif); font-weight: 500; }

.pg-lede, .pg-lede p { font-size: 18px; line-height: 1.6; max-width: 760px; }
.pg-muted, .pg-muted p { color: var(--pg-muted); }

.pg-quote,
.pg-quote .elementor-heading-title,
.pg-quote p {
	font-family: var(--pg-serif);
	font-weight: 500;
	font-size: clamp(26px, 3.2vw, 36px);
	line-height: 1.25;
	text-align: center;
}
.pg-quote { padding: 48px var(--pg-inline); }
.elementor-widget.pg-quote { padding: 0; }

.pg-card-title-sm .elementor-heading-title { font-family: var(--pg-serif); font-size: 24px; font-weight: 500; line-height: 1.2; }

/* Cards */
.pg-card { background-color: var(--pg-sand); }
.e-con.pg-card { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; overflow: hidden; }
.pg-card > .pg-card-body, .e-con .pg-card-body { padding: 16px 16px 20px; }
.pg-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pg-card .elementor-widget-text-editor { font-size: 14px; color: var(--pg-muted); }

/* Photo with a small uppercase caption in the corner */
.pg-photo { position: relative; background-size: cover; background-position: center; min-height: 380px; }
.pg-photo-label {
	position: absolute; left: 8px; bottom: 8px;
	color: var(--pg-white); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
}

/* Pillars: Push / Practice / Pause */
.pg-pillar { --pg-c: var(--pg-black); border-top: 10px solid var(--pg-c) !important; padding-top: 36px; }
.pg-push { --pg-c: var(--pg-push); }
.pg-practice { --pg-c: var(--pg-practice); }
.pg-pause { --pg-c: var(--pg-pause); }
.pg-pillar :where(h2, h3, .elementor-heading-title) { color: var(--pg-c); }
.pg-pillar.pg-practice :where(h2, h3, .elementor-heading-title) { color: var(--pg-black); }
.pg-pillar .pg-eyebrow, .pg-pillar .pg-eyebrow .elementor-heading-title { color: var(--pg-c); }
.pg-pillar.pg-practice .pg-eyebrow, .pg-pillar.pg-practice .pg-eyebrow .elementor-heading-title { color: var(--pg-practice-ink); }
.pg-pillar-title .elementor-heading-title, .pg-pillar h2 { font-family: var(--pg-serif); font-size: clamp(52px, 6vw, 68px); line-height: 1; font-weight: 500; }
.pg-pillar-list, .pg-pillar-list p {
	font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 2;
	padding-top: 20px; border-top: 1px solid rgba(15, 21, 18, .2);
}
.pg-pillar-list p { padding: 0; border: 0; margin: 0; }
/* Filled pillar panels (for a dark photo panel version) */
.pg-panel { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 420px; padding: 32px; color: var(--pg-white); background-size: cover; background-position: center; }
.pg-panel.pg-push { background-image: linear-gradient(rgba(150, 25, 20, .5), rgba(40, 8, 6, .92)), var(--pg-panel-img, none); }
.pg-panel.pg-practice { background-image: linear-gradient(rgba(150, 80, 20, .5), rgba(40, 22, 8, .92)), var(--pg-panel-img, none); }
.pg-panel.pg-pause { background-image: linear-gradient(rgba(90, 75, 25, .5), rgba(30, 25, 8, .92)), var(--pg-panel-img, none); }
.pg-panel :where(h2, h3, p, .elementor-heading-title) { color: inherit; }

/* Labels */
.pg-tag, .pg-tag .elementor-heading-title, .pg-tag p {
	display: inline-block;
	padding: 4px 10px;
	background: var(--pg-blush);
	color: var(--pg-black);
	font-family: var(--pg-sans);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .2em;
	line-height: 1.6;
	text-transform: uppercase;
	margin: 0 0 8px;
}
.pg-tag .elementor-heading-title, .pg-tag p { margin: 0; }
.elementor-widget.pg-tag { padding: 0; background: none; }
.pg-tag-dark, .pg-tag-dark .elementor-heading-title { background: var(--pg-black); color: var(--pg-white); }

/* Buttons. Plain elements use .pg-btn; Elementor Button widgets take a modifier class. */
.pg-btn-dark .elementor-button, .pg-btn.pg-btn-dark { background: var(--pg-black); color: var(--pg-white); border-color: var(--pg-black); }
.pg-btn-dark .elementor-button:hover, .pg-btn.pg-btn-dark:hover { background: var(--pg-blush); color: var(--pg-black); border-color: var(--pg-blush); }

.pg-btn-blush .elementor-button { background: var(--pg-blush); color: var(--pg-black); }
.pg-btn-blush .elementor-button:hover { background: var(--pg-black); color: var(--pg-white); }

.pg-btn-outline .elementor-button, .pg-btn.pg-btn-outline { background: transparent; color: var(--pg-black); border: 1px solid var(--pg-black); }
.pg-btn-outline .elementor-button:hover, .pg-btn.pg-btn-outline:hover { background: var(--pg-black); color: var(--pg-white); }

.pg-btn-outline-light .elementor-button, .pg-btn.pg-btn-outline-light { background: transparent; color: var(--pg-white); border: 1px solid var(--pg-white); }
.pg-btn-outline-light .elementor-button:hover, .pg-btn.pg-btn-outline-light:hover { background: var(--pg-white); color: var(--pg-black); }

.pg-btn-full .elementor-button, .pg-btn.pg-btn-full { width: 100%; }

:is(.pg-btn-dark, .pg-btn-blush, .pg-btn-outline, .pg-btn-outline-light) .elementor-button {
	border-radius: 0;
	min-height: 44px;
	font-family: var(--pg-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	transition: background-color .25s var(--pg-ease), color .25s var(--pg-ease), border-color .25s var(--pg-ease);
}

/* Text link: "LEARN MORE →" */
.pg-link,
.pg-link .elementor-button,
.pg-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	min-height: 0;
	background: none;
	border: 0;
	color: var(--pg-black);
	font-family: var(--pg-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
}
.pg-link::after, .pg-link .elementor-button-text::after, .pg-link a::after { content: '→'; letter-spacing: 0; transition: transform .25s var(--pg-ease); }
.pg-link:hover, .pg-link .elementor-button:hover, .pg-link a:hover { background: none; color: var(--pg-push); }
.pg-link:hover::after, .pg-link .elementor-button:hover .elementor-button-text::after, .pg-link a:hover::after { transform: translateX(4px); }
.pg-dark .pg-link :where(a, .elementor-button), .pg-black .pg-link :where(a, .elementor-button), .pg-hero .pg-link :where(a, .elementor-button) { color: var(--pg-white); }
.pg-link.no-arrow::after, .pg-link.no-arrow .elementor-button-text::after, .pg-link.no-arrow a::after { content: none; }

/* Price (Memberships) */
.pg-price, .pg-price .elementor-heading-title { font-family: var(--pg-serif); font-size: 56px; font-weight: 500; line-height: 1; }
.pg-price small, .pg-price-unit { font-family: var(--pg-sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--pg-muted); }
.pg-plan { background: var(--pg-white); border: 1px solid var(--pg-line); padding: 28px; }
.pg-plan.pg-plan--featured { background: var(--pg-black); color: var(--pg-white); border-color: var(--pg-black); }
.pg-plan.pg-plan--featured :where(h2, h3, p, li, .elementor-heading-title, .pg-price-unit) { color: inherit; }

/* Check / tick list (Icon List widget or a plain ul) */
.pg-ticks ul, ul.pg-ticks { list-style: none; padding: 0; margin: 0; }
.pg-ticks li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px solid var(--pg-line); font-size: 15px; }
.pg-ticks li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.pg-ticks.elementor-widget-icon-list li::before { content: none; }

/* Timetable cells */
.pg-tt-push, .pg-tt-practice, .pg-tt-pause, .pg-tt-other { padding: 8px; font-size: 13px; line-height: 1.4; }
.pg-tt-push { background-color: var(--pg-tt-push); }
.pg-tt-practice { background-color: var(--pg-tt-practice); }
.pg-tt-pause { background-color: var(--pg-tt-pause); }
.pg-tt-other { background-color: var(--pg-tt-other); }
.pg-tt-push b, .pg-tt-practice b, .pg-tt-pause b, .pg-tt-other b { display: block; font-weight: 600; }
.pg-tt-day, .pg-tt-day .elementor-heading-title { text-align: center; font-family: var(--pg-serif); font-size: 22px; font-weight: 500; padding: 8px; }
.pg-tt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pg-tt-scroll > .e-con-inner, .pg-tt-scroll > .pg-tt-grid { min-width: 1100px; }

/* Event date block */
.pg-date { align-self: flex-start; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 84px; padding: 12px; background: var(--pg-black); color: var(--pg-white); text-align: center; }
.pg-date strong, .pg-date .pg-date-day { font-family: var(--pg-serif); font-size: 44px; line-height: 1; font-weight: 500; }
.pg-date p { margin: 0; }
.pg-date strong, .pg-date span { display: block; }
.pg-date span, .pg-date .pg-date-month { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; }

/* Accent rules */
.pg-rule-top { border-top: 1px solid var(--pg-line); }
.pg-rule-bottom { border-bottom: 1px solid var(--pg-line); }

/* Hover lift for cards or images */
.pg-zoom { overflow: hidden; }
.pg-zoom img { transition: transform .6s var(--pg-ease); }
.pg-zoom:hover img { transform: scale(1.03); }

/* 7. Elementor tweaks ------------------------------------------------------- */
.pg-elementor-content { overflow-x: clip; }
/* Elementor forms pick up the theme field style */
.elementor-form .elementor-field-group .elementor-field-textual { border-radius: 0; border-color: rgba(15, 21, 18, .25); background: var(--pg-white); min-height: 48px; font-family: var(--pg-sans); }
.elementor-form .elementor-field-group .elementor-field-textual:focus { border-color: var(--pg-black); box-shadow: 0 0 0 3px rgba(239, 197, 197, .7); }
.elementor-form .elementor-field-label { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
/* Accordion / toggle (FAQs) */
.elementor-widget-accordion .elementor-tab-title, .elementor-widget-toggle .elementor-tab-title { font-family: var(--pg-serif); }
/* Testimonial quotes */
.elementor-testimonial-content { font-family: var(--pg-serif); font-size: 26px; line-height: 1.3; }

/* 8. Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
	:root { --pg-header-h: 76px; }
	.pg-header__inner { flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
	.pg-nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 2; }
	.pg-header > .pg-header__inner > .pg-header__cta { order: 1; margin-left: auto; }
	.pg-header > .pg-header__inner > .pg-nav-toggle { margin-left: 0; }
	/* The open menu is its own full-screen panel under the header bar: it scrolls by itself
	   and the page behind stays still (see nav.js). */
	.pg-nav {
		position: fixed; left: 0; right: 0; top: var(--pg-nav-top, var(--pg-header-h)); bottom: 0; z-index: 99;
		display: none;
		flex-direction: column; align-items: stretch; justify-content: flex-start;
		padding: 8px var(--pg-gutter) calc(32px + env(safe-area-inset-bottom, 0px));
		background: var(--pg-black);
		border-top: 1px solid rgba(255, 255, 255, .12);
		overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
	}
	.pg-nav-open .pg-nav { display: flex; animation: pg-nav-in .25s var(--pg-ease) both; }
	@keyframes pg-nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
	.pg-nav .pg-menu { flex-direction: column; flex-wrap: nowrap; gap: 0; }
	.pg-nav .pg-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.pg-nav .pg-menu a { display: block; padding: 18px 0; font-size: 22px; line-height: 1.2; letter-spacing: .01em; border-bottom: 0; }
	.pg-nav .pg-menu a:hover, .pg-nav .pg-menu a:focus { border-bottom: 0; color: var(--pg-blush); }
	.pg-nav .pg-menu a[aria-current="page"], .pg-nav .current-menu-item > a { color: var(--pg-blush); }
	.pg-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: -6px 0 14px; padding: 0 0 0 16px; border-left: 1px solid rgba(255, 255, 255, .18); background: transparent; }
	.pg-nav .pg-menu .sub-menu a { padding: 9px 0; font-size: 16px; color: rgba(255, 255, 255, .78); }
	.pg-nav .pg-menu .sub-menu a:hover { background: transparent; color: var(--pg-blush); }
	/* While the menu is open the page can't be reached behind it; stop scrolls passing through. */
	html.pg-nav-lock { overscroll-behavior: none; }
	.pg-transparent-header .pg-nav-open .pg-header, .pg-transparent-header.pg-nav-open .pg-header { background: var(--pg-black); }
}

@media (max-width: 767px) {
	:root { --pg-gutter: 20px; }
	.pg-header > .pg-header__inner > .pg-header__cta { display: none; }
	/* Phones: a compact Book button beside the menu button. */
	.pg-header__inner { flex-wrap: nowrap; column-gap: 12px; }
	.pg-header .pg-logo { min-width: 0; flex: 0 1 auto; }
	.pg-header > .pg-header__inner > .pg-header__book { display: inline-flex; align-items: center; flex: none; order: 1; margin: 0 0 0 auto; padding: 9px 16px; min-height: 40px; font-size: 13px; letter-spacing: .08em; }
	.pg-header > .pg-header__inner > .pg-nav-toggle { flex: none; margin-left: 0; }
	.pg-header__book:hover { background: var(--pg-white); color: var(--pg-black); }
	.pg-header__cta--mobile { display: flex; justify-content: center; flex: none; margin-top: 28px; padding-top: 18px; padding-bottom: 18px; }
	.pg-logo__word { font-size: 24px; }
	.pg-logo__img { height: 32px; }
	.pg-logo__sub { font-size: 8px; }
	.pg-hero { padding: 56px var(--pg-inline) 64px; }
	.pg-section { padding: 40px var(--pg-inline); }
	.pg-section-lg { padding: 56px var(--pg-inline); }
	.pg-quiz-bar :where(h2, .elementor-heading-title) { font-size: 28px; }
	.pg-footer__inner { flex-direction: column; align-items: flex-start; }
	.pg-footer__nav .pg-menu { gap: 8px 29px; justify-content: flex-start; }
	.pg-footer__nav .pg-menu > li + li::before { left: -15px; }
	.pg-footer__mid { align-items: flex-start; flex: none; }
	.pg-footer__social { justify-content: flex-start; margin-left: -8px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.pg-photo { min-height: 260px; }
}

/* 9. Per-page header (set in the "Pilgrim page header" box) ---------------- */
.pg-page-hero { display: flex; flex-direction: column; justify-content: center; }
.pg-page-hero__inner { width: 100%; }
.pg-page-hero .pg-eyebrow { margin-bottom: 16px; }
.pg-page-hero__title {
	max-width: 760px;
	margin: 0;
	font-family: var(--pg-serif);
	font-weight: 500;
	font-size: clamp(44px, 6vw, 72px);
	line-height: 1;
	text-transform: uppercase;
	color: inherit;
}
.pg-page-hero__text { max-width: 560px; margin: 24px 0 0; font-size: 18px; line-height: 1.6; }
.pg-page-hero__actions { margin: 32px 0 0; }
.pg-hero-light.pg-page-hero .pg-page-hero__title { font-size: clamp(40px, 5vw, 60px); max-width: 600px; }
.pg-hero-light.pg-page-hero .pg-page-hero__text { max-width: 440px; color: var(--pg-muted); }
.pg-hero-light.pg-page-hero .pg-btn { background: var(--pg-black); color: var(--pg-white); }
.pg-hero-light.pg-page-hero .pg-btn:hover { background: var(--pg-blush); color: var(--pg-black); }
/* Photo on the right only fills the right part of a light header */
.pg-article__meta-bar { max-width: 760px; margin: 0 auto; padding: 32px var(--pg-gutter) 0; }
@media (max-width: 767px) {
	.pg-page-hero__text { font-size: 16px; }
	.pg-hero-light.pg-page-hero[style*="background-image"]::before { display: block; background: linear-gradient(90deg, rgba(245, 243, 238, .95) 40%, rgba(245, 243, 238, .6)); }
}

/* 10. Keep header and footer white ---------------------------------------
   Elementor's Site Settings print global link/button colours
   (".elementor-kit-N a { color }") on some pages. These rules are more
   specific so the header and footer always stay white.
   -------------------------------------------------------------------------- */
body .pg-header,
body .pg-footer { color: var(--pg-white); }
body .pg-header a:not(.pg-btn),
body .pg-header a:not(.pg-btn):visited,
body .pg-footer a:not(.pg-btn),
body .pg-footer a:not(.pg-btn):visited,
body .pg-header .pg-logo,
body .pg-footer .pg-logo { color: var(--pg-white); background: none; }
body .pg-header .pg-menu a:hover,
body .pg-header .pg-menu a:focus { color: var(--pg-white); }
body .pg-footer a:not(.pg-btn):hover,
body .pg-footer a:not(.pg-btn):focus { color: var(--pg-blush); }
body .pg-header .pg-logo:hover,
body .pg-footer .pg-logo:hover { color: var(--pg-white); opacity: .85; }
.pg-logo__img--white { filter: brightness(0) invert(1); }

body .pg-btn,
body .pg-btn:visited { background: var(--pg-blush); color: var(--pg-black); }
body .pg-btn:hover,
body .pg-btn:focus-visible { background: var(--pg-black); color: var(--pg-white); }
body .pg-header .pg-btn:hover,
body .pg-header .pg-btn:focus-visible { background: var(--pg-white); color: var(--pg-black); }
body .pg-btn.pg-btn-dark { background: var(--pg-black); color: var(--pg-white); }
body .pg-btn.pg-btn-dark:hover { background: var(--pg-blush); color: var(--pg-black); }
body .pg-btn.pg-btn-outline { background: transparent; color: var(--pg-black); }
body .pg-btn.pg-btn-outline:hover { background: var(--pg-black); color: var(--pg-white); }
body .pg-btn.pg-btn-outline-light { background: transparent; color: var(--pg-white); }
body .pg-btn.pg-btn-outline-light:hover { background: var(--pg-white); color: var(--pg-black); }

body .pg-header .pg-nav-toggle {
	padding: 0; min-height: 0; background: transparent; color: var(--pg-white);
	border: 1px solid rgba(255, 255, 255, .35); border-radius: 0;
}
body .pg-header .pg-nav-toggle:hover { background: rgba(255, 255, 255, .08); color: var(--pg-white); }

/* Footer widget area (Appearance > Widgets > Footer extra) */
.pg-footer-extra .pg-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.pg-footer-extra .widget-title, .pg-footer-extra h2 { font-family: var(--pg-sans); font-size: 12px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; margin: 0 0 12px; }
.pg-footer-extra ul { list-style: none; margin: 0; padding: 0; }
.pg-footer-extra li { padding: 3px 0; font-size: 14px; }
body .pg-footer-extra a { color: var(--pg-white); text-decoration: none; }
body .pg-footer-extra a:hover { color: var(--pg-blush); }

/* 11. Page header heights ---------------------------------------------------
   More specific than the hero styles so the Height setting always applies. */
.pg-hero.pg-page-hero { min-height: 0; padding-top: 72px; padding-bottom: 72px; }
.pg-hero.pg-page-hero.pg-page-hero--short { min-height: 320px; padding-top: 48px; padding-bottom: 48px; }
.pg-hero.pg-page-hero.pg-page-hero--standard { min-height: 480px; }
.pg-hero.pg-page-hero.pg-page-hero--tall { min-height: 680px; }
.pg-hero.pg-page-hero.pg-page-hero--screen { min-height: calc(100vh - var(--pg-header-h)); min-height: calc(100svh - var(--pg-header-h)); }
.admin-bar .pg-hero.pg-page-hero.pg-page-hero--screen { min-height: calc(100vh - var(--pg-header-h) - 32px); }
.pg-transparent-header .pg-hero.pg-page-hero { padding-top: calc(var(--pg-header-h) + 72px); }
.pg-transparent-header .pg-hero.pg-page-hero.pg-page-hero--screen { min-height: 100vh; min-height: 100svh; }
/* Light style: photo fills the right-hand side at any height */
.pg-hero.pg-page-hero.pg-hero-light[style*="background-image"] { background-size: auto 100%; background-repeat: no-repeat; background-color: var(--pg-stone); }
@media (max-width: 767px) {
	.pg-hero.pg-page-hero { padding-top: 48px; padding-bottom: 48px; }
	.pg-hero.pg-page-hero.pg-page-hero--short { min-height: 240px; }
	.pg-hero.pg-page-hero.pg-page-hero--standard { min-height: 380px; }
	.pg-hero.pg-page-hero.pg-page-hero--tall { min-height: 520px; }
	.pg-hero.pg-page-hero.pg-hero-light[style*="background-image"] { background-size: cover; }
}

/* 12. Elementor content follows the content width ---------------------------
   Every top-level item on an Elementor page (containers, sections, and the
   new editor's headings, paragraphs, div blocks...) keeps its background edge
   to edge, while its content lines up with the header at the content width.
   Add the class "pg-edge" to an item to let its content run edge to edge.
   Covers the Pilgrim templates, WordPress's default template and Elementor's
   own "Full Width" layout (anything inside the theme's <main>). */
body .pg-main > [data-elementor-type] > :not(.pg-edge),
body .pg-main > .pg-elementor-content > [data-elementor-type] > :not(.pg-edge),
body .pg-main > [data-elementor-type] > .elementor-section-wrap > :not(.pg-edge),
body .pg-main > .pg-elementor-content > [data-elementor-type] > .elementor-section-wrap > :not(.pg-edge) {
	box-sizing: border-box;
	padding-inline-start: max(var(--padding-left, 0px), var(--pg-inline));
	padding-inline-end: max(var(--padding-right, 0px), var(--pg-inline));
}
body .pg-main > [data-elementor-type] > .elementor-section-wrap,
body .pg-main > .pg-elementor-content > [data-elementor-type] > .elementor-section-wrap { padding: 0; }
/* Boxed containers and sections use the theme content width */
body .pg-main .e-con { --container-max-width: var(--pg-max); }
body .pg-main .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--pg-max); }

/* Logo is exactly as wide as the "HOT YOGA + PILATES" line under it (as in the design) */
.pg-logo--header .pg-logo__img { width: 0; min-width: 100%; height: auto; max-height: none; margin: 0 0 6px; }
.pg-logo--footer .pg-logo__img { height: 32px; width: auto; }

/* Light page header: photo fills the banner and fades into the stone background behind the text */
.pg-hero.pg-page-hero.pg-hero-light[style*="background-image"] { background-size: cover; }
.pg-hero.pg-page-hero.pg-hero-light[style*="background-image"]::before {
	display: block;
	background: linear-gradient(90deg, var(--pg-stone) 30%, rgba(245, 243, 238, .85) 45%, rgba(245, 243, 238, 0) 70%);
}
@media (max-width: 767px) {
	.pg-hero.pg-page-hero.pg-hero-light[style*="background-image"]::before { background: rgba(245, 243, 238, .82); }
}

/* 13. Headings ---------------------------------------------------------------
   Elementor's Site Settings style every h1–h6 on the site. The theme's own
   titles and the pg- utility classes keep their designed sizes; the "html"
   prefix makes them win over those site-wide heading styles. */
html body .pg-page-hero__title { font-size: clamp(44px, 6vw, 72px); line-height: 1; text-transform: uppercase; letter-spacing: 0; }
html body .pg-hero-light.pg-page-hero .pg-page-hero__title { font-size: clamp(40px, 5vw, 52px); }
html body .pg-page__title, html body .pg-article__title { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.02; letter-spacing: 0; }
html body .pg-page__title, html body .pg-article__title, html body .pg-archive__header .pg-page__title { text-transform: none; }
html body .pg-prose h2 { font-size: 36px; }
html body .pg-prose h3 { font-size: 26px; }
html body .pg-card__title { font-size: 24px; text-transform: none; }
html body .pg-hero-light h1 { font-size: clamp(40px, 5vw, 52px); }
html body .pg-quiz-bar :is(h2, .elementor-heading-title) { font-size: 34px; line-height: 1.1; text-transform: none; }
html body .pg-pillar :is(h2, .pg-pillar-title .elementor-heading-title) { font-size: clamp(52px, 6vw, 68px); line-height: 1; }
html body .pg-footer-extra :is(h2, h3, .widget-title) { font-family: var(--pg-sans); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; }
/* Utility classes placed straight on a heading (e.g. in Elementor's newer editor) */
html body :is(h1, h2, h3, h4, h5, h6).pg-eyebrow { font-family: var(--pg-sans); font-size: 12px; font-weight: 500; letter-spacing: .25em; line-height: 1.6; text-transform: uppercase; }
html body :is(h1, h2, h3, h4, h5, h6).pg-section-title { font-family: var(--pg-serif); font-size: clamp(34px, 4vw, 48px); line-height: 1.1; text-transform: none; letter-spacing: 0; }
html body :is(h1, h2, h3, h4, h5, h6).pg-hero-title { font-family: var(--pg-serif); font-size: clamp(44px, 6vw, 72px); line-height: 1; text-transform: uppercase; }
html body :is(h1, h2, h3, h4, h5, h6).pg-quote { font-family: var(--pg-serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; text-transform: none; }
html body :is(h1, h2, h3, h4, h5, h6).pg-price { font-family: var(--pg-serif); font-size: 56px; line-height: 1; text-transform: none; }
html body :is(h1, h2, h3, h4, h5, h6).pg-tag { font-family: var(--pg-sans); font-size: 10px; letter-spacing: .2em; line-height: 1.6; text-transform: uppercase; }
/* Classic Heading widget: H5/H6 use the body font (Elementor otherwise applies the Primary heading font) */
.elementor-widget-heading :is(h5, h6).elementor-heading-title { font-family: var(--pg-sans); }
/* Headings inside dark Pilgrim sections stay readable */
:is(.pg-dark, .pg-black, .pg-hero:not(.pg-hero-light), .pg-plan--featured) .elementor-widget-heading .elementor-heading-title { color: inherit; }
@media (max-width: 767px) {
	html .pg-quiz-bar :is(h2, .elementor-heading-title) { font-size: 28px; }
	html .pg-prose h2 { font-size: 30px; }
}

/* 14. Button variants win over Elementor's site-wide button colours ----------
   Only buttons given one of these classes change; everything else is the
   default solid pink. In the newer editor put the class on the Button itself. */
body .pg-btn-dark .elementor-button, body .elementor .pg-btn-dark.e-button-base { background: var(--pg-black); color: var(--pg-white); border: 0; }
body .pg-btn-dark .elementor-button:hover, body .elementor .pg-btn-dark.e-button-base:hover { background: var(--pg-blush); color: var(--pg-black); }
body .pg-btn-outline .elementor-button, body .elementor .pg-btn-outline.e-button-base { background: transparent; color: var(--pg-black); border: 1px solid var(--pg-black); }
body .pg-btn-outline .elementor-button:hover, body .elementor .pg-btn-outline.e-button-base:hover { background: var(--pg-black); color: var(--pg-white); }
body .pg-btn-outline-light .elementor-button, body .elementor .pg-btn-outline-light.e-button-base { background: transparent; color: var(--pg-white); border: 1px solid var(--pg-white); }
body .pg-btn-outline-light .elementor-button:hover, body .elementor .pg-btn-outline-light.e-button-base:hover { background: var(--pg-white); color: var(--pg-black); }
.elementor-button, .elementor-button:hover, .elementor .e-button-base { text-decoration: none; }

/* Odd and even weeks (Timetable): only the week being shown is visible; This week / Next week switch. */
[data-week="odd"] [data-pgw="even"], [data-week="even"] [data-pgw="odd"] { display: none !important; }
.pg-weekbar { display: inline-flex; gap: 0; margin: 0 0 18px; border: 1px solid var(--pg-black); }
.pg-weekbar[hidden] { display: none; }
html body .pg-weekbar button {
	min-height: 40px; margin: 0; padding: 8px 18px; border: 0; border-radius: 0;
	background: transparent; color: var(--pg-black);
	font-family: var(--pg-sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
}
html body .pg-weekbar button + button { border-left: 1px solid var(--pg-black); }
html body .pg-weekbar button[aria-pressed="true"] { background: var(--pg-black); color: var(--pg-white); }
html body .pg-weekbar button:hover:not([aria-pressed="true"]) { background: rgba(15, 21, 18, .06); }
.pgt-table td > .pgt-wk { height: 100%; }

/* Page header: video or slideshow banner (Pilgrim page header → Banner) */
.pg-page-hero--media { overflow: hidden; }
.pg-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: transparent; }
.pg-hero-media__track { display: flex; width: 100%; height: 100%; transition: transform .8s var(--pg-ease); will-change: transform; }
.pg-hero-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.pg-hero-video, html body .pg-hero-img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; border-radius: 0; }
/* The still picture shows first; the video sits on top and fades in once it's actually playing. */
.pg-hero-still-wrap { display: contents; }
.pg-hero-slide--video .pg-hero-still { position: absolute; inset: 0; }
.pg-hero-slide--video .pg-hero-still ~ .pg-hero-video, .pg-hero-slide--video .pg-hero-still-wrap ~ .pg-hero-video { position: relative; opacity: 0; transition: opacity .6s ease; }
.pg-hero-slide--video .pg-hero-video.is-playing { opacity: 1; }
.pg-page-hero--media:has([data-slides]) { touch-action: pan-y; cursor: grab; user-select: none; }
.pg-page-hero--media:has([data-slides]):active { cursor: grabbing; }
.pg-page-hero--notext { padding: 0 !important; }
.pg-page-hero--notext.pg-page-hero--short { min-height: 320px; }
.pg-hero-controls { position: absolute; right: var(--pg-inline); bottom: 22px; z-index: 1; display: flex; align-items: center; gap: 14px; }
.pg-hero-dots { display: flex; gap: 8px; }
html body .pg-hero-dot {
	width: 10px; height: 10px; min-height: 0; padding: 0; border: 1px solid var(--pg-white); border-radius: 50%;
	background: transparent; cursor: pointer; transition: background-color .2s;
}
html body .pg-hero-dot[aria-current="true"] { background: var(--pg-white); }
html body .pg-hero-pause {
	position: relative; width: 32px; height: 32px; min-height: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%;
	background: rgba(15, 21, 18, .25); color: var(--pg-white); cursor: pointer;
}
.pg-hero-pause span { position: absolute; inset: 0; margin: auto; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.pg-hero-pause[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 12px; }
html body :is(.pg-hero-dot, .pg-hero-pause):hover { background: rgba(255, 255, 255, .35); }
html body :is(.pg-hero-dot, .pg-hero-pause):focus-visible { outline: 2px solid var(--pg-blush); outline-offset: 3px; }
@media (max-width: 767px) {
	.pg-hero-controls { right: var(--pg-gutter); bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.pg-hero-media__track { transition: none; }
}
