/* ==========================================================================
   Home — the Elementor version, matched to front-page.php
   Loaded only on the page whose _pp_el_css is "home", after every other sheet.

   The page's elements carry the template's own classes, so base.css, styles.css
   and v4.css still do the styling. What does not survive is the set Elementor
   writes for every container, after and at the same or higher specificity than
   a single theme class:

     .elementor .e-div-block-base  { padding:10px; display:block; min-width:30px }
     .e-con            { position; width:100%; min-width; min-height; height;
                         overflow; z-index; border-radius; margin; padding-inline }
     .elementor-element { flex-grow / flex-shrink / flex-basis / align-self / order }
     .e-con:before      { content; position:absolute; width; height; display }
     .elementor .e-button-base { blue background; no border; 2px radius;
                         display:inline-block }
     .elementor img     { height:auto; box-shadow:none }

   Each rule below restores one theme rule and names it. Nothing here restyles.
   ========================================================================== */

/* --- shared: the content column ---------------------------------------- */

/* v4.css:282-287 — sections keep full-bleed backgrounds; the inline padding
   grows so the content centres past 1200px. --pp-pad-x still comes from
   v4.css:273-276 on the same classes. */
body .elementor .intro__welcome,
body .elementor .plan,
body .elementor .spotlight,
body .elementor .facts,
body .elementor .member-band,
body .elementor .events-band {
	padding-inline: max( var(--pp-pad-x, var(--page-margin)), calc( (100% - var(--content-max)) / 2 ) );
}

/* spec-fixes.css:104-109 (T-07) — `img.attachment-pp-band` caps the full-bleed
   photos at 1920px, centred. The Elementor <img> has no attachment-* class. */
body .elementor .intro__bg img,
body .elementor .member-band__bg img,
body .elementor .events-band__bg img {
	max-width: 1920px;
	margin-inline: auto;
}

/* --- buttons and arrow links (Elementor button widgets) ------------------ */

/* base.css:142-161 — .btn */
body .elementor .btn.e-button-base {
	display: inline-flex;
	padding: var(--space-3) var(--space-5);
	border-width: var(--hairline);
	border-radius: var(--radius-sm);
	background: transparent;
	text-align: inherit;
}
/* base.css:162 */
body .elementor .btn.e-button-base:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
/* base.css:163-164 */
body .elementor .btn.btn--filled.e-button-base { background: var(--clay); }
body .elementor .btn.btn--filled.e-button-base:hover { background: var(--clay-600); }

/* base.css:175-186 — .link-arrow */
body .elementor .link-arrow.e-button-base {
	display: inline-flex;
	padding: 0 0 var(--space-1);
	border-width: 0 0 var(--hairline);
	border-radius: 0;
	background: transparent;
	text-align: inherit;
}
/* template-tags.php:104 pp_arrow_icon() + base.css:122 `svg.icon` and :187
   `.link-arrow .icon` — the button widget cannot hold an <svg>, so the same
   path is drawn as a mask in the link's own colour, 16px, after the label. */
body .elementor .link-arrow.e-button-base::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E") center / contain no-repeat;
	/* The template's arrow is an <svg>, which prints. A background does not
	   unless told to: keep the arrow on paper as well. */
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}
/* Windows High Contrast (forced colours) repaints every background with the
   page colour, which would hide the masked arrow; the template's <svg> stays
   visible there in the link's forced colour. Opt this one box out and paint
   it in the system's link colour. */
@media (forced-colors: active) {
	body .elementor .link-arrow.e-button-base::after {
		forced-color-adjust: none;
		background-color: LinkText;
	}
}

/* --- intro ---------------------------------------------------------------- */

/* styles.css:167 */
body .elementor .intro { display: flex; min-height: 600px; padding: 0; }
/* styles.css:168 */
body .elementor .intro__bg { position: absolute; inset: 0; overflow: hidden; width: auto; min-width: 0; padding: 0; }
/* styles.css:169 */
body .elementor .intro__bg img { width: 100%; height: 100%; object-fit: cover; }
/* styles.css:177 */
body .elementor .intro__welcome { z-index: 1; padding-block: var(--space-8); }
/* styles.css:178 */
body .elementor .intro__text { display: flex; padding: 0 0 0 var(--space-8); }

/* --- plan your visit ------------------------------------------------------ */

/* styles.css:186 */
body .elementor .plan { display: flex; padding-block: var(--section-pad-sub); }
/* styles.css:187 */
body .elementor .plan__head { display: flex; padding: 0; }
/* styles.css:189 */
body .elementor .plan__info { display: flex; padding: var(--space-4) 0; }
/* styles.css:190 */
body .elementor .plan__col { display: flex; flex: 1 0 0; min-width: 0; padding: var(--space-5) 0; }
/* styles.css:191 */
body .elementor .plan__col--admission { padding: var(--space-5); border-radius: var(--radius-md); }
/* styles.css:192 — a flex-start item: as wide as its text */
body .elementor .plan__heading { display: flex; width: auto; padding: 0; }
/* styles.css:194 */
body .elementor .price-row { display: flex; width: auto; padding: 0; }
/* The price is <strong class="t-h2"> in the template (front-page.php:44). The
   Paragraph widget is a <p> or a <span> only, so here a <span> carries .t-h2
   and the <strong> sits inside it. styles.css:195 `.price-row span` would
   shrink that span to the unit's size and tint it; base.css:128 .t-h2
   restored. */
body .elementor .price-row > .t-h2 {
	font-size: var(--fs-heading-2);
	line-height: var(--lh-heading-2);
	color: inherit;
}
/* base.css:128 — .t-h2 is weight 400 on the template's <strong> itself; the
   nested <strong> takes it from the span instead of the browser's bold. */
body .elementor .price-row > .t-h2 strong { font-weight: inherit; }

