/**
 * Visual styling for Callboard's block markup. Layout/structure comes from
 * the plugin's own stylesheet (assets/css/blocks.css); this file is the
 * theme's design system layered on top, using the color/spacing/type
 * custom properties WordPress generates from theme.json.
 */

/*
 * Full-width ("alignfull") breakout for blocks placed inside a Page's own
 * content (wp:post-content in templates/page.html). WordPress only
 * generates its usual negative-margin breakout CSS for blocks nested
 * directly under a wp:group with an explicit unique layout instance (like
 * the <main> wrapper) — it does not propagate through wp:post-content's
 * own constrained layout, so an alignfull block placed there via the
 * editor just sits at the normal content width with no visible effect.
 * This is the standard calc(50vw) breakout trick, scoped to that one
 * container so it can't affect anything else already working correctly
 * (e.g. front-page.html's hero, which is full-width at the template root
 * and unaffected by this rule).
 */
.wp-block-post-content > .alignfull {
	width: auto;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/*
 * 100vw includes the scrollbar's width but the visible viewport does not,
 * so every vw-based full-bleed element above overhangs by ~8px and raises
 * a horizontal scrollbar. Trimming that overhang has to happen here, on
 * .wp-site-blocks: the same rule on <body> does nothing, because the root
 * element is what propagates overflow to the viewport. `clip` rather than
 * `hidden` because hidden creates a scroll container, which would break
 * the sticky header inside this element.
 */
.wp-site-blocks {
	overflow-x: clip;
}

/*
 * Site header — light bar, three-part layout: wordmark left, nav centred,
 * actions right.
 *
 * The grid (rather than the block's own flex layout) is what actually
 * centres the nav: with equal 1fr side columns the middle column sits on
 * the page's centre line regardless of how wide the logo or the actions
 * happen to be. A flex "space-between" would instead centre it between
 * those two elements, which drifts as either one changes.
 */
/*
 * Sticky has to live on the template-part wrapper, not on the bar itself.
 * A sticky element can only travel inside its parent's box, and the
 * wrapper WordPress renders around a template part is exactly as tall as
 * the header — so sticking the inner bar pinned it to a 72px-tall box and
 * it scrolled away with the page. `top` tracks the admin bar's height so
 * the bar doesn't hide behind it when logged in, and falls back to 0 for
 * logged-out visitors.
 */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

.ntg-site-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: var(--wp--preset--spacing--40);
	border-bottom: 1px solid rgba(111, 101, 90, 0.18);
}

/* The group's flow layout adds vertical margins between children, which
   would push grid items out of alignment. */
.ntg-site-header > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ntg-site-header__brand {
	align-items: center;
	justify-self: start;
}

.ntg-site-header__brand img {
	display: block;
}

.ntg-site-header .wp-block-navigation {
	font-family: var(--wp--preset--font-family--inter);
	justify-self: center;
}

.ntg-site-header__actions {
	justify-self: end;
}

/*
 * Ink rather than the gold used on the old dark bar: gold on cream sits
 * around 2:1 contrast, well under the 4.5:1 needed for body-size text.
 */
.ntg-site-header .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	letter-spacing: 0.01em;
}

.ntg-site-header .wp-block-navigation a,
.ntg-site-header .wp-block-navigation-item__content,
.ntg-site-header .wp-block-navigation__responsive-container-close,
.ntg-site-header .wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--ink) !important;
}

.ntg-site-header .wp-block-navigation-item {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Curtain red for hover/current, again for contrast — the marquee gold
   from the dark bar is not legible against cream. */
.ntg-site-header .wp-block-navigation a:hover,
.ntg-site-header .wp-block-navigation .current-menu-item a {
	color: var(--wp--preset--color--primary) !important;
}

/* Search reduced to an icon button, matching the actions cluster. */
.ntg-site-header__actions .wp-block-search__button {
	background: transparent;
	border: none;
	color: var(--wp--preset--color--ink);
	padding: 0.35rem;
	cursor: pointer;
}

.ntg-site-header__actions .wp-block-search__button:hover {
	color: var(--wp--preset--color--primary);
}

.ntg-site-header__actions .wp-block-search__button svg {
	width: 1.5rem;
	height: 1.5rem;
	fill: currentColor;
}

/* The mobile menu opens as a full-screen dialog, so it needs the light
   treatment too — it inherited the old dark bar's colours otherwise. */
.wp-block-navigation__responsive-dialog {
	background-color: var(--wp--preset--color--background) !important;
}

/*
 * Tablet range: the single-row 3-column layout only has room for the brand
 * once the nav's own items no longer fit beside it, so the site title
 * wraps and fights the nav for space. Stack the brand on its own row above
 * the nav instead of squeezing them together. The lower bound matches core's
 * own breakpoint for the Navigation block's overlay toggle
 * (wp-includes/blocks/navigation/style.css, `@media (min-width: 600px)`) —
 * below that the block collapses to a hamburger on its own regardless of
 * how much row width we give it, so this stacked layout is only useful
 * down to 600px.
 */
@media (min-width: 600px) and (max-width: 1024px) {
	.ntg-site-header {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"brand brand"
			"nav actions";
		row-gap: var(--wp--preset--spacing--20);
	}

	.ntg-site-header__brand {
		grid-area: brand;
		justify-self: center;
	}

	.ntg-site-header .wp-block-navigation {
		grid-area: nav;
	}

	.ntg-site-header__actions {
		grid-area: actions;
	}
}

@media (max-width: 599px) {
	/* Below 600px core has already collapsed the nav to its own hamburger
	   toggle (see above), so the brand and that toggle share a single row.
	   The search icon has nowhere good to go at this width, so it's hidden
	   rather than squeezed in beside the toggle. !important is needed
	   because WP's auto-generated per-block layout style (`.wp-container-
	   core-group-is-layout-*`) sets its own `display: flex` at the same
	   0,0,1,0 specificity and is injected later in <head>, so it would
	   otherwise win the cascade tie. */
	.ntg-site-header {
		grid-template-columns: 1fr;
		/* Room on the right so the brand never runs under the floating
		   menu button below. */
		padding-right: 4.5rem !important;
	}

	.ntg-site-header__actions {
		display: none !important;
	}

	/* A full sticky bar eats too much of a phone screen, so the bar scrolls
	   away with the page and only the menu button stays put. */
	.wp-site-blocks > header.wp-block-template-part {
		position: static;
	}

	.ntg-site-header__brand {
		flex-wrap: nowrap !important;
		gap: 0.6rem;
	}

	.ntg-site-header .wp-block-site-title {
		margin: 0;
		line-height: 1.15;
	}

	.ntg-site-header .wp-block-site-title a {
		font-size: 1.05rem;
	}

	.ntg-site-header__brand img {
		width: 52px;
		height: auto;
	}

	.ntg-site-header .wp-block-navigation {
		position: static;
	}

	.ntg-site-header .wp-block-navigation__responsive-container-open {
		position: fixed;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 0.75rem);
		right: 0.75rem;
		z-index: 101;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
		border-radius: 999px;
		background: var(--wp--preset--color--background);
		border: 1px solid rgba(111, 101, 90, 0.35);
		box-shadow: 0 2px 10px rgba(33, 28, 24, 0.18);
	}
}

/*
 * Utility for any dark (ink-background/cream-text) section. theme.json's
 * global heading and link colors are specific enough to win over plain
 * CSS inheritance, so headings/links inside a dark section would
 * otherwise stay dark-on-dark. Apply this class alongside
 * backgroundColor="ink" textColor="background" to fix that.
 */
.ntg-dark-section :where(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
	color: inherit;
}

.ntg-dark-section :where(a):not(.wp-element-button) {
	color: inherit;
}

