/**
 * Sistema de Diseño y Estilos CSS para el Tema Hijo Reporte Cívico.
 *
 * @package Reporte_Civico
 * @version 1.0.0
 */

/* ==========================================
   1. VARIABLES Y DISEÑO BASE
   ========================================== */
:root {
	--rc-primary: #0F3248;
	--rc-secondary: #1E4E6E;
	--rc-light-blue: #DCEAF3;
	--rc-bg-white: #FFFFFF;
	--rc-bg-light: #F4F7F9;
	--rc-text-main: #1A1A1A;
	--rc-text-secondary: #5F6B76;
	--rc-border: #D9E1E7;
	--rc-red-alert: #C62828;
	--rc-green-accent: #1F8A43;

	--rc-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--rc-font-serif: Georgia, "Times New Roman", Times, serif;

	--rc-container-max: 1240px;
	--rc-radius: 4px;
	--rc-transition: all 0.2s ease-in-out;
}

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

body.rc-body {
	margin: 0;
	padding: 0;
	background-color: var(--rc-bg-light);
	color: var(--rc-text-main);
	font-family: var(--rc-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--rc-primary);
	text-decoration: none;
	transition: var(--rc-transition);
}

a:hover, a:focus {
	color: var(--rc-secondary);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.rc-container {
	width: 100%;
	max-width: var(--rc-container-max);
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* ==========================================
   2. BARRA SUPERIOR (TOP BAR)
   ========================================== */
.rc-top-bar {
	background-color: var(--rc-primary);
	color: #FFFFFF;
	font-size: 0.85rem;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rc-top-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rc-top-date {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--rc-light-blue);
	font-weight: 500;
}

.rc-top-bar-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.rc-social-links {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rc-social-links a {
	color: #FFFFFF;
	opacity: 0.85;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: var(--rc-transition);
}

.rc-social-links a:hover {
	opacity: 1;
	transform: translateY(-1px);
	color: var(--rc-light-blue);
}

.rc-search-toggle {
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #FFFFFF;
	padding: 5px 9px;
	border-radius: 3px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--rc-transition);
}

.rc-search-toggle:hover {
	background: var(--rc-secondary);
}

/* MODAL DE BÚSQUEDA */
.rc-search-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: var(--rc-primary);
	padding: 20px 0;
	z-index: 9999;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rc-search-overlay.is-open {
	display: block;
}

.rc-search-form {
	display: flex;
	gap: 10px;
	align-items: center;
}

.rc-search-input {
	flex: 1;
	padding: 12px 16px;
	border: 2px solid var(--rc-light-blue);
	border-radius: var(--rc-radius);
	font-size: 1.05rem;
	background: #FFFFFF;
	color: var(--rc-text-main);
}

.rc-search-submit {
	background: var(--rc-secondary);
	color: #FFFFFF;
	border: none;
	padding: 12px 24px;
	border-radius: var(--rc-radius);
	font-weight: 700;
	cursor: pointer;
}

.rc-search-close {
	background: transparent;
	border: none;
	color: #FFFFFF;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0 10px;
}

/* ==========================================
   3. HEADER PRINCIPAL (LOGO + BANNER)
   ========================================== */
.rc-main-header {
	background-color: #FFFFFF;
	padding: 14px 0;
	border-bottom: 1px solid var(--rc-border);
}

.rc-header-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 20px;
}

.rc-branding {
	flex-shrink: 0;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}

.rc-branding img,
.rc-site-logo-img,
.custom-logo,
.custom-logo-link img,
.rc-logo-link img {
	max-height: 64px !important;
	height: auto !important;
	width: auto !important;
	max-width: 320px !important;
	object-fit: contain !important;
}

.rc-logo-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
}

.rc-logo-icon {
	font-size: 1.6rem;
	line-height: 1;
}

.rc-logo-text-wrapper {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.rc-logo-main {
	font-family: var(--rc-font-body);
	font-size: 1.35rem;
	font-weight: 900;
	color: var(--rc-primary);
	letter-spacing: -0.5px;
}

.rc-logo-sub {
	font-family: var(--rc-font-body);
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--rc-red-alert);
	letter-spacing: 1.5px;
}

