/* ═══════════════════════════════════════════════════════════════════════════════════════════════
 * THE STORY PAGES — native, 2026-09-18
 * ═══════════════════════════════════════════════════════════════════════════════════════════════
 *
 * 🔴 THESE PAGES ARE MOSTLY PICTURES. /our-story/ carries 18 images against 555 words and
 *   /characters/ 15 against 246, so the layout is built for figures with prose between them,
 *   not for prose with the odd illustration. The measure stays narrow for reading; the images
 *   are allowed to break wider than the text they sit between.
 *
 * ⚠️ NO `.elementor-*` SELECTOR APPEARS IN THIS FILE. That is the test of whether the conversion
 *   really happened - if the stylesheet needed a builder class to work, the markup would still
 *   be the builder's.
 */

.afw-pr {
	background: var(--afw-paper, #fbfafc);
	padding-bottom: 0;
}

.afw-pr .afw-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

/*  ---- breadcrumb ---------------------------------------------------------------------------- */

.afw-pr .afw-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 22px 0 0;
	font-size: 13px;
	color: var(--afw-meta, #6e6b7b);
}

.afw-pr .afw-crumb a { color: inherit; text-decoration: none; }
.afw-pr .afw-crumb a:hover { color: var(--afw-mauve-strong, #5f4a8a); }
.afw-pr .afw-crumb-sep { color: var(--afw-line, #e4deec); }

/*  ---- the opening --------------------------------------------------------------------------- */

.afw-pr .afw-pr-head {
	max-width: 760px;
	margin: 0 auto;
	padding: 34px 0 34px;
	text-align: center;
}

.afw-pr .afw-pr-title {
	font-family: var(--afw-serif, Georgia, serif);
	font-size: clamp(34px, 5.4vw, 56px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: var(--afw-ink, #1c1a22);
	margin: 0;
	text-wrap: balance;
}

.afw-pr .afw-pr-lede {
	margin: 16px auto 0;
	max-width: 60ch;
	font-size: 17.5px;
	line-height: 1.7;
	color: var(--afw-ink-2, #4c4a57);
}

/*  ---- the document -------------------------------------------------------------------------- */

/**
 * ⚠️ ONE COLUMN, CENTRED, WITH THE FIGURES ALLOWED TO BREAK OUT. The text column is a readable
 *   measure; a picture is not text and is not held to it, so figures widen to the wrap and the
 *   largest ones to the full column. Grid is what makes that possible without negative margins.
 */
.afw-pr .afw-pr-body {
	display: grid;
	grid-template-columns:
		[full-start] minmax(0, 1fr)
		[wide-start] minmax(0, 120px)
		[text-start] minmax(0, 68ch)
		[text-end] minmax(0, 120px)
		[wide-end] minmax(0, 1fr)
		[full-end];
	font-size: 17px;
	line-height: 1.78;
	color: var(--afw-ink-2, #4c4a57);
	padding-bottom: 88px;
}

.afw-pr .afw-pr-body > * { grid-column: text; }

.afw-pr .afw-pr-body > .afw-pr-fig { grid-column: wide; }

.afw-pr .afw-pr-body > :first-child { margin-top: 0; }

.afw-pr .afw-pr-body h2 {
	font-family: var(--afw-serif, Georgia, serif);
	font-size: clamp(25px, 3vw, 31px);
	font-weight: 500;
	line-height: 1.16;
	letter-spacing: -0.022em;
	color: var(--afw-ink, #1c1a22);
	margin: 56px 0 16px;
	text-wrap: balance;
}

.afw-pr .afw-pr-body h3 {
	font-family: var(--afw-serif, Georgia, serif);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.28;
	color: var(--afw-ink, #1c1a22);
	margin: 36px 0 12px;
}

.afw-pr .afw-pr-body h4 {
	font-family: var(--afw-sans, system-ui, sans-serif);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: var(--afw-tr-label, 0.06em);
	text-transform: uppercase;
	color: var(--afw-meta, #6e6b7b);
	margin: 30px 0 10px;
}

.afw-pr .afw-pr-body p { margin: 0 0 20px; }
.afw-pr .afw-pr-body ul,
.afw-pr .afw-pr-body ol { margin: 0 0 22px; padding-left: 22px; }
.afw-pr .afw-pr-body li { margin-bottom: 10px; }
.afw-pr .afw-pr-body strong { color: var(--afw-ink, #1c1a22); font-weight: 600; }

.afw-pr .afw-pr-body a {
	color: var(--afw-mauve-strong, #5f4a8a);
	text-decoration: none;
	border-bottom: 1px solid rgba(122, 98, 168, 0.35);
	transition: border-color var(--afw-ease, 150ms ease-out);
}

.afw-pr .afw-pr-body a:hover { border-bottom-color: var(--afw-mauve-strong, #5f4a8a); }

/*  ---- the figures --------------------------------------------------------------------------- */

.afw-pr .afw-pr-fig {
	margin: 40px 0;
	text-align: center;
}

.afw-pr .afw-pr-fig img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 16px;
	background: var(--afw-card, #fff);
	box-shadow: var(--afw-lift, 0 1px 2px rgba(28, 26, 34, 0.04), 0 8px 24px rgba(28, 26, 34, 0.05));
}

/**
 * ⚠️ A TRANSPARENT PNG OR WEBP MUST NOT GET A CARD. Several of these are cut-out characters on no
 *   background; a white panel and a shadow behind one looks like a mistake. They are marked by the
 *   authored markup where it says so, and otherwise carry the panel, which is the safe default for
 *   a photograph.
 */
.afw-pr .afw-pr-fig img[src*="Group"],
.afw-pr .afw-pr-fig img[src*="-nobg"],
.afw-pr .afw-pr-fig img[src$=".png"] {
	background: none;
	box-shadow: none;
	border-radius: 0;
}

.afw-pr .afw-pr-fig figcaption {
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--afw-meta, #6e6b7b);
}

/*  ---- phone --------------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.afw-pr .afw-wrap { padding: 0 16px; }
	.afw-pr .afw-pr-head { padding: 22px 0 24px; }
	.afw-pr .afw-pr-body { font-size: 16.5px; padding-bottom: 56px; }
	.afw-pr .afw-pr-body h2 { margin-top: 40px; }
	.afw-pr .afw-pr-fig { margin: 28px 0; }
	.afw-pr .afw-pr-fig img { border-radius: 12px; }
}

/*  ---- related posts, on articles only -------------------------------------------------------- */

/**
 * ⚠️ RESTORED, NOT INVENTED. The theme printed a "Share the Post / Related Posts" block at the
 *   end of every article and the conversion dropped it - the only real loss the before/after
 *   comparison found. On a blog that block is the internal linking, so it comes back.
 */
.afw-pr .afw-pr-rel {
	grid-column: wide;
	border-top: 1px solid var(--afw-line, #e4deec);
	margin-top: 48px;
	padding-top: 34px;
}

.afw-pr .afw-pr-rel-h {
	margin: 0 0 18px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: var(--afw-tr-label, 0.08em);
	text-transform: uppercase;
	color: var(--afw-meta, #6e6b7b);
}

.afw-pr .afw-pr-rel ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.afw-pr .afw-pr-rel li { margin: 0; }

.afw-pr .afw-pr-rel a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	color: var(--afw-ink, #1c1a22);
	text-decoration: none;
	border: 0;
}

.afw-pr .afw-pr-rel-img {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: var(--afw-band, #f5f2f8);
}

.afw-pr .afw-pr-rel-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
	transition: transform 420ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.afw-pr .afw-pr-rel a:hover .afw-pr-rel-img img { transform: scale(1.04); }

.afw-pr .afw-pr-rel-t {
	font-family: var(--afw-serif, Georgia, serif);
	font-size: 17px;
	line-height: 1.3;
	text-wrap: balance;
}

.afw-pr .afw-pr-rel a:hover .afw-pr-rel-t { color: var(--afw-mauve-strong, #5f4a8a); }

.afw-pr .afw-pr-rel-d {
	font-size: 12.5px;
	color: var(--afw-meta, #6e6b7b);
}

.afw-pr .afw-pr-rel a:focus-visible {
	outline: 2px solid var(--afw-mauve-strong, #5f4a8a);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.afw-pr .afw-pr-rel-img img { transition: none; }
	.afw-pr .afw-pr-rel a:hover .afw-pr-rel-img img { transform: none; }
}
