/*
 * The theme: the news and newsletter section (the News landing page, the category and
 * tag archives, the reading page with its aside, the floating subscribe bar). Loads after
 * theme.css on the front end (deferred) and inside the editor canvas. Round five, lane S4.
 *
 * Tone-aware through the plugin's --cs-* variables (assets/blocks.css): the news pages sit on
 * the paper tone, and the same rules read on a dark surface. Each section has its own eyebrow
 * colour: Newsletters the gold (darkened for paper), Press releases an ink chip.
 * Motion only under prefers-reduced-motion: no-preference.
 */

.cs-news {
	--cs-news-measure: 68ch;
	--cs-news-letter: var(--cs-accent, var(--cs-look-accent-deep, #8a6410));
	--cs-news-press-bg: var(--cs-ink, #0d0d0d);
	--cs-news-press-fg: var(--cs-paper, #fff);
	--cs-news-gap: var(--wp--preset--spacing--40, 2rem);
}

.cs-tone-dark .cs-news,
.cs-news.cs-tone-dark {
	--cs-news-press-bg: var(--cs-paper, #fff);
	--cs-news-press-fg: var(--cs-ink, #0d0d0d);
}

/* ---------------------------------------------------------------- Masthead, pills, years */

.cs-news-masthead {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding-bottom: var(--wp--preset--spacing--30, 1rem);
	border-bottom: 1px solid var(--cs-line);
}

.cs-news-masthead > * {
	margin: 0 !important;
}

.cs-news-masthead__title {
	font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
	line-height: 1.02;
}

.cs-news-masthead__lede {
	max-width: 60ch;
	color: var(--cs-soft);
}

.cs-news-pills__list,
.cs-news-years__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-news-pills__list li,
.cs-news-years__list li {
	margin: 0;
}

.cs-news-pill {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.35em 0.9em;
	border: 1px solid var(--cs-line);
	border-radius: var(--cs-radius, 3px);
	color: inherit;
	font-family: var(--cs-font-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-decoration: none;
	text-transform: uppercase;
}

.cs-news-pill:hover {
	border-color: currentColor;
}

.cs-news-pill.is-current {
	border-color: var(--cs-ink);
	background: var(--cs-ink);
	color: var(--cs-paper);
}

.cs-tone-dark .cs-news-pill.is-current {
	border-color: var(--cs-paper);
	background: var(--cs-paper);
	color: var(--cs-ink);
}

.cs-news-pill--newsletters:not(.is-current) {
	box-shadow: inset 0 -2px 0 var(--cs-news-letter);
}

.cs-news-years__list {
	gap: 0;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: thin;
	border-top: 1px solid var(--cs-line);
	padding-top: 0.5rem;
}

.cs-news-year {
	display: inline-flex;
	align-items: baseline;
	gap: 0.3em;
	padding: 0.35rem 0.75rem;
	border-bottom: 2px solid transparent;
	color: var(--cs-soft);
	font-family: var(--cs-font-head);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
}

.cs-news-years__list li:first-child .cs-news-year {
	padding-left: 0;
}

.cs-news-year:hover {
	color: inherit;
}

.cs-news-year.is-current {
	border-bottom-color: var(--cs-gold);
	color: inherit;
}

.cs-news-year__count {
	color: var(--cs-soft);
	font-size: 0.75em;
	font-weight: 400;
}

/* ---------------------------------------------------------------- Eyebrows and meta */

.cs-news-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.75rem;
	font-size: 0.8125rem;
	color: var(--cs-soft);
}

.cs-news-card__meta > * {
	margin: 0 !important;
}

.cs-news-eyebrow,
.cs-news-eyebrow a {
	color: var(--cs-soft);
	font-family: var(--cs-font-head);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.cs-news-eyebrow a:hover {
	text-decoration: underline;
	text-decoration-color: currentColor;
}

.cs-news-eyebrow a[href*="/category/newsletters/"],
.cs-news-eyebrow--series,
.cs-news-eyebrow--film {
	color: var(--cs-news-letter);
}

.cs-news-eyebrow a[href*="/category/press-releases/"],
.cs-news-eyebrow--event {
	display: inline-block;
	padding: 0.2em 0.55em;
	border-radius: var(--cs-radius, 3px);
	background: var(--cs-news-press-bg);
	color: var(--cs-news-press-fg);
}

.cs-news-card__meta .wp-block-post-date {
	font-size: 0.8125rem;
}

/* ---------------------------------------------------------------- Lists: lead, grid, cards */

.cs-news .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-news-lead__card {
	display: grid;
	gap: var(--wp--preset--spacing--30, 1rem) var(--cs-news-gap);
	align-items: center;
}

.cs-news-lead__card > * {
	margin: 0 !important;
}

@media (min-width: 860px) {
	.cs-news-lead__card {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

.cs-news-lead__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.cs-news-lead__body > * {
	margin: 0 !important;
}

.cs-news-lead__title {
	font-family: var(--cs-font-head);
	font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.5rem);
	line-height: 1.08;
	text-transform: uppercase;
}

.cs-news-lead__title a,
.cs-news-card__title a {
	color: inherit;
	text-decoration: none;
}

.cs-news-lead__title a:hover,
.cs-news-card__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--cs-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

.cs-news-lead__excerpt {
	max-width: 52ch;
	color: var(--cs-soft);
	font-size: 1.0625rem;
	line-height: 1.55;
}

.cs-news-grid__list.is-layout-grid,
.cs-news .cs-news-grid__list {
	gap: var(--wp--preset--spacing--40, 2rem) var(--wp--preset--spacing--30, 1.25rem);
}

.cs-news-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
}

.cs-news-card > * {
	margin: 0 !important;
}

.cs-news-card__title {
	font-family: var(--cs-font-head);
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.2;
}

.cs-news-card__image {
	overflow: hidden;
	border-radius: var(--cs-radius, 3px);
	background: var(--cs-surface);
}

.cs-news-card__image img {
	display: block;
}

/* A post with no image: a quiet tile with the section's mark, its name and the month. */
.cs-news-blank {
	margin: 0;
	border: 1px solid var(--cs-line);
}

.cs-news-blank__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 100%;
	height: 100%;
	min-height: 8rem;
	padding: 1rem;
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--cs-line) 55%, transparent) 14px 15px),
		var(--cs-surface);
	color: var(--cs-soft);
	text-align: center;
	text-decoration: none;
}

.cs-news-blank .cs-icon {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--cs-news-letter);
}

.cs-news-blank__label {
	color: inherit;
	font-family: var(--cs-font-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cs-news-blank__date {
	font-size: 0.8125rem;
}

.cs-news-section-head {
	margin-bottom: var(--wp--preset--spacing--30, 1rem);
}

.cs-news-letters,
.cs-news-more {
	padding-top: var(--wp--preset--spacing--40, 2rem);
	border-top: 1px solid var(--cs-line);
}

.cs-news-more__inner {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30, 1rem);
}

.cs-news-more__inner > * {
	margin: 0 !important;
}

.cs-news-empty {
	color: var(--cs-soft);
}

.cs-news-pagination {
	margin-top: var(--wp--preset--spacing--40, 2rem);
	padding-top: 1rem;
	border-top: 1px solid var(--cs-line);
}

/* ---------------------------------------------------------------- The subscribe panel */

.cs-news-subscribe {
	padding: var(--wp--preset--spacing--40, 1.75rem) var(--wp--preset--spacing--40, 1.75rem);
	border-top: 3px solid var(--cs-gold);
	border-radius: 0 0 var(--cs-radius, 3px) var(--cs-radius, 3px);
	background: var(--cs-surface);
	scroll-margin-top: 6rem;
}

.cs-news-subscribe > * {
	margin-block: 0 !important;
}

.cs-news-subscribe .cs-form__heading {
	margin-top: 0;
}

.cs-news-subscribe.is-called {
	box-shadow: 0 0 0 3px var(--cs-gold);
}

@media (prefers-reduced-motion: no-preference) {
	.cs-news-subscribe {
		transition: box-shadow 0.3s ease;
	}

	.cs-news-card__image img {
		transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.cs-news-card:hover .cs-news-card__image img,
	.cs-news-lead__card:hover .cs-news-card__image img {
		transform: scale(1.03);
	}
}

/* ---------------------------------------------------------------- The reading page */

/* Round seven (contract §17.1): one centred column no wider than the measure plus the aside
   (20rem) plus the gap (3rem), so the article and the aside sit together with no empty field
   between them; the week's strip, "More news" and the event below share the same edges. */
.cs-news-read {
	--cs-news-aside-w: 20rem;
	--cs-news-aside-gap: 3rem;
	--cs-news-read-max: calc(var(--cs-news-measure) + var(--cs-news-aside-w) + var(--cs-news-aside-gap));
}

.cs-news-read.is-layout-constrained > .alignwide,
.cs-news-read > .alignwide {
	width: 100%;
	max-width: min(100%, var(--cs-news-read-max));
	margin-inline: auto !important;
}

.cs-news-read__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--50, 2.5rem) var(--cs-news-aside-gap);
	align-items: stretch;
}

.cs-news-read__grid > * {
	margin: 0 !important;
}

@media (min-width: 1024px) {
	.cs-news-read__grid {
		grid-template-columns: minmax(0, 1fr) minmax(18rem, var(--cs-news-aside-w));
		justify-content: center;
	}
}

.cs-news-read__article {
	width: 100%;
	min-width: 0;
	max-width: var(--cs-news-measure);
}

.cs-news-read .cs-article__head {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.cs-news-read .cs-article__head > *,
.cs-news-read .cs-article__head .wp-block-template-part > * {
	margin: 0 !important;
}

.cs-news-read .cs-article__title {
	font-size: clamp(2rem, 1.45rem + 2.2vw, 2.875rem);
	line-height: 1.05;
	overflow-wrap: break-word;
}

.cs-news-lead-image {
	margin: 0 0 var(--wp--preset--spacing--30, 1.25rem);
	overflow: hidden;
	border-radius: var(--cs-radius, 3px);
	background: var(--cs-surface);
}

.cs-news-lead-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 80vh;
	object-fit: contain;
}

.cs-news-lead-image__caption,
.cs-news-prose .wp-element-caption {
	margin: 0;
	padding: 0.5rem 0 0;
	background: var(--cs-paper);
	color: var(--cs-soft);
	font-size: 0.875rem;
	text-align: left;
}

.cs-tone-dark .cs-news-lead-image__caption {
	background: transparent;
}

.cs-news-prose {
	font-size: 1.0625rem;
	line-height: 1.65;
	overflow-wrap: break-word;
}

.cs-news-prose > * {
	max-width: var(--cs-news-measure);
}

.cs-news-prose :where(.wp-block-image) {
	margin-block: 1.5rem;
}

.cs-news-prose :where(.wp-block-image img) {
	max-width: 100%;
	height: auto;
}

.cs-news-prose .wp-block-separator {
	width: 3rem;
	margin: 2.25rem 0;
	border: 0;
	border-top: 3px solid var(--cs-gold);
	opacity: 1;
}

.cs-news-prose .wp-block-buttons {
	margin-block: 1.25rem;
}

/* Runs of pictures from a newsletter: a quiet grid, every picture whole. */
.cs-news-prose .cs-news-gallery {
	gap: 0.75rem;
	margin-block: 1.75rem;
}

.cs-news-prose .cs-news-gallery.has-nested-images figure.wp-block-image {
	align-self: flex-start;
	overflow: hidden;
	border-radius: var(--cs-radius, 3px);
	background: var(--cs-surface);
}

.cs-news-prose .cs-news-gallery.has-nested-images figure.wp-block-image img {
	height: auto;
	object-fit: contain;
}

.cs-news-prose .cs-news-gallery.has-nested-images figure.wp-block-image figcaption {
	position: static;
	max-height: none;
	padding: 0.5rem 0.25rem 0;
	background: none;
	color: var(--cs-soft);
	font-size: 0.8125rem;
	text-align: left;
	text-shadow: none;
}

/*
 * News layouts (mu-plugin news-layouts.php): the newsletter's arrangements written manually.
 * Posters in columns sit whole, the same corners as the gallery; a column's heading starts at
 * its top; a button row sits close under its picture or text. A picture slot never filled
 * draws nothing.
 */
.cs-news-prose .wp-block-columns {
	gap: 1rem 1.25rem;
	margin-block: 1.75rem;
}

.cs-news-prose .wp-block-column {
	min-width: 0;
}

.cs-news-prose .wp-block-column > .wp-block-image {
	margin-block: 0 0.75rem;
}

.cs-news-prose .wp-block-column > .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--cs-radius, 3px);
	background: var(--cs-surface);
}

