/* Components: Buttons, Cards, Badges */

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.5rem;
	border-radius: var(--rh-radius-ui);
	font-weight: 700;
	cursor: pointer;
	border: none;
	font-family: var(--font-sans-body);
	transition: all 0.2s ease;
}

.btn-cta {
	background-color: var(--rh-orange-official);
	color: var(--rh-white);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-cta:hover {
	filter: brightness(0.9);
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--rh-black-editorial);
	color: var(--rh-black-editorial);
}

.btn-outline:hover {
	background-color: var(--rh-black-editorial);
	color: var(--rh-white);
}

/* Badges / Tags */
.badge {
	display: inline-block;
	font-family: var(--font-sans-body);
	font-size: 0.75rem;
	/* xs */
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	line-height: 1;
}

.badge-urgent {
	background-color: var(--rh-red-alerta);
	color: var(--rh-white);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.badge-special {
	background-color: var(--rh-orange-official);
	color: var(--rh-white);
}

[class^="tag-"] {
	margin-top: 1rem;
}

.tag-category {
	color: var(--rh-green-official);
	font-family: var(--font-sans-body);
	font-weight: 400;
	font-size: 0.75rem;
	/* xs */
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Article Cards */
.article-card {
	background-color: var(--rh-white);
	border-radius: var(--rh-radius-ui);
	overflow: hidden;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease;
	margin-bottom: 2rem;
}

.article-card:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	cursor: pointer;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease-out;
}

.article-card:hover .card-media img {
	transform: scale(1.05);
}

.card-content {
	padding: 1.5rem;
}

@media (min-width: 768px) {
	.card-content {
		padding: 2rem;
	}
}

.card-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	/* xs */
	font-weight: 400;
	color: var(--rh-gray-texto);
	margin-bottom: 0.75rem;
}

.meta-dot {
	width: 4px;
	height: 4px;
	background-color: #D1D5DB;
	/* gray-300 */
	border-radius: 50%;
}

.card-title {
	font-size: 1.875rem;
	/* 3xl */
	font-weight: 900;
	color: var(--rh-black-editorial);
	line-height: 1.1;
	margin-bottom: 1rem;
	cursor: pointer;
	transition: color 0.2s ease;
}

@media (min-width: 768px) {
	.card-title {
		font-size: 2.25rem;
		/* 4xl */
	}
}

.card-title:hover {
	color: var(--rh-green-official);
}

.card-excerpt {
	color: var(--rh-gray-texto);
	font-size: 1.125rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-weight: 400;
}

.card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #F3F4F6;
	/* gray-100 */
	padding-top: 1rem;
}

.card-author {
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	/* xs */
	color: var(--rh-gray-texto);
	text-transform: uppercase;
}

.card-author strong {
	font-weight: 100;
}

.card-meta strong {
	font-weight: 100;
}

.read-more-link {
	color: var(--rh-orange-official);
	font-weight: 700;
	font-size: 0.875rem;
	/* sm */
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.read-more-link:hover {
	text-decoration: underline;
}

/* Special Card (Cream Background) */
.article-card.special {
	background-color: var(--rh-cream-sonora);
	border: 1px solid var(--rh-cream-sonora);
}

.article-card.special .card-content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.article-card.special .card-content {
		flex-direction: row;
		align-items: flex-start;
	}

	.article-card.special .content-wrapper {
		flex: 1;
	}

	.article-card.special .media-wrapper {
		width: 33.333%;
		flex-shrink: 0;
	}

	.article-card.special .media-wrapper .card-media {
		border-radius: var(--rh-radius-ui);
		aspect-ratio: 4/3;
	}
}

.quote-block {
	border-left: 4px solid var(--rh-orange-official);
	padding-left: 1rem;
	margin-bottom: 1rem;
}

.quote-text {
	font-family: var(--font-serif-accent);
	font-style: italic;
	font-size: 1.125rem;
	/* lg */
	color: #374151;
	/* gray-700 */
}

/* ══════════════════════════════════════════
   FEED — Headlines, Excerpts, Meta, Tags
   (from prototype index.html inline styles)
   ══════════════════════════════════════════ */

.feed-container {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

@media (max-width: 767px) {
	.feed-container {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
		gap: 36px;
	}
}

.article-headline-main {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 1.75rem;
	line-height: 1.15;
	color: var(--rh-black-editorial);
	margin: 0;
	transition: color 0.2s ease;
}

.article-group-main .article-headline-main {
	font-size: 1.625rem;
	line-height: 1.18;
	padding-block: 1.25rem;
}

@media (min-width: 768px) {
	.article-group-main .article-headline-main {
		font-size: 2.25rem;
		line-height: 1.15;
		padding-block: 3rem;
	}
}

@media (min-width: 1024px) {
	.article-group-main .article-headline-main {
		font-size: 3rem;
	}
}

@media (min-width: 768px) {
	.article-headline-main {
		font-size: 2.25rem;
	}
}

@media (min-width: 1024px) {
	.article-headline-main {
		font-size: 3rem;
	}
}

.article-headline-main a,
.article-headline-secondary a {
	color: inherit;
	text-decoration: none;
}

.article-headline-secondary {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 1.375rem;
	line-height: 1.2727;
	color: var(--rh-black-editorial);
	margin: 0;
	transition: color 0.2s ease;
}

@media (min-width: 768px) {
	.article-headline-secondary {
		font-size: 1.75rem;
	}
}

@media (min-width: 1024px) {
	.article-headline-secondary {
		font-size: 1.875rem;
	}
}

.article-headline-tertiary {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.444;
	color: var(--rh-black-editorial);
	margin: 0;
}

@media (min-width: 768px) {
	.article-headline-tertiary {
		font-size: 1.25rem;
		line-height: 1.4;
	}
}

.article-excerpt-main {
	font-family: var(--font-sans-body);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--rh-gray-texto);
	font-weight: 400;
	margin: 0;
}

@media (min-width: 768px) {
	.article-excerpt-main {
		font-size: 1.125rem;
	}
}

@media (min-width: 1024px) {
	.article-excerpt-main {
		font-size: 1.25rem;
		line-height: 1.4;
	}
}

.article-excerpt-secondary {
	font-family: var(--font-sans-body);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--rh-gray-texto);
	margin: 0;
}

@media (min-width: 768px) {
	.article-excerpt-secondary {
		font-size: 1rem;
		line-height: 1.625;
	}
}

.excerpt-read-more {
	color: var(--rh-orange-official);
	font-family: var(--font-sans-body);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.excerpt-read-more:hover {
	text-decoration: underline;
	text-decoration-color: var(--rh-orange-official);
	text-decoration-thickness: 1px;
}

/* Hero sticky: artículo completo clickeable */

.rh-hero-portada {
	position: relative;
}

a.rh-hero-stretched-link {
	position: absolute;
	inset: 0;
}



.meta-text {
	font-family: var(--font-mono-data);
	font-weight: 400;
	font-size: 14px;
	color: #6B7280;
}

.meta-text-sm {
	font-family: var(--font-mono-data);
	font-weight: 400;
	font-size: 12px;
	color: #6B7280;
}

.meta-divider-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-block: 12px;
	border-top: 1px solid #f3f4f6;
}

.meta-divider-row span {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.tag-investigation {
	background-color: var(--rh-red-alerta);
	color: white;
	font-family: var(--font-sans-body);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1.6px;
	padding: 4px 12px;
	border-radius: 2px;
	font-weight: 700;
	display: inline-block;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tag-green {
	color: var(--rh-green-official);
	font-family: var(--font-sans-body);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-weight: 700;
}

.tag-orange {
	color: var(--rh-orange-official);
	font-family: var(--font-sans-body);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-weight: 700;
}

/* Article Group Hover Effects */
.article-group {
	cursor: pointer;
}

.article-group:hover .article-group-headline {
	color: var(--rh-green-official);
}

.article-group-secondary:hover .article-group-headline {
	color: var(--rh-orange-official);
}

/* Grid Article Hover - Orange underline decoration */
.grid-article-group {
	cursor: pointer;
}

.grid-article-group:hover .grid-headline {
	text-decoration: underline;
	text-decoration-color: var(--rh-orange-official);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.grid-headline {
	transition: text-decoration-color 0.2s ease;
}

/* Image Hover Scale */
.image-hover-scale {
	overflow: hidden;
	background-color: #F3F4F6;
	/* Gris claro para cuando la imagen no carga */
}

.image-hover-scale img {
	transition: transform 0.7s ease-out;
}

.image-hover-scale:hover img,
.article-group:hover .image-hover-scale img {
	transform: scale(1.05);
}

/* Contenedores de imágenes con fondo gris claro por defecto */
.hero-image-wrap,
.article-group-secondary .rounded-lg,
.grid-article-group img {
	background-color: #F3F4F6;
	/* Gris claro */
}

.hero-image-wrap img,
.article-group-secondary .rounded-lg img {
	background-color: #F3F4F6;
	/* Gris claro como fallback */
}

/* Quote Block Enhanced */
.quote-block-enhanced {
	background-color: var(--rh-cream-sonora);
	border: 1px solid #e9e6e4;
	padding: 24px;
	border-radius: var(--rh-radius-ui);
}

@media (min-width: 768px) {
	.quote-block-enhanced {
		padding: 32px;
	}
}

.quote-block-enhanced .quote-icon {
	color: var(--rh-green-official);
	font-size: 2.25rem;
	margin-bottom: 0.5rem;
	line-height: 1;
}

.quote-block-enhanced .quote-body {
	font-family: var(--font-serif-accent);
	font-style: italic;
	font-size: 18px;
	line-height: 1.6;
	color: var(--rh-black-editorial);
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.quote-block-enhanced .quote-body {
		font-size: 22px;
	}
}

@media (min-width: 1024px) {
	.quote-block-enhanced .quote-body {
		font-size: 24px;
	}
}

.quote-block-enhanced .quote-author-name {
	display: block;
	font-family: var(--font-sans-body);
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--rh-black-editorial);
}

.quote-block-enhanced .quote-author-context {
	display: block;
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	font-weight: 400;
	color: #6B7280;
}

.quote-block-enhanced .quote-linked-article {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--rh-orange-official);
	text-decoration: none;
}

.quote-block-enhanced .quote-linked-article:hover {
	text-decoration: underline;
}

/* Tag Pill Hover */
.tag-pill {
	background-color: #F3F4F6;
	color: #374151;
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 0.25rem;
	transition: background-color 0.2s ease, color 0.2s ease;
	display: inline-block;
}

.tag-pill:hover {
	background-color: var(--rh-orange-official);
	color: var(--rh-white);
}

/* Share Button */
.share-btn {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background-color: #F3F4F6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rh-black-editorial);
	font-weight: 700;
	font-size: 0.875rem;
	transition: background-color 0.2s ease, color 0.2s ease;
	border: none;
	cursor: pointer;
}

.share-btn:hover {
	color: var(--rh-white);
}

.share-btn-x:hover {
	background-color: #1DA1F2;
}

.share-btn-fb:hover {
	background-color: #4267B2;
}

.share-btn-share:hover {
	background-color: #25D366;
}

/* Related Articles Section */
.related-articles {
	background-color: var(--rh-cream-sonora);
	border: 1px solid #E5E7EB;
	padding: 2rem;
	border-radius: var(--rh-radius-ui);
	margin-top: 4rem;
}

.related-articles h4 {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--rh-black-editorial);
	border-bottom: 2px solid var(--rh-orange-official);
	padding-bottom: 0.5rem;
	display: inline-block;
	margin-bottom: 1.5rem;
}

