.single-news {
	--news-yellow: #ffdc00;
	--news-ink: #171717;
	--news-featured-h: clamp(240px, 38vw, 460px);
	--news-overlap: clamp(115px, 19vw, 220px);
	background: #ffffff;
	color: var(--news-ink);
	padding-bottom: 4rem;
}

.single-news__hero {
	position: relative;
	background: #050505;
	color: #fff;
	padding-bottom: 2.5rem;
}

.single-news__hero--has-image {
	padding-bottom: 0;
	background: linear-gradient(
		to bottom,
		#050505 0,
		#050505 calc(100% - var(--news-overlap)),
		transparent calc(100% - var(--news-overlap)),
		transparent 100%
	);
}

.single-news__hero-inner {
	position: relative;
	padding-top: 1.75rem;
	padding-bottom: 0;
}

.single-news__hero-inner::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: min(320px, 75%);
	height: 250px;
	transform: translateX(-50%);
	background: url('https://www.cetys.mx/gozorros/wp-content/uploads/2026/10/logo_zorro.webp') center / contain no-repeat;
	content: '';
	opacity: .28;
	pointer-events: none;
}

.single-news__heading {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 0 1.5rem;
}

.single-news__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .45rem .65rem;
	margin-bottom: .45rem;
	color: rgba(255, 255, 255, .76);
	font-size: .75rem;
}

.single-news__badge {
	display: inline-flex;
	align-items: center;
	padding: .2rem .55rem;
	border-radius: 999px;
	background: var(--news-yellow);
	color: #171717;
	font-size: .7rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.single-news__badge:hover,
.single-news__badge:focus-visible {
	background: #edc900;
	color: #171717;
}

.single-news__heading h1 {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	font-weight: 800;
	line-height: 1.15;
}

.single-news__featured-image {
	position: relative;
	z-index: 1;
	width: min(100%, 1100px);
	height: var(--news-featured-h);
	margin: 0 auto;
	overflow: hidden;
	border-radius: 6px;
	background: #1b1b1b;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
}

.single-news__featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.single-news__featured-trigger {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.single-news__featured-trigger:focus-visible {
	outline: 3px solid var(--news-yellow);
	outline-offset: -3px;
}

.single-news__zoom-hint {
	position: absolute;
	right: .85rem;
	bottom: .85rem;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .45rem .7rem;
	border-radius: 4px;
	background: rgba(0, 0, 0, .78);
	color: #fff;
	font-size: .78rem;
	font-weight: 650;
}

.single-news__lightbox .modal-dialog {
	max-width: min(96vw, 1600px);
}

.single-news__lightbox .modal-content {
	border: 0;
	background: transparent;
}

.single-news__lightbox .modal-header {
	position: absolute;
	top: .5rem;
	right: .5rem;
	z-index: 1;
	border: 0;
}

.single-news__lightbox .modal-body {
	padding: 0;
	text-align: center;
}

.single-news__lightbox img {
	width: 100%;
	max-height: 92vh;
	border-radius: 4px;
	object-fit: contain;
}

.single-news__article {
	min-width: 0;
}

.single-news__article .entry-content {
	font-size: 1rem;
	line-height: 1.65;
}

.single-news__article .entry-content img,
.single-news__article .entry-content video,
.single-news__article .entry-content iframe {
	max-width: 100%;
}

.single-news__footer {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #e5e5e5;
}

.single-news__categories {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-bottom: 1rem;
}

.single-news__footer .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.single-news__footer .nav-links a {
	color: #171717;
	font-weight: 650;
}

@media (max-width: 575.98px) {
	.single-news {
		--news-featured-h: 240px;
		--news-overlap: 115px;
	}

	.single-news__hero-inner {
		padding-top: 1.25rem;
	}

	.single-news__article .entry-content {
		font-size: .95rem;
	}
}
