/**
 * Phoenix Peace Builders — front-end "extras" stylesheet.
 *
 * theme.json handles colors, fonts, sizes, button defaults, etc. globally.
 * This file is for things theme.json cannot express:
 *   - Alternating orange/yellow nav-tab backgrounds (every other item)
 *   - Newsletter form with underlined inputs (Wix-style)
 *   - The decorative orange period after the page heading
 *   - Footer logo wordmark + small layout touches
 *   - Small responsive adjustments
 *
 * No JavaScript. No external dependencies.
 */

/* ==========================================================================
   1. Site-wide
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

/* ==========================================================================
   2. Header — sticky on scroll, alternating orange / yellow navigation tabs
   ========================================================================== */

/*
 * Sticky header.
 *
 * WordPress wraps template parts in a generated wrapper element. Our header
 * template part is always the first child inside .wp-site-blocks, so we target
 * that position to make the wrapper sticky. position:sticky sticks an element
 * to the top of its containing block — applying it to the wrapper (which is
 * positioned at the top of the page) is what makes it actually stick when
 * scrolling, rather than the inner .site-header which is only as tall as
 * itself with nowhere to "stick".
 *
 * The visual styling (background, border, shadow) stays on `.site-header`.
 */
.wp-site-blocks > header:first-child,
.wp-site-blocks > .wp-block-template-part:first-child {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: #ffffff;
}

.site-header {
	background-color: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/*
 * When the WordPress admin bar is visible (logged-in users only), shift the
 * sticky offset down by the admin bar's height so the header isn't hidden
 * behind it. Admin bar is 32px on desktop, 46px on small screens.
 */
.admin-bar .wp-site-blocks > header:first-child,
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .wp-site-blocks > header:first-child,
	.admin-bar .wp-site-blocks > .wp-block-template-part:first-child {
		top: 46px;
	}
}

.site-header__inner {
	min-height: 80px;
}

/* Site title link should not look like a normal link. */
.site-header .wp-block-site-title,
.site-header .wp-block-site-title a,
.site-header .wp-block-site-title a:hover,
.site-header .wp-block-site-title a:focus {
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-weight: 600;
	letter-spacing: 0.005em;
	text-decoration: none;
	color: inherit;
}

/* Logo sizing */
.site-header .wp-block-site-logo img {
	height: 48px;
	width: auto;
	display: block;
}

/*
 * Navigation: each top-level item gets a full-height colored tab,
 * alternating orange / yellow / orange / yellow ...
 *
 * The Navigation block can render menu items in two ways:
 *
 *   1. Manual menu — top-level <li class="wp-block-navigation-item"> are direct
 *      children of <ul class="wp-block-navigation__container">.
 *
 *   2. Page-list (auto-updates as pages are added) — wraps the items in an extra
 *      <ul class="wp-block-page-list">, so the <li> elements are GRANDCHILDREN
 *      of __container, with class="wp-block-pages-list__item wp-block-navigation-item".
 *
 * The selectors below match both structures. The :where(...) wrapper has zero
 * specificity so the alternating background colors stay easy to override.
 */

.primary-navigation {
	align-self: stretch;
	display: flex;
}

.primary-navigation .wp-block-navigation__container,
.primary-navigation .wp-block-navigation__container > .wp-block-page-list {
	gap: 0 !important;
	display: flex;
	align-items: stretch;
	margin: 0;
	padding: 0;
	height: 100%;
	list-style: none;
}

.primary-navigation .wp-block-navigation-item {
	display: flex;
	align-items: stretch;
	margin: 0;
}

/* The clickable surface inside each tab. */
.primary-navigation .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	padding: 1.75rem 2rem;
	color: #ffffff !important;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease;
	white-space: nowrap;
}

/*
 * Match top-level items in both layouts:
 *   - Manual menu:  __container > .wp-block-navigation-item
 *   - Page-list:    __container > .wp-block-page-list > .wp-block-pages-list__item
 *
 * The selector list has each pattern spelled out so we don't accidentally pick
 * up nested submenu items (which live inside .wp-block-navigation__submenu-container).
 */

/* Odd items (1st, 3rd, ...): primary orange. */
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(odd) > .wp-block-navigation-item__content,
.primary-navigation .wp-block-navigation__container > .wp-block-page-list > .wp-block-pages-list__item:nth-child(odd) > .wp-block-navigation-item__content {
	background-color: var(--wp--preset--color--primary);
}
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(odd) > .wp-block-navigation-item__content:hover,
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(odd) > .wp-block-navigation-item__content:focus,
.primary-navigation .wp-block-navigation__container > .wp-block-page-list > .wp-block-pages-list__item:nth-child(odd) > .wp-block-navigation-item__content:hover,
.primary-navigation .wp-block-navigation__container > .wp-block-page-list > .wp-block-pages-list__item:nth-child(odd) > .wp-block-navigation-item__content:focus {
	background-color: var(--wp--preset--color--primary-dark);
}

