/* GFG Next Up */
.gfg-nu {
	--gfg-nu-accent: #4f46e5;
	--gfg-nu-label: #4f46e5;
	--gfg-nu-border: rgba(127, 127, 127, 0.28);
	clear: both;
	margin: 2.5em 0 1.75em;
	padding-top: 1.1em;
	border-top: 3px solid var(--gfg-nu-accent);
}

.gfg-nu__heading {
	margin: 0 0 0.9em !important;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gfg-nu__list {
	display: grid;
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.gfg-nu__item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.gfg-nu__item::before,
.gfg-nu__item::marker {
	content: none !important;
}

.gfg-nu__card {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 8px;
	border: 1px solid var(--gfg-nu-border);
	border-radius: 10px;
	color: inherit !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.gfg-nu__card:hover,
.gfg-nu__card:focus-visible {
	border-color: var(--gfg-nu-accent);
}

.gfg-nu__card:focus-visible {
	outline: 2px solid var(--gfg-nu-accent);
	outline-offset: 2px;
}

.gfg-nu__item--review .gfg-nu__card {
	border-color: rgba(79, 70, 229, 0.55);
}

.gfg-nu__media {
	position: relative;
	flex: 0 0 96px;
	width: 96px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 7px;
	background: linear-gradient(135deg, #4f46e5, #1e1b4b);
}

.gfg-nu__media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
}

.gfg-nu__item--video .gfg-nu__media::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	margin: -9px 0 0 -6px;
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #fff;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.gfg-nu__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.gfg-nu__label {
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gfg-nu-label);
}

.gfg-nu__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

@media (min-width: 768px) {
	.gfg-nu__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.gfg-nu__card {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0;
		overflow: hidden;
	}

	.gfg-nu__card:hover {
		transform: translateY(-2px);
	}

	.gfg-nu__media {
		flex: none;
		width: 100%;
		aspect-ratio: 16 / 9;
		border-radius: 0;
	}

	.gfg-nu__body {
		padding: 10px 12px 14px;
	}
}

/* JNews dark mode */
.jnews-dark-mode .gfg-nu {
	--gfg-nu-label: #a5b4fc;
	--gfg-nu-border: rgba(255, 255, 255, 0.16);
}

@media (prefers-reduced-motion: reduce) {
	.gfg-nu__card {
		transition: none;
	}

	.gfg-nu__card:hover {
		transform: none;
	}
}

/* Follow box */
/* .content-inner > .gfg-follow beats JNews's ".content-inner > * { padding-left/right: 0 }". */
.gfg-follow,
.content-inner > .gfg-follow {
	clear: both;
	margin: 1.75em 0;
	padding: 22px 22px 24px;
	border-radius: 12px;
	background: #1e1b4b;
	color: #fff;
}

.gfg-nu + .gfg-follow {
	margin-top: 1.25em;
}

.gfg-follow p.gfg-follow__eyebrow {
	margin: 0 0 10px !important;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a5b4fc !important;
}

.gfg-follow p.gfg-follow__heading {
	margin: 0 0 10px !important;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.3;
	color: #fff !important;
}

.gfg-follow p.gfg-follow__text {
	margin: 0 0 20px !important;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85) !important;
}

.gfg-follow__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 999px;
	background: #4f46e5;
	color: #fff !important;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background-color 0.15s ease;
}

.gfg-follow__btn:hover,
.gfg-follow__btn:focus-visible {
	background: #4338ca;
}

.gfg-follow__btn:focus-visible {
	outline: 2px solid #a5b4fc;
	outline-offset: 2px;
}

.gfg-follow__form {
	color: inherit;
}

@media (max-width: 767px) {
	.gfg-follow,
	.content-inner > .gfg-follow {
		padding: 20px 20px 22px;
	}

	.gfg-follow__btn {
		width: 100%;
	}
}

.jnews-dark-mode .gfg-follow {
	background: #26215f;
}

@media (prefers-reduced-motion: reduce) {
	.gfg-follow__btn {
		transition: none;
	}
}