.related-article-link {
	display: block;
}

.related-article-link:hover h5 {
	color: var(--rh-green-official);
}

.related-article-link h5 {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.related-article-meta {
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--rh-gray-texto);
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}

/* Figcaption Enhanced */
.figcaption-enhanced {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: var(--rh-gray-texto);
	font-family: var(--font-sans-body);
	font-style: italic;
	border-left: 2px solid var(--rh-orange-official);
	padding-left: 0.75rem;
}


/* ══════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════ */
.breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rh-gray-texto);
	margin-bottom: 1.5rem;
}

.breadcrumb-link {
	color: var(--rh-gray-texto);
}

.breadcrumb-link:hover {
	color: var(--rh-orange-official);
}

.breadcrumb-sep {
	color: #D1D5DB;
}

.breadcrumb-current {
	font-weight: 700;
	color: var(--rh-black-editorial);
}

/* Breadcrumbs visibles también en longform (misma estructura que prototipo). */
.article-container>.breadcrumb,
.opinion-container>.breadcrumb,
.breaking-container>.breadcrumb,
.investigation-container>.breadcrumb,
.photoessay-container>.breadcrumb {
	margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════
   SHARE BUTTONS (new grid)
   ══════════════════════════════════════════ */
.share-buttons {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.share-btn-facebook:hover {
	background-color: #4267B2;
}

.share-btn-x:hover {
	background-color: #000;
}

.share-btn-whatsapp:hover {
	background-color: #25D366;
}

.share-btn-telegram:hover {
	background-color: #0088cc;
}

.share-btn-email:hover {
	background-color: var(--rh-gray-texto);
}

.share-btn-copy:hover {
	background-color: var(--rh-orange-official);
}

.share-btn-copied {
	background-color: var(--rh-green-official) !important;
	color: #fff !important;
}

.tags-share-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px solid #E5E7EB;
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}


/* ══════════════════════════════════════════
   RELATED ARTICLES (new card grid)
   ══════════════════════════════════════════ */
.related-articles-section {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #E5E7EB;
}

.related-articles-heading {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--rh-black-editorial);
	margin-bottom: 1.5rem;
	border-bottom: 3px solid var(--rh-orange-official);
	display: inline-block;
	padding-bottom: 0.5rem;
}

.related-articles-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 768px) {
	.related-articles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.related-articles-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.related-card {
	display: flex;
	flex-direction: column;
	background: var(--rh-white);
	border-radius: var(--rh-radius-ui);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.related-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.related-card-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #F3F4F6;
}

.related-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.related-card:hover .related-card-image img {
	transform: scale(1.05);
}

.related-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.related-card-letter {
	font-family: var(--font-serif-headline);
	font-size: 2rem;
	font-weight: 900;
	color: #D1D5DB;
}

.related-card-body {
	padding: 0.75rem 1rem;
}

.related-card-category {
	font-family: var(--font-mono-data);
	font-size: 0.6875rem;
	text-transform: uppercase;
	color: var(--rh-green-official);
	letter-spacing: 0.05em;
}

.related-card-title {
	font-family: var(--font-serif-headline);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rh-black-editorial);
	margin: 0.25rem 0;
	transition: color 0.2s ease;
}

.related-card:hover .related-card-title {
	color: var(--rh-green-official);
}

.related-card-meta {
	font-family: var(--font-mono-data);
	font-size: 0.6875rem;
	color: #9CA3AF;
}


/* ══════════════════════════════════════════
   NEWSLETTER INLINE + MODAL
   ══════════════════════════════════════════ */
.newsletter-inline {
	background-color: var(--rh-cream-sonora);
	border: 1px solid #e9e6e4;
	border-radius: var(--rh-radius-ui);
	padding: 1.5rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 2rem 0;
}