/* Even items (2nd, 4th, ...): secondary yellow. */
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(even) > .wp-block-navigation-item__content,
.primary-navigation .wp-block-navigation__container > .wp-block-page-list > .wp-block-pages-list__item:nth-child(even) > .wp-block-navigation-item__content {
	background-color: var(--wp--preset--color--secondary);
}
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(even) > .wp-block-navigation-item__content:hover,
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(even) > .wp-block-navigation-item__content:focus,
.primary-navigation .wp-block-navigation__container > .wp-block-page-list > .wp-block-pages-list__item:nth-child(even) > .wp-block-navigation-item__content:hover,
.primary-navigation .wp-block-navigation__container > .wp-block-page-list > .wp-block-pages-list__item:nth-child(even) > .wp-block-navigation-item__content:focus {
	background-color: var(--wp--preset--color--secondary-dark);
}

/* Submenu styling (dropdowns) — keep them readable on white. */
.primary-navigation .wp-block-navigation__submenu-container {
	background-color: #ffffff;
	border: 1px solid #eeeeee;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	padding: 0.5rem 0;
	min-width: 220px;
}

.primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	background-color: #ffffff !important;
	color: #000000 !important;
	padding: 0.6rem 1.25rem;
	font-weight: 500;
}

.primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
	background-color: #f6f6f6 !important;
	color: var(--wp--preset--color--primary) !important;
}

/* Mobile overlay menu — restore readable colors. */
.primary-navigation.has-modal-open .wp-block-navigation__container {
	flex-direction: column;
	align-items: stretch;
}

.primary-navigation.has-modal-open .wp-block-navigation-item__content {
	color: #000000 !important;
	background-color: transparent !important;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #eeeeee;
}

/* Hamburger button color on mobile */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	color: #000000;
}

/* ==========================================================================
   3. About page — decorative period after heading
   ========================================================================== */

.about-cofounders__title {
	position: relative;
}

.about-cofounders__period {
	color: var(--wp--preset--color--primary);
	display: inline-block;
}

/* On the cofounder name + role + email block, align the email under the
   right-aligned name on desktop but allow it to flow naturally. */
.cofounder-block__nameblock {
	max-width: 400px;
	margin-left: auto;
}

.cofounder-block__email a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.cofounder-headshot img {
	width: 100%;
	height: auto;
	max-width: 460px;
	display: block;
}

/* ==========================================================================
   4. Newsletter form (footer left column)
   ========================================================================== */

.ppb-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.ppb-field {
	display: block;
	position: relative;
	border-bottom: 1px solid #cccccc;
	padding-top: 1.25rem;
}

.ppb-field__label {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 12px;
	color: #5f6360;
	font-weight: 400;
	pointer-events: none;
}

.ppb-field input {
	display: block;
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 0.5rem 0;
	font-family: inherit;
	font-size: 15px;
	color: #000000;
	box-sizing: border-box;
}

.ppb-field input:focus {
	outline: 0;
	border-bottom-color: var(--wp--preset--color--primary);
}

.ppb-field:focus-within {
	border-bottom-color: var(--wp--preset--color--primary);
}

.ppb-newsletter-form__submit {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.5rem;
}

.ppb-newsletter-form__button {
	background: transparent;
	border: 0;
	padding: 0.5rem 0.25rem;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #000000;
	cursor: pointer;
}

.ppb-newsletter-form__button:hover,
.ppb-newsletter-form__button:focus {
	color: var(--wp--preset--color--primary);
	outline: 0;
}

/* ==========================================================================
   5. Footer — logo block, social icons, contact
   ========================================================================== */

.site-footer {
	font-size: 14px;
}

.footer-logo-figure {
	margin: 0;
	text-align: center;
}

.footer-logo-figure img {
	display: block;
	margin: 0 auto;
	width: 180px;
	height: auto;
	max-width: 100%;
}

.footer-logo-figure__wordmark {
	display: block;
	margin: 0.25rem 0 0;
	font-size: 20px;
	font-weight: 700;
	color: #1a2c6b;
	letter-spacing: 0.01em;
	text-align: center;
}

/* Donate button — make sure it has zero corner radius. */
.donate-button .wp-block-button__link {
	border-radius: 0 !important;
}

