/*
 * Pages laid out in sections (round twelve, contract §22.1): About, History, Employment and any
 * page built from the "Story section" and "Opening" patterns. The words stay at the page's
 * 760px measure. A section opens with a hairline and the site's section title (critical.css);
 * a story section puts its picture beside the words on a wide screen and under them on a narrow
 * one, and keeps the picture in view while the words scroll; a profile puts a name beside its
 * paragraphs. Theme tokens only, no new colours. Loaded on pages after theme.css, in the editor
 * too (add_editor_style), so the canvas and the patterns' previews look like the page.
 *
 * Round fifteen (contract §25): Membership, About (a second pass), Visit and Support us. The words
 * keep the 760px measure; a row of cards, the team, the showcase and one wide photograph leave it
 * for the page's full width (up to 1200px, centred on the column) and come back. Cards, a quiet
 * block for fine print, a jump list, a title beside its words, a pair of columns, the newsletter
 * panel the home page uses. The tier cards' top rules are the site's gold, one accent for the
 * four (the page's own red, blue and green were dropped on 2026-10-26; the tier's name says it).
 */

/* ---------------------------------------------------------------- The lead */

/* A page's first sentence, a step up in the heading face, at the measure's full width (a
   narrower box would sit centred in the page's column). */
.cs-page-lead {
	font-family: var(--cst-heading);
	font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
	line-height: 1.35;
}

/* ---------------------------------------------------------------- Sections */

.cs-prose > .cs-page-section {
	border-top: 1px solid var(--cst-rule-line);
	margin-block-start: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--50);
}

/* The first section follows the page title's own gold rule: no second line above it. */
.cs-prose > .cs-page-section:first-child {
	border-top: 0;
	margin-block-start: 0;
	padding-top: 0;
}

.cs-page-section > .cs-section-title + *,
.cs-story__text > .cs-section-title + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

/* ---------------------------------------------------------------- Story: words beside a picture */

.cs-story {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: minmax(0, 1fr);
}

.cs-prose .cs-story > *,
.cs-story__media > .wp-block-image {
	margin: 0;
}

/* On the page, a story without its picture (none chosen yet, or not in this site's library) is
   words only; in the editor the empty picture stays, so one can be chosen. */
.cs-story__media:not(.block-editor-block-list__block):not(:has(img[src]:not([src=""]))) {
	display: none;
}