@media (min-width: 768px) {
	.newsletter-inline {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.newsletter-inline-title {
	font-family: var(--font-serif-headline);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--rh-black-editorial);
	margin-bottom: 0.25rem;
}

.newsletter-inline-text {
	font-size: 0.875rem;
	color: var(--rh-gray-texto);
	margin: 0;
}

.newsletter-inline-form {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

.newsletter-inline-row {
	display: flex;
	gap: 0.5rem;
	width: 100%;
}

@media (max-width: 480px) {
	.newsletter-inline-row {
		flex-direction: column;
	}

	.newsletter-inline-input {
		min-width: 0;
	}
}

.newsletter-inline-success {
	margin: 0;
	font-weight: 600;
	color: var(--rh-green-official);
	font-family: var(--font-sans-body);
	font-size: 0.9375rem;
}

.newsletter-inline-input {
	padding: 0.5rem 0.75rem;
	border: 1px solid #D1D5DB;
	border-radius: var(--rh-radius-ui);
	font-family: var(--font-sans-body);
	font-size: 0.875rem;
	outline: none;
	min-width: 200px;
}

.newsletter-inline-input:focus {
	border-color: var(--rh-orange-official);
}

.newsletter-inline-btn {
	padding: 0.5rem 1rem;
	background-color: var(--rh-orange-official);
	color: #fff;
	border: none;
	border-radius: var(--rh-radius-ui);
	font-family: var(--font-sans-body);
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	white-space: nowrap;
	transition: filter 0.2s ease;
}

.newsletter-inline-btn:hover {
	filter: brightness(0.9);
}

/* Newsletter Modal */
.newsletter-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: var(--z-modal);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.newsletter-modal-visible {
	opacity: 1;
	pointer-events: auto;
}

.newsletter-modal-closing {
	opacity: 0;
	pointer-events: none;
}

.newsletter-modal {
	background: var(--rh-white);
	border-radius: var(--rh-radius-ui);
	padding: 2.5rem;
	max-width: 420px;
	width: 90%;
	position: relative;
	text-align: center;
}

.newsletter-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: none;
	border: none;
	cursor: pointer;
	color: #9CA3AF;
	font-size: 1.5rem;
}

.newsletter-modal-close:hover {
	color: var(--rh-black-editorial);
}

.newsletter-modal-title {
	font-family: var(--font-serif-headline);
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.newsletter-modal-text {
	font-size: 0.9375rem;
	color: var(--rh-gray-texto);
	margin-bottom: 1.5rem;
}

.newsletter-modal-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.newsletter-modal-row {
	display: flex;
	gap: 0.5rem;
}

@media (max-width: 400px) {
	.newsletter-modal-row {
		flex-direction: column;
	}
}

.newsletter-modal-input {
	flex: 1;
	padding: 0.625rem 0.75rem;
	border: 1px solid #D1D5DB;
	border-radius: var(--rh-radius-ui);
	font-family: var(--font-sans-body);
	font-size: 0.875rem;
	outline: none;
}

.newsletter-modal-input:focus {
	border-color: var(--rh-orange-official);
}

.newsletter-modal-btn {
	padding: 0.625rem 1.25rem;
	background-color: var(--rh-orange-official);
	color: #fff;
	border: none;
	border-radius: var(--rh-radius-ui);
	font-family: var(--font-sans-body);
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	white-space: nowrap;
}

.newsletter-modal-btn:hover {
	filter: brightness(0.9);
}

.newsletter-modal-disclaimer {
	font-size: 0.75rem;
	color: #9CA3AF;
	margin: 0;
}

/* ── Newsletter multi-step transitions ── */
.newsletter-step {
	display: none;
}

.newsletter-step--active {
	display: block;
	animation: nlStepIn 0.25s ease-out;
}

.newsletter-step--exit {
	display: block;
	animation: nlStepOut 0.25s ease-in forwards;
}

@keyframes nlStepIn {
	from {
		opacity: 0;
		transform: translateX(16px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes nlStepOut {
	from {
		opacity: 1;
		transform: translateX(0);
	}

	to {
		opacity: 0;
		transform: translateX(-16px);
	}
}

/* Skip link */
.newsletter-modal-skip,
.newsletter-skip {
	background: none;
	border: none;
	color: var(--rh-gray-texto, #4A4A4A);
	font-family: var(--font-sans-body);
	font-size: 0.8125rem;
	cursor: pointer;
	padding: 0.25rem 0;
	margin-top: 0.5rem;
	transition: color 0.2s;
}

/* Step 2: name form — full-width button for visual consistency */
.newsletter-modal-form[data-newsletter-step="name"] .newsletter-modal-btn {
	width: 100%;
}

.newsletter-modal-skip:hover,
.newsletter-skip:hover {
	color: var(--rh-orange-official);
}

/* Success state (modal) */
.newsletter-modal-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem 0;
}

/* Green variant for step-2 buttons */
.newsletter-inline-btn--green,
.rh-cta-inline__btn--green {
	background-color: var(--rh-green-official, #01972C) !important;
}

.newsletter-inline-btn--green:hover,
.rh-cta-inline__btn--green:hover {
	filter: brightness(0.9);
}


/* ══════════════════════════════════════════
   ARTICLE PAGE — Standard
   ══════════════════════════════════════════ */
.article-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 32px 16px 64px;
}

@media (min-width: 768px) {
	.article-container {
		padding: 32px 24px 112px;
	}
}

.article-badge {
	display: inline-block;
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 4px 8px;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	margin-bottom: 1rem;
}

.article-title {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 1.75rem;
	line-height: 1.15;
	color: var(--rh-black-editorial);
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.article-title {
		font-size: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.article-title {
		font-size: 3.5rem;
	}
}

.article-lead {
	font-family: var(--font-sans-body);
	font-size: 20px;
	line-height: 32px;
	color: var(--rh-gray-texto);
	border-left: 4px solid #e5e7eb;
	padding-left: 16px;
	padding-top: 8px;
	padding-bottom: 8px;
	margin-bottom: 24px;
	font-weight: 500;
}

@media (min-width: 768px) {
	.article-lead {
		font-size: 24px;
		line-height: 36px;
	}
}

.article-author-bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 17px 0;
	border-top: 1px solid #f3f4f6;
	border-bottom: 1px solid #f3f4f6;
	margin-bottom: 24px;
}

.article-author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	background-color: #E5E7EB;
}

.article-author-identity {
	display: flex;
	align-items: center;
	min-height: 40px;
}

.article-author-name {
	font-family: var(--font-mono-data);
	font-weight: 500;
	font-size: 12px;
	color: var(--rh-black-editorial);
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.article-author-meta {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: #6B7280;
}

.article-hero-figure {
	margin: 0 0 24px 0;
	border: 8px solid var(--rh-black-editorial);
	border-radius: 2px;
	padding: 8px;
	overflow: hidden;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

.article-hero-figure img {
	width: 100%;
	display: block;
}

.article-hero-caption {
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-style: italic;
	color: var(--rh-gray-texto);
	margin-top: 12px;
	padding-left: 14px;
	border-left: 2px solid var(--rh-orange-official);
}

.article-body h2,
.article-body h3 {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	color: var(--rh-black-editorial);
	margin: 2rem 0 1rem 0;
}

.article-body h2 {
	font-size: 1.5rem;
}

.article-body h3 {
	font-size: 1.25rem;
}

@media (min-width: 768px) {
	.article-body h2 {
		font-size: 1.875rem;
	}

	.article-body h3 {
		font-size: 1.5rem;
	}
}

.article-body p {
	font-family: var(--font-sans-body);
	font-size: 18px;
	line-height: 34px;
	color: var(--rh-black-editorial);
	margin-bottom: 24px;
}

@media (min-width: 768px) {
	.article-body p {
		font-size: 20px;
	}
}

.article-body .drop-cap::first-letter {
	float: left;
	font-family: var(--font-serif-headline);
	font-size: 64px;
	font-weight: 700;
	line-height: 54px;
	margin: 2px 10px 0 0;
	color: var(--rh-black-editorial);
}

.article-body blockquote {
	border-left: 6px solid var(--rh-orange-official);
	padding: 8px 0 8px 30px;
	margin: 2rem 0;
	background-color: transparent;
}

.article-body blockquote p {
	font-family: var(--font-serif-headline);
	font-size: 22px;
	font-weight: 700;
	font-style: normal;
	line-height: 36px;
	color: var(--rh-black-editorial);
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.article-body blockquote p {
		font-size: 28px;
	}
}

.article-body blockquote cite {
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	color: #6B7280;
	font-style: normal;
}

.article-body figure {
	margin: 2rem 0;
}

.article-body figure img {
	width: 100%;
	border-radius: var(--rh-radius-ui);
}

.article-body figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--rh-gray-texto);
	font-style: italic;
	border-left: 2px solid var(--rh-orange-official);
	padding-left: 0.75rem;
}


/* ══════════════════════════════════════════
   OPINION ARTICLE
   ══════════════════════════════════════════ */
.opinion-container {
	max-width: 700px;
	margin: 0 auto;
	padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
	.opinion-container {
		padding: 3rem 2rem;
	}
}

.opinion-badge {
	display: inline-block;
	background-color: var(--rh-black-editorial);
	color: #fff;
	font-family: var(--font-sans-body);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 12px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.opinion-title {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 28px;
	line-height: 32px;
	color: var(--rh-black-editorial);
	margin-bottom: 20px;
}

@media (min-width: 768px) {
	.opinion-title {
		font-size: 36px;
		line-height: 42px;
	}
}

.opinion-author-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 2px solid var(--rh-black-editorial);
}

.opinion-author-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--rh-orange-official);
	background-color: #E5E7EB;
}

.opinion-author-name {
	font-family: var(--font-sans-body);
	font-weight: 700;
	font-size: 1rem;
	color: var(--rh-black-editorial);
}

.opinion-author-role {
	font-family: var(--font-sans-body);
	font-size: 13px;
	color: var(--rh-gray-texto);
}

.opinion-author-date {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: #9ca3af;
}

.opinion-lead {
	font-family: var(--font-serif-accent);
	font-style: italic;
	font-size: 20px;
	line-height: 32px;
	color: var(--rh-black-editorial);
	margin-bottom: 32px;
}

@media (min-width: 768px) {
	.opinion-lead {
		font-size: 22px;
	}
}

.opinion-body p {
	font-family: var(--font-sans-body);
	font-size: 18px;
	line-height: 32px;
	color: var(--rh-black-editorial);
	margin-bottom: 24px;
}

.opinion-body .pull-quote {
	border-left: 4px solid var(--rh-orange-official);
	padding-left: 1.5rem;
	margin: 2rem 0;
}

.opinion-body .pull-quote p {
	font-family: var(--font-serif-accent);
	font-style: italic;
	font-size: 1.375rem;
	line-height: 1.6;
	color: var(--rh-black-editorial);
}

@media (min-width: 768px) {
	.opinion-body .pull-quote p {
		font-size: 1.625rem;
	}
}

.opinion-disclaimer {
	font-family: var(--font-sans-body);
	font-style: italic;
	font-size: 0.875rem;
	color: #6B7280;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #E5E7EB;
}


/* ══════════════════════════════════════════
   INVESTIGATION (Long-form)
   ══════════════════════════════════════════ */
.investigation-hero {
	position: relative;
	width: 100%;
	min-height: 70vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--rh-black-editorial);
}

.investigation-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
}

.investigation-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3), transparent);
}

.investigation-hero-content {
	position: relative;
	z-index: 1;
	max-width: 820px;
	margin: 0 auto;
	padding: 40px 16px;
	color: #fff;
}

@media (min-width: 768px) {
	.investigation-hero {
		min-height: 80vh;
	}

	.investigation-hero-content {
		padding: 64px 24px;
	}
}

.investigation-hero .badge-investigation {
	display: inline-block;
	background: var(--rh-orange-official);
	color: #fff;
	font-family: var(--font-sans-body);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	padding: 4px 12px;
	border-radius: 4px;
	margin-bottom: 0;
}

.investigation-hero .read-time {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 0;
}

.investigation-hero-title {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 32px;
	line-height: 36px;
	color: #fff;
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.investigation-hero-title {
		font-size: 48px;
		line-height: 52px;
	}
}

@media (min-width: 1024px) {
	.investigation-hero-title {
		font-size: 56px;
		line-height: 60px;
	}
}

.investigation-hero-subtitle {
	font-family: var(--font-sans-body);
	font-size: 18px;
	line-height: 28px;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 0;
	max-width: 640px;
}

@media (min-width: 768px) {
	.investigation-hero-subtitle {
		font-size: 22px;
		line-height: 34px;
	}
}

.investigation-hero-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
}

.investigation-hero-author img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	object-fit: cover;
}

.investigation-hero-author-name {
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	display: block;
}

.investigation-hero-author-date {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	display: block;
}

/* Sticky TOC */
.investigation-toc {
	background: var(--rh-black-editorial);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid #333;
}

.investigation-toc-inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 16px 16px 16px 16px;
	display: flex;
	align-items: center;
	gap: 16px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.investigation-toc-label {
	font-family: var(--font-sans-body);
	font-size: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 1px;
	white-space: nowrap;
	flex-shrink: 0;
}

.investigation-toc a {
	font-family: var(--font-sans-body);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	transition: color 0.2s ease;
	border-bottom: 2px solid transparent;
	flex-shrink: 0;
}

.investigation-toc a .toc-num {
	color: var(--rh-orange-official);
	margin-right: 4px;
}

.investigation-toc a:hover {
	color: var(--rh-orange-official);
	border-bottom-color: var(--rh-orange-official);
}

/* Activo: fondo claro + bold (como en prototipo localhost:5500) */
.investigation-toc a.active,
.investigation-toc a.is-active {
	color: var(--rh-orange-official);
	border-bottom-color: var(--rh-orange-official);
}

.investigation-container {
	max-width: 700px;
	margin: 0 auto;
	padding: 48px 16px 64px;
}

/* Caja de dato única en investigación: aspecto .data-highlight-box del prototipo */
.investigation-container .article-body .rh-stat-single {
	background: var(--rh-cream-sonora);
	border: 1px solid #e5e0d8;
	color: var(--rh-black-editorial);
	border-radius: 8px;
	padding: 32px;
	margin: 32px 0;
	text-align: center;
}

.investigation-container .article-body .rh-stat-single__number {
	font-size: 56px;
	color: var(--rh-orange-official);
}

@media (min-width: 768px) {
	.investigation-container .article-body .rh-stat-single__number {
		font-size: 72px;
	}
}

.investigation-container .article-body .rh-stat-single__label {
	color: var(--rh-black-editorial);
	font-size: 16px;
	margin-top: 8px;
}

.investigation-container .article-body .rh-stat-single__source {
	color: var(--rh-gray-texto);
	font-size: 12px;
	margin-top: 4px;
}

@media (min-width: 768px) {
	.investigation-container {
		padding: 48px 24px 64px;
	}
}

.investigation-section {
	margin-bottom: 48px;
	scroll-margin-top: 80px;
}

.chapter-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px 0;
}

.chapter-heading:first-child {
	margin-top: 0;
}

.chapter-number {
	font-family: var(--font-mono-data);
	font-size: 14px;
	color: var(--rh-orange-official);
	font-weight: 500;
}

.chapter-title {
	font-family: var(--font-serif-headline);
	font-size: 28px;
	font-weight: 900;
	line-height: 32px;
	color: var(--rh-black-editorial);
}

@media (min-width: 768px) {
	.chapter-title {
		font-size: 34px;
		line-height: 40px;
	}
}

/* Data highlight box */
.data-highlight-box {
	background: var(--rh-cream-sonora);
	border: 1px solid #e5e0d8;
	color: var(--rh-black-editorial);
	border-radius: 8px;
	padding: 32px;
	margin: 32px 0;
	text-align: center;
}

.data-highlight-number {
	font-family: var(--font-serif-headline);
	font-size: 56px;
	font-weight: 900;
	color: var(--rh-orange-official);
	line-height: 1;
}