/* Social icons — keep a tight grouping, monochrome black, hover orange. */
.footer-social .wp-block-social-link {
	background: transparent !important;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.footer-social .wp-block-social-link:hover svg,
.footer-social .wp-block-social-link:focus svg {
	color: var(--wp--preset--color--primary);
	fill: currentColor;
}

.footer-col-contact a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.footer-col-contact a:hover,
.footer-col-contact a:focus {
	color: var(--wp--preset--color--primary-dark);
}

.back-to-top a {
	color: #000000 !important;
	text-decoration: underline;
}

.back-to-top a:hover,
.back-to-top a:focus {
	color: var(--wp--preset--color--primary) !important;
}

/* ==========================================================================
   6. Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.site-header__inner {
		padding-left: 1rem !important;
		padding-right: 0 !important;
	}

	.primary-navigation .wp-block-navigation-item__content {
		padding: 1.25rem 1rem;
		font-size: 14px;
	}

	.about-cofounders__title {
		font-size: 40px !important;
	}

	.cofounder-block__nameblock {
		max-width: none;
		margin-left: 0;
	}

	.cofounder-block__name,
	.cofounder-block__role {
		text-align: left !important;
	}

	.cofounder-block__email {
		text-align: left !important;
	}
}

@media (max-width: 600px) {
	.site-footer {
		padding: 2.5rem 1.25rem !important;
	}

	.site-footer__columns {
		gap: 2rem !important;
	}

	.footer-col-social .wp-block-social-links {
		justify-content: center !important;
	}

	.back-to-top {
		text-align: center !important;
	}
}


/* ==========================================================================
 * Buttons (.ppb-btn) — primary orange, ghost-on-dark, and small variants.
 * Used by:
 *   - Donate modal "Click to Support"
 *   - Workshop card "See Past Flyer" / "See Video Promo" links
 *   - Event card link buttons
 *   - Home dark CTA "Learn More" / "Meet Our Team"
 *   - Workshops lead-form "Contact Us"
 *
 * The .ppb-btn--ghost-on-dark variant inverts on hover so the user gets the
 * Wix-style "fill from left" feel without a real keyframe animation —
 * background slides in from the left via background-position transition.
 * ========================================================================== */

.ppb-btn,
.ppb-btn .wp-block-button__link,
.wp-block-button.ppb-btn .wp-block-button__link {
	display: inline-block;
	padding: 0.85rem 2.25rem;
	font-family: var(--wp--preset--font-family--heading-sans, Poppins, sans-serif);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none;
	border-radius: 0;
	border: 2px solid var(--wp--preset--color--primary);
	background: var(--wp--preset--color--primary);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 150ms ease;
}

/* Primary filled orange — slides toward darker shade on hover */
.ppb-btn--primary,
.ppb-btn--primary .wp-block-button__link {
	background: var(--wp--preset--color--primary);
	color: #ffffff !important;
	border-color: var(--wp--preset--color--primary);
}

.ppb-btn--primary:hover,
.ppb-btn--primary:focus-visible,
.ppb-btn--primary .wp-block-button__link:hover,
.ppb-btn--primary .wp-block-button__link:focus-visible,
.wp-block-button.ppb-btn--primary:hover .wp-block-button__link {
	background: #ffffff !important;
	color: var(--wp--preset--color--primary) !important;
	border-color: var(--wp--preset--color--primary) !important;
}

/* Small variant — for workshop/event card link rows */
.ppb-btn--sm {
	padding: 0.55rem 1.25rem;
	font-size: 13px;
	letter-spacing: 0.03em;
}

/* Ghost (outline) on a dark background — used in the home dark CTA panel.
   Hover fills the button with white and turns text dark. */
.ppb-btn--ghost-on-dark,
.ppb-btn--ghost-on-dark .wp-block-button__link {
	background: transparent !important;
	color: #ffffff !important;
	border: 2px solid #ffffff !important;
}

.ppb-btn--ghost-on-dark:hover,
.ppb-btn--ghost-on-dark:focus-visible,
.ppb-btn--ghost-on-dark .wp-block-button__link:hover,
.ppb-btn--ghost-on-dark .wp-block-button__link:focus-visible,
.wp-block-button.ppb-btn--ghost-on-dark:hover .wp-block-button__link {
	background: #ffffff !important;
	color: var(--wp--preset--color--contrast) !important;
	border-color: #ffffff !important;
}

/* The site-wide Donate button in the footer also benefits from a hover
   effect. It's a core wp:button with the donate-button class; we layer
   the same invert-on-hover behavior. */
.donate-button .wp-block-button__link,
.wp-block-button.donate-button .wp-block-button__link {
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
	border: 2px solid var(--wp--preset--color--primary);
}

.donate-button:hover .wp-block-button__link,
.donate-button .wp-block-button__link:hover,
.donate-button .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--primary) !important;
}

