/*
 * FLO — News: the list (home.php) and the article (single.php).
 * Values from design/source/news.dc.html and news-1…5.dc.html. The list
 * itself is the news-feed section (sections.css).
 */

/* ==========================================================================
   List: older / newer links (more than twelve articles; not in the design)
   ========================================================================== */

.p-feed-pages {
	padding: 0 var(--gutter) clamp(64px, 8vw, 96px);
}

.c-feed + .p-feed-pages {
	margin-top: calc(-1 * clamp(40px, 5vw, 72px));
}

.p-feed-pages__inner {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
}

.p-feed-pages a {
	color: var(--navy-ink);
	text-decoration: none;
}

.p-feed-pages a:hover {
	color: var(--gold-text);
}

/* ==========================================================================
   Article: hero — date, title, the cover hanging over the text
   ========================================================================== */

.p-article-hero {
	padding: clamp(52px, 6.6vw, 80px) var(--gutter) 0;
}

.p-article-hero .c-crumbs {
	margin-bottom: clamp(20px, 3vw, 30px);
	color: rgba(255, 255, 255, .62);
}

.p-article-hero .c-crumbs .c-crumbs__link {
	color: rgba(255, 255, 255, .72);
}

.p-article-hero .c-crumbs .c-crumbs__link:hover {
	color: var(--gold);
}

.p-article-hero__split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(30px, 5vw, 72px);
	align-items: center;
	margin-top: clamp(20px, 2.6vw, 30px);
}

.p-article-hero__text {
	padding-bottom: clamp(56px, 7vw, 84px);
}

.p-article-hero__title {
	max-width: 22ch;
	margin: 16px 0 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(28px, 3.8vw, 48px);
	line-height: 1.05;
	letter-spacing: -.03em;
	color: var(--paper);
}

.p-article-hero__photo {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 460px;
	aspect-ratio: 4 / 3;
	justify-self: end;
	margin-bottom: calc(-1 * clamp(64px, 8vw, 120px));
	border-radius: 22px;
	overflow: hidden;
	background: #0d3363;
	box-shadow: 0 34px 70px -48px rgba(0, 0, 0, .7);
}

.p-article-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   Article: text parts (narrow column) and the bands between them
   ========================================================================== */

.p-article__part {
	padding: clamp(44px, 5.6vw, 72px) var(--gutter) clamp(72px, 9vw, 104px);
}

/* A text part right after a film band: the band already ends with its space */
.p-article .p-band--video + .p-article__part {
	padding-top: 0;
}

.p-article {
	--article-gap: clamp(30px, 5vw, 72px);
}

.p-article__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: var(--article-gap);
}

.p-article__text {
	max-width: 66ch;
	font-size: 16px;
}

.p-article__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-bottom: 30px;
	padding-bottom: 22px;
	border-bottom: 1px solid #E4DDCC;
}

.p-article__author {
	font-weight: 700;
	font-size: 11px;
	line-height: 1;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.p-article__dot {
	flex: none;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--gold);
}

.p-article__time {
	font-weight: 600;
	font-size: 13.5px;
	line-height: 1;
	color: var(--muted-2);
}

.p-article__text p {
	margin: 0 0 26px;
	font-size: 18.5px;
	line-height: 1.8;
	color: var(--text);
}

.p-article__text .p-article__lead {
	margin: 0 0 30px;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 600;
	font-size: clamp(20px, 2.2vw, 25px);
	line-height: 1.42;
	letter-spacing: -.012em;
	color: var(--navy);
}

.p-article__text h2 {
	margin: clamp(40px, 5vw, 56px) 0 18px;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.12;
	letter-spacing: -.025em;
	color: var(--navy);
}

.p-article__text h3,
.p-article__text h4 {
	margin: clamp(32px, 4vw, 44px) 0 14px;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 700;
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.2;
	letter-spacing: -.018em;
	color: var(--navy);
}

.p-article__text ul,
.p-article__text ol {
	margin: 0 0 26px;
	padding-left: 1.25em;
	list-style: disc; /* the editor's lists carry a class (wp-block-list) and base.css strips the markers of every ul[class] (WP-10b) */
	font-size: 18.5px;
	line-height: 1.8;
	color: var(--text);
}

.p-article__text ol {
	list-style: decimal;
}

.p-article__text li + li {
	margin-top: 6px;
}

.p-article__text li::marker {
	color: var(--gold-text);
}

.p-article__text hr {
	margin: clamp(40px, 5vw, 56px) 0;
	border: 0;
	border-top: 1px solid #E4DDCC;
}