@media (min-width: 768px) {
	.data-highlight-number {
		font-size: 72px;
	}
}

.data-highlight-label {
	font-family: var(--font-sans-body);
	font-size: 16px;
	color: var(--rh-black-editorial);
	margin-top: 8px;
}

.data-highlight-source {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: var(--rh-gray-texto);
	margin-top: 4px;
}

/* Data grid (2x2) */
.data-impact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 32px 0;
}

.data-impact-item {
	background: var(--rh-gray-claro);
	border-radius: 8px;
	padding: 20px;
}

.data-impact-number {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 32px;
	line-height: 1;
	margin-bottom: 8px;
}

@media (min-width: 768px) {
	.data-impact-number {
		font-size: 40px;
	}
}

.data-impact-label {
	font-family: var(--font-sans-body);
	font-size: 13px;
	line-height: 18px;
	color: var(--rh-gray-texto);
}

.data-impact-source {
	grid-column: 1 / -1;
	font-family: var(--font-mono-data);
	font-size: 11px;
	color: #9CA3AF;
	margin-top: 0;
}

/* Documents viewer (collapsible) */
.documents-viewer {
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	margin: 32px 0;
	overflow: hidden;
}

.documents-viewer-header {
	padding: 16px 20px;
	background: var(--rh-gray-claro);
	font-family: var(--font-sans-body);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	user-select: none;
	transition: background-color 0.2s ease;
}

.documents-viewer-header:hover {
	background: #e8e8e8;
}

.documents-viewer-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.documents-chevron {
	transition: transform 0.2s ease;
}

.documents-viewer-list {
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.documents-viewer-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	background: #fafafa;
	border-radius: 4px;
}

.documents-viewer-item svg {
	flex-shrink: 0;
	margin-top: 2px;
}

.doc-name {
	font-family: var(--font-mono-data);
	font-size: 13px;
	font-weight: 500;
	color: var(--rh-black-editorial);
	display: block;
}

.doc-desc {
	font-family: var(--font-sans-body);
	font-size: 12px;
	color: var(--rh-gray-texto);
}

.documents-viewer-item .doc-link {
	display: inline-block;
	margin-top: 6px;
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 600;
	color: var(--rh-orange-official);
	text-decoration: none;
}

.documents-viewer-item .doc-link:hover {
	text-decoration: underline;
}

/* Timeline */
.timeline-section {
	margin: 3rem 0;
	padding-left: 32px;
	border-left: 2px solid #E5E7EB;
}

.timeline-item {
	position: relative;
	margin-bottom: 24px;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

.timeline-dot {
	position: absolute;
	left: -37px;
	top: 6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #D1D5DB;
}

.timeline-item:last-child .timeline-dot {
	background: var(--rh-orange-official);
}

.timeline-year {
	font-family: var(--font-mono-data);
	font-size: 14px;
	font-weight: 500;
	color: var(--rh-orange-official);
	margin-bottom: 2px;
}

.timeline-event {
	font-family: var(--font-sans-body);
	font-size: 16px;
	color: var(--rh-black-editorial);
	line-height: 24px;
}

/* Investigation full-bleed image */
.investigation-full-bleed {
	margin: 32px -16px;
}

@media (min-width: 768px) {
	.investigation-full-bleed {
		margin: 32px -24px;
	}
}

.investigation-full-bleed img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

@media (min-width: 768px) {
	.investigation-full-bleed img {
		height: 500px;
	}
}

/* Large blockquote (testimony) */
.testimony-quote {
	background: var(--rh-cream-sonora);
	padding: 24px;
	border-radius: 8px;
	margin: 32px 0;
}

@media (min-width: 768px) {
	.testimony-quote {
		padding: 40px;
	}
}

.testimony-quote-icon {
	margin-bottom: 12px;
}

.testimony-quote-icon svg {
	display: block;
}

.testimony-quote-text {
	font-family: var(--font-serif-accent);
	font-style: italic;
	font-size: 22px;
	line-height: 32px;
	color: var(--rh-black-editorial);
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.testimony-quote-text {
		font-size: 28px;
		line-height: 40px;
	}
}

.testimony-quote-attribution {
	display: flex;
	align-items: center;
	gap: 8px;
}

.testimony-quote-bar {
	width: 3px;
	height: 32px;
	background: var(--rh-orange-official);
	border-radius: 9999px;
	flex-shrink: 0;
}

.testimony-quote-author-name {
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--rh-black-editorial);
	display: block;
}

.testimony-quote-author-role {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: var(--rh-gray-texto);
	display: block;
}

/* Methodology box */
.methodology-box {
	background: var(--rh-gray-claro);
	border-radius: 8px;
	padding: 24px;
	margin: 32px 0;
}

.methodology-box h4 {
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--rh-black-editorial);
	margin-bottom: 12px;
}

.methodology-box p {
	font-family: var(--font-sans-body);
	font-size: 14px;
	line-height: 24px;
	color: var(--rh-gray-texto);
	margin: 0;
}


/* ══════════════════════════════════════════
   PHOTO ESSAY
   ══════════════════════════════════════════ */
.photoessay-container {
	max-width: 820px;
	margin: 0 auto;
	padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
	.photoessay-container {
		padding: 3rem 2rem;
	}
}

.photo-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
	margin: 2rem 0;
}

@media (min-width: 768px) {
	.photo-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.75rem;
	}
}

.photo-gallery-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	border-radius: 4px;
	aspect-ratio: 1;
	background-color: #F3F4F6;
}

.photo-gallery-item-featured {
	grid-column: span 2;
	grid-row: span 2;
}

.photo-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.photo-gallery-item:hover img {
	transform: scale(1.05);
}

.photo-gallery-item-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0.75rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.photo-gallery-item:hover .photo-gallery-item-overlay {
	opacity: 1;
}

.photo-gallery-item-number {
	font-family: var(--font-mono-data);
	font-size: 0.6875rem;
	color: rgba(255, 255, 255, 0.8);
}

.photo-gallery-item-caption {
	font-family: var(--font-sans-body);
	font-size: 0.75rem;
	color: #fff;
	line-height: 1.4;
}

/* Photo Lightbox */
.photo-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: var(--z-modal);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.photo-lightbox-visible {
	opacity: 1;
}

.photo-lightbox-closing {
	opacity: 0;
}

.photo-lightbox-close,
.photo-lightbox-prev,
.photo-lightbox-next {
	position: absolute;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	padding: 0.5rem;
	z-index: 2;
	transition: color 0.2s ease;
}

.photo-lightbox-close:hover,
.photo-lightbox-prev:hover,
.photo-lightbox-next:hover {
	color: var(--rh-orange-official);
}

.photo-lightbox-close {
	top: 1rem;
	right: 1rem;
}

.photo-lightbox-prev {
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.photo-lightbox-next {
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.photo-lightbox-content {
	text-align: center;
	max-width: 90vw;
	max-height: 90vh;
}

.photo-lightbox-img {
	max-width: 90vw;
	max-height: 75vh;
	object-fit: contain;
}

.photo-lightbox-info {
	margin-top: 1rem;
	color: #fff;
}

.photo-lightbox-counter {
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
}

.photo-lightbox-caption {
	font-family: var(--font-sans-body);
	font-size: 0.9375rem;
	margin: 0.5rem 0 0.25rem;
}

.photo-lightbox-credit {
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

/* Related investigation link card */
.related-investigation-card {
	background: var(--rh-cream-sonora);
	border-left: 4px solid var(--rh-orange-official);
	border-radius: var(--rh-radius-ui);
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	transition: background-color 0.2s ease;
}

.related-investigation-card:hover {
	background-color: #f0ece6;
}

.related-investigation-card-title {
	font-family: var(--font-serif-headline);
	font-size: 1rem;
	font-weight: 700;
	color: var(--rh-black-editorial);
}

.related-investigation-card-arrow {
	font-size: 1.5rem;
	color: var(--rh-orange-official);
	flex-shrink: 0;
}


/* ══════════════════════════════════════════
   BREAKING NEWS
   ══════════════════════════════════════════ */
.breaking-container {
	max-width: 820px;
	margin: 0 auto;
	padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
	.breaking-container {
		padding: 3rem 2rem;
	}
}

.breaking-live-banner {
	background: var(--rh-red-alerta);
	color: #fff;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 700;
}

.breaking-live-banner>div:first-child {
	max-width: 820px;
	margin: 0 auto;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
}

.breaking-live-dot {
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
	animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.5;
		transform: scale(1.3);
	}
}

.breaking-live-updated {
	font-weight: 400;
	opacity: 0.8;
}

/* Header breaking banner (EN VIVO en cabecera) */
.header-breaking-banner {
	background: var(--rh-red-alerta);
	color: #fff;
	padding: 8px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 700;
}

.header-breaking-dot {
	width: 6px;
	height: 6px;
	background: #fff;
	border-radius: 50%;
	animation: pulse-dot 1.5s ease-in-out infinite;
}

.header-breaking-label {
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.header-breaking-link {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 60%;
}

.header-breaking-link:hover {
	text-decoration: underline;
}

.breaking-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--rh-red-alerta);
	color: #fff;
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	padding: 6px 12px;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.breaking-badge .pulse-dot-sm {
	width: 6px;
	height: 6px;
	background: #fff;
	border-radius: 50%;
	animation: pulse-dot 1.5s ease-in-out infinite;
}

.breaking-hero-figure {
	margin: 0 0 1.5rem;
	overflow: hidden;
	border-radius: var(--rh-radius-ui);
}

.breaking-hero-figure img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Live updates timeline */
.live-updates-section {
	margin: 2.5rem 0;
	padding-top: 0;
}

.live-updates-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--rh-red-alerta);
}

.live-updates-header .pulse-dot-sm {
	width: 8px;
	height: 8px;
	background: var(--rh-red-alerta);
	border-radius: 50%;
	animation: pulse-dot 1.5s ease-in-out infinite;
}

.live-updates-header h2 {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 18px;
	color: var(--rh-black-editorial);
	margin: 0;
}

.live-update-item {
	display: flex;
	gap: 1rem;
	padding-bottom: 1.25rem;
	position: relative;
}

.live-update-item:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 2.75rem;
	top: 1.5rem;
	bottom: 0;
	width: 1px;
	background: #E5E7EB;
}

.live-update-time {
	font-family: var(--font-mono-data);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--rh-black-editorial);
	min-width: 40px;
	text-align: right;
	flex-shrink: 0;
}

.live-update-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 0.35rem;
}