.ntg-dark-section :where(a):not(.wp-element-button):hover {
	color: var(--wp--preset--color--accent);
}

/*
 * Page title — the one H1 every template has, whether it's a regular page
 * (page.html), a single production/person/post/event, or an archive's
 * static heading (Our Company / Events / Productions / News). Italic
 * Fraunces echoes the site title's own treatment in the header, so the
 * same brand language shows up everywhere a page introduces itself.
 */
.ntg-page-header {
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--50);
}

.ntg-page-title {
	font-style: italic;
	font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
	line-height: 1.15;
	margin: 0;
}

.ntg-page-subtitle {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
	max-width: 42rem;
	margin: var(--wp--preset--spacing--30) 0 0;
}

.ntg-page-header__rule {
	width: 100%;
	max-width: none;
	margin: var(--wp--preset--spacing--40) 0 0;
	border: 0;
	border-top: 1px solid rgba(111, 101, 90, 0.3);
	background: none;
}

@media (max-width: 600px) {
	.ntg-page-header {
		margin-top: var(--wp--preset--spacing--30);
		margin-bottom: var(--wp--preset--spacing--40);
	}

	.ntg-page-header__rule {
		margin-top: var(--wp--preset--spacing--30);
	}
}

.callboard-current-production {
	color: var(--wp--preset--color--background);
}

.callboard-current-production--no-image {
	background: linear-gradient(160deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--ink) 75%);
}

.callboard-current-production__overlay {
	background: linear-gradient(
		to top,
		rgba(33, 28, 24, 0.92) 0%,
		rgba(33, 28, 24, 0.55) 45%,
		rgba(33, 28, 24, 0.05) 80%
	);
}

.callboard-current-production--no-image .callboard-current-production__overlay {
	background: none;
}

.callboard-current-production__content {
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

.callboard-current-production__eyebrow {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	font-size: var(--wp--preset--font-size--small);
}

.callboard-current-production__title {
	font-size: var(--wp--preset--font-size--xx-large);
	margin: var(--wp--preset--spacing--20) 0;
}

.callboard-current-production__title a {
	color: var(--wp--preset--color--background);
	text-decoration: none;
}

.callboard-current-production__meta {
	color: var(--wp--preset--color--background);
	opacity: 0.85;
	font-family: var(--wp--preset--font-family--inter);
}

.callboard-current-production__synopsis {
	opacity: 0.9;
}

.callboard-production-card__title {
	font-size: var(--wp--preset--font-size--medium);
	margin: var(--wp--preset--spacing--20) 0 0;
}

.callboard-production-card__dates {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
	margin: 0;
}

.callboard-production-card__poster-placeholder,
.callboard-person-row__headshot-placeholder {
	background: currentColor;
	opacity: 0.15;
	aspect-ratio: 2 / 3;
}

.callboard-person-row__headshot-placeholder {
	aspect-ratio: 1 / 1;
}

.callboard-production-cast__volunteer-note {
	font-family: var(--wp--preset--font-family--inter);
	font-style: italic;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin: 0 0 var(--wp--preset--spacing--30);
}

.callboard-production-cast__meta {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--inter);
}

.callboard-production-cast__playwright {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--inter);
	margin-top: var(--wp--preset--spacing--20);
}

.callboard-production-cast__heading {
	color: var(--wp--preset--color--primary);
}

.callboard-production-cast__director-message {
	border-left: 3px solid var(--wp--preset--color--accent);
	padding-left: var(--wp--preset--spacing--30);
	margin: var(--wp--preset--spacing--20) 0 var(--wp--preset--spacing--40);
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	color: var(--wp--preset--color--ink);
}

.callboard-production-cast__closing-note {
	margin-top: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid rgba(111, 101, 90, 0.25);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.callboard-showtimes__datetime {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}

.callboard-showtimes__note {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--secondary);
}

.callboard-person-row__name {
	font-weight: 600;
	color: inherit;
}

.callboard-person-row__role {
	color: inherit;
	opacity: 0.7;
	font-size: var(--wp--preset--font-size--small);
}

.callboard-person-row__bio {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	color: inherit;
	opacity: 0.85;
}

.callboard-person-productions__item {
	border-bottom: 1px solid var(--wp--preset--color--muted);
}

.callboard-person-productions__item:last-child {
	border-bottom: none;
}

.callboard-person-productions__item a {
	color: var(--wp--preset--color--ink);
}

.callboard-person-productions__show-title {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--medium);
}

.callboard-person-productions__show-role {
	color: var(--wp--preset--color--secondary);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	white-space: nowrap;
}

.callboard-tickets-button {
	/* .wp-element-button is display:inline by default, which makes
	   vertical margin a no-op — force inline-block so the top margin
	   actually creates space above it. */
	display: inline-block;
	margin-top: var(--wp--preset--spacing--30);
}

/*
 * The banner reads as a raised card: rounded corners plus a soft drop
 * shadow. The block already sets overflow:hidden, so the radius clips the
 * image and the content bar to match without either needing its own.
 */
.callboard-productions-banner {
	/* One gutter value drives all four sides so the card is evenly framed.
	   Deliberately not a --wp--preset--spacing--* here: those are shared
	   with the flow/blockGap rhythm, and this needs to track viewport width
	   to stay proportional as a full-bleed element. */
	--ntg-banner-gutter: clamp(1rem, 2.5vw, 2.5rem);

	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(33, 28, 24, 0.18);
}

/*
 * A full-width banner stops short of the viewport edges so it still reads
 * as a contained card rather than a bleed. This overrides the generic
 * .wp-block-post-content > .alignfull breakout above (it's more specific)
 * by folding the gutter into the same negative-margin math, and applies to
 * the banner blocks only — other alignfull blocks keep the true full bleed.
 */
.wp-block-post-content > .callboard-productions-banner.alignfull {
	width: auto;
	max-width: none;
	margin-left: calc(50% - 50vw + var(--ntg-banner-gutter));
	margin-right: calc(50% - 50vw + var(--ntg-banner-gutter));
	margin-top: var(--ntg-banner-gutter);
	margin-bottom: var(--ntg-banner-gutter);
}

.callboard-productions-banner__media--no-image {
	background: linear-gradient(160deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--ink) 75%);
}

.callboard-productions-banner__content {
	background: var(--wp--preset--color--background);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.callboard-productions-banner__title {
	font-size: var(--wp--preset--font-size--x-large);
	margin: 0;
}

/* Compact variant: smaller type and a tighter content bar to match its
   shorter image area (height itself is set in the plugin's blocks.css). */
.callboard-productions-banner--compact .callboard-productions-banner__content {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

.callboard-productions-banner--compact .callboard-productions-banner__title {
	font-size: var(--wp--preset--font-size--large);
}

.callboard-productions-banner--compact .callboard-productions-banner__dates {
	font-size: var(--wp--preset--font-size--small);
}

.callboard-productions-banner--compact .callboard-productions-banner__nav {
	width: 2.25rem;
	height: 2.25rem;
	font-size: var(--wp--preset--font-size--medium);
}

.callboard-productions-banner__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.callboard-productions-banner__dates {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	margin: var(--wp--preset--spacing--20) 0 0;
}

.callboard-productions-banner__more-info {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--ink);
}

.callboard-productions-banner__more-info:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--background);
}

/*
 * Nav buttons sit on top of arbitrary production artwork — light, dark,
 * busy, whatever gets uploaded — so they carry their own contrast rather
 * than relying on the image behind them: near-opaque ink fill, a light
 * ring to separate them from dark photos, and a shadow to lift them off
 * light ones.
 */