.rc-header-ad {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.rc-ad-placeholder {
	width: 100%;
	max-width: 728px;
	height: 90px;
	background-color: var(--rc-bg-light);
	border: 1px dashed var(--rc-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rc-text-secondary);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 1px;
}

/* ==========================================
   4. MENÚ PRINCIPAL
   ========================================== */
.rc-main-navigation {
	background-color: var(--rc-primary);
	border-bottom: 3px solid var(--rc-secondary);
	position: relative;
	z-index: 100;
}

.rc-main-navigation.rc-sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

.rc-nav-inner {
	display: flex;
	align-items: center;
}

.rc-primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.rc-primary-menu > li {
	position: relative;
}

.rc-primary-menu > li > a {
	display: block;
	padding: 14px 18px;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none !important;
	transition: var(--rc-transition);
}

.rc-primary-menu > li > a:hover,
.rc-primary-menu > li.current-menu-item > a {
	background-color: var(--rc-secondary);
	color: #FFFFFF;
}

.rc-mobile-menu-toggle {
	display: none;
	background: transparent;
	border: none;
	color: #FFFFFF;
	padding: 12px 0;
	font-weight: 800;
	font-size: 1rem;
	cursor: pointer;
}

/* ==========================================
   5. BARRA DE ÚLTIMA HORA (BREAKING NEWS)
   ========================================== */
.rc-breaking-bar {
	background-color: var(--rc-red-alert);
	color: #FFFFFF;
	padding: 8px 0;
}

.rc-breaking-inner {
	display: flex;
	align-items: center;
	gap: 15px;
}

.rc-breaking-label {
	background-color: #FFFFFF;
	color: var(--rc-red-alert);
	font-weight: 900;
	font-size: 0.8rem;
	padding: 4px 10px;
	border-radius: 3px;
	letter-spacing: 1px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.rc-breaking-dot {
	width: 8px;
	height: 8px;
	background-color: var(--rc-red-alert);
	border-radius: 50%;
	display: inline-block;
	animation: blink 1.2s infinite;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.2; }
}

.rc-breaking-content {
	flex: 1;
	overflow: hidden;
	font-size: 0.92rem;
	white-space: nowrap;
}

.rc-ticker-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rc-ticker-item {
	display: none;
}

.rc-ticker-time {
	font-weight: 700;
	opacity: 0.9;
	margin-right: 6px;
}

.rc-ticker-link {
	color: #FFFFFF;
	text-decoration: none !important;
	font-weight: 600;
}

.rc-ticker-link:hover {
	text-decoration: underline !important;
}

/* ==========================================
   6. SECCIÓN HERO (NOTICIA DESTACADA)
   ========================================== */
.rc-main-content {
	padding: 30px 0 50px 0;
}

.rc-hero-section {
	margin-bottom: 35px;
}

.rc-hero-grid {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 20px;
}

/* NOTICIA PRINCIPAL GRANDE */
.rc-hero-main {
	position: relative;
	background: #000;
	border-radius: var(--rc-radius);
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rc-hero-media {
	position: relative;
	height: 100%;
	min-height: 440px;
}

.rc-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.rc-hero-main:hover .rc-hero-media img {
	transform: scale(1.03);
}

.rc-hero-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 30px 25px 25px 25px;
	background: linear-gradient(180deg, transparent 0%, rgba(15, 50, 72, 0.95) 90%);
	color: #FFFFFF;
}

.rc-badge-category {
	display: inline-block;
	background-color: var(--rc-primary);
	color: #FFFFFF;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 3px;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
	text-decoration: none !important;
}

.rc-hero-title {
	margin: 0 0 10px 0;
	font-family: var(--rc-font-serif);
	font-size: 1.85rem;
	line-height: 1.25;
	font-weight: 700;
}

.rc-hero-title a {
	color: #FFFFFF;
	text-decoration: none !important;
}

.rc-hero-excerpt {
	font-size: 0.95rem;
	opacity: 0.9;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 4 NOTICIAS SECUNDARIAS DEL HERO */
.rc-hero-sub-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.rc-hero-sub-card {
	background: var(--rc-bg-white);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--rc-transition);
}

.rc-hero-sub-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(15, 50, 72, 0.08);
}

.rc-sub-card-media {
	height: 130px;
	overflow: hidden;
	position: relative;
}