.live-update-dot-new {
	background: var(--rh-red-alerta);
}

.live-update-dot-old {
	background: #D1D5DB;
}

.live-update-text {
	font-family: var(--font-sans-body);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--rh-black-editorial);
}

.live-update-item:first-child .live-update-text {
	font-weight: 600;
}

/* Stats highlight box */
.stats-dark-box {
	background: var(--rh-cream-sonora);
	border: 1px solid #e5e0d8;
	border-radius: var(--rh-radius-ui);
	padding: 2rem;
	margin: 2rem 0;
}

.stats-dark-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	text-align: center;
}

.stats-dark-number {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 32px;
	color: var(--rh-orange-official);
	line-height: 1;
}

@media (min-width: 768px) {
	.stats-dark-number {
		font-size: 40px;
	}
}

.stats-dark-label {
	font-family: var(--font-mono-data);
	font-size: 0.6875rem;
	color: var(--rh-gray-texto);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 0.5rem;
}

.stats-dark-source {
	grid-column: 1 / -1;
	font-family: var(--font-mono-data);
	font-size: 0.6875rem;
	color: var(--rh-gray-texto);
	text-align: center;
	padding-top: 1rem;
	border-top: 1px solid #e5e0d8;
}


/* ══════════════════════════════════════════
   MEDIA BADGES & PLAY OVERLAY
   ══════════════════════════════════════════ */
.media-badge {
	position: absolute;
	right: 12px;
	bottom: 12px;
	background: rgba(0, 0, 0, .75);
	border-radius: 4px;
	padding: 4px 8px;
	display: flex;
	align-items: center;
	gap: 4px;
	z-index: 2;
}

.media-badge-label {
	color: #fff;
	font-family: var(--font-sans-body);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.media-badge-duration {
	color: rgba(255, 255, 255, .7);
	font-family: var(--font-mono-data);
	font-size: 11px;
	font-weight: 500;
}

.play-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	pointer-events: none;
}

.play-overlay svg {
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4));
	opacity: .85;
}

/* Inline media type for small text-only cards */
.media-type-inline {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--rh-gray-texto);
}

.media-type-inline span {
	font-family: var(--font-sans-body);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .3px;
}


/* ══════════════════════════════════════════
   SEARCH PAGE  (matches /make SearchPage)
   ══════════════════════════════════════════ */
.search-page-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 32px 16px 64px;
}

@media (min-width: 768px) {
	.search-page-container {
		padding: 32px 24px 64px;
	}
}

/* ── Form ── */
.search-page-container .search-form {
	margin-bottom: 24px;
}

.search-input-wrap {
	position: relative;
}

.search-page-container .search-input {
	width: 100%;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 14px 52px 14px 16px;
	font-family: var(--font-sans-body);
	font-size: 18px;
	color: var(--rh-black-editorial);
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	box-sizing: border-box;
}

.search-page-container .search-input::placeholder {
	color: var(--rh-gray-texto);
}

.search-page-container .search-input:focus {
	border-color: var(--rh-orange-official);
	box-shadow: 0 0 0 3px rgba(248, 124, 3, .15);
}

.search-page-container .search-submit-btn {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: var(--rh-gray-texto);
	line-height: 1;
}

/* ── Meta row ── */
.search-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.search-results-meta {
	font-family: var(--font-sans-body);
	font-size: 14px;
	color: var(--rh-gray-texto);
}

.search-results-meta strong {
	color: var(--rh-black-editorial);
	font-weight: 700;
}

.search-filters-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-sans-body);
	font-size: 14px;
	color: var(--rh-gray-texto);
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s;
}

.search-filters-toggle:hover {
	border-color: var(--rh-black-editorial);
}

/* ── Filter panel ── */
.search-filter-panel {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	padding: 24px;
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

@media (min-width: 768px) {
	.search-filter-panel {
		flex-direction: row;
	}
}

.search-filter-col {
	flex: 1;
}

.search-filter-date-col {
	width: 200px;
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.search-filter-date-col {
		width: 100%;
	}
}

.search-filter-label {
	display: block;
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 600;
	color: var(--rh-gray-texto);
	text-transform: uppercase;
	letter-spacing: .6px;
	margin-bottom: 8px;
}

.search-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.search-filter-pill {
	padding: 6px 12px;
	border-radius: 8px;
	border: none;
	font-family: var(--font-sans-body);
	font-size: 13px;
	background: var(--rh-gray-claro);
	color: var(--rh-gray-texto);
	cursor: pointer;
	transition: all .2s;
}

.search-filter-pill:hover {
	background: #e8e8e8;
}

.search-filter-pill.active {
	background: var(--rh-orange-official);
	color: #fff;
}

.search-filter-select {
	width: 100%;
	background: var(--rh-gray-claro);
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 8px 12px;
	font-family: var(--font-sans-body);
	font-size: 14px;
	color: var(--rh-black-editorial);
	outline: none;
	cursor: pointer;
}

.search-filter-select:focus {
	border-color: var(--rh-orange-official);
}

.search-filter-clear-wrap {
	display: flex;
	align-items: flex-end;
}

.search-filter-clear {
	display: flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	font-family: var(--font-sans-body);
	font-size: 13px;
	color: var(--rh-red-alerta);
	cursor: pointer;
}

.search-filter-clear:hover {
	text-decoration: underline;
}

/* ── Result cards ── */
.search-results-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.search-card {
	display: flex;
	gap: 20px;
	padding: 20px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .2s, transform .2s;
}

.search-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
	transform: scale(1.005);
}

.search-card:focus-visible {
	outline: 2px solid var(--rh-orange-official);
	outline-offset: 2px;
}

.search-thumb {
	display: none;
	flex-shrink: 0;
	width: 160px;
	height: 100px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--rh-gray-claro);
}

@media (min-width: 640px) {
	.search-thumb {
		display: block;
	}
}

.search-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-thumb-fallback {
	display: none;
	align-items: center;
	justify-content: center;
}

@media (min-width: 640px) {
	.search-thumb-fallback {
		display: flex;
	}
}

.search-thumb-fallback span {
	font-family: var(--font-serif-headline);
	font-size: 32px;
	font-weight: 900;
	color: var(--rh-orange-official);
}

.search-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.search-card-meta-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.search-card-cat {
	font-family: var(--font-sans-body);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: var(--rh-green-official);
}

.search-card-date {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: #9ca3af;
}

.search-card-title {
	font-family: var(--font-serif-headline);
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	color: var(--rh-black-editorial);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s;
}

.search-card:hover .search-card-title {
	color: var(--rh-gray-texto);
}

.search-card-excerpt {
	font-family: var(--font-sans-body);
	font-size: 14px;
	line-height: 22px;
	color: var(--rh-gray-texto);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.search-card-author {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: #9ca3af;
	margin-top: auto;
}

/* ── Empty state ── */
.search-empty {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	padding: 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.search-empty-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--rh-gray-claro);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.search-empty-icon .material-symbols-outlined {
	font-size: 28px;
	color: var(--rh-gray-texto);
}

.search-empty-title {
	font-family: var(--font-serif-headline);
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	color: var(--rh-black-editorial);
	margin-bottom: 8px;
}

.search-empty-desc {
	font-family: var(--font-sans-body);
	font-size: 16px;
	line-height: 24px;
	color: var(--rh-gray-texto);
	max-width: 400px;
	margin-bottom: 24px;
}

.search-empty-cta {
	display: inline-block;
	background: var(--rh-orange-official);
	color: #fff;
	font-family: var(--font-sans-body);
	font-weight: 700;
	font-size: 16px;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	transition: filter .2s;
}

.search-empty-cta:hover {
	filter: brightness(.9);
}

/* ── Pagination ── */
.search-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.search-page-btn,
.search-nav-btn {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	background: #fff;
	font-family: var(--font-mono-data);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all .2s;
	color: var(--rh-black-editorial);
}

.search-page-btn:hover,
.search-nav-btn:hover {
	background: var(--rh-gray-claro);
}

.search-page-btn.active {
	background: var(--rh-orange-official);
	color: #fff;
	border-color: var(--rh-orange-official);
}

.search-nav-btn:disabled,
.search-page-btn:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.search-nav-btn .material-symbols-outlined {
	font-size: 18px;
	color: var(--rh-black-editorial);
}


/* ══════════════════════════════════════════
   SUBSCRIBE BUTTON (shared across pages)
   ══════════════════════════════════════════ */
.btn-subscribe-figma {
	background-color: var(--rh-orange-official);
	color: white;
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.6px;
	padding: 10px 24px;
	border-radius: 8px;
	border: none;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	transition: filter 0.2s ease;
}

.btn-subscribe-figma:hover {
	filter: brightness(0.9);
}

/* ═════════════════════════════════════════════
   UI States: Empty & Error
   ═════════════════════════════════════════════ */

/* Shared container for both states */
.ui-state {
	text-align: center;
	padding: 4rem 1.5rem 5rem;
	max-width: 540px;
	margin: 0 auto;
}

.ui-state-icon {
	font-size: 56px;
	margin-bottom: 1rem;
	display: block;
	line-height: 1;
}

.ui-state-title {
	font-family: var(--font-serif-headline);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--rh-black-editorial);
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.ui-state-desc {
	font-family: var(--font-sans-body);
	font-size: 1rem;
	color: var(--rh-gray-texto);
	line-height: 1.6;
	margin-bottom: 1.75rem;
}

.ui-state-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.ui-state-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 700;
	padding: 10px 20px;
	border-radius: var(--rh-radius-ui);
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s, background 0.15s;
	border: none;
}

.ui-state-btn-primary {
	background: var(--rh-orange-official);
	color: #fff;
}

.ui-state-btn-primary:hover {
	filter: brightness(0.9);
}

.ui-state-btn-outline {
	background: transparent;
	color: var(--rh-black-editorial);
	border: 2px solid var(--rh-black-editorial);
}

.ui-state-btn-outline:hover {
	background: var(--rh-black-editorial);
	color: #fff;
}

/* ── Empty State specific ── */
.ui-state--empty .ui-state-icon {
	color: var(--rh-green-official);
}

.ui-state--empty .ui-state-title {
	color: var(--rh-green-official);
}

.ui-state--empty .ui-state-suggestions {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
}

.ui-state--empty .ui-state-suggestions-label {
	font-family: var(--font-mono-data);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rh-gray-texto);
	margin-bottom: 12px;
	display: block;
}