.callboard-productions-banner__nav {
	width: 3.25rem;
	height: 3.25rem;
	border: 2px solid rgba(248, 243, 234, 0.92);
	border-radius: 999px;
	background: rgba(33, 28, 24, 0.82);
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 14px rgba(33, 28, 24, 0.45);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.callboard-productions-banner__nav:hover,
.callboard-productions-banner__nav:focus-visible {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
}

/*
 * A generic photo slider (e.g. the About page's theatre photos) styled to
 * match the home page's productions banner: rounded card, soft shadow,
 * crossfading slides, same pill-shaped nav buttons.
 */
.ntg-photo-slider {
	position: relative;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(33, 28, 24, 0.18);
	overflow: hidden;
}

.ntg-photo-slider__track {
	position: relative;
	aspect-ratio: 16 / 9;
}

.ntg-photo-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s ease;
}

.ntg-photo-slider__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.ntg-photo-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ntg-photo-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 3.25rem;
	height: 3.25rem;
	border: 2px solid rgba(248, 243, 234, 0.92);
	border-radius: 999px;
	background: rgba(33, 28, 24, 0.82);
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 14px rgba(33, 28, 24, 0.45);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ntg-photo-slider__nav:hover,
.ntg-photo-slider__nav:focus-visible {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
}

.ntg-photo-slider__nav--prev {
	left: 1rem;
}

.ntg-photo-slider__nav--next {
	right: 1rem;
}

/*
 * Light section-title band (patterns/section-title-light.php). Sits on the
 * same cream as the page, so a hairline top/bottom rule is what separates
 * it from the content above and below.
 */
.ntg-section-title-light {
	border-top: 1px solid rgba(111, 101, 90, 0.25);
	border-bottom: 1px solid rgba(111, 101, 90, 0.25);
}

.ntg-section-title-light__rule {
	width: 4rem;
	max-width: 4rem;
	border: none;
	border-top: 3px solid var(--wp--preset--color--accent);
	opacity: 1;
	margin-top: var(--wp--preset--spacing--30);
}

/* ---------------------------------------------------------------------
 * News listings
 *
 * Two different markups show the same content and need to look identical:
 * core's Latest Posts block (used on the front page) and the Query Loop in
 * templates/home.html (the News page). Shared design values live in the
 * :root block below; each markup then just maps its own class names onto
 * that same grid/type treatment.
 * ------------------------------------------------------------------ */

:root {
	--ntg-news-thumb: 11.5rem;
	--ntg-news-gap: 1.5rem;
	--ntg-news-row-padding: 1.75rem;
	--ntg-news-rule: rgba(111, 101, 90, 0.28);

	/* Explicit sizes rather than --wp--preset--font-size--*: those slugs
	   currently resolve to WordPress's built-in scale instead of the one
	   theme.json declares (see the note on defaultFontSizes), so "large"
	   lands at 36px — far too heavy for a list row. Hard values keep this
	   component predictable either way. */
	--ntg-news-title-size: 1.5rem;
	--ntg-news-body-size: 0.95rem;
}

/* --- core/latest-posts (front page) --- */

.wp-block-latest-posts__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-block-latest-posts__list > li {
	display: grid;
	grid-template-columns: var(--ntg-news-thumb) 1fr;
	column-gap: var(--ntg-news-gap);
	align-items: start;
	padding: var(--ntg-news-row-padding) 0;
	border-bottom: 1px solid var(--ntg-news-rule);
}

.wp-block-latest-posts__list > li:last-child {
	border-bottom: none;
}

/* The block floats this container (featuredImageAlign) and wraps text
   around it; a grid row is steadier, so the float is dropped here. */
.wp-block-latest-posts__featured-image {
	float: none !important;
	margin: 0 !important;
	grid-row: span 3;
}

/*
 * The block writes max-width/max-height inline on the img, which letterboxes
 * anything non-square and leaves images smaller than the thumbnail size
 * (e.g. the 95x97 NTG logo, which has no 150x150 crop to fall back on)
 * rendering smaller than the rest. Overriding those inline values is what
 * needs !important here — a fixed box plus object-fit makes every row's
 * image the same size regardless of the source's dimensions.
 */
.wp-block-latest-posts__featured-image img {
	display: block;
	width: var(--ntg-news-thumb) !important;
	height: var(--ntg-news-thumb) !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover;
	border-radius: 6px;
	background: rgba(111, 101, 90, 0.1);
}

.wp-block-latest-posts__post-title {
	display: block;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--ntg-news-title-size);
	font-weight: 600;
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.wp-block-latest-posts__post-title:hover {
	color: var(--wp--preset--color--primary);
}