.rc-sub-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rc-sub-card-content {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.rc-sub-card-title {
	margin: 0 0 8px 0;
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 700;
}

.rc-sub-card-title a {
	color: var(--rc-text-main);
	text-decoration: none !important;
}

.rc-sub-card-title a:hover {
	color: var(--rc-secondary);
}

.rc-sub-card-date {
	font-size: 0.75rem;
	color: var(--rc-text-secondary);
	margin-top: auto;
}

.rc-placeholder-img {
	width: 100%;
	height: 100%;
	min-height: 130px;
	background: var(--rc-primary);
	color: var(--rc-light-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.9rem;
}

/* ==========================================
   7. LAYOUT DE 2 COLUMNAS (CONTENIDO + SIDEBAR)
   ========================================== */
.rc-layout-wrapper {
	display: grid;
	grid-template-columns: 8fr 4fr;
	gap: 30px;
}

.rc-content-area {
	min-width: 0;
}

/* ENCABEZADOS DE BLOQUES Y SECCIONES */
.rc-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--rc-primary);
	margin-bottom: 20px;
	padding-bottom: 4px;
}

.rc-block-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--rc-primary);
	border-left: 4px solid var(--rc-secondary);
	padding-left: 10px;
}

.rc-see-all {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--rc-secondary);
}

/* TARJETAS HORIZONTALES (ÚLTIMAS NOTICIAS) */
.rc-latest-news-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 35px;
}

.rc-news-card-horizontal {
	background: var(--rc-bg-white);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	padding: 14px;
	display: flex;
	gap: 16px;
	transition: var(--rc-transition);
}

.rc-news-card-horizontal:hover {
	border-color: var(--rc-secondary);
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(15, 50, 72, 0.05);
}

.rc-card-media {
	width: 220px;
	height: 145px;
	flex-shrink: 0;
	border-radius: 3px;
	overflow: hidden;
}

.rc-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rc-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.rc-card-title {
	margin: 6px 0 8px 0;
	font-size: 1.15rem;
	line-height: 1.35;
	font-weight: 700;
	font-family: var(--rc-font-serif);
}

.rc-card-title a {
	color: var(--rc-text-main);
	text-decoration: none !important;
}

.rc-card-title a:hover {
	color: var(--rc-secondary);
}

.rc-card-excerpt {
	font-size: 0.88rem;
	color: var(--rc-text-secondary);
	margin: 0 0 10px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rc-post-meta {
	font-size: 0.78rem;
	color: var(--rc-text-secondary);
	margin-top: auto;
}

.rc-meta-sep {
	margin: 0 6px;
}

/* BANNER PUBLICITARIO CENTRAL */
.rc-inline-ad {
	background: var(--rc-bg-white);
	border: 1px dashed var(--rc-border);
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rc-text-secondary);
	font-weight: 700;
	font-size: 0.85rem;
	margin-bottom: 35px;
}

/* BLOQUES POR CATEGORÍA */
.rc-category-blocks-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
}

.rc-category-block {
	background: var(--rc-bg-white);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	padding: 16px;
}

.rc-cat-featured-card {
	margin-bottom: 14px;
}

.rc-cat-media {
	height: 150px;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 10px;
}

.rc-cat-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rc-cat-title {
	margin: 0 0 4px 0;
	font-size: 1rem;
	line-height: 1.35;
	font-weight: 700;
}

.rc-cat-title a {
	color: var(--rc-text-main);
	text-decoration: none !important;
}

.rc-cat-date {
	font-size: 0.75rem;
	color: var(--rc-text-secondary);
}

.rc-cat-sub-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--rc-border);
}

.rc-cat-sub-item {
	padding: 8px 0;
	border-bottom: 1px solid var(--rc-border);
}

.rc-cat-sub-item:last-child {
	border-bottom: none;
}

.rc-cat-sub-link {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--rc-text-main);
	text-decoration: none !important;
}

.rc-cat-sub-link:hover {
	color: var(--rc-secondary);
}

/* ==========================================
   8. ESTILOS DEL SIDEBAR
   ========================================== */
.rc-sidebar {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.rc-widget {
	background: var(--rc-bg-white);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	padding: 18px;
}

.rc-widget-title {
	margin: 0 0 16px 0;
	font-size: 1.05rem;
	font-weight: 900;
	color: var(--rc-primary);
	border-bottom: 2px solid var(--rc-primary);
	padding-bottom: 6px;
}

.rc-widget-title span {
	background: var(--rc-primary);
	color: #FFFFFF;
	padding: 4px 10px;
	border-radius: 2px;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
}

/* WIDGET LO MÁS LEÍDO */
.rc-popular-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rc-popular-item {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--rc-border);
}

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

.rc-popular-rank {
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--rc-secondary);
	line-height: 1;
	width: 25px;
	flex-shrink: 0;
}

.rc-popular-title {
	margin: 4px 0 0 0;
	font-size: 0.9rem;
	line-height: 1.35;
	font-weight: 700;
}