.ui-state--empty .ui-state-suggestion-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.ui-state--empty .ui-state-suggestion-links a {
	font-family: var(--font-sans-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--rh-orange-official);
	text-decoration: none;
	padding: 6px 14px;
	border-radius: 20px;
	background: rgba(232, 93, 4, 0.08);
	transition: background 0.15s;
}

.ui-state--empty .ui-state-suggestion-links a:hover {
	background: rgba(232, 93, 4, 0.16);
}

/* ── Error State specific ── */
.ui-state--error .ui-state-icon {
	color: var(--rh-red-alerta);
}

.ui-state--error .ui-state-title {
	color: var(--rh-black-editorial);
}

.ui-state--error .ui-state-error-code {
	font-family: var(--font-mono-data);
	font-size: 64px;
	font-weight: 500;
	color: var(--rh-red-alerta);
	opacity: 0.25;
	margin-bottom: 0.5rem;
	display: block;
	line-height: 1;
}

/* ── Responsive: smaller on mobile ── */
@media (max-width: 767px) {
	.ui-state {
		padding: 2.5rem 1.25rem 3rem;
	}

	.ui-state-icon {
		font-size: 44px;
	}

	.ui-state-title {
		font-size: 1.375rem;
	}

	.ui-state--error .ui-state-error-code {
		font-size: 48px;
	}
}

/* ═════════════════════════════════════════════
   Category Page Header
   ═════════════════════════════════════════════ */
.category-heading {
	grid-column: 1 / -1;
	padding: 2rem 0 1.5rem;
	border-bottom: 3px solid var(--rh-green-official);
	margin-bottom: 1.5rem;
}

.category-heading-label {
	display: block;
	font-family: var(--font-mono-data);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--rh-gray-texto);
	margin-bottom: 4px;
}

.category-heading-title {
	font-family: var(--font-serif-headline);
	font-size: 2.25rem;
	font-weight: 900;
	color: var(--rh-black-editorial);
	line-height: 1.15;
	margin: 0;
}

@media (max-width: 767px) {
	.category-heading {
		padding: 1.25rem 0 1rem;
		margin-bottom: 1rem;
	}

	.category-heading-title {
		font-size: 1.75rem;
	}
}


/* ══════════════════════════════════════════
   HOME FEED — inline styles from index.html
   ══════════════════════════════════════════ */

/* Load More Button (Figma spec) */
.btn-load-more-figma {
	border: 2px solid var(--rh-black-editorial);
	color: var(--rh-black-editorial);
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	padding: 14px 34px;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-load-more-figma:hover {
	background: var(--rh-black-editorial);
	color: white;
}

.btn-load-more-figma:disabled {
	opacity: 0.5;
	cursor: default;
}

/* Image caption */
.image-caption {
	font-family: var(--font-mono-data);
	font-weight: 400;
	font-size: 12px;
	color: #6B7280;
	margin-top: 8px;
}

/* Hero image container heights */
.hero-image-wrap {
	height: 280px;
	overflow: hidden;
}

@media (min-width: 768px) {
	.hero-image-wrap {
		height: 380px;
	}
}

@media (min-width: 1024px) {
	.hero-image-wrap {
		height: 450px;
	}
}

/* Side article (secondary) — mobile stack */
.article-group-secondary {
	flex-direction: column;
	align-items: flex-start;
}

.article-group-secondary .w-1\/3 {
	width: 100%;
	max-width: 100%;
}

.article-group-secondary .rounded-lg {
	height: 200px !important;
}

@media (min-width: 768px) {
	.article-group-secondary {
		flex-direction: row;
		align-items: center !important;
	}

	.article-group-secondary .w-1\/3 {
		width: 33.333%;
		max-width: none;
	}

	.article-group-secondary .rounded-lg {
		height: 180px !important;
	}
}

/* Small articles grid (4 items: 1col → 2col) */
.grid-articles-wrap {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	padding-bottom: 2rem;
}

@media (min-width: 768px) {
	.grid-articles-wrap {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		padding-bottom: 2rem;
	}
}

@media (min-width: 1024px) {
	.grid-articles-wrap {
		gap: 32px;
		padding-bottom: 32px;
	}
}

/* Small article card in grid */
.grid-article-group {
	display: flex;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.2s ease;
	padding: 12px;
	border-radius: var(--rh-radius-ui);
}

.grid-article-group:hover {
	background-color: #F9FAFB;
}

.grid-headline {
	transition: color 0.2s ease;
}

.grid-article-group:hover .grid-headline {
	color: var(--rh-orange-official);
}

/* Media badge (video/photo overlay) */
.media-badge {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(0, 0, 0, 0.75);
	color: white;
	padding: 4px 10px;
	border-radius: 4px;
	font-family: var(--font-sans-body);
	font-size: 11px;
	font-weight: 600;
}

.media-badge-label {
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.media-badge-duration {
	opacity: 0.8;
}

/* Play overlay for video articles */
.play-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}

.play-overlay:hover {
	background: rgba(0, 0, 0, 0.7);
}

/* Media type inline indicator */
.media-type-inline {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: var(--font-mono-data);
	font-size: 11px;
	color: #9CA3AF;
}

/* ═══════════════════════════════════════════════════════════════
   WP Template Styles — Archive, Search, 404
   Mapped from prototype (category.html, buscar.html, 404.html)
   ═══════════════════════════════════════════════════════════════ */

/* ── Buttons: .btn-primary / .btn-secondary (WP aliases) ── */
.btn.btn-primary {
	background-color: var(--rh-orange-official);
	color: var(--rh-white);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	text-decoration: none;
}

.btn.btn-primary:hover {
	filter: brightness(0.9);
}

.btn.btn-secondary {
	background-color: transparent;
	border: 2px solid var(--rh-black-editorial);
	color: var(--rh-black-editorial);
	text-decoration: none;
}

.btn.btn-secondary:hover {
	background-color: var(--rh-black-editorial);
	color: var(--rh-white);
}

/* ── Archive / Category page ── */
/* Category/Archive header — homologado con prototipo (category-heading, pleca verde) */
.category-heading {
	padding: 2rem 0 1.5rem;
	border-bottom: 3px solid var(--rh-green-official);
	margin-bottom: 1.5rem;
}

.category-heading-label {
	display: block;
	font-family: var(--font-mono-data);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--rh-gray-texto);
	margin-bottom: 4px;
}

.category-heading-title {
	font-family: var(--font-serif-headline);
	font-size: 2.25rem;
	font-weight: 900;
	color: var(--rh-black-editorial);
	line-height: 1.15;
	margin: 0;
}

@media (max-width: 767px) {
	.category-heading {
		padding: 1.25rem 0 1rem;
		margin-bottom: 1rem;
	}

	.category-heading-title {
		font-size: 1.75rem;
	}
}

/* Compatibilidad: archive-header/archive-title por si se usan en otros templates */
.archive-header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #E5E7EB;
}

.archive-title {
	font-family: var(--font-serif-headline);
	font-size: 2rem;
	font-weight: 900;
	color: var(--rh-black-editorial);
	line-height: 1.15;
	margin: 0;
}

@media (min-width: 768px) {
	.archive-title {
		font-size: 2.5rem;
	}
}

.archive-description {
	font-family: var(--font-sans-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--rh-gray-texto);
	margin-top: 0.75rem;
}

.archive-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ── Search page ── */
.search-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #E5E7EB;
}

.search-title {
	font-family: var(--font-serif-headline);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--rh-black-editorial);
	line-height: 1.2;
	margin: 0 0 0.5rem;
}

.search-title span {
	color: var(--rh-orange-official);
}

@media (min-width: 768px) {
	.search-title {
		font-size: 1.875rem;
	}
}

.search-count {
	font-family: var(--font-sans-body);
	font-size: 0.875rem;
	color: var(--rh-gray-texto);
	margin: 0;
}

.search-results {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* ── Card Compact (search result card) ── */
.card-compact {
	display: flex;
	gap: 1.25rem;
	padding: 1.25rem;
	border-radius: 8px;
	border: 1px solid #E5E7EB;
	background: #fff;
	transition: box-shadow 0.2s, transform 0.2s;
}

.card-compact:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: scale(1.005);
}

.card-compact-image {
	display: none;
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--rh-gray-claro);
}

@media (min-width: 640px) {
	.card-compact-image {
		display: block;
	}
}

.card-compact-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-compact-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	min-width: 0;
}

.card-compact-category {
	font-family: var(--font-sans-body);
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--rh-green-official);
}

.card-compact-category a {
	color: inherit;
	text-decoration: none;
}

.card-compact-category a:hover {
	color: var(--rh-orange-official);
}

.card-compact-title {
	font-family: var(--font-serif-headline);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--rh-black-editorial);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-compact-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.card-compact:hover .card-compact-title a {
	color: var(--rh-gray-texto);
}

.card-compact-excerpt {
	font-family: var(--font-sans-body);
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--rh-gray-texto);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}

.card-compact-meta {
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	color: #9CA3AF;
	margin-top: auto;
}

/* ═════════════════════════════════════════════
   UI States: Empty & Error (homologado al prototipo)
   ═════════════════════════════════════════════ */
.ui-state {
	text-align: center;
	padding: 4rem 1.5rem 5rem;
	max-width: 540px;
	margin: 0 auto;
}

.ui-state-icon {
	font-size: 56px;
	margin-bottom: 1rem;
	display: block;
	line-height: 1;
}

.ui-state-title {
	font-family: var(--font-serif-headline);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--rh-black-editorial);
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.ui-state-desc {
	font-family: var(--font-sans-body);
	font-size: 1rem;
	color: var(--rh-gray-texto);
	line-height: 1.6;
	margin-bottom: 1.75rem;
}

.ui-state-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.ui-state-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 700;
	padding: 10px 20px;
	border-radius: var(--rh-radius-ui);
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s, background 0.15s;
	border: none;
}

.ui-state-btn-primary {
	background: var(--rh-orange-official);
	color: #fff;
}

.ui-state-btn-primary:hover {
	filter: brightness(0.9);
}

.ui-state-btn-outline {
	background: transparent;
	color: var(--rh-black-editorial);
	border: 2px solid var(--rh-black-editorial);
}

.ui-state-btn-outline:hover {
	background: var(--rh-black-editorial);
	color: #fff;
}

.ui-state--empty .ui-state-icon {
	color: var(--rh-green-official);
}

.ui-state--empty .ui-state-title {
	color: var(--rh-green-official);
}

.ui-state--error .ui-state-icon {
	color: var(--rh-red-alerta);
}

