/* ==========================================================================
   Ovation — press release
   /press-release/{slug}/, drawn by press-release.php from the press CMS. No
   comp exists for it: the header is the Articles title band's surface, the
   body the single event page's reading column.
   ========================================================================== */

.o-press {
	padding-bottom: var(--o-section-y);
	background-color: var(--o-white);
	color: var(--o-ink);
}

/* --------------------------------------------------------------------------
   Header band
   -------------------------------------------------------------------------- */
.o-press__band {
	padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.o-press__back {
	margin: 0 0 var(--o-space-lg);
}

.o-press__back .o-textlink {
	color: var(--o-ink-mist);
	font-size: var(--o-fs-small);
}

.o-press__back .o-textlink:hover,
.o-press__back .o-textlink:focus-visible {
	color: var(--o-orange);
}

/* The chevrons point back, so they travel back on hover too. */
.o-press__back .o-textlink:hover .o-textlink__chevrons,
.o-press__back .o-textlink:focus-visible .o-textlink__chevrons {
	transform: translateX(-0.25em);
}

.o-press__eyebrow {
	font-size: var(--o-label-size);
	letter-spacing: 0.139em;
}

.o-press__title {
	margin: 1rem 0 0;
	color: var(--o-navy);
	font-family: var(--o-font-ui);
	font-weight: var(--o-fw-semibold);
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); /* 28 -> 44 */
	line-height: 1.12;
	text-transform: uppercase;
	text-wrap: balance;
}

.o-press__band .o-events__meta {
	margin-top: 1.25rem;
	color: var(--o-ink-mist);
	font-size: var(--o-fs-body-lg);
}

/* --------------------------------------------------------------------------
   Images
   The CMS gives each release a layout hint. "Wide" sits full width between
   the band and the copy; FloatRight / FloatLeft sit in the copy with the text
   running round them, and stack above it once the column is too narrow for
   both.
   -------------------------------------------------------------------------- */
.o-press__wide {
	margin-top: var(--o-space-xl);
}

.o-press__figure {
	margin: 0 0 var(--o-space-lg);
}

.o-press__img {
	width: 100%;
	height: auto;
}

.o-press__caption {
	margin-top: 0.5rem;
	color: var(--o-ink-mist);
	font-family: var(--o-font-body);
	font-size: var(--o-fs-small);
}

@media (min-width: 901px) {
	.o-press__figure--right,
	.o-press__figure--left {
		width: min(45%, 360px);
		margin-bottom: var(--o-space-md);
	}

	.o-press__figure--right {
		float: right;
		margin-left: var(--o-space-lg);
	}

	.o-press__figure--left {
		float: left;
		margin-right: var(--o-space-lg);
	}
}

/* --------------------------------------------------------------------------
   Copy
   -------------------------------------------------------------------------- */
.o-press__body {
	margin-top: var(--o-space-xl);
}

.o-press__standfirst {
	margin-bottom: var(--o-space-lg);
	color: var(--o-ink);
	font-family: var(--o-font-body);
	font-size: var(--o-fs-body-lg);
	font-style: italic;
	line-height: 1.6;
}

.o-press__content {
	font-family: var(--o-font-body);
	font-size: var(--o-fs-body);
	line-height: var(--o-lh-loose);
}

/* Contain the floated image, so the downloads never ride up beside it. */
.o-press__content::after {
	content: "";
	display: table;
	clear: both;
}

.o-press__content > :first-child {
	margin-top: 0;
}

.o-press__content h2,
.o-press__content h3,
.o-press__content h4 {
	margin: var(--o-space-lg) 0 var(--o-space-xs);
	color: var(--o-navy);
	font-family: var(--o-font-ui);
	font-weight: var(--o-fw-medium);
	text-transform: uppercase;
}

.o-press__content h2 { font-size: var(--o-fs-h4); }
.o-press__content h3 { font-size: var(--o-fs-body-lg); }
.o-press__content h4 { font-size: var(--o-fs-body); }

.o-press__content p,
.o-press__content ul,
.o-press__content ol {
	margin: 0 0 var(--o-space-md);
}

.o-press__content ul,
.o-press__content ol {
	padding-inline-start: 1.25rem;
}

.o-press__content li {
	margin-bottom: 0.375rem;
}

.o-press__content a {
	color: var(--o-orange);
	overflow-wrap: anywhere;
}

.o-press__content img {
	height: auto;
}

.o-press__downloads {
	display: flex;
	flex-wrap: wrap;
	gap: var(--o-space-sm);
	margin-top: var(--o-space-xl);
}

.o-press__footer {
	margin-top: var(--o-space-xl);
	padding-top: var(--o-space-lg);
	border-top: 1.5px solid var(--o-rule-cool);
}

.o-press__footer .o-textlink {
	color: var(--o-navy);
	font-size: var(--o-fs-body);
}

@media (prefers-reduced-motion: reduce) {
	.o-press__back .o-textlink:hover .o-textlink__chevrons,
	.o-press__back .o-textlink:focus-visible .o-textlink__chevrons {
		transform: none;
	}
}
