/* Newer Times landing page and sign-up (1.41.0 design: charcoal, red and the college-students sunset photo).
   Only the look changed in 1.41.0; the form fields and the sign-up, age, bot and email-verification
   handling are the same as 1.40.3. */

:root {
	--ntl-red: #E11D2A;
	--ntl-red-hover: #C51522;
	--ntl-red-text: #FF5A5F;
	--ntl-night: #111215;
	--ntl-panel: #16171B;
	--ntl-field: #25262C;
	--ntl-line: #36373E;
	--ntl-soft: #CFD0D6;
	--ntl-muted: #A9AAB2;
	--ntl-pad: 40px;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body.nt-welcome {
	margin: 0;
	background: var(--ntl-night);
	color: #FFFFFF;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	color-scheme: dark;
}

.nt-welcome *,
.nt-welcome *::before,
.nt-welcome *::after {
	box-sizing: border-box;
}

.ntl {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	background:
		radial-gradient(1100px 520px at 55% 0%, rgba(160, 32, 22, 0.45), rgba(160, 32, 22, 0) 70%),
		var(--ntl-night);
}

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

.ntl-top {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1560px;
	margin: 0 auto;
	padding: 18px var(--ntl-pad) 8px;
	display: flex;
	align-items: center;
	gap: 24px;
}

.ntl-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #FFFFFF;
	text-decoration: none;
	margin-right: auto;
}

.ntl-brand .nt-logo {
	flex: none;
	filter: drop-shadow(0 6px 16px rgba(225, 29, 42, 0.35));
}

.ntl-word {
	font-size: 46px;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1;
	white-space: nowrap;
}

.ntl-word__a {
	color: var(--ntl-red);
}

.ntl-nav {
	display: flex;
	gap: 40px;
}

.ntl-nav a {
	color: #FFFFFF;
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
	padding: 10px 0;
	border-bottom: 2px solid transparent;
}

.ntl-nav a:hover,
.ntl-nav a:focus-visible {
	border-bottom-color: var(--ntl-red);
}

.ntl-login {
	margin-left: 16px;
	padding: 11px 24px;
	border: 2px solid var(--ntl-red);
	border-radius: 8px;
	color: #FFFFFF;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	background: rgba(17, 18, 21, 0.4);
}

.ntl-login:hover {
	background: var(--ntl-red);
}

.ntl a:focus-visible,
.ntl button:focus-visible,
.ntl input:focus-visible {
	outline: 3px solid rgba(255, 90, 95, 0.7);
	outline-offset: 2px;
}

/* ---------- Hero: intro, photo, sign-up, features ---------- */

.ntl-hero {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1560px;
	margin: 0 auto;
	padding: 8px var(--ntl-pad) 48px;
	flex: 1 0 auto;
}

.ntl-intro h1 {
	margin: 0;
	font-size: clamp(44px, 4.6vw, 86px);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}

.ntl-intro h1 span {
	color: #F2232F;
}

.ntl-lead {
	margin: 22px 0 0;
	max-width: 24em;
	font-size: 19px;
	line-height: 1.55;
	color: #F1F1F4;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* The photo is one separate image; the overlay only darkens its edges for the text, never the faces. */
.ntl-photo {
	position: relative;
	overflow: hidden;
}

.ntl-photo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ntl-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ntl-features ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
}

.ntl-features li {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ntl-ico {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ntl-red);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(225, 29, 42, 0.35);
}

.ntl-features strong {
	display: block;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
}

.ntl-features li span:not(.ntl-ico) {
	display: block;
	font-size: 16px;
	line-height: 1.4;
	color: #DCDDE2;
}