.cs-news-prose .wp-block-column > .wp-block-heading {
	margin-top: 0;
}

.cs-news-prose .wp-block-column > .wp-block-buttons {
	margin-block: 0.75rem 0;
}

.cs-news-prose .wp-block-image + .wp-block-buttons {
	margin-top: -0.5rem;
}

.cs-news-prose img:not([src]) {
	display: none;
}

/* Three posters stay three across on a phone (the editor's gallery would drop the third to a
   full-width row of its own): each about a third of the column, every word on them still
   readable at a poster's proportions. */
@media (max-width: 600px) {
	.cs-news-prose .cs-news-gallery.columns-3.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: calc(33.333% - 0.5rem);
	}
}

/*
 * A newsletter's own pictures (wp cs news pass): one picture to a figure, across the measure,
 * the same space above and below every one, never taller than the window, the caption small
 * under it. A picture still at its newsletter address keeps the width the newsletter gave it.
 */
.cs-news-prose .cs-news-figure {
	width: 100%;
	max-width: var(--cs-news-measure);
	margin-block: 1.75rem;
	margin-inline: 0;
}

.cs-news-prose .cs-news-figure img {
	display: block;
	max-width: 100%;
	height: auto;
	max-height: 80vh;
	margin-inline: auto;
	object-fit: contain;
}