.rc-popular-title a {
	color: var(--rc-text-main);
	text-decoration: none !important;
}

.rc-popular-title a:hover {
	color: var(--rc-secondary);
}

/* PUBLICIDAD SIDEBAR 300x250 */
.rc-ad-box-300 {
	width: 100%;
	height: 250px;
	background: var(--rc-bg-light);
	border: 1px dashed var(--rc-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rc-text-secondary);
	font-size: 0.85rem;
	font-weight: 700;
}

/* CAJA REPORTE CIUDADANO */
.rc-citizen-report-card {
	background: linear-gradient(135deg, var(--rc-primary) 0%, var(--rc-secondary) 100%);
	color: #FFFFFF;
	padding: 20px;
	border-radius: var(--rc-radius);
	text-align: center;
}

.rc-citizen-icon {
	font-size: 2rem;
	margin-bottom: 8px;
}

.rc-citizen-title {
	margin: 0 0 8px 0;
	font-size: 1.15rem;
	font-weight: 900;
	letter-spacing: 0.5px;
}

.rc-citizen-text {
	font-size: 0.85rem;
	opacity: 0.9;
	margin: 0 0 16px 0;
}

.rc-btn-whatsapp {
	display: inline-block;
	background-color: var(--rc-green-accent);
	color: #FFFFFF;
	font-weight: 800;
	font-size: 0.85rem;
	padding: 10px 16px;
	border-radius: 4px;
	text-decoration: none !important;
	transition: var(--rc-transition);
}

.rc-btn-whatsapp:hover {
	background-color: #176d34;
	color: #FFFFFF;
}

/* ==========================================
   9. VISTA INDIVIDUAL (SINGLE POST)
   ========================================== */
.rc-breadcrumbs {
	font-size: 0.82rem;
	color: var(--rc-text-secondary);
	margin-bottom: 20px;
}

.rc-breadcrumbs a {
	color: var(--rc-secondary);
}

.rc-breadcrumbs .rc-sep {
	margin: 0 6px;
}

.rc-single-article {
	background: var(--rc-bg-white);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	padding: 28px;
}

.rc-single-title {
	font-family: var(--rc-font-serif);
	font-size: 2.2rem;
	line-height: 1.2;
	font-weight: 800;
	margin: 10px 0 15px 0;
	color: var(--rc-primary);
}

.rc-single-lead {
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--rc-text-secondary);
	font-weight: 500;
	margin-bottom: 20px;
}

.rc-single-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--rc-border);
	border-bottom: 1px solid var(--rc-border);
	padding: 12px 0;
	margin-bottom: 25px;
}

.rc-author-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rc-author-avatar {
	border-radius: 50%;
}

.rc-author-details {
	display: flex;
	flex-direction: column;
	font-size: 0.85rem;
}

.rc-publish-date {
	color: var(--rc-text-secondary);
}

.rc-share-buttons {
	display: flex;
	gap: 8px;
}

.rc-share-btn {
	padding: 6px 12px;
	border-radius: 3px;
	color: #FFFFFF;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none !important;
}

.rc-share-fb { background: #3b5998; }
.rc-share-tw { background: #1da1f2; }
.rc-share-wa { background: var(--rc-green-accent); }

.rc-single-featured-media {
	margin: 0 0 25px 0;
}

.rc-single-img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 3px;
}

.rc-single-caption {
	font-size: 0.82rem;
	color: var(--rc-text-secondary);
	margin-top: 6px;
	font-style: italic;
}

.rc-single-body {
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--rc-text-main);
}

.rc-single-body p {
	margin-bottom: 1.4em;
}

.rc-single-body blockquote {
	border-left: 4px solid var(--rc-secondary);
	margin: 20px 0;
	padding: 10px 20px;
	background: var(--rc-bg-light);
	font-style: italic;
	font-family: var(--rc-font-serif);
}

/* CAJA DE AUTOR */
.rc-author-box {
	display: flex;
	gap: 16px;
	background: var(--rc-bg-light);
	border: 1px solid var(--rc-border);
	padding: 18px;
	border-radius: var(--rc-radius);
	margin: 30px 0;
}

.rc-box-avatar {
	border-radius: 50%;
}

.rc-author-box-name {
	margin: 0 0 6px 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--rc-primary);
}

.rc-author-box-bio {
	margin: 0;
	font-size: 0.88rem;
	color: var(--rc-text-secondary);
}

/* NOTICIAS RELACIONADAS */
.rc-related-news {
	margin-top: 35px;
}