.ntl-features li div {
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

/* ---------- Sign-up panel ---------- */

.nt-side {
	position: relative;
	z-index: 2;
}

.nt-card {
	background: rgba(22, 23, 27, 0.97);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	padding: 34px 30px 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.nt-card h2 {
	margin: 0;
	color: #FFFFFF;
}

.ntl-join {
	font-size: 42px;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.ntl-free {
	margin: 14px 0 0;
	font-size: 18.5px;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.ntl-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 0.6em;
	border-radius: 50%;
	background: var(--ntl-red);
	vertical-align: middle;
}

.ntl-tag {
	margin: 8px 0 22px;
	font-size: 15px;
	line-height: 1.45;
	color: #E6E6EA;
}

.nt-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

.nt-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ntl-input {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 58px;
	padding: 0 16px;
	background: var(--ntl-field);
	border: 1px solid var(--ntl-line);
	border-radius: 10px;
	min-width: 0;
	color: #C9CAD1;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ntl-input svg {
	flex: none;
}

.ntl-input input:focus-visible,
.ntl-input select:focus-visible {
	outline: none; /* The whole field shows the red focus ring instead. */
}

.ntl-input:focus-within {
	border-color: var(--ntl-red);
	box-shadow: 0 0 0 3px rgba(225, 29, 42, 0.28);
}

.ntl-input input,
.ntl-input select {
	flex: 1 1 0;
	width: 100%;
	min-width: 0;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #FFFFFF;
	font: inherit;
	font-size: 16px;
	outline: none;
}

.ntl-input input::placeholder {
	color: var(--ntl-muted);
	opacity: 1;
}

/* Browser autofill keeps the dark field. */
.ntl-input input:-webkit-autofill {
	-webkit-text-fill-color: #FFFFFF;
	-webkit-box-shadow: 0 0 0 40px var(--ntl-field) inset;
	caret-color: #FFFFFF;
}

.ntl-dobset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.ntl-dob {
	gap: 0;
}

.ntl-dob svg {
	margin-right: 12px;
}

.ntl-dob label {
	display: flex;
	min-width: 0;
}

.ntl-dob .nt-dob__m { flex: 1.5 1 0; }
.ntl-dob .nt-dob__d { flex: 0.9 1 0; }
.ntl-dob .nt-dob__y { flex: 1.1 1 0; }

.ntl-dob label + label {
	border-left: 1px solid var(--ntl-line);
	padding-left: 10px;
	margin-left: 8px;
}

.ntl-dob select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 16px;
	cursor: pointer;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23A9AAB2' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 2px center;
	text-overflow: ellipsis;
}

.ntl-dob select:invalid {
	color: var(--ntl-muted);
}

.ntl-dob option {
	color: #FFFFFF;
	background: var(--ntl-field);
}

.nt-help {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.45;
	color: #B7B8BF;
}

.nt-help.is-ok {
	color: #4ADE80;
	font-weight: 600;
}

.nt-help.is-bad {
	color: #FF7A7F;
	font-weight: 600;
}

.nt-agree {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 2px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #D5D6DB;
	cursor: pointer;
}

.nt-agree input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--ntl-red);
	cursor: pointer;
}

.nt-agree a {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nt-button {
	width: 100%;
	min-height: 60px;
	margin-top: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	border-radius: 10px;
	background: var(--ntl-red);
	color: #FFFFFF;
	font: inherit;
	font-size: 19px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(225, 29, 42, 0.32);
	transition: background-color 0.15s ease;
}

.nt-button:hover {
	background: var(--ntl-red-hover);
}

.nt-button:disabled {
	background: #6E2A30;
	color: #D9B3B6;
	box-shadow: none;
	cursor: not-allowed;
}

.nt-button--ghost {
	background: transparent;
	color: #FFFFFF;
	border: 2px solid var(--ntl-red);
	box-shadow: none;
}

.nt-button--ghost:hover {
	background: rgba(225, 29, 42, 0.16);
}

.nt-login {
	margin: 4px 0 0;
	text-align: center;
	font-size: 14.5px;
	color: var(--ntl-soft);
}

.nt-alert a,
.nt-login a,
.nt-done__links a {
	color: var(--ntl-red-text);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ntl-badges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ntl-badges span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 600;
}

.ntl-badges span + span {
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.nt-alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(225, 29, 42, 0.55);
	background: rgba(225, 29, 42, 0.14);
	color: #FFD9DB;
	font-size: 14px;
	line-height: 1.5;
}

.nt-alert--ok {
	border-color: rgba(34, 197, 94, 0.45);
	background: rgba(34, 197, 94, 0.12);
	color: #CBF5DA;
}

.nt-legal {
	margin: 16px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
	text-align: center;
	color: #9C9DA5;
}

.nt-legal a {
	color: inherit;
	text-decoration: underline;
}

/* Signed-in card */
.nt-done {
	text-align: center;
	padding: 12px 4px;
}

.nt-done__icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--ntl-red);
	display: flex;
	align-items: center;
	justify-content: center;
}