/* Group of card buttons on workshop/event cards */
.ppb-link-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}


/* ==========================================================================
 * Workshop & event card typography normalisation
 * ========================================================================== */

.workshop-card__title,
.event-card__title {
	color: var(--wp--preset--color--primary) !important;
}

.workshop-card__desc,
.event-card__desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--wp--preset--color--contrast);
}

.workshop-card,
.event-card {
	font-size: 14px;
}


/* ==========================================================================
 * Partners — wrap with a dark blue panel for logos whose wordmarks are
 * white on a transparent background (e.g., On Earth Peace).
 * ========================================================================== */

.about-partners__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	min-height: 130px;
}

.about-partners__logo-wrap--blue {
	background: #19447a;
	padding: 1.5rem 1.25rem;
	border-radius: 2px;
}

.about-partners__logo-wrap img {
	max-width: 100%;
	height: auto;
}


/* ==========================================================================
 * Donate modal (.ppb-modal) and Nonviolence lightbox (.ppb-lightbox)
 * ========================================================================== */

.ppb-no-scroll {
	overflow: hidden;
}

/* ----- Generic overlay (shared rules) ----- */

.ppb-modal,
.ppb-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ppb-modal[hidden],
.ppb-lightbox[hidden] {
	display: none;
}

.ppb-modal__backdrop,
.ppb-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

/* ----- Donate modal panel ----- */

.ppb-modal__panel {
	position: relative;
	background: #ffffff;
	width: min(1100px, calc(100vw - 2rem));
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
	border-radius: 0;
	padding: 4rem 4rem 3.5rem;
	font-family: var(--wp--preset--font-family--body-sans);
}

.ppb-modal__close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	color: #000;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 150ms ease, color 150ms ease;
}

.ppb-modal__close:hover,
.ppb-modal__close:focus-visible {
	background: rgba(0, 0, 0, 0.07);
	color: var(--wp--preset--color--primary);
}

.ppb-modal__title {
	font-family: var(--wp--preset--font-family--heading-sans, Poppins, sans-serif);
	font-weight: 900;
	font-size: clamp(48px, 7vw, 96px);
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	margin: 0 0 2rem;
}

.ppb-modal__title-line {
	display: block;
}

.ppb-modal__title-line--accent {
	color: var(--wp--preset--color--primary);
}

.ppb-modal__lead {
	font-size: 16px;
	line-height: 1.65;
	color: var(--wp--preset--color--contrast);
	max-width: 760px;
	margin: 0 0 2.5rem;
}

.ppb-modal__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
}

.ppb-modal__subhead {
	font-family: var(--wp--preset--font-family--heading-sans, Poppins, sans-serif);
	font-weight: 800;
	font-size: clamp(24px, 3vw, 36px);
	color: var(--wp--preset--color--primary);
	margin: 0 0 1.5rem;
}

.ppb-modal__col-body,
.ppb-modal__contact {
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp--preset--color--contrast);
}

.ppb-modal__contact strong {
	font-weight: 700;
}

.ppb-modal__contact a {
	color: inherit;
}

.ppb-modal__cta {
	margin-top: 1.5rem;
}

.ppb-modal__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ppb-modal__brand img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.ppb-modal__wordmark {
	font-family: var(--wp--preset--font-family--heading-sans, Poppins, sans-serif);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--contrast);
	font-size: 16px;
}


/* ----- Nonviolence lightbox panel ----- */

.ppb-lightbox__panel {
	position: relative;
	background: #ffffff;
	width: min(1200px, calc(100vw - 4rem));
	max-height: calc(100vh - 2rem);
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
	display: flex;
	flex-direction: column;
}

.ppb-lightbox__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.9);
	border: 0;
	color: #000;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 150ms ease, color 150ms ease;
}

.ppb-lightbox__close:hover,
.ppb-lightbox__close:focus-visible {
	background: #ffffff;
	color: var(--wp--preset--color--primary);
}

.ppb-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.85);
	border: 0;
	color: #000;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.ppb-lightbox__nav--prev { left: 1rem; }
.ppb-lightbox__nav--next { right: 1rem; }

.ppb-lightbox__nav:hover,
.ppb-lightbox__nav:focus-visible {
	background: var(--wp--preset--color--primary);
	color: #ffffff;
	transform: translateY(-50%) scale(1.05);
}

.ppb-lightbox__stage {
	display: flex;
	flex-direction: column;
}