.wp-block-latest-posts__post-date {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.wp-block-latest-posts__post-excerpt {
	margin-top: 0.75rem;
	font-size: var(--ntg-news-body-size);
	line-height: 1.65;
}

.wp-block-latest-posts__read-more {
	display: inline-block;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--ntg-news-body-size);
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.wp-block-latest-posts__read-more:hover {
	text-decoration: underline;
}

/* --- Query Loop (templates/home.html — the News page) --- */

.ntg-news-item {
	display: grid;
	grid-template-columns: var(--ntg-news-thumb) 1fr;
	column-gap: var(--ntg-news-gap);
	align-items: start;
	padding: var(--ntg-news-row-padding) 0;
	border-bottom: 1px solid var(--ntg-news-rule);
}

.ntg-news-item > * {
	margin-block-start: 0;
}

.ntg-news-item .wp-block-post-featured-image {
	margin: 0;
}

.ntg-news-item .wp-block-post-featured-image img {
	display: block;
	width: var(--ntg-news-thumb);
	height: var(--ntg-news-thumb);
	object-fit: cover;
	border-radius: 6px;
	background: rgba(111, 101, 90, 0.1);
}

.ntg-news-item__title {
	font-size: var(--ntg-news-title-size);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

.ntg-news-item__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.ntg-news-item__title a:hover {
	color: var(--wp--preset--color--primary);
}

.ntg-news-item__date {
	margin: 0.35rem 0 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.ntg-news-item__excerpt {
	margin: 0.75rem 0 0;
	font-size: var(--ntg-news-body-size);
	line-height: 1.65;
}

/* Phones: keep a compact thumbnail-left row (thumb + text) rather than
   stacking a large image above every item. */
@media (max-width: 600px) {
	.wp-block-latest-posts__list,
	.ntg-news-item {
		--ntg-news-thumb: 88px;
		--ntg-news-gap: 1rem;
		--ntg-news-row-padding: 1.25rem;
		--ntg-news-title-size: 1.2rem;
	}

	.wp-block-latest-posts__post-excerpt,
	.ntg-news-item__excerpt {
		margin-top: 0.5rem;
		font-size: 0.9rem;
		line-height: 1.55;
	}
}

/*
 * News page layout (templates/home.html): news list and calendar share one
 * row on desktop — news gets the wider column since its rows carry
 * thumbnails, the calendar just needs enough room for a legible 7-day
 * grid (its day cells are all fr-unit/aspect-ratio based, so they scale
 * down cleanly rather than overflowing). Below the breakpoint this stays
 * plain block flow, so it stacks in source order — news first, calendar
 * after — with no separate mobile rule needed.
 */
@media (min-width: 1100px) {
	.ntg-news-layout {
		display: grid;
		/* minmax(0, …) rather than a bare fr: fr tracks default to an
		   `auto` minimum, so the calendar's own min-content width (its nav
		   buttons, the month label's `min-width: 12ch`) was winning out
		   over the proportional split and taking more than its 1fr share. */
		grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
		align-items: start;
		column-gap: var(--wp--preset--spacing--50);
	}
}

/* ---------------------------------------------------------------------
 * Search results (templates/search.html)
 *
 * Rows reuse the News page's .ntg-news-item layout; this only adds what
 * search needs on top of it.
 * ------------------------------------------------------------------ */

.ntg-search-form {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* Width goes on the inner wrapper, not the block: the constrained layout
   auto-centers any direct child narrower than the content column, which
   pulled the form out of line with the left-aligned title above it. */
.ntg-search-form .wp-block-search__inside-wrapper {
	max-width: 36rem;
}

.ntg-search-form .wp-block-search__input {
	font-size: var(--wp--preset--font-size--medium);
	padding: 0.6rem 0.9rem;
	border: 1px solid rgba(111, 101, 90, 0.4);
	border-radius: 2px;
	background: #fff;
}

.ntg-search-form .wp-block-search__button {
	margin-left: 0.5rem;
}

/* Pages and people often have no featured image; without this their text
   would slide into the (narrow) thumbnail column. */
.ntg-search-results .ntg-search-result__body {
	grid-column: 2;
}

/* Same soft tile the season listings use for a show with no poster. */
.ntg-search-results .ntg-news-item:not(:has(.wp-block-post-featured-image))::before {
	content: "";
	grid-column: 1;
	grid-row: 1;
	width: var(--ntg-news-thumb);
	height: var(--ntg-news-thumb);
	border-radius: 6px;
	background: rgba(111, 101, 90, 0.1);
}

.ntg-search-result__type {
	margin: 0 0 0.35rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}

.ntg-search-results .type-production .ntg-search-result__type::before { content: "Production"; }
.ntg-search-results .type-person .ntg-search-result__type::before { content: "Person"; }
.ntg-search-results .type-event .ntg-search-result__type::before { content: "Event"; }
.ntg-search-results .type-post .ntg-search-result__type::before { content: "News"; }
.ntg-search-results .type-page .ntg-search-result__type::before { content: "Page"; }

/* A publish date only means something for news posts. On a production,
   person, or event it's just when the entry was created, which would read
   like the show or event date. */
.ntg-search-results li:not(.type-post) .ntg-news-item__date {
	display: none;
}

.ntg-search-results .wp-block-query-pagination {
	margin-top: var(--wp--preset--spacing--50);
	font-family: var(--wp--preset--font-family--inter);
}

.ntg-search-empty {
	margin-top: var(--wp--preset--spacing--40);
}

.ntg-search-empty .ntg-lead {
	margin-left: 0;
}

@media (max-width: 600px) {
	.ntg-search-results .ntg-search-result__body {
		grid-column: auto;
	}

	/* Once rows stack, an empty tile above the text is just dead space. */
	.ntg-search-results .ntg-news-item:not(:has(.wp-block-post-featured-image))::before {
		display: none;
	}
}

.callboard-productions-grid-list__title {
	font-size: var(--wp--preset--font-size--medium);
	margin: var(--wp--preset--spacing--20) 0 0;
}

.callboard-productions-grid-list__dates {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
	margin: 0 0 var(--wp--preset--spacing--20);
}

.callboard-productions-grid-list__poster-placeholder {
	background: currentColor;
	opacity: 0.15;
	aspect-ratio: 2 / 3;
}

.callboard-productions-grid-list__more-info {
	display: inline-block;
}

/* ---------------------------------------------------------------------
 * Events Calendar (callboard/events-calendar)
 * ------------------------------------------------------------------ */

.callboard-events-calendar {
	background: var(--wp--preset--color--background);
	border: 1px solid rgba(111, 101, 90, 0.2);
	border-radius: 14px;
	padding: var(--wp--preset--spacing--40);
}

.callboard-events-calendar__header {
	margin-bottom: var(--wp--preset--spacing--30);
}

.callboard-events-calendar__month-label {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--ink);
}

.callboard-events-calendar__nav {
	border-radius: 999px;
	border: 1px solid rgba(33, 28, 24, 0.35);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.callboard-events-calendar__nav:hover,
.callboard-events-calendar__nav:focus-visible {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
}

.callboard-events-calendar__weekdays {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	padding-bottom: var(--wp--preset--spacing--20);
	border-bottom: 1px solid rgba(111, 101, 90, 0.2);
	margin-bottom: 0.35rem;
}

.callboard-events-calendar__day {
	color: var(--wp--preset--color--ink);
	border-radius: 8px;
	gap: 0.2rem;
	padding-top: 0.4rem;
	transition: background 0.2s ease;
}

a.callboard-events-calendar__day:hover,
a.callboard-events-calendar__day:focus-visible {
	background: rgba(122, 46, 46, 0.08);
}

.callboard-events-calendar__day-number {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
}

.callboard-events-calendar__day--outside {
	color: var(--wp--preset--color--muted);
	opacity: 0.45;
}

.callboard-events-calendar__day--has-entries .callboard-events-calendar__day-number {
	font-weight: 700;
}

.callboard-events-calendar__day-dot {
	background: var(--wp--preset--color--primary);
}

.callboard-events-calendar__day--member-night .callboard-events-calendar__day-dot {
	background: var(--wp--preset--color--accent);
}

.callboard-events-calendar__legend {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	padding-bottom: var(--wp--preset--spacing--20);
}

.callboard-events-calendar__legend-dot {
	background: var(--wp--preset--color--primary);
}

.callboard-events-calendar__legend-item--member-night .callboard-events-calendar__legend-dot {
	background: var(--wp--preset--color--accent);
}

.callboard-events-calendar__day--today {
	background: rgba(201, 162, 39, 0.18);
}

.callboard-events-calendar__day--today .callboard-events-calendar__day-number {
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}

.callboard-events-calendar__list {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid rgba(111, 101, 90, 0.2);
}

.callboard-events-calendar__list-date {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--ink);
	margin-top: var(--wp--preset--spacing--30);
}

.callboard-events-calendar__list-date:first-child {
	margin-top: 0;
}

.callboard-events-calendar__entry {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(111, 101, 90, 0.12);
}

.callboard-events-calendar__entry:last-child {
	border-bottom: none;
}

.callboard-events-calendar__entry-time {
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	min-width: 5.5rem;
}

.callboard-events-calendar__entry-type {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: rgba(111, 101, 90, 0.12);
	color: var(--wp--preset--color--muted);
}

.callboard-events-calendar__entry--performance .callboard-events-calendar__entry-type {
	background: rgba(122, 46, 46, 0.12);
	color: var(--wp--preset--color--primary);
}

.callboard-events-calendar__entry--member-night .callboard-events-calendar__entry-type {
	background: rgba(201, 162, 39, 0.18);
	color: var(--wp--preset--color--accent);
}

.callboard-events-calendar__entry-title {
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.callboard-events-calendar__entry-title:hover {
	color: var(--wp--preset--color--primary);
}

.callboard-events-calendar__entry-location {
	color: var(--wp--preset--color--muted);
}

.callboard-events-calendar__entry-location::before {
	content: "•";
	margin-right: 0.5rem;
	color: var(--wp--preset--color--accent);
}

.callboard-events-calendar__empty {
	color: var(--wp--preset--color--muted);
}

@media (max-width: 480px) {
	.callboard-events-calendar__weekdays span:nth-child(n) {
		font-size: 0.65rem;
	}

	.callboard-events-calendar__day-number {
		font-size: 0.75rem;
	}
}

/* ---------------------------------------------------------------------
 * Shared page-copy helpers (Get Involved, About, etc)
 * ------------------------------------------------------------------ */

.ntg-lead {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--muted);
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

/* ---------------------------------------------------------------------
 * About page: Our Executive Team grid
 * ------------------------------------------------------------------ */

.ntg-exec-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.ntg-exec-grid__member {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ntg-exec-grid__photo {
	aspect-ratio: 171 / 256;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 6px;
	margin: 0 0 var(--wp--preset--spacing--20);
}

.ntg-exec-grid__name {
	font-family: var(--wp--preset--font-family--fraunces);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--medium);
	margin: 0;
}

.ntg-exec-grid__role {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
	margin: 0.25rem 0 0;
}

.ntg-exec-grid__email {
	margin: 0.25rem 0 0;
}

.ntg-exec-grid__email a {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--primary);
}

.ntg-exec-grid__photo--vacant {
	aspect-ratio: 171 / 256;
	width: 100%;
	border-radius: 6px;
	margin: 0 0 var(--wp--preset--spacing--20);
	border: 1px dashed rgba(111, 101, 90, 0.35);
	background: rgba(111, 101, 90, 0.06);
}

.ntg-exec-grid__member--vacant .ntg-exec-grid__name {
	color: var(--wp--preset--color--muted);
	font-style: italic;
}

@media (max-width: 700px) {
	.ntg-exec-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 460px) {
	.ntg-exec-grid {
		grid-template-columns: 1fr;
		max-width: 260px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* ---------------------------------------------------------------------
 * Contact page map
 * ------------------------------------------------------------------ */

.ntg-map {
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
}

/* ---------------------------------------------------------------------
 * Homepage sponsor section
 * ------------------------------------------------------------------ */

.ntg-sponsors__tagline {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--muted);
}

.ntg-sponsors__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ntg-sponsors__logo {
	margin-bottom: var(--wp--preset--spacing--30) !important;
}

.ntg-sponsors__logo img {
	height: auto;
}

.ntg-sponsors__label {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0 0 0.35rem;
}

.ntg-sponsors__name {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.ntg-sponsors__note {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin: 0.5rem 0 0;
}

/* ---------------------------------------------------------------------
 * Productions - Season List (callboard/productions-list)
 * ------------------------------------------------------------------ */

.callboard-productions-list__row {
	padding: var(--wp--preset--spacing--40) 0;
	border-bottom: 1px solid rgba(111, 101, 90, 0.2);
}

.callboard-productions-list__row:first-child {
	padding-top: 0;
}

.callboard-productions-list__row:last-child {
	border-bottom: none;
}

.callboard-productions-list__poster img {
	border-radius: 6px;
}

.callboard-productions-list__poster-placeholder {
	background: currentColor;
	opacity: 0.12;
	aspect-ratio: 2 / 3;
	border-radius: 6px;
}

.callboard-productions-list__title {
	font-size: var(--wp--preset--font-size--large);
	margin: 0;
}

.callboard-productions-list__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.callboard-productions-list__title a:hover {
	color: var(--wp--preset--color--primary);
}

.callboard-productions-list__meta {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--medium);
	margin: 0.4rem 0 0;
}

.callboard-productions-list__description {
	margin-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--ink);
}

.callboard-productions-list__actions {
	margin-top: var(--wp--preset--spacing--30);
}

.callboard-productions-list__more-info {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--ink);
}

.callboard-productions-list__more-info:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--background);
}