.cs-news-prose .cs-news-figure .wp-element-caption {
	margin: 0;
	padding: 0.5rem 0 0;
	background: none;
	color: var(--cs-soft);
	font-size: 0.8125rem;
	line-height: 1.45;
	text-align: left;
}

/* ---------------------------------------------------------------- The aside */

.cs-news-aside {
	min-width: 0;
	font-size: 0.9375rem;
}

.cs-news-aside__inner {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.cs-news-aside__part {
	padding-block: 1.25rem;
	border-top: 1px solid var(--cs-line);
}

.cs-news-aside__part:first-child {
	padding-top: 0;
	border-top: 0;
}

.cs-news-aside__heading {
	margin: 0 0 0.75rem;
	color: var(--cs-soft);
	font-family: var(--cs-font-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (min-width: 1024px) and (min-height: 640px) {
	.cs-news-aside__inner {
		position: sticky;
		top: calc(var(--cst-sticky-top, 0px) + 1.5rem);
		max-height: calc(100vh - var(--cst-sticky-top, 0px) - 3rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		padding-right: 0.25rem;
	}
}

/* This week at the cinema: one compact row of six posters below the article, before "More
   news", across the reading column (round seven): poster, title, when and the buy button. */
.cs-news-week {
	padding-top: var(--wp--preset--spacing--40, 2rem);
	border-top: 1px solid var(--cs-line);
}

.cs-news-week > * {
	margin-block: 0 !important;
}

.cs-news-week .cs-strip--row .cs-strip__list {
	grid-auto-columns: clamp(7.5rem, 30vw, 9.5rem);
	gap: 0.875rem;
}

@media (min-width: 760px) {
	.cs-news-week .cs-strip--row .cs-strip__list {
		grid-auto-columns: calc((100% - 5 * 0.875rem) / 6);
		padding-bottom: 0;
	}
}

.cs-news-week .cs-strip__body {
	padding-top: 0.45rem;
}

.cs-news-week .cs-strip__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.875rem;
	line-height: 1.15;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.cs-news-week .cs-strip__when {
	margin-top: 0.2rem;
	font-size: 0.8125rem;
	font-weight: 600;
}

.cs-news-week .cs-strip :where(.cs-kicker, .cs-item__badges, .cs-show__films, .cs-strip__more, .cs-price, .cs-seller, .cs-details-link) {
	display: none;
}

.cs-news-week .cs-strip .cs-actions {
	margin: 0;
	padding-top: 0.45rem;
}

.cs-news-week .cs-strip .cs-actions .cs-button {
	width: 100%;
	min-height: 2.25rem;
	padding: 0.35em 0.5em;
	font-size: 0.75rem;
	justify-content: center;
}

/* The event or film the post is about. */
.cs-news-thing {
	display: grid;
	gap: 0.875rem;
	align-items: start;
}

.cs-news-thing__media {
	display: block;
	overflow: hidden;
	border-radius: var(--cs-radius, 3px);
	background: var(--cs-surface);
}

.cs-news-thing__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cs-news-thing__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.cs-news-thing__body > * {
	margin: 0;
}

.cs-news-thing__title {
	font-family: var(--cs-font-head);
	line-height: 1.12;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.cs-news-thing__title a {
	color: inherit;
	text-decoration: none;
}

.cs-news-thing__title a:hover {
	color: var(--cs-accent);
}

.cs-news-thing__when {
	font-weight: 700;
}

.cs-news-thing__line {
	color: var(--cs-soft);
	max-width: 52ch;
}

.cs-news-thing .cs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.4rem;
}

.cs-news-thing--aside {
	grid-template-columns: 5.25rem minmax(0, 1fr);
}

.cs-news-thing--aside .cs-news-thing__media {
	aspect-ratio: 2 / 3;
}

.cs-news-thing--aside.has-no-image {
	grid-template-columns: minmax(0, 1fr);
}

.cs-news-thing--aside .cs-news-thing__title {
	font-size: 1.0625rem;
}

.cs-news-thing--aside .cs-news-thing__when {
	font-size: 0.875rem;
}

.cs-news-thing--aside .cs-kicker {
	font-size: 0.75rem;
}

/* The newsletter form beside the post. */
.cs-news-aside__subscribe {
	padding: 1.25rem;
	border-top: 3px solid var(--cs-gold);
	background: var(--cs-surface);
	scroll-margin-top: 6rem;
}

.cs-news-aside__part.cs-news-aside__subscribe:first-child {
	padding-top: 1.25rem;
}

.cs-news-aside__part + .cs-news-aside__subscribe {
	margin-top: 1.25rem;
}

.cs-news-aside__subscribe + .cs-news-aside__part {
	border-top: 0;
}

.cs-news-aside__subscribe .cs-form__heading {
	margin-top: 0;
	font-size: 1.25rem;
}

.cs-news-aside__subscribe.is-called {
	box-shadow: 0 0 0 3px var(--cs-gold);
}

/* Tags. */
.cs-news-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-news-tags li {
	margin: 0;
}

.cs-news-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.3em 0.6em;
	border: 1px solid var(--cs-line);
	border-radius: var(--cs-radius, 3px);
	color: inherit;
	font-size: 0.8125rem;
	line-height: 1.25;
	text-decoration: none;
}

.cs-news-tag::before {
	content: "";
	flex: none;
	width: 0.45em;
	height: 0.45em;
	border-radius: 1px;
	background: var(--cs-line);
}

.cs-news-tag--film::before,
.cs-news-tag--series::before {
	background: var(--cs-gold);
}

.cs-news-tag--event::before {
	background: var(--cs-news-press-bg);
}

.cs-news-tag:hover {
	border-color: currentColor;
}

/* ---------------------------------------------------------------- Tag archive */

.cs-news-tag-about {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0;
}

.cs-news-tag-about__link {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	color: inherit;
	font-family: var(--cs-font-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.cs-news-tag-about__link:hover {
	color: var(--cs-accent);
}

.cs-news-tag-about__link .cs-icon {
	width: 1em;
	height: 1em;
}

.cs-news-thing-wrap {
	margin-block: 0;
}

.cs-news-thing--page {
	padding: var(--wp--preset--spacing--30, 1.25rem);
	border: 1px solid var(--cs-line);
	border-radius: var(--cs-radius, 3px);
	background: var(--cs-surface);
}

.cs-news-thing--page .cs-news-thing__media {
	aspect-ratio: 16 / 10;
}

.cs-news-thing--page .cs-news-thing__title {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
}

.cs-news-thing__img--logo {
	object-fit: contain;
	padding: 1rem;
}

@media (min-width: 760px) {
	.cs-news-thing--page {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		align-items: center;
		gap: var(--cs-news-gap);
	}

	.cs-news-thing--page.has-no-image {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------- The floating bar */

.cs-subscribe-cta {
	position: fixed;
	z-index: 60;
	bottom: max(1rem, env(safe-area-inset-bottom));
	left: 50%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: min(34rem, calc(100% - 1.5rem));
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	border-top: 2px solid var(--cs-gold);
	border-radius: var(--cs-radius, 3px);
	background: var(--cs-ink);
	box-shadow: 0 10px 30px rgb(0 0 0 / 28%);
	color: var(--cs-paper);
	opacity: 0;
	transform: translate(-50%, 0);
}

.cs-subscribe-cta[hidden] {
	display: none;
}

.cs-subscribe-cta.is-in {
	opacity: 1;
}

.cs-subscribe-cta__line {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.cs-subscribe-cta__line .cs-icon {
	color: var(--cs-gold);
}

.cs-subscribe-cta__go.cs-button {
	flex: none;
	margin: 0;
	white-space: nowrap;
}

.cs-subscribe-cta__close {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: var(--cs-radius, 3px);
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: 0.75;
}

.cs-subscribe-cta__close:hover,
.cs-subscribe-cta__close:focus-visible {
	opacity: 1;
}

.cs-subscribe-cta__close:focus-visible,
.cs-subscribe-cta__go:focus-visible {
	outline: 2px solid var(--cs-gold);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
	.cs-subscribe-cta {
		transform: translate(-50%, calc(100% + 2rem));
		transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s ease;
	}

	.cs-subscribe-cta.is-in {
		transform: translate(-50%, 0);
	}
}

@media (max-width: 480px) {
	.cs-subscribe-cta__line {
		font-size: 0.875rem;
	}

	.cs-subscribe-cta__line .cs-icon {
		display: none;
	}
}

/* The editor shows the bar in place. */
.cs-subscribe-cta.is-preview {
	position: static;
	width: 100%;
	max-width: 34rem;
	opacity: 1;
	transform: none;
}

@media print {
	.cs-subscribe-cta,
	.cs-news-aside__subscribe,
	.cs-news-subscribe {
		display: none !important;
	}
}