/* --- spotlight + upcoming events ------------------------------------------ */

/* styles.css:201 */
body .elementor .spotlight { display: flex; padding-block: var(--section-pad); }
/* styles.css:203 */
body .elementor .feature-item { padding: 0 var(--space-4); }
/* styles.css:204 */
body .elementor .feature-item__row { display: flex; padding: var(--space-2) 0; }
/* styles.css:205 */
body .elementor .feature-item__text { display: flex; flex: 1 0 0; min-width: 0; padding: 0; }
/* styles.css:206 */
body .elementor .feature-item__photos { display: flex; flex: 1 0 0; min-width: 0; padding: 0; }
/* styles.css:207 — Elementor's `.elementor img` removes the card shadow */
body .elementor .feature-item__photos img { box-shadow: var(--shadow-card); }
/* styles.css:209 */
body .elementor .events-grid { display: flex; padding: 0; }
/* styles.css:214 — the event cards come from [pp_home_events]; only the photo
   height is lost to `.elementor img { height:auto }` */
body .elementor .event-card__photo img { height: 100%; }

/* --- become a member ------------------------------------------------------- */

/* styles.css:225 */
body .elementor .member-band { display: flex; min-height: 600px; padding-block: var(--section-pad); }
/* styles.css:226 */
body .elementor .member-band__bg { position: absolute; inset: 0; overflow: hidden; width: auto; min-width: 0; padding: 0; }
/* styles.css:227 */
body .elementor .member-band__bg img { width: 100%; height: 100%; object-fit: cover; }
/* styles.css:235 */
body .elementor .member-band__content {
	z-index: 1;
	display: flex;
	width: 300px;
	margin: 0 var(--space-10) 0 0;
	padding: 0;
}
/* styles.css:236 — the hairline beside the copy. Elementor claims every
   container's ::before for its background overlay (absolute, full size,
   content from an unset variable), so the theme's rule is restated in full. */
body .elementor .member-band__content::before {
	content: "";
	position: static;
	top: auto;
	left: auto;
	display: block;
	flex: none;
	align-self: stretch;
	width: var(--hairline);
	height: auto;
	border: 0;
	border-radius: 0;
	opacity: 1;
	mix-blend-mode: normal;
	background: rgba(229, 230, 210, 0.7);
}
/* styles.css:237 */
body .elementor .member-band__text { display: flex; flex: 1 0 0; min-width: 0; padding: 0; }
/* styles.css:238 */
body .elementor .member-band__text .copy { display: flex; width: auto; padding: 0; }

/* --- facts ------------------------------------------------------------------ */

/* styles.css:255 */
body .elementor .facts { display: flex; padding-block: var(--section-pad-sub); }
/* styles.css:257 */
body .elementor .facts__grid { display: grid; padding: 0; }
/* styles.css:258 */
body .elementor .facts__grid > .fact { display: flex; min-height: 194px; padding: var(--space-8) var(--space-5); }

/* --- private events --------------------------------------------------------- */

/* styles.css:240 */
body .elementor .events-band { display: flex; padding-block: var(--section-pad); }
/* styles.css:241 */
body .elementor .events-band__bg { position: absolute; inset: 0; overflow: hidden; width: auto; min-width: 0; padding: 0; }
/* styles.css:242 */
body .elementor .events-band__bg img { width: 100%; height: 100%; object-fit: cover; }
/* styles.css:244 */
body .elementor .events-band__content { z-index: 1; display: flex; width: auto; padding: 0; }
/* styles.css:245 */
body .elementor .events-band__content .copy { display: flex; width: auto; padding: 0; }
/* styles.css:246 */
body .elementor .events-band__head { display: flex; width: auto; padding: 0; }
/* styles.css:248 */
body .elementor .events-band__meta { display: flex; width: auto; padding: 0; }

/* --- mobile: everything the theme resets at 960px, reset here as well ------- */
@media (max-width: 960px) {
	/* styles.css:314 */
	body .elementor .intro { min-height: 298px; }
	/* styles.css:315 */
	body .elementor .intro__welcome { padding-block: var(--space-6); }
	/* styles.css:316 */
	body .elementor .intro__text { padding-left: 0; }

	/* styles.css:320 */
	body .elementor .plan { padding-block: var(--space-8); }
	/* styles.css:321 */
	body .elementor .plan__info { padding: 0; }
	/* styles.css:322 */
	body .elementor .plan__col,
	body .elementor .plan__col--admission { padding: 0; }

	/* styles.css:324 */
	body .elementor .spotlight { padding-block: var(--space-4); }
	/* styles.css:327 */
	body .elementor .events-grid { padding: var(--space-4); }

	/* styles.css:330 */
	body .elementor .member-band { min-height: 0; padding-block: 0; }
	/* styles.css:331 */
	body .elementor .member-band__bg { position: static; height: 195px; }
	/* styles.css:334 */
	body .elementor .member-band__content { width: auto; margin: 0; padding: var(--space-6) var(--space-5); }
	/* styles.css:335 */
	body .elementor .member-band__content::before { display: none; }
	/* styles.css:338 + :352 */
	body .elementor .member-band .btn.e-button-base,
	body .elementor .events-band .btn.e-button-base { background: var(--stone); }

	/* styles.css:340 */
	body .elementor .facts { padding-block: var(--space-8); }
	/* styles.css:343 */
	body .elementor .facts__grid > .fact { min-height: 0; padding: var(--space-6) var(--space-5) var(--space-6) 0; }

	/* styles.css:348 */
	body .elementor .events-band { padding-block: 0; }
	/* styles.css:349 */
	body .elementor .events-band__bg { position: static; }
	/* styles.css:351 */
	body .elementor .events-band__content { padding: var(--space-5); }
}