.ui-state--error .ui-state-title {
	color: var(--rh-black-editorial);
}

.ui-state--error .ui-state-error-code {
	font-family: var(--font-mono-data);
	font-size: 64px;
	font-weight: 500;
	color: var(--rh-red-alerta);
	opacity: 0.25;
	margin-bottom: 0.5rem;
	display: block;
	line-height: 1;
}

@media (max-width: 767px) {
	.ui-state {
		padding: 2.5rem 1.25rem 3rem;
	}

	.ui-state-icon {
		font-size: 44px;
	}

	.ui-state-title {
		font-size: 1.375rem;
	}

	.ui-state--error .ui-state-error-code {
		font-size: 48px;
	}
}

.ui-state-search-form {
	width: 100%;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

/* Mismo aspecto que 404: campo único con lupa dentro (search-form--inline-icon) */
.ui-state-search-form .search-form--inline-icon {
	position: relative;
	display: block;
}

.ui-state-search-form .search-form--inline-icon .search-field {
	width: 100%;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 14px 48px 14px 16px;
	font-family: var(--font-sans-body);
	font-size: 16px;
	color: var(--rh-black-editorial);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.ui-state-search-form .search-form--inline-icon .search-field::placeholder {
	color: var(--rh-gray-texto);
}

.ui-state-search-form .search-form--inline-icon .search-field:focus {
	border-color: var(--rh-orange-official);
	box-shadow: 0 0 0 3px rgba(228, 122, 31, 0.15);
}

.ui-state-search-form .search-form--inline-icon .search-submit {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--rh-gray-texto);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s;
}

.ui-state-search-form .search-form--inline-icon .search-submit:hover {
	color: var(--rh-orange-official);
}

.ui-state-search-form .search-form--inline-icon .search-submit .material-symbols-outlined {
	font-size: 20px;
}

/* ── 404 Error page ── */
.error-404-content {
	max-width: 480px;
	margin: 0 auto;
	padding: 64px 16px;
	text-align: center;
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.error-404-title {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 96px;
	line-height: 1;
	color: var(--rh-orange-official);
	margin: 0 0 8px;
}

@media (min-width: 768px) {
	.error-404-title {
		font-size: 120px;
	}
}

.error-404-content h2 {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 24px;
	line-height: 32px;
	color: var(--rh-black-editorial);
	margin: 0 0 12px;
}

@media (min-width: 768px) {
	.error-404-content h2 {
		font-size: 28px;
	}
}

.error-404-content p {
	font-family: var(--font-sans-body);
	font-size: 16px;
	line-height: 26px;
	color: var(--rh-gray-texto);
	margin: 0 0 32px;
}

/* 404: campo único con icono de lupa dentro (como en el prototipo) */
.error-404-search {
	position: relative;
	width: 100%;
	margin-bottom: 24px;
}

.error-404-search .search-form--inline-icon {
	position: relative;
	display: block;
}

.error-404-search .search-form--inline-icon .search-field {
	width: 100%;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 14px 48px 14px 16px;
	font-family: var(--font-sans-body);
	font-size: 16px;
	color: var(--rh-black-editorial);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.error-404-search .search-form--inline-icon .search-field::placeholder {
	color: var(--rh-gray-texto);
}

.error-404-search .search-form--inline-icon .search-field:focus {
	border-color: var(--rh-orange-official);
	box-shadow: 0 0 0 3px rgba(228, 122, 31, 0.15);
}

.error-404-search .search-form--inline-icon .search-submit {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--rh-gray-texto);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s;
}

.error-404-search .search-form--inline-icon .search-submit:hover {
	color: var(--rh-orange-official);
}

.error-404-search .search-form--inline-icon .search-submit .material-symbols-outlined {
	font-size: 20px;
}

.error-404-buttons .btn .material-symbols-outlined {
	font-size: 18px;
}

.error-404-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* ── No Results / No Content (empty states) ── */
.no-results,
.no-content {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #E5E7EB;
	padding: 48px 24px;
	text-align: center;
}

.no-results h2,
.no-content .page-title {
	font-family: var(--font-serif-headline);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--rh-black-editorial);
	margin: 0 0 12px;
}

.no-results p,
.no-content .page-content p {
	font-family: var(--font-sans-body);
	font-size: 1rem;
	color: var(--rh-gray-texto);
	margin: 0 0 24px;
}

.no-results .search-form,
.no-content .search-form {
	display: inline-flex;
	gap: 0;
	max-width: 400px;
	width: 100%;
}

.no-results .search-field,
.no-content .search-field {
	flex: 1;
	border: 1px solid #e0e0e0;
	border-radius: 8px 0 0 8px;
	padding: 12px 16px;
	font-family: var(--font-sans-body);
	font-size: 14px;
	outline: none;
}

.no-results .search-field:focus,
.no-content .search-field:focus {
	border-color: var(--rh-orange-official);
	box-shadow: 0 0 0 3px rgba(228, 122, 31, 0.15);
}

.no-results .search-submit,
.no-content .search-submit {
	background: var(--rh-orange-official);
	color: #fff;
	border: none;
	border-radius: 0 8px 8px 0;
	padding: 12px 16px;
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.no-results .search-submit:hover,
.no-content .search-submit:hover {
	filter: brightness(0.9);
}

/* ── WP Pagination (archive & search) ── */
.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 2rem 0;
	font-family: var(--font-mono-data);
	font-size: 0.875rem;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid #E5E7EB;
	color: var(--rh-black-editorial);
	text-decoration: none;
	transition: all 0.2s;
}

.nav-links .page-numbers:hover {
	border-color: var(--rh-orange-official);
	color: var(--rh-orange-official);
}

.nav-links .page-numbers.current {
	background: var(--rh-orange-official);
	border-color: var(--rh-orange-official);
	color: #fff;
	font-weight: 700;
}

.nav-links .prev,
.nav-links .next {
	font-family: var(--font-sans-body);
	font-weight: 600;
}

/* ── Páginas institucionales (prototipo) ── */

/* Quiénes somos */
.about-hero {
	background-color: var(--rh-cream-sonora);
	padding: 64px 16px;
	text-align: center;
}

@media (min-width: 768px) {
	.about-hero {
		padding: 80px 24px;
	}
}

.about-hero-inner {
	max-width: 800px;
	margin: 0 auto;
}

.about-hero-label {
	color: var(--rh-orange-official);
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.about-hero-title {
	color: var(--rh-black-editorial);
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 32px;
	line-height: 36px;
	margin-bottom: 24px;
}

@media (min-width: 768px) {
	.about-hero-title {
		font-size: 48px;
		line-height: 52px;
	}
}

.about-hero-desc {
	color: var(--rh-gray-texto);
	font-family: var(--font-sans-body);
	font-size: 18px;
	line-height: 32px;
	max-width: 600px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.about-hero-desc {
		font-size: 20px;
	}
}

.about-body {
	max-width: 800px;
	margin: 0 auto;
	padding: 64px 16px;
}

@media (min-width: 768px) {
	.about-body {
		padding: 64px 24px;
	}
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	margin-bottom: 64px;
}

@media (min-width: 768px) {
	.about-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.about-grid.wp-block-columns {
	display: grid;
	flex-wrap: unset;
}

.about-grid.wp-block-columns .wp-block-column {
	flex-basis: unset;
}

.about-section-title {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 24px;
	line-height: 32px;
	color: var(--rh-black-editorial);
	margin-bottom: 16px;
}

.about-section-text {
	font-family: var(--font-sans-body);
	font-size: 16px;
	line-height: 28px;
	color: var(--rh-gray-texto);
}

.about-principles {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.about-principles li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.about-principles li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rh-orange-official);
	margin-top: 8px;
	flex-shrink: 0;
}

.about-principles li,
.about-principles li span {
	font-family: var(--font-sans-body);
	font-size: 16px;
	line-height: 24px;
	color: var(--rh-gray-texto);
}

/* rh/stat-grid en Quiénes somos: estilos tipo about-impact */
.about-body .rh-stat-grid {
	background: var(--rh-cream-sonora);
	border: 1px solid #e5e0d8;
	border-radius: 8px;
	padding: 32px;
	gap: 24px;
	margin-bottom: 64px;
	text-align: center;
}

.about-body .rh-stat-grid__items {
	gap: 24px;
}

@media (min-width: 768px) {
	.about-body .rh-stat-grid {
		padding: 48px;
	}
}

.about-body .rh-stat-grid .stat-item {
	background: transparent;
	padding: 0;
	text-align: center;
}

.about-body .rh-stat-grid .stat-number {
	font-family: var(--font-serif-headline);
	font-size: 32px;
}

@media (min-width: 768px) {
	.about-body .rh-stat-grid .stat-number {
		font-size: 40px;
	}
}

.about-body .rh-stat-grid .stat-label {
	font-family: var(--font-mono-data);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.about-team-title {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 28px;
	line-height: 36px;
	color: var(--rh-black-editorial);
	margin-bottom: 32px;
}

.about-team-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 640px) {
	.about-team-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.about-team-grid.wp-block-columns {
	display: grid;
	flex-wrap: unset;
}

.about-team-card {
	background: var(--rh-gray-claro);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow .2s;
}

.about-team-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.about-team-card img,
.about-team-card .wp-block-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.about-team-card .wp-block-image {
	margin: 0;
}

.about-team-card-body {
	padding: 20px;
}

.about-team-name {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
	color: var(--rh-black-editorial);
	margin-bottom: 4px;
}

.about-team-role {
	color: var(--rh-orange-official);
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 8px;
}

.about-team-bio {
	font-family: var(--font-sans-body);
	font-size: 14px;
	line-height: 22px;
	color: var(--rh-gray-texto);
}

/* Contacto */
.contact-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 48px 16px 64px;
}

@media (min-width: 768px) {
	.contact-container {
		padding: 64px 24px;
	}
}

.contact-header {
	text-align: center;
	margin-bottom: 48px;
}

.contact-label {
	color: var(--rh-orange-official);
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.contact-title {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 32px;
	line-height: 36px;
	color: var(--rh-black-editorial);
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.contact-title {
		font-size: 40px;
		line-height: 44px;
	}
}

.contact-subtitle {
	font-family: var(--font-sans-body);
	font-size: 16px;
	line-height: 28px;
	color: var(--rh-gray-texto);
	max-width: 500px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.contact-subtitle {
		font-size: 18px;
	}
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

@media (min-width: 768px) {
	.contact-grid {
		grid-template-columns: 1fr 2fr;
	}
}

.contact-grid.wp-block-columns {
	display: grid;
	flex-wrap: unset;
}

.contact-grid.wp-block-columns .wp-block-column {
	flex-basis: unset;
}

.contact-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-info-card {
	background: var(--rh-black-editorial);
	border-radius: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-office {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.contact-office-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-office-icon .material-symbols-outlined {
	font-size: 16px;
	color: var(--rh-orange-official);
}

.contact-office-name {
	color: #fff;
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.contact-office-addr {
	color: #9ca3af;
	font-family: var(--font-mono-data);
	font-size: 13px;
	line-height: 20px;
}

.contact-divider {
	border: 0;
	border-top: 1px solid #374151;
	margin: 0;
}

.contact-detail {
	display: flex;
	align-items: center;
	gap: 12px;
}

.contact-detail .material-symbols-outlined {
	font-size: 14px;
	color: #d1d5db;
}

.contact-detail span {
	color: #d1d5db;
	font-family: var(--font-mono-data);
	font-size: 13px;
}

.contact-tip-box {
	background: var(--rh-cream-sonora);
	border-radius: 8px;
	padding: 24px;
}

.contact-tip-title {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 16px;
	color: var(--rh-black-editorial);
	margin-bottom: 8px;
}

.contact-tip-text {
	font-family: var(--font-sans-body);
	font-size: 14px;
	line-height: 22px;
	color: var(--rh-gray-texto);
}

.contact-form-card {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	padding: 24px;
}

@media (min-width: 768px) {
	.contact-form-card {
		padding: 32px;
	}
}

.contact-form-placeholder {
	font-family: var(--font-sans-body);
	font-size: 16px;
	line-height: 28px;
	color: var(--rh-gray-texto);
}

.contact-form-placeholder a {
	color: var(--rh-orange-official);
	text-decoration: underline;
}

/* Contact Form 7 — estilos según prototipo contacto.html */
.contact-form-card .wpcf7 {
	margin: 0;
	padding: 0;
}

.contact-form-card .wpcf7-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.contact-form-card .wpcf7-form>p {
	margin: 0;
}

@media (min-width: 768px) {
	.contact-form-card .wpcf7-form {
		grid-template-columns: 1fr 1fr;
		gap: 20px 16px;
	}

	.contact-form-card .wpcf7-form>p:nth-child(1) {
		grid-column: 1;
	}

	.contact-form-card .wpcf7-form>p:nth-child(2) {
		grid-column: 2;
	}

	.contact-form-card .wpcf7-form>p:nth-child(n+3) {
		grid-column: 1 / -1;
	}
}

.contact-form-card .wpcf7-form label {
	display: block;
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 600;
	color: var(--rh-gray-texto);
	text-transform: uppercase;
	letter-spacing: .6px;
	margin-bottom: 8px;
}

.contact-form-card .wpcf7-form-control-wrap {
	display: block;
}

.contact-form-card .wpcf7-form-control:not([type="submit"]):not([type="file"]) {
	width: 100%;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px 16px;
	font-family: var(--font-sans-body);
	font-size: 16px;
	color: var(--rh-black-editorial);
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	box-sizing: border-box;
}

.contact-form-card .wpcf7-form-control:not([type="submit"]):not([type="file"])::placeholder {
	color: var(--rh-gray-texto);
}

.contact-form-card .wpcf7-form-control:not([type="submit"]):not([type="file"]):focus {
	border-color: var(--rh-orange-official);
	box-shadow: 0 0 0 3px rgba(248, 124, 3, .15);
}

.contact-form-card .wpcf7-form-control:not([type="submit"]):not([type="file"]):hover {
	border-color: var(--rh-black-editorial);
}

.contact-form-card .wpcf7-form select.wpcf7-form-control {
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.contact-form-card .wpcf7-form textarea.wpcf7-form-control {
	resize: none;
	min-height: 120px;
}

/* Área archivos — estilo dashed como prototipo */
.contact-form-card .wpcf7-form p:has(input[type="file"]) {
	margin: 0;
}

.contact-form-card .wpcf7-form p:has(input[type="file"]) {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.contact-form-card .wpcf7-form p:has(input[type="file"]) label {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	cursor: pointer;
}

.contact-form-card .wpcf7-form p:has(input[type="file"]) .wpcf7-form-control-wrap {
	border: 2px dashed #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s;
	display: block;
	position: relative;
}

.contact-form-card .wpcf7-form p:has(input[type="file"]) label::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	margin-bottom: 8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	order: 1;
}

.contact-form-card .wpcf7-form p:has(input[type="file"]) .wpcf7-form-control-wrap:hover {
	border-color: var(--rh-orange-official);
}

.contact-form-card .wpcf7-form p:has(input[type="file"]) input[type="file"] {
	width: 100%;
	font-family: var(--font-sans-body);
	font-size: 14px;
	color: var(--rh-gray-texto);
}

.contact-form-card .wpcf7-form p:has(input[type="file"]) .file-hint {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: #9ca3af;
	margin-top: 4px;
}

/* Botón enviar — icono send como prototipo */
.contact-form-card .wpcf7-form input[type="submit"],
.contact-form-card .wpcf7-form .wpcf7-submit {
	background: var(--rh-orange-official);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 24px;
	font-family: var(--font-sans-body);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: filter .2s;
	width: 100%;
	max-width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13'/%3E%3Cpath d='M22 2L15 22L11 13L2 9L22 2Z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 20px center;
	background-size: 18px;
	padding-left: 48px;
}

.contact-form-card .wpcf7-form input[type="submit"]:hover,
.contact-form-card .wpcf7-form .wpcf7-submit:hover {
	filter: brightness(.9);
}

.contact-form-card .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 8px;
	font-family: var(--font-sans-body);
	font-size: 14px;
}

.contact-form-card .wpcf7-mail-sent-ok {
	border: 1px solid var(--rh-green-official);
	background: rgba(0, 128, 0, .08);
	color: var(--rh-black-editorial);
}

.contact-form-card .wpcf7-validation-errors {
	border: 1px solid #eab308;
	background: rgba(234, 179, 8, .1);
	color: var(--rh-black-editorial);
}

.contact-form-card .wpcf7-not-valid-tip {
	font-size: 12px;
	color: #dc2626;
	margin-top: 4px;
}

/* Legal (aviso, términos) */
.legal-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 48px 16px 64px;
}

@media (min-width: 768px) {
	.legal-container {
		padding: 64px 24px;
	}
}

.legal-label {
	color: var(--rh-orange-official);
	font-family: var(--font-sans-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.legal-title {
	font-family: var(--font-serif-headline);
	font-weight: 900;
	font-size: 32px;
	line-height: 36px;
	color: var(--rh-black-editorial);
	margin-bottom: 8px;
}

@media (min-width: 768px) {
	.legal-title {
		font-size: 40px;
		line-height: 44px;
	}
}

.legal-updated {
	font-family: var(--font-mono-data);
	font-size: 12px;
	color: #9ca3af;
	margin-bottom: 40px;
}

.legal-section,
.legal-sections {
	margin-bottom: 32px;
}

.legal-section h2,
.legal-sections h2 {
	font-family: var(--font-serif-headline);
	font-weight: 700;
	font-size: 20px;
	line-height: 28px;
	color: var(--rh-black-editorial);
	margin-bottom: 12px;
}

.legal-section p,
.legal-sections p {
	font-family: var(--font-sans-body);
	font-size: 16px;
	line-height: 28px;
	color: var(--rh-gray-texto);
}

.legal-nav {
	display: flex;
	gap: 16px;
	margin-bottom: 32px;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 16px;
}

.legal-nav a {
	font-family: var(--font-sans-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--rh-gray-texto);
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 8px;
	transition: all .2s;
}

.legal-nav a:hover {
	background: var(--rh-gray-claro);
	color: var(--rh-black-editorial);
}

.legal-nav a.active {
	background: var(--rh-orange-official);
	color: #fff;
}


/* ═══════════════════════════════════════════
   SIDEBAR WIDGETS
   ═══════════════════════════════════════════ */

/* — Shared widget styles — */
.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-family: var(--font-sans-body);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rh-black-editorial);
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--rh-orange-official);
}

/* — RH: Noticias Recientes — */
.rh-recent-posts-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rh-recent-post-item {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--rh-gray-claro);
}

.rh-recent-post-item:last-child {
	border-bottom: none;
}

.rh-recent-post-thumb {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 4px;
	overflow: hidden;
}

.rh-recent-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rh-recent-post-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.rh-recent-post-cat {
	font-family: var(--font-sans-body);
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rh-orange-official);
}

.rh-recent-post-title {
	font-family: var(--font-serif-headline);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rh-black-headline);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rh-recent-post-title:hover {
	color: var(--rh-orange-official);
}

.rh-recent-post-date {
	font-family: var(--font-mono-data);
	font-size: 0.6875rem;
	color: var(--rh-gray-texto);
}

/* — RH: Lo Más Leído — */
.rh-popular-posts-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}

.rh-popular-post-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid var(--rh-gray-claro);
}

.rh-popular-post-item:last-child {
	border-bottom: none;
}

.rh-popular-post-number {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono-data);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--rh-orange-official);
	background: var(--rh-cream-sonora);
	border-radius: 4px;
}

.rh-popular-post-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.rh-popular-post-title {
	font-family: var(--font-serif-headline);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rh-black-headline);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rh-popular-post-title:hover {
	color: var(--rh-orange-official);
}

.rh-popular-post-date {
	font-family: var(--font-mono-data);
	font-size: 0.6875rem;
	color: var(--rh-gray-texto);
}

/* — RH: Categorías — */
.rh-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rh-category-item {
	border-bottom: 1px solid var(--rh-gray-claro);
}

.rh-category-item:last-child {
	border-bottom: none;
}

.rh-category-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	text-decoration: none;
	color: var(--rh-black-editorial);
	transition: color 0.2s;
}

.rh-category-link:hover {
	color: var(--rh-orange-official);
}

.rh-category-name {
	font-family: var(--font-sans-body);
	font-size: 0.875rem;
	font-weight: 600;
}

.rh-category-count {
	font-family: var(--font-mono-data);
	font-size: 0.75rem;
	color: var(--rh-white);
	background: var(--rh-black-editorial);
	padding: 2px 8px;
	border-radius: 12px;
	min-width: 24px;
	text-align: center;
}

.rh-category-link:hover .rh-category-count {
	background: var(--rh-orange-official);
}