/* HB Publicador de Noticias — página de cada noticia. HBrand Studio. */
body.hb-news-single .site-main,
body.hb-news-single main#content {
	max-width: 820px;
	margin: 0 auto;
	padding: 64px 24px 88px;
	font-family: var(--fuente-cuerpo, "Open Sans"), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--color-texto, #1E2B37);
}
body.hb-news-single .page-header { margin: 0 0 12px; padding: 0; }
body.hb-news-single .page-header::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-bottom: 18px;
	background: var(--color-secundario, #77C5BB);
}
body.hb-news-single .entry-title {
	margin: 0;
	font-family: var(--fuente-titulos, "Playfair Display"), Georgia, serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 1.2;
	color: var(--color-oscuro, #0A2F4D);
}
body.hb-news-single .page-content { font-size: 17px; line-height: 1.8; }
body.hb-news-single .page-content p { margin: 0 0 18px; }
body.hb-news-single .page-content a { color: var(--color-primario, #00558C); text-decoration: underline; text-underline-offset: 2px; }

.hb-news-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 28px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--color-texto-suave, #5A6B79);
}
body.hb-news-single .page-content .hb-news-meta__cat {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--color-acento, #E6F4F1);
	color: var(--color-primario, #00558C);
	text-decoration: none;
}
.hb-news-lead {
	margin: 0 0 28px !important;
	font-size: 20px;
	line-height: 1.6;
	color: var(--color-oscuro, #0A2F4D);
}
.hb-news-cover { margin: 0 0 32px; }
.hb-news-cover a, .hb-news-gallery a { display: block; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.hb-news-cover img { display: block; width: 100%; height: auto; }
.hb-news-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 32px 0 8px;
}
.hb-news-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.hb-news-gallery--one { grid-template-columns: 1fr; }
.hb-news-gallery--one img { aspect-ratio: auto; height: auto; }
.hb-news-gallery a:hover img, .hb-news-gallery a:focus img { transform: scale(1.03); }
.hb-news-cover a:focus-visible, .hb-news-gallery a:focus-visible { outline: 3px solid var(--color-secundario, #77C5BB); outline-offset: 3px; }
.hb-news-back { margin: 48px 0 0 !important; padding-top: 24px; border-top: 1px solid var(--color-borde, #D6E4E6); }
body.hb-news-single .page-content .hb-news-back a { font-weight: 600; text-decoration: none; }
body.hb-news-single .page-content .hb-news-back a:hover { text-decoration: underline; }

/* Ampliación de fotos */
.hbnp-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 16px;
	background: rgba(10, 47, 77, 0.94);
}
.hbnp-lb[hidden] { display: none; }
.hbnp-lb img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.hbnp-lb button.hbnp-lb__btn {
	position: absolute;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, .6);
	border-radius: 999px;
	background: rgba(10, 47, 77, .6);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.hbnp-lb button.hbnp-lb__btn:hover, .hbnp-lb button.hbnp-lb__btn:focus { background: var(--color-primario, #00558C); color: #fff; border-color: #fff; }
.hbnp-lb__close { top: 16px; right: 16px; }
.hbnp-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.hbnp-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.hbnp-lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }

@media (max-width: 767px) {
	body.hb-news-single .site-main,
	body.hb-news-single main#content { padding: 40px 16px 64px; }
	body.hb-news-single .entry-title { font-size: 30px; }
	body.hb-news-single .page-content { font-size: 16px; }
	.hb-news-lead { font-size: 18px; }
	.hbnp-lb__prev, .hbnp-lb__next { top: auto; bottom: 12px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hb-news-gallery img { transition: none; }
}