/* ---------------------------------------------------------------------
 * Production Spotlight (callboard/production-spotlight)
 * ------------------------------------------------------------------ */

/*
 * Raised card, same treatment as the home page's Scrolling Banner
 * (.callboard-productions-banner): rounded corners plus a soft drop
 * shadow so it reads as sitting slightly above the page.
 */
.callboard-production-spotlight {
	background: var(--wp--preset--color--background);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(33, 28, 24, 0.18);
	padding: var(--wp--preset--spacing--50);
}

.callboard-production-spotlight__header {
	margin-bottom: var(--wp--preset--spacing--40);
}

.callboard-production-spotlight__poster img {
	border-radius: 8px;
}

.callboard-production-spotlight__poster-placeholder {
	background: currentColor;
	opacity: 0.12;
	aspect-ratio: 2 / 3;
	border-radius: 8px;
}

.callboard-production-spotlight__eyebrow {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--primary);
	margin: 0 0 var(--wp--preset--spacing--20);
}

.callboard-production-spotlight__title {
	font-size: var(--wp--preset--font-size--xx-large);
	margin: 0;
}

.callboard-production-spotlight__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.callboard-production-spotlight__title a:hover {
	color: var(--wp--preset--color--primary);
}

.callboard-production-spotlight__dates {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.callboard-production-spotlight__credits {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
	margin: var(--wp--preset--spacing--20) 0 0;
}

.callboard-production-spotlight__synopsis {
	margin-top: var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--ink);
}

.callboard-production-spotlight__actions {
	margin-top: var(--wp--preset--spacing--40);
	align-items: stretch;
}

/*
 * Equal-size buttons: each fills half the row (rather than sizing to its
 * own label's width) so "More Info" and "Buy Tickets" always match,
 * regardless of text length. `align-items: stretch` above (flex's own
 * default, made explicit here) is what makes them match in height too —
 * that alone wasn't enough on its own, though: .callboard-tickets-button
 * carries a `margin-top` meant for when it's used standalone elsewhere
 * (e.g. under the synopsis on the single production page), which
 * doesn't belong on a flex item sized to match its sibling. Both need
 * resetting here for the pair to actually align.
 */
.callboard-production-spotlight__actions .wp-element-button {
	flex: 1 1 0;
	margin-top: 0;
	padding-top: var(--wp--preset--spacing--20);
	padding-bottom: var(--wp--preset--spacing--20);
	text-align: center;
}

.callboard-production-spotlight__more-info {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--ink);
}

.callboard-production-spotlight__more-info:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--background);
}

/* ---------------------------------------------------------------------
 * Event Details (callboard/event-details, single-event.html)
 * ------------------------------------------------------------------ */

.callboard-event-details__type {
	display: inline-block;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}

.callboard-event-details__meta {
	font-family: var(--wp--preset--font-family--inter);
	color: var(--wp--preset--color--muted);
	margin-top: var(--wp--preset--spacing--20);
}

.callboard-event-details__location::before {
	content: "•";
	margin-right: 1rem;
	color: var(--wp--preset--color--accent);
}

.callboard-event-details__description {
	margin-top: var(--wp--preset--spacing--40);
}

/* Footer */
.ntg-footer__title {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-size: var(--wp--preset--font-size--large);
	margin: 0 0 var(--wp--preset--spacing--20);
}

.ntg-footer__heading {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	margin: 0 0 var(--wp--preset--spacing--30);
}

.ntg-footer p,
.ntg-footer li {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

.ntg-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ntg-footer__links li {
	margin: 0 0 0.4rem;
}

.ntg-footer__rule {
	border: 0;
	border-top: 1px solid rgba(248, 243, 234, 0.2);
	margin: var(--wp--preset--spacing--40) auto;
}

.ntg-footer__legal {
	font-size: 0.8rem !important;
	opacity: 0.75;
}

/* Card grids (supporters / patrons) */
.ntg-card-grid {
	list-style: none;
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: var(--wp--preset--spacing--30);
}

.ntg-card-grid li {
	margin: 0;
	padding: var(--wp--preset--spacing--30);
	background: #fffdf8;
	border: 1px solid rgba(111, 101, 90, 0.22);
	border-top: 3px solid var(--wp--preset--color--accent);
	border-radius: 8px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-weight: 600;
	line-height: 1.3;
}

.ntg-card-grid__detail {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.ntg-card-grid--patrons {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: var(--wp--preset--spacing--20);
}

.ntg-card-grid--patrons li {
	padding: 0.7rem 0.9rem;
	font-weight: 500;
	font-size: 0.95rem;
	border-top-width: 1px;
}

/* Season sponsor cards (Supporters page) */
.ntg-sponsor-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--40);
}