.p-article__text a {
	color: var(--navy-ink);
	text-decoration: underline;
	text-decoration-color: rgba(245, 163, 4, .6);
	text-underline-offset: 3px;
}

.p-article__text a:hover {
	color: var(--gold-text);
}

/* Button block → the gold button of the site (WP-10i); a long text wraps instead of running out of a phone */
.p-article__text .p-article__buttons {
	margin: clamp(30px, 4vw, 40px) 0 clamp(32px, 4vw, 42px);
}

/* WP-10k, WP-10l (Pascale): the button of an article is as large as the text
   around it — 18.5px here, 20px on a computer (below) — instead of the 15px of
   the site's other buttons */
.p-article__text .p-article__buttons .c-btn {
	max-width: 100%;
	padding: 19px 36px;
	font-size: 18.5px;
	line-height: 1.25;
	white-space: normal;
	text-align: center;
	text-decoration: none;
	color: var(--navy);
}

@media (max-width: 480px) {
	.p-article__text .p-article__buttons .c-btn {
		padding: 17px 28px;
	}
}

/* Image block: inside the column, with its caption */
.p-article__text .wp-block-image {
	margin: clamp(36px, 4.5vw, 52px) 0;
}

.p-article__text .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.p-article__text .wp-block-image figcaption {
	margin-top: 12px;
	font-weight: 600;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--muted-2);
}

/* Quote block → the sentence with the gold bar (news-1…5) */
.p-article__quote {
	display: flex;
	gap: clamp(20px, 3vw, 28px);
	margin: clamp(36px, 4.5vw, 52px) 0 clamp(38px, 4.5vw, 54px);
}

.p-article__text .p-article__quote p {
	margin: 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 600;
	font-size: clamp(21px, 2.6vw, 30px);
	line-height: 1.34;
	letter-spacing: -.018em;
	color: var(--navy);
}

.p-article__text .p-article__quote p + p {
	margin-top: 16px;
}

.p-article__cite {
	margin-top: 16px;
	font-weight: 700;
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-text);
}

/* Quote, style Callout → the boxed note (news-5) */
.p-article__quote--callout {
	gap: clamp(22px, 3vw, 30px);
	margin-top: clamp(44px, 5vw, 60px);
	padding: clamp(32px, 4vw, 44px) clamp(30px, 3.6vw, 42px);
	border: 1px solid #E4DDCC;
	border-radius: 22px;
	background: var(--sand);
}

.p-article__quote--callout .c-bar {
	width: 4px;
}

.p-article__text .p-article__quote--callout p {
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.44;
	letter-spacing: -.012em;
}

/* Share row */
.p-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-top: clamp(48px, 6vw, 68px);
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.p-share__label {
	font-weight: 700;
	font-size: 10.5px;
	line-height: 1;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--muted-2);
}

.p-share__buttons {
	display: flex;
	gap: 10px;
}

.p-share__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #F0EBE1;
	border-radius: 50%;
	background: transparent;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	color: var(--navy-ink);
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}

.p-share__btn--sm {
	font-size: 13px;
}

.p-share__btn--copy {
	font-size: 14px;
}

.p-share__btn:hover {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--paper);
}

.p-share__note {
	font-weight: 600;
	font-size: 13px;
	line-height: 1.4;
	color: var(--gold-text);
	opacity: 0;
	transition: opacity .25s;
}

.p-share__note.is-shown {
	opacity: 1;
}

/* Bands: film on paper, gallery on sand (data-video-band / data-gallery-band) */
.p-article .p-band--video {
	overflow: visible;
	padding: 0 var(--gutter) clamp(64px, 8vw, 96px);
}

.p-article .p-band--gallery {
	padding: clamp(64px, 8vw, 96px) var(--gutter) clamp(72px, 9vw, 104px);
}

/* ==========================================================================
   Article: support band
   ========================================================================== */

.p-support {
	overflow: hidden;
	padding: clamp(80px, 9vw, 112px) var(--gutter) clamp(84px, 9vw, 116px);
}

.p-support .c-glow--top {
	top: -240px;
	width: 820px;
	height: 820px;
}

.p-support__inner {
	position: relative;
	max-width: 900px;
	text-align: center;
}

.p-support__title {
	max-width: 24ch;
	margin: 18px auto 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(28px, 4vw, 50px);
	line-height: 1.06;
	letter-spacing: -.03em;
	color: var(--paper);
}

.p-support__actions {
	justify-content: center;
	gap: 12px;
	margin-top: 26px;
}

.p-support .c-btn {
	padding: 15px 30px;
}

