/**
 * News & Updates — the listing, the category pages, and a story.
 *
 * Prefixed nw-, built on the Our Work kit (our-work.css). --kind is the
 * category's colour, set on the element that belongs to it.
 */

/* =========================================================
   Tokens and shared bits
   ========================================================= */
.nw {
	--kind: #571c91;
	--ow-accent: var(--kind);
	--ow-accent-strong: var(--kind);
	--ow-accent-soft: color-mix(in srgb, var(--kind) 12%, #fff);
	--ow-tint: #faf7fd;
	--nw-gold: #f2c14e;
}

.nw .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Spaced rather than dot-separated: a dot at the start of a wrapped line reads as a stray mark. */
.nw-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin: 0;
	color: var(--ow-muted);
	font-size: 13px;
	font-weight: 500;
}
.nw-meta > * { min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nw-meta i { margin-right: 3px; }
.nw-meta--light { color: rgba(255, 255, 255, .8); }

.nw-live {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e11d48;
	animation: ow-pulse 1.8s ease-out infinite;
}

/* =========================================================
   Listing hero, chips and search
   ========================================================= */
.nw-hero {
	padding: 36px 0 30px;
	/* Newsprint: faint rules, like a column of type. */
	background:
		repeating-linear-gradient(180deg, transparent 0 31px, rgba(87, 28, 145, .045) 31px 32px),
		linear-gradient(180deg, #f7f2fc 0%, #fff 100%);
}
.nw-hero__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
	padding-bottom: 26px;
	border-bottom: 3px double color-mix(in srgb, var(--kind) 35%, #fff);
}
.nw-hero .ow-h1 { margin-bottom: 0; }
.nw .nw-hero__lead { max-width: 640px; margin: 12px 0 0; color: var(--ow-body); font-size: 16.5px; }
.nw-hero__dateline {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin: 0 0 6px;
	padding-left: 22px;
	border-left: 1px solid var(--ow-line);
	text-align: right;
}
.nw-hero__dateline span { color: var(--ow-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nw-hero__dateline strong { color: var(--ow-ink); font-size: 20px; font-weight: 700; }
.nw-cat .nw-hero__dateline strong,
.nw-found .nw-hero__dateline strong { color: var(--kind, #571c91); font-size: 40px; line-height: 1; }
.nw-eyebrow-kind { background: color-mix(in srgb, var(--kind) 12%, #fff); color: var(--kind); }

.nw-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.nw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-chip {
	--kind: #571c91;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1.5px solid var(--ow-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ow-ink);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.nw-chip span { padding: 1px 8px; border-radius: 999px; background: var(--ow-tint); color: var(--ow-muted); font-size: 12px; }
.nw-chip i { color: var(--kind); }
.nw-chip:hover { border-color: var(--kind); color: var(--kind); }
.nw-chip.is-active { border-color: var(--kind); background: var(--kind); color: #fff; }
.nw-chip.is-active i { color: #fff; }
.nw-chip.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }

.nw-search {
	display: flex;
	align-items: center;
	width: min(320px, 100%);
	border: 1.5px solid var(--ow-line);
	border-radius: 999px;
	background: #fff;
	transition: border-color .2s ease;
}
.nw-search:focus-within { border-color: #571c91; }
.nw-search i { padding-left: 16px; color: var(--ow-muted); }
.nw-search input { flex: 1; min-width: 0; padding: 10px 14px 10px 10px; border: 0; background: transparent; color: var(--ow-ink); font: inherit; font-size: 14.5px; outline: none; }

/* =========================================================
   Front page: the lead story and the stories rail
   ========================================================= */
.nw-front { padding: 34px 0 10px; }
.nw-front__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.nw-front__grid--solo { grid-template-columns: minmax(0, 1fr); }

.nw-lead {
	position: relative;
	isolation: isolate;
	display: flex;
	overflow: hidden;
	min-height: 500px;
	border-radius: 28px;
	background: #2b1340;
	box-shadow: var(--ow-shadow);
}
.nw-lead__media { position: absolute; z-index: -2; inset: 0; display: block; }
.nw-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.nw-lead:hover .nw-lead__media img { transform: scale(1.04); }
.nw-lead::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(0deg, rgba(25, 8, 40, .95) 0%, rgba(25, 8, 40, .7) 40%, rgba(25, 8, 40, 0) 75%);
	pointer-events: none;
}
.nw-lead__body { align-self: flex-end; padding: clamp(24px, 3.5vw, 42px); color: #fff; }
.nw-lead__flags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.nw-flag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--nw-gold);
	color: #2a1600;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.nw a.nw-lead__kind { color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; opacity: .85; }
.nw a.nw-lead__kind:hover { opacity: 1; text-decoration: underline; }
.nw-lead__title { max-width: 760px; margin: 0 0 12px; font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; line-height: 1.2; }
.nw .nw-lead__title a { color: #fff; text-decoration: none; }
/* The whole card is the title's link. */
.nw-lead__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nw-lead__title a:focus-visible { outline: none; }
.nw-lead:has(.nw-lead__title a:focus-visible) { outline: 3px solid var(--nw-gold); outline-offset: 3px; }
.nw .nw-lead__summary { max-width: 700px; margin: 0 0 16px; color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.7; }
.nw-lead__flags a { position: relative; z-index: 2; }

.nw-rail {
	--kind: #9a6412;
	display: flex;
	flex-direction: column;
	padding: 24px 22px 14px;
	border: 1px solid var(--ow-line);
	border-radius: 28px;
	background: #fff;
}
.nw-rail__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--kind); }
.nw-rail__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ow-ink); font-size: 18px; font-weight: 800; }
.nw-rail__head h2 i { color: var(--kind); }
.nw .nw-rail__head a { color: var(--kind); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.nw-rail__list { display: grid; flex: 1; margin: 0; padding: 0; list-style: none; }
/* Four stories share the height of the lead card; one or two sit at the top instead of floating apart. */
.nw-rail__list:not(:has(li:nth-child(3))) { align-content: start; }
.nw-rail__list li + li { border-top: 1px dashed var(--ow-line); }
.nw-rail__item {
	display: grid;
	grid-template-columns: 34px 72px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	height: 100%;
	padding: 14px 6px;
	border-radius: 14px;
	color: inherit;
	text-decoration: none;
	transition: background-color .2s ease;
}
.nw-rail__item:hover { background: var(--ow-tint); }
.nw-rail__num { color: transparent; font-size: 26px; font-weight: 800; -webkit-text-stroke: 1.5px var(--kind); }
.nw-rail__thumb {
	display: grid;
	place-items: center;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 12px;
	background: color-mix(in srgb, var(--kind) 12%, #fff);
	color: var(--kind);
	font-size: 22px;
}
.nw-rail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nw-rail__text { display: flex; flex-direction: column; gap: 4px; }
.nw-rail__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--ow-ink);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.nw-rail__item:hover .nw-rail__title { color: var(--kind); }
.nw-rail__text time { color: var(--ow-muted); font-size: 12.5px; }

/* =========================================================
   The grid of cards
   ========================================================= */
.nw-list { padding: 60px 0 100px; }
.nw-list--flush { padding-top: 40px; }
.nw-list__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 28px; }
.nw-list__head .ow-h2 { margin: 0; }

.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.nw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ow-line);
	border-radius: 22px;
	background: #fff;
	transition: transform .25s ease, box-shadow .25s ease;
}
.nw-card:hover { box-shadow: var(--ow-shadow); transform: translateY(-5px); }
.nw-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ow-tint); }
.nw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.nw-card:hover .nw-card__media img { transform: scale(1.06); }
.nw-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, color-mix(in srgb, var(--kind) 18%, #fff), color-mix(in srgb, var(--kind) 6%, #fff));
	color: var(--kind);
	font-size: 44px;
}
.nw-card__kind {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--kind);
	box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.nw-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.nw-card__title { margin: 10px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.35; }
.nw .nw-card__title a { color: var(--ow-ink); text-decoration: none; }
.nw-card__title a::after { content: ""; position: absolute; inset: 0; }
.nw-card:hover .nw-card__title a { color: var(--kind); }
.nw-card:has(.nw-card__title a:focus-visible) { outline: 3px solid var(--kind); outline-offset: 3px; }
.nw-card__title a:focus-visible { outline: none; }
.nw .nw-card__summary {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 16px;
	font-size: 14.5px;
	line-height: 1.7;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.nw-card__more { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--kind); font-size: 14px; font-weight: 700; }
.nw-card__more i { transition: transform .2s ease; }
.nw-card:hover .nw-card__more i { transform: translateX(4px); }
.nw-card__time { margin-left: auto; color: var(--ow-muted); font-size: 12.5px; font-weight: 500; }

/* Pagination, as WordPress writes it */
.nw-pagination { margin-top: 44px; }
.nw-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nw-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1.5px solid var(--ow-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ow-ink);
	font-weight: 700;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.nw-pagination a.page-numbers:hover { border-color: #571c91; color: #571c91; }
.nw-pagination .page-numbers.current { border-color: #571c91; background: #571c91; color: #fff; }
.nw-pagination .page-numbers.dots { border-color: transparent; background: transparent; }

.nw-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 24px; border: 1px dashed var(--ow-line); border-radius: 26px; text-align: center; }
.nw-empty > i { color: #571c91; font-size: 46px; }
.nw-empty h2 { margin: 6px 0 0; color: var(--ow-ink); font-size: 24px; font-weight: 800; }
.nw .nw-empty p { margin: 0 0 12px; color: var(--ow-muted); }

/* =========================================================
   A story
   ========================================================= */
.nw-progress { position: fixed; z-index: 1100; top: 0; right: 0; left: 0; height: 4px; pointer-events: none; }
.nw-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--kind, #571c91), var(--nw-gold, #f2c14e)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

.nw-story-head {
	padding: 36px 0 130px;
	background:
		radial-gradient(900px 420px at 50% 0%, color-mix(in srgb, var(--kind) 14%, #fff) 0%, transparent 70%),
		#fff;
}
.nw-story-head__inner { display: flex; flex-direction: column; align-items: center; max-width: 900px; margin: 16px auto 0; text-align: center; }
.nw-kind {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--kind);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none;
}
.nw a.nw-kind:hover { color: #fff; filter: brightness(1.1); }
.nw-story-head__title { margin: 18px 0 16px; color: var(--ow-ink); font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
.nw .nw-story-head__standfirst { max-width: 720px; margin: 0 0 20px; color: var(--ow-body); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.nw-story-head__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nw-story-head__meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--ow-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ow-ink);
	font-size: 14px;
	font-weight: 500;
}
.nw-story-head__meta i { color: var(--kind); }

.nw-cover { margin: -100px 0 0; }
.nw-cover img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(30, 10, 50, .55); }
.nw-cover figcaption { margin-top: 12px; color: var(--ow-muted); font-size: 14px; text-align: center; }

/* Share rail, story, and a matching gap on the right keep the story centred. */
.nw-story-body {
	display: grid;
	grid-template-columns: 60px minmax(0, 740px) 60px;
	justify-content: center;
	gap: 0 40px;
	padding-top: 50px;
}
.nw-share { position: sticky; top: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; align-self: start; }
.nw-share__label { color: var(--ow-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nw-share__btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ow-line);
	border-radius: 50%;
	background: #fff;
	color: var(--ow-ink);
	font-size: 18px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.nw-share__btn:hover { color: #fff; transform: translateY(-2px); }
.nw-share__btn--whatsapp:hover { border-color: #25d366; background: #25d366; }
.nw-share__btn--facebook:hover { border-color: #1877f2; background: #1877f2; }
.nw-share__btn--x:hover { border-color: #000; background: #000; }
.nw-share__btn--linkedin:hover { border-color: #0a66c2; background: #0a66c2; }
.nw-share__btn[data-nw-copy]:hover,
.nw-share__btn--native:hover { border-color: #571c91; background: #571c91; }
.nw-share__btn.is-copied { border-color: #059669; background: #059669; color: #fff; }
.nw-share__btn.is-copied::after {
	content: "Copied";
	position: absolute;
	left: calc(100% + 8px);
	padding: 4px 10px;
	border-radius: 8px;
	background: #059669;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.nw-story-foot .nw-share__btn.is-copied::after { top: calc(100% + 6px); left: 50%; transform: translateX(-50%); }

/* ---- The story's own content, from the block editor ---- */
.nw-prose { min-width: 0; color: #3b3550; font-size: 17.5px; line-height: 1.85; overflow-wrap: break-word; }
.nw-prose > * { margin-top: 0; margin-bottom: 1.35em; }
.nw-prose > :last-child { margin-bottom: 0; }
.nw .nw-prose p { font-size: inherit; line-height: inherit; text-align: left; }

/* The opening paragraph reads as a lead. Not a drop capital: in this sans-serif
   an "I" or an opening quote mark became a bare stroke. */
.nw .nw-prose > p:first-child { color: var(--ow-ink); font-size: 1.14em; line-height: 1.75; }

.nw-prose h2,
.nw-prose h3,
.nw-prose h4 { margin-top: 1.8em; margin-bottom: .6em; color: var(--ow-ink); font-weight: 800; line-height: 1.3; }
.nw-prose h2 { position: relative; padding-left: 18px; font-size: 1.5em; }
.nw-prose h2::before { content: ""; position: absolute; top: .2em; bottom: .2em; left: 0; width: 5px; border-radius: 5px; background: var(--kind); }
.nw-prose h3 { color: var(--kind); font-size: 1.22em; }
.nw-prose h4 { font-size: 1.05em; letter-spacing: .02em; text-transform: uppercase; }

.nw-prose strong,
.nw-prose b { color: var(--ow-ink); font-weight: 700; }
/* Headings pasted in often arrive wrapped in bold; they keep the heading's own colour. */
.nw-prose :is(h1, h2, h3, h4, h5, h6) :is(strong, b) { color: inherit; font-weight: inherit; }
.nw-prose em,
.nw-prose i:not(.bi) { font-style: italic; }
.nw-prose a:not(.nw-zoom):not(.wp-block-button__link) {
	color: var(--kind);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: color-mix(in srgb, var(--kind) 35%, transparent);
	text-underline-offset: 3px;
}
.nw-prose a:not(.nw-zoom):not(.wp-block-button__link):hover { text-decoration-color: var(--kind); }
.nw-prose mark { padding: 0 3px; border-radius: 3px; background: #fde68a; color: inherit; }

.nw-prose ul,
.nw-prose ol { padding-left: 0; list-style: none; }
.nw-prose li { position: relative; margin-bottom: .55em; padding-left: 1.9em; }
.nw-prose ul > li::before {
	content: "";
	position: absolute;
	top: .72em;
	left: .45em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--kind);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--kind) 15%, #fff);
}
.nw-prose ol { counter-reset: nw-ol; }
.nw-prose ol > li { counter-increment: nw-ol; }
.nw-prose ol > li::before {
	content: counter(nw-ol);
	position: absolute;
	top: .2em;
	left: 0;
	display: grid;
	place-items: center;
	width: 1.45em;
	height: 1.45em;
	border-radius: 50%;
	background: var(--kind);
	color: #fff;
	font-size: .8em;
	font-weight: 700;
}
.nw-prose li > ul,
.nw-prose li > ol { margin-top: .55em; }

.nw-prose blockquote,
.nw-prose .wp-block-quote {
	position: relative;
	margin-inline: 0;
	padding: 26px 28px 22px 64px;
	border: 0;
	border-radius: 20px;
	background: color-mix(in srgb, var(--kind) 7%, #fff);
	color: var(--ow-ink);
	font-size: 1.1em;
	font-style: italic;
}
.nw-prose blockquote::before {
	content: "\201C";
	position: absolute;
	top: 6px;
	left: 18px;
	color: var(--kind);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 64px;
	font-style: normal;
	line-height: 1;
}
.nw-prose blockquote p:last-of-type { margin-bottom: 0; }
.nw-prose blockquote cite { display: block; margin-top: 10px; color: var(--ow-muted); font-size: .8em; font-style: normal; font-weight: 600; }
.nw-prose .wp-block-pullquote { padding: 30px 0; border-top: 3px solid var(--kind); border-bottom: 3px solid var(--kind); text-align: center; }
.nw-prose .wp-block-pullquote blockquote { padding: 0; background: none; font-size: 1.35em; }
.nw-prose .wp-block-pullquote blockquote::before { content: none; }

.nw-prose img { max-width: 100%; height: auto; border-radius: 18px; }
.nw-prose figure { margin-inline: 0; }
.nw-prose figcaption,
.nw-prose .wp-element-caption { margin-top: 10px; color: var(--ow-muted); font-size: 14px; line-height: 1.5; text-align: center; }
.nw-zoom { display: block; cursor: zoom-in; }
.nw-zoom img { transition: filter .2s ease; }
.nw-zoom:hover img { filter: brightness(1.05); }
.nw-zoom:focus-visible { border-radius: 18px; outline: 3px solid var(--kind); outline-offset: 3px; }

/* Wide and full-width blocks break out of the story column. */
.nw-prose .alignwide { width: min(1100px, calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.nw-prose .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.nw-prose .alignfull img { border-radius: 0; }
.nw-prose .aligncenter { margin-inline: auto; text-align: center; }
.nw-prose .alignleft { float: left; max-width: 50%; margin: .3em 1.5em 1em 0; }
.nw-prose .alignright { float: right; max-width: 50%; margin: .3em 0 1em 1.5em; }

/* WordPress sizes each tile from this variable, so the gap and the variable
   must agree — a wider gap alone pushed the second tile onto its own row. The
   extra class outranks the value WordPress prints inline per gallery. */
.nw-prose .wp-block-gallery.has-nested-images { --wp--style--unstable-gallery-gap: 12px; gap: 12px; }
.nw-prose .wp-block-gallery figure.wp-block-image { min-width: 0; }
.nw-prose .wp-block-gallery .nw-zoom { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.nw-prose .wp-block-gallery .wp-block-image img { width: 100%; border-radius: 14px; }

.nw-prose .wp-block-embed__wrapper iframe,
.nw-prose iframe { max-width: 100%; border: 0; border-radius: 18px; }

.nw-prose .wp-block-table { overflow-x: auto; }
.nw-prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.nw-prose th,
.nw-prose td { padding: 12px 14px; border: 1px solid var(--ow-line); text-align: left; }
.nw-prose thead th { background: var(--kind); color: #fff; font-weight: 700; }
.nw-prose tbody tr:nth-child(even) { background: var(--ow-tint); }

.nw-prose hr,
.nw-prose .wp-block-separator {
	width: 120px;
	height: 3px;
	margin: 2.4em auto;
	border: 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--kind), var(--nw-gold));
	opacity: 1;
}

.nw-prose .wp-block-button__link {
	display: inline-flex;
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--kind);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.nw-prose .page-links { display: flex; gap: 8px; font-size: 15px; font-weight: 700; }

/* ---- After the story ---- */
.nw-story-foot { max-width: 740px; margin: 50px auto 0; padding-top: 26px; border-top: 1px solid var(--ow-line); }
.nw-story-foot__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.nw-story-foot__share > span { color: var(--ow-ink); font-size: 16px; font-weight: 700; }
.nw-story-foot__share > div { display: flex; flex-wrap: wrap; gap: 8px; }

.nw-adjacent { padding: 60px 0 0; }
.nw-adjacent__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nw-adjacent__link {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--ow-line);
	border-radius: 20px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.nw-adjacent__link:hover { border-color: #571c91; box-shadow: var(--ow-shadow); }
.nw-adjacent__link--newer { grid-template-columns: minmax(0, 1fr) 86px; text-align: right; }
.nw-adjacent__link--newer .nw-adjacent__thumb { order: 2; }
.nw-adjacent__thumb { display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; border-radius: 14px; background: var(--ow-tint); color: #571c91; font-size: 24px; }
.nw-adjacent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nw-adjacent__text { display: flex; flex-direction: column; gap: 4px; }
.nw-adjacent__dir { color: #571c91; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.nw-adjacent__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--ow-ink);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.nw-related { padding: 70px 0 20px; }
.nw-related .ow-link { color: var(--kind); }

.nw-cta { padding: 60px 0 100px; }
.nw-cta__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	padding: clamp(28px, 4vw, 44px);
	border-radius: 28px;
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(242, 193, 78, .25), transparent 70%),
		linear-gradient(135deg, #571c91 0%, #33105a 100%);
	color: rgba(255, 255, 255, .85);
}
.nw-cta__card h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.nw .nw-cta__card p { max-width: 620px; margin: 0; color: rgba(255, 255, 255, .85); }
.nw .nw-cta__card .ow-btn--light { color: #571c91; }

@media (prefers-reduced-motion: reduce) {
	.nw *, .nw *::before, .nw *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
	.nw-story-body { grid-template-columns: 60px minmax(0, 700px); gap: 0 32px; }
}

@media (max-width: 991px) {
	.nw-front__grid { grid-template-columns: minmax(0, 1fr); }
	.nw-lead { min-height: 420px; }
	.nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* The share rail moves to the end of the story. */
	.nw-story-body { grid-template-columns: minmax(0, 720px); }
	.nw-share { display: none; }
	.nw-story-head { padding-bottom: 110px; }
	.nw-cover { margin-top: -80px; }
}

@media (max-width: 767px) {
	.nw-hero__head { align-items: flex-start; }
	.nw-hero__dateline { align-items: flex-start; padding-left: 0; border-left: 0; text-align: left; }
	.nw-filters { flex-direction: column; align-items: stretch; }
	.nw-search { width: 100%; }
	.nw-grid { grid-template-columns: minmax(0, 1fr); }
	.nw-lead { min-height: 380px; border-radius: 22px; }
	.nw-list { padding: 44px 0 70px; }
	.nw-prose { font-size: 16.5px; }
	.nw-prose .alignleft,
	.nw-prose .alignright { float: none; max-width: 100%; margin: 0 0 1.35em; }
	.nw-adjacent__grid { grid-template-columns: minmax(0, 1fr); }
	.nw-cover img { border-radius: 20px; }
}

@media (max-width: 575px) {
	.nw-chip { padding: 8px 13px; font-size: 13.5px; }
	.nw-rail { padding: 20px 16px 10px; }
	.nw-rail__item { grid-template-columns: 28px 60px minmax(0, 1fr); gap: 10px; }
	.nw-story-head { padding: 28px 0 90px; }
	.nw-story-head__meta li { padding: 6px 12px; font-size: 13px; }
	.nw-cover { margin-top: -60px; }
	.nw-prose blockquote,
	.nw-prose .wp-block-quote { padding: 22px 18px 18px 48px; }
	.nw-prose blockquote::before { left: 10px; font-size: 52px; }
	.nw-adjacent__link,
	.nw-adjacent__link--newer { grid-template-columns: 64px minmax(0, 1fr); text-align: left; }
	.nw-adjacent__link--newer .nw-adjacent__thumb { order: 0; }
}