.ntg-sponsor-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	background: #fffdf8;
	border: 1px solid rgba(111, 101, 90, 0.22);
	border-top: 3px solid var(--wp--preset--color--accent);
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(33, 28, 24, 0.06);
}

.ntg-sponsor-card__label {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.ntg-sponsor-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 130px;
	margin: var(--wp--preset--spacing--30) 0;
}

.ntg-sponsor-card__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.ntg-sponsor-card__name {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
	text-wrap: balance;
}

.ntg-sponsor-card__note {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin: var(--wp--preset--spacing--20) 0 0;
}

/*
 * Desktop header balance: brand left, nav and search grouped right (rather
 * than a centred nav between a heavy brand and a tiny search icon), with the
 * bar's side padding matching the productions banner's gutter so the logo
 * and search icon line up with the card edges below.
 */
@media (min-width: 600px) {
	.ntg-site-header {
		padding-left: clamp(1rem, 2.5vw, 2.5rem) !important;
		padding-right: clamp(1rem, 2.5vw, 2.5rem) !important;
	}
}

@media (min-width: 1025px) {
	.ntg-site-header {
		grid-template-columns: auto 1fr auto;
	}

	.ntg-site-header .wp-block-navigation {
		justify-self: end;
	}
}

/*
 * Mobile menu: a floating card over a darkened page rather than a
 * full-screen white sheet. The container is core's fixed full-screen
 * overlay, so it becomes the scrim; the dialog inside it is the card.
 */
@media (max-width: 599px) {
	.wp-block-navigation__responsive-container.is-menu-open {
		background-color: rgba(33, 28, 24, 0.62) !important;
		padding: 0.75rem;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
		width: 100%;
		max-height: calc(100vh - 1.5rem);
		overflow-y: auto;
		border-radius: 14px;
		box-shadow: 0 18px 48px rgba(33, 28, 24, 0.45);
		padding: 0.75rem var(--wp--preset--spacing--40) var(--wp--preset--spacing--30) !important;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog::before {
		content: "Menu";
		display: block;
		text-align: center;
		height: 2.5rem;
		line-height: 2.5rem;
		padding-bottom: 0.75rem;
		box-sizing: content-box;
		border-bottom: 1px solid rgba(111, 101, 90, 0.3);
		font-family: var(--wp--preset--font-family--fraunces);
		font-style: italic;
		font-size: var(--wp--preset--font-size--large);
		color: var(--wp--preset--color--ink);
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding: 0 !important;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		width: 100%;
		align-items: stretch !important;
		gap: 0 !important;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		justify-content: center;
		border-top: 1px solid rgba(111, 101, 90, 0.18);
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:first-child {
		border-top: 0;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 0.95rem 0 !important;
		text-align: center;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		top: 0.75rem;
		right: 0.75rem;
		width: 2.5rem;
		height: 2.5rem;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}


/*
 * News rows: the title is the one real link, stretched over the whole row
 * (so the thumbnail and text are all tappable) instead of repeating three
 * links to the same place (image, title, "Read more"). The arrow is purely
 * decorative and hidden from assistive tech via the empty alt in `content`.
 */
.ntg-news-item,
.wp-block-latest-posts__list > li {
	position: relative;
	padding-right: 2rem;
	transition: background 0.2s ease;
}

.ntg-news-item__title a::after,
.wp-block-latest-posts__post-title::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ntg-news-item::after,
.wp-block-latest-posts__list > li::after {
	content: "\2192";
	content: "\2192" / "";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.25rem;
	color: var(--wp--preset--color--primary);
	pointer-events: none;
	transition: transform 0.2s ease;
}

.ntg-news-item:hover,
.wp-block-latest-posts__list > li:hover {
	background: rgba(122, 46, 46, 0.04);
}

.ntg-news-item:hover::after,
.wp-block-latest-posts__list > li:hover::after {
	transform: translate(4px, -50%);
}

.ntg-news-item:hover .ntg-news-item__title a,
.wp-block-latest-posts__list > li:hover .wp-block-latest-posts__post-title {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ntg-news-item:focus-within,
.wp-block-latest-posts__list > li:focus-within {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Headshots fill their 171:256 frame. */
.callboard-person-row__headshot img,
.ntg-exec-grid__photo:not(.ntg-exec-grid__photo--vacant) {
	background: #000;
	object-fit: cover;
}

.ntg-headshot img {
	background: #000;
	object-fit: cover;
}

/* Production page: intro, calendar, one-per-line credits. */
.callboard-production-cast__dates {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--primary);
}

.callboard-credit-line {
	padding-bottom: 1.75rem;
	border-bottom: 1px solid rgba(111, 101, 90, 0.2);
}

.callboard-credit-line:last-child {
	border-bottom: 0;
}

.callboard-credit-line__name {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.2;
}

.callboard-credit-line__name a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.callboard-credit-line__name a:hover {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.callboard-credit-line__role {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
	margin-top: 0.2rem;
}

.callboard-credit-line__bio {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

@media (max-width: 480px) {
	.callboard-credit-line__name {
		font-size: var(--wp--preset--font-size--medium);
	}
}

.callboard-perf-cal {
	font-family: var(--wp--preset--font-family--inter);
}

.callboard-perf-cal__month-name {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--ink);
}

.callboard-perf-cal__table {
	border: 1px solid rgba(111, 101, 90, 0.25);
}

.callboard-perf-cal__table th {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.5rem 0.25rem;
	text-align: center;
}

.callboard-perf-cal__table td {
	border: 1px solid rgba(111, 101, 90, 0.18);
	background: #fffdf8;
}

.callboard-perf-cal__num {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.callboard-perf-cal__times,
.callboard-perf-cal__note {
	font-size: 0.7rem;
	line-height: 1.25;
}

.callboard-perf-cal__note {
	font-style: italic;
	opacity: 0.85;
}

.callboard-perf-cal__day--none {
	color: var(--wp--preset--color--muted);
}

.callboard-perf-cal__day--evening,
.callboard-perf-cal__swatch.callboard-perf-cal__day--evening {
	background: rgba(122, 46, 46, 0.2);
	color: var(--wp--preset--color--ink);
}

.callboard-perf-cal__day--matinee,
.callboard-perf-cal__swatch.callboard-perf-cal__day--matinee {
	background: rgba(201, 162, 39, 0.38);
	color: var(--wp--preset--color--ink);
}

.callboard-perf-cal__day--both,
.callboard-perf-cal__swatch.callboard-perf-cal__day--both {
	background: rgba(185, 117, 74, 0.42);
	color: var(--wp--preset--color--ink);
}

a.callboard-perf-cal__day:hover,
a.callboard-perf-cal__day:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: -2px;
	filter: brightness(0.94);
}

.callboard-perf-cal__legend {
	font-size: var(--wp--preset--font-size--small);
}

.callboard-perf-cal__hint {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin-top: var(--wp--preset--spacing--20);
}

/*
 * The content column is now wide (theme.json contentSize 1200px). Long
 * runs of prose stay at a readable line length, left-aligned with the page
 * heading, instead of stretching across the whole column. Centred text
 * (lead paragraphs, section intros) is left alone.
 */
main .is-layout-constrained > :where(p, ul, ol):not(.has-text-align-center) {
	max-width: 75ch;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.ntg-page-header.is-layout-constrained > * {
	margin-left: 0 !important;
	margin-right: auto !important;
}

.callboard-production-cast__synopsis,
.callboard-credit-line__bio,
.callboard-production-cast__director-message,
.callboard-production-cast__closing-note {
	max-width: 75ch;
}

@media (min-width: 1000px) {
	.ntg-exec-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media (min-width: 900px) {
	.ntg-photo-slider__track {
		aspect-ratio: 21 / 9;
	}
}

/* Production hero overlay. */
.callboard-production-cast__hero {
	margin-top: var(--wp--preset--spacing--30);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(33, 28, 24, 0.18);
	color: var(--wp--preset--color--background);
}

.callboard-production-cast__hero--no-image {
	background: linear-gradient(160deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--ink) 75%);
}

.callboard-production-cast__hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(33, 28, 24, 0.85) 0%, rgba(33, 28, 24, 0.4) 38%, rgba(33, 28, 24, 0) 65%);
	pointer-events: none;
}

.callboard-production-cast__hero-content {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

.callboard-production-cast__hero .callboard-production-cast__dates {
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.1;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.callboard-production-cast__hero .callboard-tickets-button {
	display: inline-block;
	margin: 0;
}

.callboard-production-cast__columns {
	margin-top: var(--wp--preset--spacing--40);
}

.callboard-production-cast__columns .callboard-production-cast__heading {
	margin-top: 0;
}

/* Phones: the character/role leads, the actor's name follows. */
@media (max-width: 560px) {
	.callboard-credit-line__role {
		font-family: var(--wp--preset--font-family--fraunces);
		font-size: var(--wp--preset--font-size--large);
		font-weight: 700;
		line-height: 1.2;
		letter-spacing: 0;
		text-transform: none;
		color: var(--wp--preset--color--ink);
	}

	.callboard-credit-line__name {
		font-family: var(--wp--preset--font-family--inter);
		font-size: var(--wp--preset--font-size--small);
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--wp--preset--color--secondary);
		margin-bottom: 0.5rem;
	}

	.callboard-credit-line__name a {
		color: inherit;
	}
}

/* Search icon: centre it on the same line as the nav text and brand. */
.ntg-site-header__actions {
	align-items: center;
}

.ntg-site-header__actions .wp-block-search {
	margin: 0;
	height: 2.5rem;
}

.ntg-site-header__actions .wp-block-search__inside-wrapper {
	height: 100%;
	align-items: center;
}

.ntg-site-header__actions .wp-block-search__button {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	height: 2.5rem;
	width: 2.5rem;
	padding: 0;
}

/* The News-page calendar column is narrow; keep the month title on one line. */
.ntg-news-layout .callboard-events-calendar__month-label {
	font-size: 1.5rem;
	white-space: nowrap;
}

/* Single news article: title/date, then a right-floated image with the
   story wrapping around it — a plain newspaper-style layout. */
.ntg-article__date {
	display: block;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: var(--wp--preset--spacing--20) 0 0;
}

.ntg-article {
	overflow: hidden; /* contain the float so the article's own bottom border/margins sit below it */
}

/*
 * The figure is floated out of flow, so the automatic block-gap margin
 * WordPress adds above the next child (post-content, as the second child
 * of a flow layout) has nothing above it to actually create a gap from —
 * it just pushes the article text down below the image's own top edge.
 */
.ntg-article > .wp-block-post-content {
	margin-top: 0;
}

.ntg-article__figure {
	float: right;
	width: 45%;
	max-width: 22rem;
	margin: 0 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) !important;
}

.ntg-article__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

@media (max-width: 680px) {
	.ntg-article__figure {
		float: none;
		width: 100%;
		max-width: none;
		margin: 0 0 var(--wp--preset--spacing--30) 0 !important;
	}
}

/* "More News" cards at the bottom of a single news post. */
.ntg-related-articles {
	clear: both;
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid rgba(111, 101, 90, 0.25);
}

.ntg-related-articles__heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--large);
	margin: 0 0 var(--wp--preset--spacing--30);
}

.ntg-related-articles__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	max-width: 48rem;
	gap: var(--wp--preset--spacing--30);
}

.ntg-related-articles__card {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	text-decoration: none;
	color: inherit;
	border-radius: 8px;
	overflow: hidden;
	background: #fffdf8;
	border: 1px solid rgba(111, 101, 90, 0.2);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ntg-related-articles__card:hover {
	box-shadow: 0 8px 20px rgba(33, 28, 24, 0.12);
	transform: translateY(-2px);
}

.ntg-related-articles__card-image {
	flex: 0 0 7rem;
	width: 7rem;
	height: 7rem;
	background: rgba(111, 101, 90, 0.1);
}

.ntg-related-articles__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ntg-related-articles__card-body {
	min-width: 0;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) var(--wp--preset--spacing--20) 0;
}

.ntg-related-articles__card-date {
	display: block;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin-top: 0.4rem;
}

.ntg-related-articles__card-title {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.3;
	margin: 0;
	color: var(--wp--preset--color--ink);
}

.ntg-related-articles__card:hover .ntg-related-articles__card-title {
	color: var(--wp--preset--color--primary);
}

/* ---------------------------------------------------------------------
 * Member area (plugins/callboard/templates/member-area.php)
 * ------------------------------------------------------------------ */


.ntg-member-area h2 {
	margin-top: var(--wp--preset--spacing--60);
}

.ntg-member-area h2:first-child {
	margin-top: 0;
}

.ntg-member-area h3 {
	font-size: var(--wp--preset--font-size--medium);
	margin: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--20);
}