.nt-done h2 {
	margin-bottom: 10px;
	font-size: 26px;
	line-height: 1.25;
}

.nt-done p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ntl-soft);
}

.nt-done .nt-done__links {
	margin-top: 18px;
	font-size: 14.5px;
}

/* Fields with a visible label (the "Get a New Link" form on the verification screens) */
.nt-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #D5D6DB;
}

.nt-field input {
	height: 54px;
	padding: 0 14px;
	border: 1px solid var(--ntl-line);
	border-radius: 10px;
	background: var(--ntl-field);
	color: #FFFFFF;
	font: inherit;
	font-size: 16px;
	font-weight: 400;
}

.nt-field input:focus {
	border-color: var(--ntl-red);
	outline: none;
	box-shadow: 0 0 0 3px rgba(225, 29, 42, 0.28);
}

/* Spam trap and screen-reader-only text */
.nt-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nt-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Sign-up email verification screens (1.16.0), dark panel ---------- */

.ntv { text-align: center; }
.ntv h2 { margin-bottom: 12px; font-size: 28px; line-height: 1.2; }
.ntv-lead { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--ntl-soft); }
.ntv-lead strong { color: #FFFFFF; }
.ntv-addr { word-break: break-all; }
.ntv-tips {
	margin: 0 0 22px;
	padding: 14px 16px 14px 34px;
	text-align: left;
	background: #222328;
	border-radius: 12px;
	font-size: 14.5px;
	line-height: 1.55;
	color: #E4E5E9;
}
.ntv-tips li + li { margin-top: 4px; }
.ntv .nt-form { text-align: left; }
.ntv-small { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ntl-muted); }
.ntv-small a { color: var(--ntl-red-text); }
.ntv-note { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; text-align: left; }
.ntv-note--ok { background: rgba(34, 197, 94, 0.12); color: #CBF5DA; }
.ntv-note--bad { background: rgba(225, 29, 42, 0.14); color: #FFD9DB; }
.ntv-btnlink { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.ntv-steps {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ntl-muted);
}
.ntv-steps li { display: flex; align-items: center; gap: 6px; }
.ntv-steps li + li::before { content: ""; width: 18px; height: 2px; background: #3A3B42; border-radius: 2px; }
.ntv-steps__dot {
	width: 24px; height: 24px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #2D2E34; color: var(--ntl-muted); font-size: 12px;
}
.ntv-steps .is-done .ntv-steps__dot { background: #FFFFFF; color: var(--ntl-night); }
.ntv-steps .is-current { color: #FFFFFF; }
.ntv-steps .is-current .ntv-steps__dot { background: var(--ntl-red); color: #FFFFFF; }
.ntv-brand { display: none; } /* The page header already shows the logo. */
.ntv .nt-login { margin-top: 14px; }
.ntv-account { margin: -6px 0 18px; }

/* ---------- Bottom strip: Safety and Community ---------- */

.ntl-strip {
	position: relative;
	z-index: 2;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: #141519;
}

.ntl-strip__in {
	max-width: 1560px;
	margin: 0 auto;
	padding: 26px var(--ntl-pad);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ntl-perk {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 8px 24px;
	border-radius: 14px;
	scroll-margin-top: 24px;
}

.ntl-perk + .ntl-perk {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0 14px 14px 0;
}

.ntl-perk h2 {
	margin: 0;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
}

.ntl-perk p {
	margin: 4px 0 0;
	font-size: 16px;
	line-height: 1.45;
	color: #C4C5CC;
}

.ntl-badge {
	flex: none;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: var(--ntl-red);
	box-shadow: 0 0 0 5px rgba(225, 29, 42, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.ntl-badge--plain {
	background: transparent;
	box-shadow: none;
}

/* A short highlight on the section a nav link jumped to. */
.ntl-intro,
.ntl-features {
	scroll-margin-top: 24px;
}

.ntl-perk:target,
.ntl-features:target,
.ntl-intro:target {
	animation: ntl-flash 1.8s ease-out 1;
}

@keyframes ntl-flash {
	0%, 30% { background-color: rgba(225, 29, 42, 0.2); }
	100% { background-color: rgba(225, 29, 42, 0); }
}

/* =====================================================================
   Desktop (1280px and up): the approved mockup layout.
   Left: headline and features. Middle: the photo. Right: the sign-up panel.
   The photo is sized and placed so the faces sit in the middle column,
   between the text and the panel, at every desktop width.
   ===================================================================== */

@media (min-width: 1280px) {
	.ntl-hero {
		--W: min(1180px, calc((min(100vw, 1560px) - 920px) / 0.46));
		--H: calc(var(--W) / 1.5);
		--hl: clamp(44px, 4.6vw, 86px);
		--T: calc(var(--hl) * 2.05 + 44px - var(--W) * 0.14);
		display: grid;
		grid-template-columns: 330px minmax(0, 1fr) 450px;
		grid-template-rows: auto 1fr;
		column-gap: 24px;
		min-height: calc(var(--T) + var(--H) * 0.92);
	}

	.ntl-intro {
		grid-column: 1 / 3;
		grid-row: 1;
		position: relative;
		z-index: 1;
		padding-top: 6px;
	}

	.ntl-media {
		grid-column: 2;
		grid-row: 1 / 3;
		position: relative;
		z-index: 0;
	}

	.ntl-photo {
		position: absolute;
		top: var(--T);
		left: 50%;
		width: var(--W);
		height: var(--H);
		margin-left: calc(var(--W) / -2);
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 78%, transparent 100%);
		-webkit-mask-composite: source-in;
		mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 78%, transparent 100%);
		mask-composite: intersect;
	}

	.ntl-photo::after {
		background:
			linear-gradient(90deg, rgba(17, 18, 21, 0.85) 0%, rgba(17, 18, 21, 0.35) 22%, rgba(17, 18, 21, 0) 38%),
			linear-gradient(180deg, rgba(17, 18, 21, 0.45) 0%, rgba(17, 18, 21, 0) 22%);
	}

	.nt-side {
		grid-column: 3;
		grid-row: 1 / 3;
		align-self: start;
		margin-top: 2px;
	}

	.ntl-features {
		grid-column: 1;
		grid-row: 2;
		position: relative;
		z-index: 1;
		padding-top: 34px;
	}
}

/* =====================================================================
   Tablets and small laptops (760px to 1279px):
   headline, then the photo across the page, then features beside the panel.
   ===================================================================== */

@media (max-width: 1279px) {
	.ntl-hero {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
		grid-template-areas:
			"intro intro"
			"media media"
			"feat  panel";
		column-gap: 32px;
	}

	.ntl-intro { grid-area: intro; }
	.ntl-media { grid-area: media; }
	.nt-side { grid-area: panel; }
	.ntl-features { grid-area: feat; padding-top: 12px; }

	.ntl-intro h1 { font-size: clamp(40px, 6.4vw, 72px); }

	.ntl-photo {
		margin: 22px calc(var(--ntl-pad) * -1) 0;
		aspect-ratio: 16 / 8;
		-webkit-mask-image: linear-gradient(180deg, #000 0, #000 72%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0, #000 72%, transparent 100%);
	}

	.ntl-photo__img {
		object-position: 50% 52%;
	}

	.ntl-word { font-size: 36px; }
	.ntl-nav { gap: 26px; }

	.ntl-strip__in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
	.ntl-perk:nth-child(3) { border-left: 0; border-radius: 14px; }
}

/* =====================================================================
   Phones (under 760px): one column — headline, photo, sign-up, features.
   ===================================================================== */

@media (max-width: 759px) {
	:root { --ntl-pad: 18px; }

	.ntl-top {
		flex-wrap: wrap;
		gap: 10px 12px;
		padding-top: 14px;
	}

	.ntl-brand { gap: 10px; }
	.ntl-brand .nt-logo { width: 44px; height: 44px; }
	.ntl-word { font-size: 27px; }

	.ntl-login {
		margin-left: 0;
		padding: 8px 16px;
		font-size: 15px;
	}

	.ntl-nav {
		order: 3;
		width: 100%;
		justify-content: space-between;
		gap: 8px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.ntl-nav a { font-size: 15px; padding: 10px 0 8px; }

	.ntl-hero {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"intro"
			"media"
			"panel"
			"feat";
		padding-bottom: 36px;
	}

	.nt-side { margin-top: 0; }

	.ntl-intro h1 { font-size: clamp(36px, 10.6vw, 52px); }
	.ntl-lead { font-size: 17px; margin-top: 14px; }

	.ntl-photo {
		margin-top: 16px;
		aspect-ratio: 4 / 3;
	}

	.ntl-photo__img { object-position: 50% 62%; }

	.nt-card { padding: 26px 18px 20px; }
	.ntl-join { font-size: 36px; }
	.ntl-free { font-size: 17px; }

	.ntl-features { padding-top: 32px; }
	.ntl-features strong { font-size: 18px; }

	.ntl-strip__in { grid-template-columns: minmax(0, 1fr); padding: 18px var(--ntl-pad) 26px; row-gap: 6px; }
	.ntl-perk,
	.ntl-perk + .ntl-perk { border-left: 0; border-radius: 14px; padding: 10px 6px; }
	.ntl-perk + .ntl-perk { border-top: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; }
	.ntl-badge { width: 56px; height: 56px; font-size: 22px; }
	.ntl-badge svg { max-width: 56px; max-height: 56px; }
	.ntl-perk h2 { font-size: 19px; }
	.ntl-perk p { font-size: 15px; }

	.ntv-brand { display: none; }
}

@media (max-width: 400px) {
	.nt-row { grid-template-columns: minmax(0, 1fr); }
	.ntl-badges span { font-size: 13px; gap: 8px; }
	.ntv-steps__name { display: none; }
	.ntv-steps .is-current .ntv-steps__name { display: inline; }
}

/* Verification screens on tablets and phones: the card comes first, as before. */
@media (max-width: 1279px) {
	.nt-verify .ntl-intro,
	.nt-verify .ntl-media,
	.nt-verify .ntl-features { display: none; }
	.nt-verify .ntl-hero { grid-template-columns: minmax(0, 560px); grid-template-areas: "panel"; justify-content: center; padding-top: 16px; }
	.nt-verify .nt-side { margin-top: 0; }
}

/* =====================================================================
   1.41.1: Newer Times log-in page (/login/): log in, forgot password, new password.
   ===================================================================== */

.ntl-auth {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1560px;
	margin: 0 auto;
	padding: 24px var(--ntl-pad) 56px;
	flex: 1 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

.ntl-auth h1 {
	margin: 0;
	color: #FFFFFF;
}

.ntl-join--sm {
	font-size: 34px;
}

.ntl-auth .ntl-tag {
	margin-top: 10px;
}

.ntl-auth .nt-alert p {
	margin: 0;
}

.ntl-auth .nt-alert p + p {
	margin-top: 6px;
}

.ntl-auth .nt-alert a {
	color: #FFFFFF;
}

.ntl-auth__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.ntl-auth__row .nt-agree {
	margin: 0;
	align-items: center;
	font-size: 14.5px;
}

.ntl-auth__row .nt-agree input {
	margin: 0;
}

.ntl-auth__link,
.ntl-auth .nt-login a {
	color: var(--ntl-red-text);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* The log-in page has its own simple layout; undo the landing page's hero placement here. */
.ntl-auth .nt-side {
	grid-column: 1;
	grid-row: 1;
	grid-area: auto;
	margin-top: 0;
	align-self: center;
}

.ntl-auth .ntl-auth__media {
	grid-column: 2;
	grid-row: 1;
}

.ntl-auth .ntl-photo {
	position: relative;
	top: auto;
	left: auto;
	width: auto;
	height: auto;
	margin: 0;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%);
	mask-image: linear-gradient(90deg, transparent 0, #000 5%);
}

.ntl-auth .ntl-photo::after {
	background: none;
}

.ntl-auth .ntl-photo__img {
	object-position: 50% 50%;
}

@media (max-width: 999px) {
	.ntl-auth {
		grid-template-columns: minmax(0, 520px);
		justify-content: center;
		padding-top: 12px;
	}

	.ntl-auth__media {
		display: none;
	}
}

@media (max-width: 759px) {
	.ntl-join--sm { font-size: 28px; }
}