.rc-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.rc-related-card img {
	height: 130px;
	width: 100%;
	object-fit: cover;
	border-radius: 3px;

}

.rc-related-title {
	margin: 8px 0 0 0;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
}

.rc-related-title a {
	color: var(--rc-text-main);
	text-decoration: none !important;
}

/* ==========================================
   10. ARCHIVOS Y RESULTADOS
   ========================================== */
.rc-archive-header {
	background: var(--rc-primary);
	color: #FFFFFF;
	padding: 30px 0;
	margin-bottom: 30px;
	border-radius: var(--rc-radius);
}

.rc-archive-header-inner {
	max-width: 800px;
	padding: 0 20px;
}

.rc-archive-label {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 1px;
	color: var(--rc-light-blue);
}

.rc-archive-title {
	margin: 6px 0 0 0;
	font-size: 2rem;
	font-weight: 900;
}

.rc-archive-news-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 30px;
}

/* ==========================================
   11. PIE DE PÁGINA (FOOTER)
   ========================================== */
.rc-site-footer {
	background-color: var(--rc-primary);
	color: #FFFFFF;
	border-top: 4px solid var(--rc-secondary);
}

.rc-footer-main {
	padding: 45px 0 35px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rc-footer-grid {
	display: grid;
	grid-template-columns: 4fr 3fr 3fr 2fr;
	gap: 30px;
}

.rc-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.rc-footer-brand .rc-site-logo-img {
	max-height: 65px;
	width: auto;
	background: #FFFFFF;
	padding: 6px 12px;
	border-radius: var(--rc-radius);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rc-footer-brand .rc-logo-main {
	color: #FFFFFF;
}

.rc-footer-brand .rc-logo-sub {
	color: var(--rc-red-alert);
}

.rc-footer-desc {
	font-size: 0.88rem;
	color: var(--rc-light-blue);
	line-height: 1.5;
	margin-bottom: 20px;
}

.rc-footer-social {
	display: flex;
	gap: 12px;
}

.rc-footer-social a {
	color: #FFFFFF;
	font-size: 0.85rem;
	font-weight: 700;
	background: rgba(255,255,255,0.1);
	padding: 6px 10px;
	border-radius: 3px;
}

.rc-footer-heading {
	margin: 0 0 16px 0;
	font-size: 1rem;
	font-weight: 800;
	color: #FFFFFF;
	border-bottom: 2px solid var(--rc-secondary);
	padding-bottom: 6px;
}

.rc-footer-links, .rc-footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.88rem;
}

.rc-footer-links li, .rc-footer-contact-list li {
	margin-bottom: 8px;
}

.rc-footer-links a {
	color: var(--rc-light-blue);
	text-decoration: none !important;
}

.rc-footer-links a:hover {
	color: #FFFFFF;
}

.rc-footer-text {
	font-size: 0.88rem;
	color: var(--rc-light-blue);
	margin-bottom: 12px;
}

.rc-footer-bottom {
	padding: 16px 0;
	font-size: 0.82rem;
	color: var(--rc-light-blue);
}

.rc-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rc-back-to-top {
	background: rgba(255,255,255,0.15);
	color: #FFFFFF;
	border: none;
	padding: 6px 12px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: 700;
}

.rc-back-to-top:hover {
	background: var(--rc-secondary);
}

/* ==========================================
   12. DISEÑO RESPONSIVO (MEDIA QUERIES)
   ========================================== */
@media (max-width: 992px) {
	.rc-hero-grid {
		grid-template-columns: 1fr;
	}

	.rc-layout-wrapper {
		grid-template-columns: 1fr;
	}

	.rc-footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rc-header-ad {
		display: none;
	}

	.rc-header-inner {
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.rc-mobile-menu-toggle {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.rc-nav-menu-wrapper {
		display: none;
		width: 100%;
	}

	.rc-nav-menu-wrapper.is-open {
		display: block;
	}

	.rc-primary-menu {
		flex-direction: column;
	}

	.rc-primary-menu > li > a {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.rc-hero-sub-grid {
		grid-template-columns: 1fr;
	}

	.rc-category-blocks-grid {
		grid-template-columns: 1fr;
	}

	.rc-news-card-horizontal {
		flex-direction: column;
	}

	.rc-card-media {
		width: 100%;
		height: 180px;
	}

	.rc-footer-grid {
		grid-template-columns: 1fr;
	}

	.rc-top-bar-inner {
		flex-direction: column;
		gap: 6px;
	}

	.rc-single-title {
		font-size: 1.6rem;
	}
}