.ntg-member-notice {
	padding: var(--wp--preset--spacing--30);
	border-radius: 6px;
	margin-bottom: var(--wp--preset--spacing--40);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
}

.ntg-member-notice p {
	margin: 0;
}

.ntg-member-notice--success {
	background: rgba(107, 143, 113, 0.15);
	color: #355b3d;
}

.ntg-member-notice--error {
	background: rgba(122, 46, 46, 0.1);
	color: var(--wp--preset--color--primary);
}

.ntg-member-status {
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	background: rgba(111, 101, 90, 0.15);
}

.ntg-member-status--active {
	background: rgba(107, 143, 113, 0.2);
	color: #355b3d;
}

.ntg-member-status--pending {
	background: rgba(201, 162, 39, 0.25);
	color: #6b551a;
}

.ntg-member-status--inactive {
	background: rgba(122, 46, 46, 0.12);
	color: var(--wp--preset--color--primary);
}

/*
 * Card: the same "cream panel, hairline border, gold top edge" treatment as
 * .ntg-sponsor-card / .ntg-card-grid, reused here so every form on the
 * member area sits in a contained, well-defined block rather than floating
 * loose in the page column.
 */
.ntg-card {
	background: #fffdf8;
	border: 1px solid rgba(111, 101, 90, 0.22);
	border-top: 3px solid var(--wp--preset--color--accent);
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(33, 28, 24, 0.06);
	padding: var(--wp--preset--spacing--40);
	margin: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--50);
}

.ntg-card--narrow {
	max-width: 26rem;
}

.ntg-form {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.ntg-form label {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}

.ntg-form__field--narrow {
	max-width: 12rem;
}

/* Paired fields side by side on wide screens, stacked on narrow ones —
   the modern-form convention of grouping short, related fields into a row
   instead of one field per line all the way down. */
.ntg-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--30);
}

.ntg-form__row--city {
	grid-template-columns: 2fr 1fr 1fr;
}

.ntg-form__row--headshot {
	grid-template-columns: auto 1fr;
	align-items: end;
	gap: var(--wp--preset--spacing--30);
}

.ntg-form__current-headshot img {
	display: block;
	border-radius: 6px;
	width: 4rem;
	height: 4rem;
	object-fit: cover;
}

@media (max-width: 560px) {
	.ntg-form__row,
	.ntg-form__row--city,
	.ntg-form__row--headshot {
		grid-template-columns: 1fr;
	}
}