.p-support .c-btn--ghost {
	border-color: rgba(255, 255, 255, .45);
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.p-support .c-btn--ghost:hover {
	border-color: var(--paper);
	background: var(--paper);
	color: var(--navy);
}

/* ==========================================================================
   Article: More news
   ========================================================================== */

.p-more-news {
	padding: clamp(60px, 7.6vw, 88px) var(--gutter) clamp(76px, 9vw, 104px);
}

.p-more-news__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 20px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--navy);
}

.p-more-news__title {
	margin: 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.08;
	letter-spacing: -.025em;
	color: var(--navy);
}

.p-more-news__all {
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	color: var(--navy-ink);
	text-decoration: none;
}

.p-more-news__all:hover {
	color: var(--gold-text);
}

.p-more-news__row {
	display: grid;
	grid-template-columns: clamp(180px, 21vw, 250px) minmax(0, 1fr);
	gap: clamp(18px, 2.6vw, 34px);
	align-items: center;
	padding: clamp(20px, 2.6vw, 30px) 0;
	border-bottom: 1px solid #E4DDCC;
	color: inherit;
	text-decoration: none;
}

.p-more-news__row:last-child {
	border-bottom: 0;
}

.p-more-news__photo {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: 14px;
	overflow: hidden;
	background: var(--sand);
	box-shadow: 0 18px 38px -30px rgba(0, 27, 66, .45);
}

.p-more-news__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.p-more-news__row:hover .p-more-news__img {
	transform: scale(1.05);
}

.p-more-news__date {
	display: block;
	font-weight: 700;
	font-size: 10.5px;
	line-height: 1;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.p-more-news__name {
	max-width: 30ch;
	margin: 10px 0 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 700;
	font-size: clamp(18px, 2vw, 24px);
	line-height: 1.16;
	letter-spacing: -.018em;
	color: var(--navy);
	transition: color .2s ease;
}

.p-more-news__row:hover .p-more-news__name {
	color: var(--gold-text);
}

.p-more-news__read {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 12px;
	font-weight: 700;
	font-size: 13.5px;
	line-height: 1;
	color: var(--navy-ink);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* WP-10j (Pascale): on a computer the article reads in a column from the left
   edge of the container to the left edge of the cover (--article-col; the cover
   is .85fr of the hero's split, at most 460px) — about two thirds of the
   container instead of about half. Photos, buttons and the bands' film and
   slider take the whole column; running text is a little larger and takes the
   whole column too, about 80 characters a line (WP-10l, Pascale). Tablet and
   phone: as before. */
@media (min-width: 1025px) {
	.p-article {
		--article-col: calc(100% - min(460px, (100% - var(--article-gap)) * .85 / 2));
	}

	.p-article__grid {
		grid-template-columns: minmax(0, var(--article-col)) minmax(0, 1fr);
	}

	.p-article__text {
		max-width: none;
	}

	/* the article's own paragraphs and lists — not the ones inside a quote —
	   and its buttons */
	.p-article__text > p:not(.p-article__lead),
	.p-article__text > ul,
	.p-article__text > ol,
	.p-article__text .p-article__buttons .c-btn {
		font-size: 20px;
	}

	.p-article .p-band > .l-container > .c-video-block,
	.p-article .p-band > .l-container > .c-gallery {
		max-width: var(--article-col);
	}
}

@media (max-width: 1024px) {
	.p-article-hero__split,
	.p-article__grid {
		grid-template-columns: 1fr;
	}

	.p-article-hero__text {
		padding-bottom: clamp(28px, 4vw, 40px);
	}

	.p-article-hero__photo {
		justify-self: start;
		max-width: 440px;
		margin-bottom: calc(-1 * clamp(48px, 7vw, 90px));
	}

	.p-article__grid > [aria-hidden] {
		display: none;
	}

	/* The cover hangs into the text here: the byline starts below it (in the
	   design the cover hides the byline — DECISIONS 2026-10-13). */
	.p-article__part--first {
		padding-top: calc(clamp(48px, 7vw, 90px) + clamp(28px, 4vw, 40px));
	}
}

@media (max-width: 768px) {
	/* As in the design: every paragraph of the text, the lead and quotes too */
	.p-article__text p,
	.p-article__text .p-article__lead,
	.p-article__text .p-article__quote p {
		line-height: 1.78;
	}

	.p-more-news__row {
		grid-template-columns: clamp(120px, 34vw, 170px) minmax(0, 1fr);
		gap: 16px;
	}
}

@media (max-width: 480px) {
	.p-article-hero__title {
		font-size: clamp(29px, 8.4vw, 38px);
	}
}
