/*
 * News catalog (Appearance → TV & Movie Catalog → Look).
 *
 * Like a magazine: the name set large, serif headlines, the news first and
 * the catalog around it. Loaded after main.css and uses its color tokens;
 * the light ground is paper-white here.
 */

.look-news {
	--font-serif: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, "Times New Roman", serif;
}

html:not(.tvmc-dark) body.look-news.tvmc-light,
html.tvmc-light body.look-news {
	--bg: #ffffff;
	--surface: #f4f4f3;
	--shade: 255 255 255;
}

@media (prefers-color-scheme: light) {
	html:not(.tvmc-dark) body.look-news.tvmc-auto {
		--bg: #ffffff;
		--surface: #f4f4f3;
		--shade: 255 255 255;
	}
}

.look-news :is(h1, h2, h3),
.look-news .billing {
	font-family: var(--font-serif);
	font-stretch: normal;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.news-wrap {
	width: min(100% - 2rem, 1220px);
	margin-inline: auto;
}

.news-meta {
	display: block;
	color: var(--muted);
	font-size: 0.82rem;
}

.news-kicker {
	display: block;
	margin-bottom: 0.4rem;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 700;
}

/* Header ------------------------------------------------------------------ */

.news-head__strip {
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.82rem;
}

.news-head__strip-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
}

.news-head__tools {
	display: flex;
	gap: 0.2rem;
}

.news-head__mast {
	padding: 1.6rem 1rem 1.1rem;
	text-align: center;
}

.news-head__name {
	color: var(--ink);
	font: 700 clamp(2.4rem, 6vw, 3.8rem) / 1 var(--font-serif);
	letter-spacing: -0.02em;
	text-decoration: none;
}

.news-head__mast .custom-logo {
	max-height: 72px;
	width: auto;
}

.news-head__sections {
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
}

.news-head__sections ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2rem;
	margin: 0;
	padding: 0.75rem 0;
	list-style: none;
}

.news-head__sections a {
	color: var(--ink);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.news-head__sections a:hover,
.news-head__sections .current-menu-item > a {
	color: var(--accent);
}

/* Home: the lead, the latest, more news ------------------------------------ */

.news-top {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 2.5rem;
	padding: 2.2rem 0;
	border-bottom: 1px solid var(--line);
}

.news-lead a {
	color: var(--ink);
	text-decoration: none;
}

.news-lead__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 1.1rem;
}

.news-lead__title {
	margin: 0 0 0.6rem;
	font-size: clamp(2rem, 3.6vw, 3rem);
	line-height: 1.08;
}

.news-lead a:hover .news-lead__title,
.news-card a:hover .news-card__title,
.news-list a:hover strong,
.news-ranked a:hover strong,
.news-related a:hover strong {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.news-lead__dek {
	margin: 0 0 0.6rem;
	max-width: 60ch;
	color: var(--muted);
	font-size: 1.12rem;
}

.news-lead--title .feature {
	min-height: 420px;
	border-radius: 4px;
}

.news-side__title {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
}

.news-side__title + ol + .news-side__title {
	margin-top: 2rem;
}

.news-list,
.news-ranked {
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-list li,
.news-ranked li {
	padding: 0.9rem 0;
	border-top: 1px solid var(--line);
}

.news-list a,
.news-ranked a {
	color: var(--ink);
	text-decoration: none;
}

.news-list strong,
.news-ranked strong {
	display: block;
	margin-bottom: 0.3rem;
	font: 600 1.06rem / 1.3 var(--font-serif);
}

.news-ranked {
	counter-reset: rank;
}

.news-ranked li {
	counter-increment: rank;
	display: grid;
	grid-template-columns: 2.2rem 1fr;
	gap: 0.5rem;
}

.news-ranked li::before {
	content: counter(rank);
	color: var(--accent);
	font: 700 1.5rem / 1 var(--font-serif);
}

.news-band {
	padding: 2.4rem 0;
	border-bottom: 1px solid var(--line);
}

.news-band__title {
	margin: 0 0 1.2rem;
	font-size: 1.5rem;
}

.news-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 1.8rem;
}

.news-card a {
	color: var(--ink);
	text-decoration: none;
}

.news-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 4px;
}