.ntg-form input[type="text"],
.ntg-form input[type="email"],
.ntg-form input[type="tel"],
.ntg-form input[type="password"],
.ntg-form input[type="number"],
.ntg-form input[type="file"],
.ntg-form textarea {
	/* The theme has no global box-sizing reset, so without this the padding
	   and border below add to a flex-stretched 100% width instead of being
	   included in it, overflowing the field past its column/card edge. */
	box-sizing: border-box;
	width: 100%;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	padding: 0.6rem 0.75rem;
	border: 1px solid rgba(111, 101, 90, 0.4);
	border-radius: 4px;
	background: #fff;
	color: var(--wp--preset--color--ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ntg-form input:focus-visible,
.ntg-form textarea:focus-visible {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px rgba(122, 46, 46, 0.15);
}

.ntg-form input:disabled {
	background: rgba(111, 101, 90, 0.08);
	color: var(--wp--preset--color--muted);
}

.ntg-form textarea {
	resize: vertical;
}

.ntg-form__divider {
	border: 0;
	border-top: 1px solid rgba(111, 101, 90, 0.18);
	margin: var(--wp--preset--spacing--20) 0;
}

.ntg-form fieldset {
	border: 1px solid rgba(111, 101, 90, 0.25);
	border-radius: 6px;
	padding: var(--wp--preset--spacing--30);
}

.ntg-form legend {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	padding: 0 0.4rem;
}

/* Areas of interest: a responsive grid of tappable "chips" rather than a
   plain vertical checkbox list — reads faster and works better on phones. */
.ntg-form__chip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	gap: 0.6rem;
}

.ntg-form__chip {
	flex-direction: row !important;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400 !important;
	padding: 0.5rem 0.75rem;
	border: 1px solid rgba(111, 101, 90, 0.3);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ntg-form__chip:has(input:checked) {
	border-color: var(--wp--preset--color--primary);
	background: rgba(122, 46, 46, 0.08);
}

.ntg-form__chip input {
	accent-color: var(--wp--preset--color--primary);
}

/* Membership Type: a segmented pill toggle instead of bare radio buttons. */
.ntg-form__toggle-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	border: none;
	padding: 0;
}

.ntg-form__toggle {
	flex-direction: row !important;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600 !important;
	padding: 0.6rem 1.1rem;
	border: 1px solid rgba(111, 101, 90, 0.3);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ntg-form__toggle:has(input:checked) {
	border-color: var(--wp--preset--color--primary);
	background: rgba(122, 46, 46, 0.08);
	color: var(--wp--preset--color--primary);
}

.ntg-form__toggle input {
	accent-color: var(--wp--preset--color--primary);
}

.ntg-form__toggle--checkbox {
	display: inline-flex;
	width: fit-content;
}

.ntg-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: var(--wp--preset--spacing--20);
}

.ntg-family-roster {
	list-style: none;
	margin: 0 0 var(--wp--preset--spacing--30);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ntg-family-roster li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 0.9rem;
	background: #fff;
	border: 1px solid rgba(111, 101, 90, 0.2);
	border-radius: 6px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
}

.ntg-family-roster__pending {
	opacity: 0.75;
}

.ntg-family-roster__remove {
	background: none;
	border: none;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8rem;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}

.ntg-form--inline {
	margin-top: var(--wp--preset--spacing--30);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid rgba(111, 101, 90, 0.18);
}

.ntg-form__hint {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin: var(--wp--preset--spacing--20) 0 0;
}

.ntg-family-invite-rows {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

.ntg-family-invite-row {
	grid-template-columns: 1fr 1fr auto;
	align-items: end;
}

.ntg-family-invite-row__remove {
	background: none;
	border: 1px solid rgba(111, 101, 90, 0.3);
	border-radius: 4px;
	width: 2.5rem;
	height: 2.5rem;
	line-height: 1;
	font-size: 1.1rem;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.ntg-family-invite-row__remove:hover {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.ntg-form-actions [data-family-add]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

@media (max-width: 560px) {
	.ntg-family-invite-row {
		grid-template-columns: 1fr;
	}

	.ntg-family-invite-row__remove {
		justify-self: start;
	}
}

/* Member sign-in flow and members home */
.ntg-member-notice--info {
	background: rgba(176, 141, 87, 0.15);
	color: var(--wp--preset--color--contrast, #2b2b2b);
}

.ntg-member-notice a {
	font-weight: 600;
}

.ntg-link-button {
	background: none;
	border: 0;
	padding: 0;
	margin-top: var(--wp--preset--spacing--30);
	font: inherit;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	cursor: pointer;
}

.ntg-agreement {
	max-height: 22rem;
	overflow-y: auto;
	padding: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--40);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.02);
}

.ntg-member-feed {
	list-style: none;
	margin: 0 0 var(--wp--preset--spacing--50);
	padding: 0;
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.ntg-member-feed li {
	padding: var(--wp--preset--spacing--30);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	background: #fff;
}

.ntg-member-feed a {
	font-weight: 600;
}

.ntg-member-feed time {
	display: block;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.7;
}

.ntg-member-feed p {
	margin: 0.4em 0 0;
}

/* Membership form additions */
.ntg-form__instruments {
	display: block;
	margin-top: var(--wp--preset--spacing--30);
}

@supports selector(:has(*)) {
	.ntg-form__instruments {
		display: none;
	}

	.ntg-form:has(input[value="Music - Instrument"]:checked) .ntg-form__instruments {
		display: block;
	}
}

.ntg-permissions {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	border: 0;
	padding: 0;
	margin: 0 0 var(--wp--preset--spacing--40);
}

.ntg-form label > .ntg-form__hint {
	display: block;
	margin: 0.15em 0 0.4em;
	font-weight: 400;
}

.ntg-permissions__prompt {
	margin: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--20);
}

.ntg-permissions__prompt:first-child {
	margin-top: 0;
}

/* Members area: welcome, section buttons, footer login */
.ntg-member-page > * {
	max-width: 45rem;
}


.ntg-member-nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	margin: 0 0 var(--wp--preset--spacing--40);
}

.ntg-member-nav .wp-element-button {
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}

.ntg-member-nav .wp-element-button.is-active {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--background);
	box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.45);
}

.ntg-member-notice--info {
	position: relative;
	background: rgba(176, 141, 87, 0.14);
	border: 1px solid var(--wp--preset--color--primary);
}

/* A small caret pointing back up at the "My Details" button. */
.ntg-member-notice--pointer::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 3.2rem;
	width: 12px;
	height: 12px;
	background: #efe7da;
	border-top: 1px solid var(--wp--preset--color--primary);
	border-left: 1px solid var(--wp--preset--color--primary);
	transform: rotate(45deg);
}

.ntg-agreements {
	list-style: none;
	margin: 0 0 var(--wp--preset--spacing--40);
	padding: 0;
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.ntg-agreements li {
	display: grid;
	grid-template-columns: 1.4rem 1fr;
	column-gap: 0.5rem;
}

.ntg-agreements li::before {
	content: "\2713";
	grid-row: 1 / span 2;
	color: #355b3d;
	font-weight: 700;
}

.ntg-agreements span {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
}

.ntg-footer__member-login .wp-block-button__link {
	background: transparent;
	color: inherit;
	border: 1px solid currentColor;
	font-size: var(--wp--preset--font-size--small);
}

.ntg-footer__member-login .wp-block-button__link:hover,
.ntg-footer__member-login .wp-block-button__link:focus-visible {
	background: rgba(255, 255, 255, 0.12);
}

/* Visually hidden but available to screen readers. WordPress only supplies this inside
 * its own block-template pipeline, so the member area (a plain PHP template) needs it too. */
.screen-reader-text,
.wp-block-search__label.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