.ppb-lightbox__image {
	display: block;
	width: 100%;
	max-height: 60vh;
	object-fit: contain;
	background: #f6f6f6;
}

.ppb-lightbox__caption {
	padding: 1.5rem 2rem 2rem;
	background: #ffffff;
}

.ppb-lightbox__title {
	font-family: var(--wp--preset--font-family--heading-sans, Poppins, sans-serif);
	font-weight: 800;
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.2;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--contrast);
}

.ppb-lightbox__desc {
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--contrast);
}

.ppb-lightbox__counter {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0;
	color: var(--wp--preset--color--muted);
}


/* ==========================================================================
 * Nonviolence gallery — hover/focus states on the 6-image strips
 * ========================================================================== */

.ppb-gallery {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.25rem;
}

.ppb-gallery__item {
	position: relative;
	margin: 0;
	cursor: pointer;
	overflow: hidden;
	display: block;
}

.ppb-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 350ms ease, filter 350ms ease;
}

.ppb-gallery__item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.75) 100%);
	opacity: 0;
	transition: opacity 250ms ease;
	pointer-events: none;
}

.ppb-gallery__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.75rem 0.75rem 0.5rem;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--heading-sans, Poppins, sans-serif);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.25;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 250ms ease, transform 250ms ease;
	z-index: 1;
}

.ppb-gallery__item:hover img,
.ppb-gallery__item:focus-visible img {
	transform: scale(1.06);
	filter: brightness(0.85);
}

.ppb-gallery__item:hover::after,
.ppb-gallery__item:focus-visible::after,
.ppb-gallery__item:hover .ppb-gallery__caption,
.ppb-gallery__item:focus-visible .ppb-gallery__caption {
	opacity: 1;
}

.ppb-gallery__item:hover .ppb-gallery__caption,
.ppb-gallery__item:focus-visible .ppb-gallery__caption {
	transform: translateY(0);
}

.ppb-gallery__item:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}


/* ==========================================================================
 * Responsive: collapse modal/lightbox to single column on small screens
 * ========================================================================== */

@media (max-width: 768px) {
	.ppb-modal__panel {
		padding: 3.5rem 1.5rem 2.5rem;
	}

	.ppb-modal__cols {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ppb-gallery {
		grid-template-columns: repeat(3, 1fr);
	}

	.ppb-lightbox__panel {
		width: calc(100vw - 1rem);
	}
}

@media (max-width: 480px) {
	.ppb-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* ==========================================================================
 * Workshop / event cards — match Wix's larger typography and full-width
 * stacked buttons, plus a thin horizontal rule between rows.
 * ========================================================================== */

/* Card image keeps its natural ratio; bottom-margin handled by following heading */
.workshop-card__image,
.event-card__image {
	margin: 0;
}

.workshop-card__image img,
.event-card__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Titles — bumped to match the original Wix Poppins ~24px */
.workshop-card__title,
.event-card__title {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading-sans, Poppins, sans-serif);
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.25;
	margin: 1rem 0 0.25rem;
}

/* Duration meta line (workshops) */
.workshop-card__meta {
	font-size: 15px;
	font-weight: 500;
	font-style: italic;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--contrast);
}

/* Event date line */
.event-card__date {
	font-size: 15px;
	font-weight: 500;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--contrast);
}

/* Body text inside cards */
.workshop-card__desc,
.event-card__desc {
	font-size: 16px;
	line-height: 1.55;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 1rem;
}

.workshop-card__desc p,
.event-card__desc p {
	margin: 0 0 0.75rem;
}

/* ----- Stacked, full-width buttons inside cards ----- */

.ppb-link-buttons--stacked {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.ppb-link-buttons--stacked .ppb-btn {
	display: block;
	width: 100%;
	text-align: center;
}

/* "Block" button variant — full-width, slightly larger padding than --sm */
.ppb-btn--block {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0.75rem 1rem;
	font-size: 15px;
	letter-spacing: 0.02em;
}

/* Horizontal-rule separators between rows of cards (matches the original Wix
   layout, which puts a thin grey line across the full content width). */
.workshops-past__row-divider,
.events-past__row-divider {
	border: 0;
	border-top: 1px solid #d0d0d0;
	margin: 3rem 0;
	width: 100%;
}


/* ==========================================================================
 * About hero — make sure both halves of WHO / WE ARE inherit proper Poppins
 * weight regardless of the body font fallback being applied.
 * ========================================================================== */

.page-hero h1,
.page-hero .wp-block-heading {
	font-family: var(--wp--preset--font-family--heading-sans, Poppins, sans-serif);
}