.news-card__title {
	margin: 0.8rem 0 0.4rem;
	font-size: 1.28rem;
	line-height: 1.18;
}

/* The home page sections as rows of seven */

.news-sections .shelf {
	margin: 0;
	padding: 2.4rem 0;
	border-bottom: 1px solid var(--line);
}

.news-sections .shelf__title {
	font-size: 1.5rem;
}

@media (min-width: 900px) {
	.news-sections .shelf__row {
		grid-auto-flow: row;
		grid-template-columns: repeat(7, minmax(0, 1fr));
		overflow: visible;
	}

	.news-sections .shelf__row > li:nth-child(n + 8) {
		display: none;
	}

	.news-sections .shelf__row--wide {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.news-sections .shelf__row--wide > li:nth-child(n + 5) {
		display: none;
	}
}

.look-news .card__title {
	font-family: var(--font-serif);
}

/* Title page -------------------------------------------------------------- */

.news-crumbs {
	padding-top: 1.4rem;
	color: var(--muted);
	font-size: 0.85rem;
}

.news-crumbs a {
	color: inherit;
}

.news-title-head {
	padding: 0.8rem 0 1.6rem;
	border-bottom: 1px solid var(--line);
}

.news-title-head__title {
	margin: 0;
	font-size: clamp(2.8rem, 6vw, 4.6rem);
	line-height: 1;
	letter-spacing: -0.02em;
}

.news-title-head__tagline {
	margin: 0.6rem 0 0;
	color: var(--muted);
	font: italic 1.3rem / 1.3 var(--font-serif);
}

.news-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.4rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 0.92rem;
}

.news-facts a {
	color: inherit;
}

.news-facts__rating {
	color: var(--accent);
	font-weight: 700;
}

.news-title-body {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 3rem;
	padding: 2rem 0 1rem;
}

.news-title-body__main > .backdrop {
	position: static;
	z-index: auto;
	height: auto;
	aspect-ratio: 16 / 9;
	border-radius: 4px;
}

.news-story {
	margin-top: 1.4rem;
	font: 1.15rem / 1.65 var(--font-serif);
}

.news-h2 {
	margin: 2.4rem 0 1rem;
	font-size: 1.5rem;
}

.news-cast {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-cast a {
	display: block;
	color: var(--ink);
	text-align: center;
	text-decoration: none;
}

.news-cast .poster {
	aspect-ratio: 1;
	border-radius: 50%;
}

.news-cast strong {
	display: block;
	margin-top: 0.55rem;
	font-size: 0.95rem;
}

.news-cast span {
	display: block;
	color: var(--muted);
	font-size: 0.82rem;
}

.news-related {
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-related li {
	display: grid;
	grid-template-columns: 180px 1fr;
	grid-template-rows: auto auto;
	column-gap: 1.2rem;
	padding: 1rem 0;
	border-top: 1px solid var(--line);
}

.news-related__image {
	grid-row: span 2;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 3px;
}

.news-related a {
	color: var(--ink);
	text-decoration: none;
	align-self: end;
}

.news-related strong {
	font: 600 1.2rem / 1.25 var(--font-serif);
}

.news-glance {
	position: sticky;
	top: 1rem;
	padding: 1.3rem;
	border: 1px solid var(--line);
	border-radius: 6px;
}

.news-glance .poster {
	margin-bottom: 1.1rem;
}

.news-glance dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.55rem 1rem;
	margin: 0;
	font-size: 0.92rem;
}

.news-glance dt {
	color: var(--muted);
}

.news-glance dd {
	margin: 0;
}

/* Phones ------------------------------------------------------------------ */

@media (max-width: 860px) {
	.news-top,
	.news-title-body {
		grid-template-columns: 1fr;
		gap: 1.8rem;
	}

	.news-cards {
		grid-template-columns: 1fr;
	}

	.news-head__sections ul {
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 1.3rem;
		overflow-x: auto;
		padding-inline: 0.25rem;
	}

	.news-cast {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.news-related li {
		grid-template-columns: 110px 1fr;
	}

	.news-glance {
		position: static;
	}

	.news-glance .poster {
		max-width: 220px;
	}
}