.cs-story__media img {
	aspect-ratio: 4 / 3;
	border-radius: var(--cst-radius);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

@media (min-width: 782px) {
	.cs-story:has(> .cs-story__media img[src]:not([src=""])),
	.cs-story:has(> .cs-story__media.block-editor-block-list__block) {
		align-items: start;
		column-gap: var(--wp--preset--spacing--50);
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	.cs-story__media {
		position: sticky;
		top: calc(var(--cst-sticky-top) + var(--wp-admin--admin-bar--height, 0px) + var(--wp--preset--spacing--30));
	}
}

/* ---------------------------------------------------------------- Profile: a name beside its words */

.cs-profile__name,
.cs-profile > :is(h2, h3, h4):first-child {
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: 0.02em;
	line-height: 1.25;
}

.cs-prose .cs-page-section > .cs-profile {
	margin-block-start: var(--wp--preset--spacing--50);
}

.cs-prose .cs-page-section > .cs-section-title + .cs-profile {
	margin-block-start: var(--wp--preset--spacing--40);
}

.cs-profile > :is(h2, h3, h4):first-child + * {
	margin-block-start: 0.6rem;
}

@media (min-width: 782px) {
	.cs-profile {
		align-items: start;
		column-gap: var(--wp--preset--spacing--40);
		display: grid;
		grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
		row-gap: var(--wp--style--block-gap, 1.25rem);
	}

	.cs-prose .cs-profile > * {
		grid-column: 2;
		margin: 0;
	}

	.cs-prose .cs-profile > :is(h2, h3, h4):first-child {
		grid-column: 1;
		grid-row: 1;
		padding-top: 0.15em;
	}
}

/* ---------------------------------------------------------------- The team and the showcase */

.cs-prose .cs-page-team > .cs-team {
	margin-block-start: var(--wp--preset--spacing--40);
}

.cs-prose .cs-page-team > .cs-team + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

.cs-page-team__others {
	color: var(--cst-soft);
}

.cs-prose .cs-page-section > .cs-page-showcase {
	margin-block-start: var(--wp--preset--spacing--60);
}

/* ---------------------------------------------------------------- Opening: one job */

.cs-opening {
	border-top: var(--cst-rule-h) solid var(--cst-gold);
	padding-top: var(--wp--preset--spacing--30);
}

.cs-prose > .cs-opening,
.cs-opening + .cs-opening {
	margin-block-start: var(--wp--preset--spacing--50);
}

.cs-opening > * {
	margin-block: 0;
}

.cs-opening > * + * {
	margin-block-start: 0.9rem;
}

.cs-opening__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.cs-opening > .cs-opening__facts {
	margin-block-start: var(--wp--preset--spacing--30);
}

.cs-opening__apply {
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cs-opening > .cs-opening__apply {
	margin-block-start: var(--wp--preset--spacing--40);
}

/* ================================================================ Round fifteen */

/* ---------------------------------------------------------------- Wider than the text */

/* A block that leaves the 760px measure: the page's full width up to 1200px, centred on the
   column; on a narrow screen it is the column. Only for a block whose parent is the column (the
   page's content or a section in it). */
.cs-prose .cs-bleed,
.cs-prose .cs-page-team > .cs-team {
	--cs-bleed: min(var(--wp--style--global--content-size, 1200px), 100vw - var(--wp--style--root--padding-left, 1.25rem) - var(--wp--style--root--padding-right, 1.25rem));
	box-sizing: border-box;
	margin-inline: calc((100% - var(--cs-bleed)) / 2) !important;
	max-width: none !important;
	width: var(--cs-bleed);
}

/* ---------------------------------------------------------------- A jump list */

/* The links to a page's sections, in a row under the title. */
.cs-prose > .cs-jump-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5rem;
	list-style: none;
	padding: 0;
}

.cs-jump-list > li {
	margin: 0;
}

.cs-jump-list a {
	align-items: center;
	color: inherit;
	display: inline-flex;
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	gap: 0.55em;
	letter-spacing: 0.1em;
	padding-block: 0.35rem;
	text-decoration: none;
	text-transform: uppercase;
}

.cs-jump-list a::after {
	border-bottom: 2px solid var(--cst-gold);
	border-right: 2px solid var(--cst-gold);
	content: "";
	flex: none;
	height: 0.45em;
	transform: translateY(-0.15em) rotate(45deg);
	transition: transform 0.2s var(--cst-ease);
	width: 0.45em;
}

.cs-jump-list a:hover {
	color: var(--cst-gold-dark);
}

.cs-jump-list a:hover::after {
	transform: translateY(0.05em) rotate(45deg);
}

@media (max-width: 781px) {
	.cs-jump-list a {
		min-height: 2.75rem;
		padding-block: 0;
	}
}

/* ---------------------------------------------------------------- Inside a section */

/* A section's second heading (an h3 under its title). */
.cs-page-sub {
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: 0.02em;
	line-height: 1.25;
}

.cs-prose .cs-page-section > .cs-section-title + .cs-page-sub {
	margin-block-start: var(--wp--preset--spacing--40);
}

.cs-prose .cs-page-section > .cs-page-sub + * {
	margin-block-start: 0.75rem;
}

/* Rows, cards and panels inside a section stand apart from the paragraphs around them. */
.cs-prose .cs-page-section > :is(.cs-tiles, .cs-facts, .cs-story, .cs-ask, .cs-sub, .cs-facts-list),
.cs-prose .cs-page-section > .cs-tiles + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

.cs-prose .cs-page-section > .cs-section-title + :is(.cs-story, .cs-tiles, .cs-facts) {
	margin-block-start: var(--wp--preset--spacing--40);
}

/* A section's facts rows hold more than one paragraph in a cell. */
.cs-page-section .cs-facts__row {
	margin-block: 0 !important;
}

.cs-page-section .cs-facts__row .wp-block-column > * {
	margin-block: 0;
}

.cs-page-section .cs-facts__row .wp-block-column > * + * {
	margin-block-start: 0.6rem;
}

/* One line said louder (a callout), a line to notice (a notice), and a quiet one (fine print). */
.cs-callout {
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.cs-notice {
	background: var(--cst-surface);
	border-radius: var(--cst-radius);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

.cs-quiet {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

.cs-prose > .cs-quiet {
	margin-block-start: var(--wp--preset--spacing--50);
}

.cs-quiet > * {
	margin-block: 0;
}

.cs-quiet > * + * {
	margin-block-start: 0.6rem;
}

@media (min-width: 600px) {
	.cs-quiet--pair {
		column-gap: var(--wp--preset--spacing--40);
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cs-prose .cs-quiet--pair > * {
		margin: 0;
	}
}

/* ---------------------------------------------------------------- Story, two more ways */

/* The picture first: on a wide screen it takes the narrower column on the left. */
@media (min-width: 782px) {
	.cs-story--media-first:has(> .cs-story__media img[src]:not([src=""])),
	.cs-story--media-first:has(> .cs-story__media.block-editor-block-list__block) {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}
}

.cs-story__media > .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--30);
}

/* ---------------------------------------------------------------- Cards */

/* A row of cards: four across on a wide screen (two on a middling one), three across for a
   three-card row, one on a phone. */
.cs-tiles {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: minmax(0, 1fr);
}

.cs-prose .cs-tiles > * {
	margin: 0;
}

@media (min-width: 600px) {
	.cs-tiles--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.cs-tiles--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.cs-tiles--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* One card: a hairline frame (its top rule in its own colour where it has one), the title, then
   its lines. */
.cs-tile {
	border: 1px solid var(--cst-rule-line);
	border-radius: var(--cst-radius);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: var(--wp--preset--spacing--40);
}

.cs-prose .cs-tile > * {
	margin: 0;
}

.cs-tile__title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.2;
}

.cs-tile__name {
	display: block;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cs-tile__price {
	display: block;
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: 0.01em;
	margin-block-start: 0.3rem;
}

/* The words between the name and the price stay for a screen reader; the two lines say it. */
.cs-tile__sep {
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.cs-tile__label {
	border-top: 1px solid var(--cst-rule-line);
	color: var(--cst-soft);
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.14em;
	padding-top: 0.9rem;
	text-transform: uppercase;
}

.cs-tile__plus {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
}

.cs-tile__list {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	list-style: none;
	padding-left: 0;
}

.cs-tile__list > li {
	padding-left: 1.1rem;
	position: relative;
}

.cs-tile__list > li + li {
	margin-block-start: 0.55rem;
}

.cs-tile__list > li::before {
	background: var(--cst-gold);
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	top: 0.7em;
	width: 0.5rem;
}

/* The sponsorship packages: the site's gold rule on every card. */
.cs-sponsor {
	border-top: var(--cst-rule-h) solid var(--cst-gold);
}

/* ---------------------------------------------------------------- Fine print, and a closing line */

.cs-fine-print {
	background: var(--cst-surface);
	border-radius: var(--cst-radius);
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
	padding: var(--wp--preset--spacing--40);
}

.cs-prose > .cs-fine-print {
	margin-block-start: var(--wp--preset--spacing--50);
}

.cs-prose .cs-fine-print > * {
	margin-block: 0;
}

.cs-prose .cs-fine-print > * + * {
	margin-block-start: 0.6rem;
}

.cs-fine-print__title {
	color: var(--cst-ink);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

@media (min-width: 782px) {
	.cs-fine-print {
		column-count: 2;
		column-gap: var(--wp--preset--spacing--50);
	}

	.cs-fine-print__title {
		column-span: all;
	}

	.cs-prose .cs-fine-print > .cs-fine-print__title + * {
		margin-block-start: 0.9rem;
	}

	.cs-fine-print > p {
		break-inside: avoid;
	}
}

.cs-prose > .cs-closing {
	border-top: 1px solid var(--cst-rule-line);
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
	margin-block-start: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--50);
}

.cs-closing a {
	font-weight: 700;
}

/* ---------------------------------------------------------------- Membership */

.cs-member-lead .cs-page-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.cs-member-card img {
	aspect-ratio: auto;
	object-fit: contain;
}

/* The join link is the section's title: the site's "go" chevron after it, underlined on hover. */
.cs-member-lead .cs-section-title a {
	color: inherit;
	text-decoration: none;
}

.cs-member-lead .cs-section-title a::after {
	border-right: 2px solid var(--cst-gold);
	border-top: 2px solid var(--cst-gold);
	content: "";
	display: inline-block;
	height: 0.4em;
	margin-inline-start: 0.4em;
	transform: translateY(-0.12em) rotate(45deg);
	transition: transform 0.2s var(--cst-ease);
	width: 0.4em;
}

.cs-member-lead .cs-section-title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--cst-gold);
	text-decoration-thickness: 2px;
}

.cs-member-lead .cs-section-title a:hover::after {
	transform: translate(0.15em, -0.12em) rotate(45deg);
}

.cs-member-lead__in-person {
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cs-prose .cs-member-lead .cs-story__text > * + * {
	margin-block-start: 1rem;
}

.cs-prose > .cs-tiers {
	margin-block-start: var(--wp--preset--spacing--60);
}

/* ---------------------------------------------------------------- About */

/* The lead: the sentence a step larger, the lobby across the page, the two paragraphs after. */
.cs-about-lead > .cs-page-lead {
	font-size: clamp(1.375rem, 1.05rem + 1.2vw, 2rem);
	line-height: 1.3;
}

.cs-prose .cs-about-lead > .cs-wide-picture {
	margin-block: var(--wp--preset--spacing--50);
}

.cs-wide-picture img {
	aspect-ratio: 3 / 2;
	border-radius: var(--cst-radius-card, var(--cst-radius));
	box-shadow: var(--cst-shadow-card, none);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

@media (min-width: 782px) {
	.cs-wide-picture img {
		aspect-ratio: 21 / 9;
	}
}

/* Captions and access (2026-11-07): the open-caption photo under the lead. The caption text
   sits in the top third of the frame, so the frame keeps it in view: 4:3 as shot on a narrow
   screen, 16:9 from the top third on a wide one. */
.cs-prose > .cs-captions-picture {
	margin-block: var(--wp--preset--spacing--50);
}

.cs-captions-picture img {
	aspect-ratio: 4 / 3;
	object-position: 50% 30%;
}

@media (min-width: 782px) {
	.cs-captions-picture img {
		aspect-ratio: 16 / 9;
	}
}

/* The team three across on a wide screen, with more room between the cards. */
.cs-prose .cs-page-team > .cs-team {
	margin-block-start: var(--wp--preset--spacing--50);
}

.cs-page-team .cs-team__grid {
	gap: var(--wp--preset--spacing--50);
}

.cs-page-team .cs-person {
	padding-top: var(--wp--preset--spacing--40);
}

/* The community profiles: a name beside its words, a hairline between one and the next. */
.cs-prose .cs-page-community > .cs-profile + .cs-profile {
	border-top: 1px solid var(--cst-rule-line);
	margin-block-start: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--50);
}

@media (min-width: 900px) {
	.cs-page-showcase .cs-showcase__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* The owners: their names and the paragraph they share as the section's lead. */
.cs-prose .cs-owners__body > * {
	margin-block: 0;
}

.cs-prose .cs-owners__body > * + * {
	margin-block-start: 1.1rem;
}

.cs-owners__names {
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.cs-prose .cs-owners__body > .cs-owners__names + * {
	margin-block-start: 0.75rem;
}

.cs-owners__intro {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
}

/* ---------------------------------------------------------------- Visit */

.cs-visit-prices__note {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
}

.cs-visit-prices,
.cs-visit-prices ul {
	list-style: none;
	padding-left: 0;
}

.cs-visit-prices > li + li {
	margin-block-start: 0.35rem;
}

.cs-visit-prices ul {
	color: var(--cst-soft);
	margin-block: 0.3rem 0;
	padding-left: 1rem;
}

.cs-visit-captions__list > li {
	font-family: var(--cst-heading);
	letter-spacing: 0.02em;
}

/* 2026-11-04 and 05: the page opens on the video stage (the three Halloween ads, cs/videos) under
   the jump list; the facts and the refund terms are rows of cards that leave the measure; captions
   and access is its own page, one line here. The cards: a hairline frame with the site's gold on top, the title
   in the card face, the lines in the soft ink. */
.cs-prose > .cs-visit-stage {
	margin-block-start: var(--wp--preset--spacing--40);
}

/* The captions line under the facts: a sentence and the page's link in the jump list's face. */
.cs-prose .cs-page-section > .cs-visit-more {
	margin-block-start: var(--wp--preset--spacing--40);
}

.cs-visit-more {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

.cs-visit-more strong {
	color: var(--cst-ink);
}

.cs-visit-more a {
	color: var(--cst-gold-dark);
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.cs-visit-more a::after {
	content: " \203A";
}

.cs-visit-more a:hover {
	text-decoration: underline;
}

.cs-visit-cards {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

/* The group's flow gap would push every card but the first down by one gap. */
.cs-prose .cs-visit-cards > * {
	margin: 0;
}

.cs-prose .cs-page-section > .cs-visit-cards {
	margin-block-start: var(--wp--preset--spacing--40);
}

.cs-prose .cs-page-section > .cs-visit-cards + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

.cs-visit-card {
	background: var(--cst-surface);
	border: 1px solid var(--cst-rule-line);
	border-radius: var(--cst-radius);
	border-top: 3px solid var(--cst-gold);
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: var(--wp--preset--spacing--40);
}

.cs-prose .cs-visit-card > * {
	margin: 0;
}

.cs-visit-card__title {
	font-size: var(--cst-card-title);
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.cs-visit-card > p,
.cs-visit-card > ul {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

.cs-visit-card strong {
	color: var(--cst-ink);
}

/* A card's link sits at its foot, in the jump list's face. */
.cs-prose .cs-visit-card > .cs-visit-card__link {
	margin-block-start: auto;
	padding-top: 0.4rem;
}

.cs-visit-card__link a {
	color: var(--cst-gold-dark);
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.cs-visit-card__link a:hover {
	text-decoration: underline;
}

.cs-visit-rooms__lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
}

/* The rooms: a picture, the room's name on its own line, the rest of its sentence. */
.cs-room-tile {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.cs-prose .cs-room-tile > * {
	margin: 0;
}

.cs-room-tile__picture img {
	aspect-ratio: 3 / 2;
	border-radius: var(--cst-radius);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.cs-room-tile > p {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
}

.cs-room-tile > p > strong:first-child {
	color: var(--cst-ink);
	display: block;
	font-family: var(--cst-heading);
	font-size: var(--cst-card-title);
	letter-spacing: 0.04em;
	margin-block-end: 0.15rem;
	text-transform: uppercase;
}

.cs-prose .cs-page-section > .cs-visit-lobby {
	margin-block-start: var(--wp--preset--spacing--60);
}

/* The gift card picture at its own size. */
.cs-gift-card img {
	border-radius: var(--cst-radius);
	display: block;
	height: auto;
	max-width: min(100%, 600px);
}

/* Discounts: the cards as pictures in a four-across row, a label over a group, the code under
   its card. */
.cs-coupons {
	align-items: start;
}

.cs-coupon {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.cs-prose .cs-coupon > * {
	margin: 0;
}

.cs-coupon img {
	border-radius: var(--cst-radius);
	display: block;
	height: auto;
	width: 100%;
}

.cs-coupon__label {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.cs-coupon__code {
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.06em;
}

@media (min-width: 600px) {
	/* A card without a label lines its picture up with its labelled neighbours. */
	@supports (grid-template-rows: subgrid) {
		.cs-coupons > .wp-block-group.cs-coupon {
			display: grid;
			grid-row: span 3;
			grid-template-rows: subgrid;
			row-gap: 0.6rem;
		}

		.cs-coupons > .cs-coupon > .cs-coupon__label {
			grid-row: 1;
		}

		.cs-coupons > .cs-coupon > .cs-coupon__picture {
			grid-row: 2;
		}

		.cs-coupons > .cs-coupon > .cs-coupon__code {
			grid-row: 3;
		}
	}
}

/* Stay in the know: the home page's newsletter panel, with the page's own heading and line. */
.cs-prose > .cs-page-newsletter {
	margin-block-start: var(--wp--preset--spacing--70) !important;
}

.cs-prose .cs-page-newsletter > * {
	margin-block: 0;
}

.cs-prose .cs-page-newsletter > * + * {
	margin-block-start: 0.75rem;
}

.cs-prose .cs-page-newsletter > .cs-form-wrap {
	margin-block-start: var(--wp--preset--spacing--30);
}

.cs-page-newsletter__follow {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
}

.cs-prose .cs-page-newsletter > .cs-page-newsletter__follow {
	margin-block-start: var(--wp--preset--spacing--30);
}

/* ---------------------------------------------------------------- Support us */

.cs-prose .cs-page-section > .cs-section-title + .cs-page-lead {
	margin-block-start: var(--wp--preset--spacing--40);
}

.cs-support-seat__picture img {
	border-radius: var(--cst-radius);
	display: block;
	height: auto;
	width: 100%;
}

.cs-support-seat__picture figcaption {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
	margin-block: 0.6rem 0;
	text-align: left;
}

/* An ask with its button: the panel the forms use, the line beside the button. */
.cs-ask {
	align-items: center;
	background: var(--cst-surface);
	border-radius: var(--cst-radius);
	border-top: var(--cst-rule-h) solid var(--cst-gold);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	justify-content: space-between;
	padding: var(--wp--preset--spacing--40);
}

.cs-prose .cs-ask > *,
.cs-ask form p {
	margin: 0;
}

.cs-ask__line {
	flex: 1 1 18rem;
	font-family: var(--cst-heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.3;
}

.cs-prose .cs-page-section > .cs-ask + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* A part of a section: its title beside its words on a wide screen, as a profile is. */
.cs-prose .cs-page-section > .cs-sub {
	border-top: 1px solid var(--cst-rule-line);
	padding-top: var(--wp--preset--spacing--50);
}

.cs-sub__title {
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: 0.02em;
	line-height: 1.25;
}

.cs-prose .cs-sub > *,
.cs-prose .cs-sub__body > * {
	margin-block: 0;
}

.cs-prose .cs-sub > * + *,
.cs-prose .cs-sub__body > * + * {
	margin-block-start: 1rem;
}

.cs-prose .cs-sub__body > .is-style-eyebrow {
	margin-block-start: var(--wp--preset--spacing--40);
}

.cs-prose .cs-sub__body > .is-style-eyebrow + .cs-facts-list {
	margin-block-start: 0.6rem;
}

@media (min-width: 782px) {
	.cs-sub {
		align-items: start;
		column-gap: var(--wp--preset--spacing--40);
		display: grid;
		grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
	}

	.cs-prose .cs-sub > * + * {
		margin-block-start: 0;
	}

	.cs-sub > .cs-sub__title {
		padding-top: 0.15em;
	}
}

/* Two lists side by side where one would run long. */
.cs-prose .cs-pair > *,
.cs-prose .cs-pair__item > * {
	margin-block: 0;
}

.cs-prose .cs-pair > * + *,
.cs-prose .cs-pair__item > * + * {
	margin-block-start: 0.75rem;
}

@media (min-width: 600px) {
	.cs-pair {
		column-gap: var(--wp--preset--spacing--40);
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cs-prose .cs-pair > * + * {
		margin-block-start: 0;
	}
}

/* ---------------------------------------------------------------- Pictures with a line under them (2026-11-04) */

/* A caption under a page picture is context the material states (the event, the room, the
   year), set small and quiet under the frame, never over it. */
.cs-prose .cs-story__picture figcaption,
.cs-prose .cs-wide-picture figcaption,
.cs-prose .cs-room-tile__picture figcaption {
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
	margin-block: 0.6rem 0;
	text-align: left;
}

/* A row of pictures (the gallery block with the cs-pictures class): equal 3:2 frames aligned to
   the text column (round two: the owner found the wider rows a mishmash, off the text's edges),
   one gap, the caption under each frame rather than painted over it. */
.cs-prose .cs-pictures-section {
	margin-block-start: var(--wp--preset--spacing--40);
}

.cs-prose .cs-pictures.has-nested-images {
	gap: 1.25rem 1rem;
	margin-inline: 0;
}

/* Core's cropped-gallery rules carry an id in their selector; these match them to keep the
   frame at 3:2 and the caption in the flow under it (the galleries do not use is-cropped). */
.cs-prose .cs-pictures.has-nested-images figure.wp-block-image:not(#individual-image) {
	align-self: flex-start;
	display: block;
	height: auto;
}

.cs-prose .cs-pictures.has-nested-images figure.wp-block-image:not(#individual-image) img {
	aspect-ratio: 3 / 2;
	border-radius: var(--cst-radius-card, var(--cst-radius));
	box-shadow: var(--cst-shadow-card, none);
	height: auto;
	object-fit: cover;
	width: 100%;
}

.cs-prose .cs-pictures.has-nested-images figure.wp-block-image:not(#individual-image) figcaption {
	background: none;
	color: var(--cst-soft);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
	margin: 0;
	max-height: none;
	padding: 0.5rem 0 0;
	position: static;
	text-align: left;
	text-shadow: none;
}

@media (max-width: 599px) {
	.cs-prose .cs-pictures.has-nested-images.columns-3 figure.wp-block-image,
	.cs-prose .cs-pictures.has-nested-images.columns-4 figure.wp-block-image {
		width: 100%;
	}
}
