/**
 * Tema Alcaldía San Francisco - Estilos principales
 * Migrado desde aplicación Vue 3
 */

/* ========== Variables (alineadas con la app Vue developer-vue3) ========== */
:root {
	--font-primary: "Chronica Pro", sans-serif;
	--font-primary-thin: "Chronica Pro Thin", sans-serif;
	--font-primary-light: "Chronica Pro Light", sans-serif;
	--font-primary-regular: "Chronica Pro", sans-serif;
	--font-primary-medium: "Chronica Pro Medium", sans-serif;
	--font-primary-bold: "Chronica Pro Bold", sans-serif;
	--font-primary-extrabold: "Chronica Pro ExtraBold", sans-serif;
	--font-primary-black: "Chronica Pro Black", sans-serif;
	--font-accent: "BillionDreams", sans-serif;
	--color-woman: #e03a60;
	--bg-CP: #e91f38;
	--bg-CP-P: #a80031;
	--text-CP-P: #a80031;
	--bg-Hover-CP: #a80031;
	--bg-CS: #0253a3;
	--bg-Hover-CS: #00c8f7;
	--bg-CP-light: #e74e6c;
	--chat-bg-color: #0253A3;
	--spacing-section: clamp(4rem, 8vw, 8rem);
	--spacing-container: clamp(1rem, 4vw, 2rem);
	--transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
	--transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
	--transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--color-text-primary: #1d1d1f;
	--color-text-secondary: #4a5568;
	--card-bg: #fff;
	--card-border: rgba(0, 0, 0, 0.08);
	--card-border-hover: rgba(0, 0, 0, 0.12);
	--card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.04);
	--card-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
	--radius-xl: 24px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 1px 3px rgba(0,0,0,.06);
	--shadow-md: 0 10px 30px rgba(0,0,0,.1), 0 2px 10px rgba(0,0,0,.06);
	--shadow-lg: 0 18px 50px rgba(0,0,0,.14), 0 6px 16px rgba(0,0,0,.08);
}

/* ========== Utilidades de layout (sustituto Tailwind) ========== */
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 1.5rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-20 { margin-top: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-40 { margin-bottom: 10rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-40 { padding-bottom: 10rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.space-x-2 { gap: 0.5rem; }
.space-x-4 { gap: 1rem; }
.space-y-2 { gap: 0.5rem; }
.space-y-3 { gap: 0.75rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.object-cover { object-fit: cover; }
.rounded-30 { border-radius: 30px; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: 0 18px 50px rgba(0,0,0,.14); }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-r { border-right-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-600 { color: #4b5563; }
.text-white { color: #fff; }
.text-red-500 { color: #ef4444; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-7 { line-height: 1.75; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-700 { background-color: #374151; }
.bg-blue-50 { background-color: #eff6ff; }
.min-h-screen { min-height: 100vh; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.flex-1 { flex: 1 1 0%; }

@media (min-width: 768px) {
	.md\:block { display: block; }
	.md\:flex { display: flex; }
	.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.md\:gap-12 { gap: 3rem; }
	.md\:hidden { display: none; }
	.md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
	.md\:pb-40 { padding-bottom: 10rem; }
	.md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
	.lg\:flex-row { flex-direction: row; }
	.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lg\:gap-16 { gap: 4rem; }
	.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Breakpoint 1280px (xl): mostrar menú desktop y ocultar hamburger, igual que app Vue */
@media (min-width: 1280px) {
	.xl\:flex { display: flex !important; }
	.xl\:hidden { display: none !important; }
}

@media (min-width: 1280px) {
	.xl\:pt-90 { padding-top: 90px; }
}

@media (min-width: 640px) {
	.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.lg\:flex-row { flex-direction: row; }
}

/* ========== Base ========== */
* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
	overflow-x: hidden;
}

body {
	font-family: var(--font-primary-regular);
	font-weight: 400;
	background-color: #fff;
	color: #1d1d1f;
	line-height: 1.65;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.theme-page-wrap { width: 100%; max-width: 100%; overflow-x: hidden; }
.theme-main { width: 100%; max-width: 100%; }

::selection {
	background: rgba(233, 31, 56, 0.18);
}

/* ========== Header / Nav ========== */
.nav-glassmorphism {
	z-index: 1000;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	margin: 0;

	padding: 0.6rem;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 8px rgba(0,0,0,0.04);
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-glassmorphism::before {
	content: '';
	position: absolute;
	inset: 0;
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	background-image: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.15) 100%);
	z-index: -1;
}

.nav-container { position: relative; width: 100%; }

.nav-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
}

/* Escala como ref. 2 / Vue: barra ~100–120px de altura, ítems legibles y espaciados */
@media (min-width: 1280px) {
	.nav-inner { padding: 0.5rem 0; min-height: 3.5rem; }
}

/* Contenedor de ambos iconos del navbar (juntos a la izquierda en desktop) */
.nav-brand { display: none; }
@media (min-width: 1280px) {
	.nav-brand {
		display: flex;
		align-items: center;
		gap: 0.35rem;
		flex-shrink: 0;
	}
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { width: 3.5rem; height: auto; object-fit: contain; object-position: center; }

@media (min-width: 1280px) {
	.nav-logo {
		background-color: #1e293b;
		border-radius: 50%;
		padding: 0.2rem;
	}
	.nav-logo img { height: 3rem; }
	/* Segundo icono: mismo tamaño que el primero, sin fondo */
	.nav-logo-second {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.nav-logo-second-img { width: 3rem; height: 3rem; object-fit: contain; display: block; }
}

.nav-list {
	list-style: none;
	margin: 0;
	padding: 0 6px;
	display: none;
	justify-content: center;
	align-items: center;
}

@media (min-width: 1280px) {
	.nav-list { display: flex; }
}

.nav-item { margin: 0 6px; }
@media (min-width: 1280px) {
	.nav-item { margin: 0 14px; }
}

.nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1a1a1a;
	text-decoration: none;
	font-family: var(--font-primary-extrabold);
	font-size: 0.875rem;
	letter-spacing: -0.01em;
	padding: 10px 12px;
	cursor: pointer;
	background: none;
	border: none;
	transition: all 0.4s var(--transition-smooth);
}

@media (min-width: 1280px) {
	.nav-link { font-size: 0.9375rem; padding: 10px 14px; }
}

.nav-link:hover { color: #e91f38; transform: translateY(-1px); }

.arrow { display: inline-block; margin-left: 6px; transition: transform 0.3s ease; font-size: 0.7em; }
.arrow.rotated { transform: rotate(180deg); }

.nav-dropdown { position: relative; }

.dropdown-menu-glass {
	display: block;
	position: absolute;
	top: calc(100% + 26px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.38);
	padding: 10px 0;
	min-width: 180px;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
}

.dropdown-menu-glass.is-open {
	opacity: 1;
	visibility: visible;
}

.dropdown-item {
	display: block;
	padding: 12px 20px;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	transition: color 0.3s;
}

.dropdown-item:hover { color: #e91f38; }

/* Mobile menu button */
.mobile-menu-fab { position: relative; }

/* Por debajo de 1280px: sin barra glass, solo botón flotante (como Vue) */
@media (max-width: 1279.98px) {
	.nav-glassmorphism {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: transparent;
		box-shadow: none;
		border-bottom: none;
		padding: 0;
	}
	.nav-glassmorphism::before { display: none; }
	.mobile-menu-fab {
		position: fixed;
		top: 22px;
		right: 18px;
		z-index: 1100;
	}
}

.mobile-menu-btn {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: #3b82f6;
	color: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.mobile-menu-icon-close { display: none; }
.mobile-menu-btn[aria-expanded="true"] .mobile-menu-icon-open { display: none; }
.mobile-menu-btn[aria-expanded="true"] .mobile-menu-icon-close { display: inline; }

/* Mobile menu panel */
.menu-mobile-container {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(0,0,0,0.8);
	backdrop-filter: blur(2rem);
	height: 100dvh;
	display: flex;
	flex-direction: column;
}

.menu-mobile-container[hidden] { display: none !important; }

.menu-mobile-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

.menu-mobile-logo { width: 4rem; height: auto; }
.menu-mobile-close { background: none; border: none; color: #fff; padding: 0.5rem; cursor: pointer; font-size: 1.5rem; }

.menu-items-container { padding: 1rem; overflow-y: auto; }

.menu-mobile-items { display: flex; flex-direction: column; gap: 0.5rem; font-weight: 700; }

.menu-mobile-toggle {
	width: 100%;
	text-align: left;
	color: #fff;
	background: transparent;
	border: none;
	padding: 0.75rem 1rem;
	border-radius: 0.375rem;
	font-size: 1.125rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.menu-mobile-toggle:hover { background: rgba(0,0,0,0.1); }

.menu-mobile-submenu {
	padding-left: 1.5rem;
	margin-top: 0.25rem;
	background: rgba(0,0,0,0.1);
	border-radius: 0.375rem;
	overflow: hidden;
	font-weight: 400;
	font-size: 0.875rem;
}

.menu-mobile-submenu[hidden] { display: none !important; }

.menu-mobile-link {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 0.5rem 1rem;
}

.menu-mobile-link:hover { color: #93c5fd; }

.menu-mobile-chevron { font-size: 0.75rem; transition: transform 0.2s; }

/* ========== Footer ========== */
.footer-main {
	background: #013263;;
	border-top: 1px solid rgba(255,255,255,0.08);
	margin-top: 1.5rem;
}

.footer-inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 2rem 1rem;
}

@media (min-width: 768px) {
	.footer-inner { padding: 3rem 1.5rem; max-width: 86%; }
}

@media (min-width: 1024px) {
	.footer-inner { max-width: 86%; padding-left: 2rem; padding-right: 2rem; }
}

.footer-logo-wrap { margin-bottom: 2.5rem; }
.footer-logo { width: 11rem; height: auto; background: #f9f9f9; padding: 0.5rem; border-radius: 10px; }
@media (min-width: 768px) { .footer-logo { width: 16rem; } }

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	max-width: 80rem;
	margin: 0 auto;
}

/* Responsive: en móvil solo logo + bloque alcalde; ambos centrados horizontalmente */
@media (max-width: 767px) {
	.footer-col--interest,
	.footer-col--faq,
	.footer-col--support { display: none !important; }
	.footer-inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-logo-wrap {
		margin-bottom: 1.25rem;
		display: flex;
		justify-content: center;
	}
	.footer-logo { max-width: 12rem; }
	.footer-grid { gap: 0; width: 100%; max-width: 20rem; }
	.footer-col--alcalde {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-alcalde-photo-wrap {
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 1rem;
	}
}

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 3rem;
		padding-bottom: 10rem;
	}
	.footer-logo-wrap { margin-bottom: 2.5rem; }
}

.ulFooter li { padding: 0.35rem 0; font-weight: 300; color: rgba(255,255,255,0.9); }
.ulFooter a { color: rgba(255,255,255,0.9); text-decoration: none; }
.ulFooter a:hover { color: #fbbf24; }
.ulFooter h3 { font-size: 1.175rem; color: #fff; }

.footer-title {
	font-family: var(--font-primary-bold);
	font-weight: 700;
	font-size: 1.125rem;
	margin-bottom: 1.25rem;
	letter-spacing: -0.01em;
	color: #fff;
}

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

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-col--interest .footer-list,
.footer-col--faq .footer-list { border-right: 1px solid rgba(255,255,255,0.2); padding-right: 1.5rem; }

/* Widgets en columnas del footer: mismo aspecto que los menús */
.footer-col--interest ul,
.footer-col--faq ul,
.footer-col--support ul { list-style: none; padding: 0; margin: 0; }
.footer-col--interest .footer-col-widget ul,
.footer-col--faq .footer-col-widget ul { border-right: 1px solid rgba(255,255,255,0.2); padding-right: 1.5rem; }
.footer-col-widget { margin: 0; }
.footer-col-widget .widget-title { display: none; }

/* Columna alcalde: subir un poco para acercar al borde superior del footer */
.footer-col--alcalde { margin-top: -0.75rem; }
@media (min-width: 768px) {
	.footer-col--alcalde { margin-top: -2rem; }
}

.footer-alcalde-photo-wrap {
	overflow: hidden;
	width: 7rem;
	height: 7rem;
	border-radius: 50%;
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.footer-alcalde-photo-wrap {
		width: 11rem;
		height: 11rem;
		margin-top: 0;
		margin-left: 0;
		margin-bottom: 2rem;
	}
}

.footer-alcalde-photo { width: 100%; height: 100%; object-fit: cover; }
.footer-alcalde-name { font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; }
@media (min-width: 768px) { .footer-alcalde-name { font-size: 1.875rem; } }
.footer-alcalde-role { font-size: 1.475rem; margin-top: 0.5rem; color: rgba(255, 239, 93, 0.882); }
.footer-address { border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); padding: 1.25rem 0; margin-bottom: 1.25rem; font-size: 1rem; color: rgba(255,255,255,0.9); line-height: 1.7; }
.footer-address a { color: inherit; }
.footer-address a:hover { color: #fbbf24; }
.footer-social { list-style: none; padding: 0; margin: 0; }
.footer-social-label { font-weight: 500; margin-bottom: 0.5rem; color: rgba(255,255,255,0.9); }
.footer-social-icons { display: flex; gap: 1rem; font-size: 1.875rem; color: rgba(255,255,255,0.9); }
.footer-social-icons a:hover { color: #fbbf24; transform: scale(1.1); }

@media (max-width: 767px) {
	.footer-main { padding-bottom: 2rem; }
	.footer-inner { padding: 1.5rem 1rem; }
	.footer-alcalde-name { font-size: 1.5rem; }
	.footer-social-icons { font-size: 1.5rem; color: rgba(255,255,255,0.9); }
}

/* ========== Section common ========== */
.section-container-modern {
	max-width: 100%;
	margin: 0 auto;
	padding-left: clamp(1rem, 4vw, 2rem);
	padding-right: clamp(1rem, 4vw, 2rem);
	overflow-x: visible;
}

@media (min-width: 1024px) { .section-container-modern { max-width: 86%; } }

/* Evitar overflow en grids: hijos pueden encogerse */
.section-container-modern .grid > *,
.cards-container > *,
.entradas-grid > *,
.footer-grid > * {
	min-width: 0;
}

.section-spacing {
	padding-top: clamp(1rem, 4vw, 2rem);
	padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* Bloques de sección al estilo landing gubernamental: división clara y jerarquía */
.landing-section {
	display: block;
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.landing-section:first-child { border-top: none; }
.section-category--home + .section-category--home { margin-top: 5rem; }

/* Subtítulo de sección (inspirado en "• ABOUT GERNAST"): pequeño, mayúsculas, acento de color */
.section-label {
	display: block;
	font-family: var(--font-primary-medium);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bg-CP);
}
.section-label-entradas {
	margin-bottom: -2rem !important;
}
.section-label::before {
	content: '\2022 ';
	margin-right: 0.25rem;
}
.section-label-entradas {
	margin-bottom: -1.8rem !important;
}
.section-label-entradas::before {
	content: '\2022 ';
	margin-right: 0.25rem;
}
/* Estilo para móvil */
@media (max-width: 767px) {
	.section-label {
		font-size: 0.55rem !important;
	}
	.section-label-entradas {
		font-size: 0.55rem !important;
		margin-bottom: -0.5rem !important;
	}
}

/* Estilo para tablet */
@media (min-width: 768px) and (max-width: 1279px) {
	.section-label {
		font-size: 0.75rem !important;
		margin-bottom: 0.5rem !important;
	}
}

/* Estilo para desktop */
@media (min-width: 1280px) {
	.section-label {
		font-size: 0.75rem !important;
	}
}

.section-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 2rem 0 0.6rem 0;
	gap: 1rem;
}
.landing-section .section-header { margin-top: 0; }

@media (min-width: 1024px) {
	.section-header {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.section-title-main {
	font-family: var(--font-accent);
	font-weight: 100;
	font-size: clamp(2rem, 4vw + 0.5rem, 4rem);
	letter-spacing: -0.025em;
	line-height: 1.1;
	position: relative;
	display: inline-block;
}

.section-title-main::after {
	content: '';
	display: block;
	width: 50%;
	height: 4px;
	background: var(--bg-CP);
	margin-top: 0.5rem;
	border-radius: 9999px;
}

/* Palabra o frase destacada dentro del título (estilo landing) */
.section-title-main .section-title-highlight { color: var(--bg-CP); }

.section-link-wrap { margin-top: 1rem; }
@media (min-width: 1024px) { .section-link-wrap { margin-top: 0; } }

.view-all-link {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-primary-medium);
	font-weight: 500;
	transition: color 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth);
}

.view-all-link:hover { color: #e91f38; transform: translateX(4px); }

.tituloDeps {
	font-family: var(--font-primary-regular) !important;
	font-weight: 400 !important;
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	line-height: 1.75;
	color: #4a5568;
}

.section-desc { margin-top: 0.35rem; margin-bottom: 0; }

/* ========== Slider ========== */
.slider-section { position: relative; background: #fff; }
/* Logo sobre el hero (dentro del swiper): esquina superior izquierda del slider */
.slider-swiper .slider-logo-wrap {
	position: absolute;
	top: 1rem;
	left: 1.5rem;
	z-index: 30;
	font-weight: 800;
	font-size: 1.875rem;
	pointer-events: none;
}
.slider-swiper .slider-logo-wrap a { pointer-events: auto; }

@media (min-width: 768px) {
	.slider-swiper .slider-logo-wrap { top: 1.25rem; left: 2rem; }
}
@media (min-width: 1280px) {
	.slider-swiper .slider-logo-wrap { top: 1.5rem; left: 2.5rem; }
}

.slider-logo { width: 13rem; height: auto; display: block; }

/* Swiper con z-index bajo para que el logo del slider quede siempre encima */
.slider-swiper { position: relative; z-index: 1; width: 100%; height: 100vh; min-height: 320px; max-height: 720px; overflow: hidden; }
@media (min-width: 768px) { .slider-swiper { height: 90vh; min-height: 360px; max-height: 560px; } }

.slider-swiper .swiper-wrapper,
.slider-swiper .swiper-slide { height: 100%; }

.slider-slide { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100%; }
.slider-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Video del slider: rellenar todo el slide y adaptar escala como en Vue (object-fit: cover) */
.slider-slide--video {
	position: relative;
	overflow: hidden;
}
.slider-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* YouTube/Vimeo embed: cubrir todo el slide (estilo cover) */
.slider-slide--embed { position: relative; overflow: hidden; }
.slider-embed {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100%;
	min-width: 177.78vh;
	transform: translate(-50%, -50%);
	border: none;
	display: block;
}

/* Slider: contenido a la izquierda; en desktop centrado verticalmente y escala más contenida */
.slider-slide-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding-top: 8%;
	background: rgba(0,0,0,0.25);
	z-index: 10;
}

@media (min-width: 768px) {
	.slider-slide-overlay { padding-top: 4%; }
}

@media (min-width: 1024px) {
	.slider-slide-overlay {
		align-items: center;
		justify-content: flex-start;
		padding-top: 0;
	}
}

.slider-slide-content {
	display: block;
	position: relative;
	width: 100%;
	max-width: 36rem;
	margin: 0 2.25rem;
	padding: 0;
	text-align: left;
}

@media (min-width: 768px) {
	.slider-slide-content { margin: 0 5rem; max-width: 32rem; }
}

@media (min-width: 1024px) {
	.slider-slide-content { margin: 0 6rem 0 5rem; max-width: 28rem; }
}

.slider-slide-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.title-hero-slider {
	font-family: 'BillionDreams', var(--font-accent), sans-serif !important;
	font-weight: 500 !important;
	font-size: clamp(3.1rem, 9.5vw, 4.4rem) !important;
	letter-spacing: 0.05em !important;
	line-height: 1.1 !important;
	color: #fff !important;
	margin-bottom: 0;
}

@media (min-width: 1024px) {
	.title-hero-slider {
		font-size: clamp(1.875rem, 3.5vw, 2.5rem) !important;
	}
}

.slider-slide-desc {
	color: #fff;
	font-size: 1.125rem;
	margin-top: 1.2rem;
	margin-bottom: -1rem;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.slider-slide-desc { font-size: 1.25rem; margin-top: 0.5rem; }
}

@media (min-width: 1024px) {
	.slider-slide-desc { font-size: 1.0625rem; margin-top: 0.5rem; }
}

.slider-slide-text .btn-primary { margin-top: 1.5rem; }

/* Botones del slider: color por slide (amarillo, rojo, azul) y hover */
.slider-slide-btn.slider-slide--yellow { background-color: #e8da1e !important; border-color: #e8da1e !important; color: #fdfdfd !important; }
.slider-slide-btn.slider-slide--red { background-color: #e91f38 !important; border-color: #e91f38 !important; color: #fff !important; }
.slider-slide-btn.slider-slide--blue { background-color: #0253a3 !important; border-color: #0253a3 !important; color: #fff !important; }
.slider-slide-text .slider-slide-btn.slider-slide--yellow:hover { background-color: #d4c81a !important; border-color: #d4c81a !important; color: #ffffff !important; }
.slider-slide-text .slider-slide-btn.slider-slide--red:hover { background-color: #c91a30 !important; border-color: #c91a30 !important; color: #fff !important; }
.slider-slide-text .slider-slide-btn.slider-slide--blue:hover { background-color: #02478d !important; border-color: #02478d !important; color: #fff !important; }

@media (min-width: 1024px) {
	.slider-slide-text .btn-primary {
		margin-top: 1rem;
		font-size: 0.8125rem !important;
		padding: 0.5rem 1.25rem !important;
	}
}

.slider-nav { display: none; }
@media (min-width: 768px) { .slider-nav { display: flex; } }

/* Flechas del slider con fondo oscuro semi-transparente (como ref. 3 / Vue) */
.slider-swiper .swiper-button-prev,
.slider-swiper .swiper-button-next {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
}
.slider-swiper .swiper-button-prev::after,
.slider-swiper .swiper-button-next::after {
	font-size: 1.25rem !important;
	font-weight: 900 !important;
	color: #fff !important;
	text-shadow: none;
}
.swiper-button-prev::after,
.swiper-button-next::after {
	font-size: 30px !important;
	font-weight: 900 !important;
	color: #fff !important;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.BntPagination.swiper-pagination .swiper-pagination-bullet {
	background: rgba(0,0,0,0.34) !important;
	width: 8px !important;
	height: 4px;
	border-radius: 10px;
	opacity: 1 !important;
	transition: all 0.3s ease;
}

.BntPagination.swiper-pagination .swiper-pagination-bullet-active {
	background: rgba(0,0,0,0.44) !important;
	width: 16px !important;
}

.BntPagination { bottom: 20% !important; width: 30% !important; }

.swiper-button-next, .swiper-rtl .swiper-button-prev { right: 4%; }
.swiper-button-prev, .swiper-rtl .swiper-button-next { left: 4%; }

/* ========== Hero + Entradas: en responsive las tarjetas van dentro del slider, abajo ========== */
.hero-with-entradas { position: relative; }
@media (max-width: 1023px) {
	.section-entradas {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		margin-top: 0;
		z-index: 10;
	}
	/* Reservar espacio para que la sección siguiente no quede tapada por las tarjetas */
	.hero-with-entradas { padding-bottom: 22vh; }
}
@media (min-width: 1024px) {
	.section-entradas { margin-top: -10vh; max-width: 65%; margin: -10vh auto -12vh auto; position: relative; z-index: 10; }
}
.section-entradas-inner {
	max-width: 90%;
	margin: 0 auto;
	padding: 0.75rem 1rem;
	overflow-x: visible;
	background: rgba(255, 255, 255, 0.397);
	backdrop-filter: blur(10px);
	border-radius: 10px;
}
.section-title-entradas { margin-bottom: 1rem; font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
.section-entradas-inner .section-title-entradas::after { width: 30%; }

@media (min-width: 1024px) { .section-entradas-inner { max-width: 100%; padding: 0.85rem 1rem; } }

.entradas-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}

@media (min-width: 768px) { .entradas-grid { gap: 0.75rem; } }
@media (min-width: 1024px) { .entradas-grid { gap: 1rem; } }

.entrada-card {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
	border: 1px solid rgba(0,0,0,0.06);
	background: #fff;
	transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
	cursor: pointer;
	max-width: 100%;
	text-decoration: none;
	color: inherit;
}

.entrada-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

.entrada-card-img {
	width: 100%;
	height: 170px;
	object-fit: cover;
}

@media (min-width: 768px) { .entrada-card-img { height: 190px; } }
@media (min-width: 1024px) { .entrada-card-img { height: 240px; } }

.entrada-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.25), transparent);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0.5rem 0.75rem;
	color: #fff;
}

.entrada-card-title {
	font-family: var(--font-primary-bold);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: -0.01em;
	margin-bottom: 0.35rem;
	line-height: 1.2;
}

@media (min-width: 768px) { .entrada-card-title { font-size: 0.875rem; } }
@media (min-width: 1024px) { .entrada-card-title { font-size: 0.9375rem; } }

/* ========== Cards (noticias, servicios, etc.) — estilo ref. paleta tema ========== */
.card-surface {
	border-radius: 10px;
	box-shadow: var(--card-shadow);
	border: 1px solid var(--card-border);
	background: var(--card-bg);
	overflow: hidden;
}

.card-surface--hover { transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.3s ease; }

.cards-container { position: relative; }

.card-animated {
	transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.3s ease;
	transform: translateY(0);
}

.card-animated:hover {
	transform: translateY(-6px);
	box-shadow: var(--card-shadow-hover);
	border-color: var(--card-border-hover);
}

.card-noticia,
.card-servicio,
.card-soy-vecino,
.card-vive { overflow: hidden; display: flex; flex-direction: column; height: 100%; max-width: 100%; }

.card-noticia-media {
	border-radius: 0 0 0 0;
	overflow: hidden;
}
.card-noticia-media a {
	color: #64748b;
	text-decoration: none;
}
.card-noticia-media a:hover {
	color: #64748b;
	text-decoration: none;
}
.card-noticia-media .object-cover { border-radius: 0; }
.card-noticia-media img,
.card-servicio-media img { height: 12rem; object-fit: cover; }
@media (min-width: 768px) {
	.card-noticia-media img,
	.card-servicio-media img { height: 13rem; }
}
@media (min-width: 1024px) {
	.card-noticia-media img,
	.card-servicio-media img { height: 14rem; }
}

.card-noticia-title,
.card-servicio-title,
.card-soy-vecino-title {
	font-family: var(--font-primary-bold);
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: -0.015em;
	color: var(--color-text-primary);
	padding: 0 0 0.35rem 0;
	margin: 0 0 0.35rem 0;
	line-height: 1.3;
	border: none;
}

/* Título de tarjeta sin estilo de enlace (apariencia de texto normal, sigue siendo clicable) */
.card-noticia-title a,
.card-servicio-title a,
.card-soy-vecino-title a {
	color: inherit;
	text-decoration: none;
}
.card-noticia-title a:hover,
.card-servicio-title a:hover,
.card-soy-vecino-title a:hover {
	color: inherit;
	text-decoration: none;
}

@media (min-width: 768px) {
	.card-noticia-title,
	.card-servicio-title,
	.card-soy-vecino-title { font-size: 1.2rem; }
}

.card-noticia-body,
.card-servicio-body,
.card-soy-vecino-body { padding: 1.1rem 1.25rem; flex-grow: 1; display: flex; flex-direction: column; }
@media (min-width: 768px) {
	.card-noticia-body,
	.card-servicio-body { padding: 1.35rem 1.5rem; }
	.card-soy-vecino-body { padding: 1.5rem 1.5rem; }
}
@media (min-width: 1024px) { .card-soy-vecino-body { padding: 2rem; } }

/* Fecha estilo profesional: mayúsculas, espaciado, color acento */
.card-noticia-date {
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
	color: var(--bg-CP);
	font-weight: 600;
}
.card-noticia-excerpt { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: 1rem; flex-grow: 1; }
/* Descripción en tarjeta: máximo 2-3 líneas; ver completa en la entrada */
.card-noticia-excerpt--lines {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* Sin imagen: la descripción ocupa el espacio hasta el borde del contenedor */
.card-noticia--no-image .card-noticia-body { flex-grow: 1; min-height: 0; }
/* Tarjetas de solo texto: máximo 8 líneas en todas las vistas */
.card-noticia-excerpt--expand {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 8;
	overflow: hidden;
	flex-grow: 1;
	min-height: 0;
}
.card-servicio-desc,
.card-soy-vecino-desc { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.65; margin-bottom: 1.25rem; flex-grow: 1; }
.card-servicio--no-image .card-servicio-body,
.card-soy-vecino--no-image .card-soy-vecino-body { flex-grow: 1; min-height: 0; }
.card-servicio-desc--expand,
.card-soy-vecino-desc--expand { flex-grow: 1; min-height: 0; display: block; overflow: hidden; }
@media (min-width: 768px) {
	.card-noticia-excerpt,
	.card-servicio-desc,
	.card-soy-vecino-desc { font-size: 0.9375rem; }
}

.card-servicio-icon-wrap {
	position: absolute;
	bottom: -34px;
	left: 1.25rem;
	overflow: hidden;
}

.card-servicio .card-servicio-body { background: var(--card-bg); }

/* Tarjeta destacada (primera de la sección): fondo acento, texto blanco — ref. imágenes */
.card-noticia--feature {
	background: #0253A3;;
	border-color: #0253A3;;
}
.card-noticia--feature:hover { border-color: #0253A3;; box-shadow: 0 4px 32px #0253A3;; }
.card-noticia--feature .card-noticia-media { display: none; }
.card-noticia--feature .card-noticia-body {
	background: #0253A3;;
	color: #fff;
}
.card-noticia--feature .card-noticia-title,
.card-noticia--feature .card-noticia-title a {
	color: #fff;
}
.card-noticia--feature .card-noticia-title a:hover { color: rgba(255, 255, 255, 0.9); }
.card-noticia--feature .card-noticia-date { color: rgba(255, 255, 255, 0.9); }
.card-noticia--feature .card-noticia-excerpt { color: rgba(255, 255, 255, 0.9); }
.card-noticia--feature .btn-primary {
	background: #fff;
	color: #0253A3;;
	border-color: #fff;
}
.card-noticia--feature .btn-primary:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border-color: #fff;
}

.card-servicio--feature {
	background: #0253A3;;
	border-color: #0253A3;;
}
.card-servicio--feature .card-servicio-media { display: none; }
.card-servicio--feature .card-servicio-body {
	background: #0253A3;;
	color: #fff;
}
.card-servicio--feature .card-servicio-title,
.card-servicio--feature .card-servicio-title a { color: #fff; }
.card-servicio--feature .card-servicio-desc { color: rgba(255, 255, 255, 0.9); }
.card-servicio--feature .btn-primary {
	background: #fff;
	color: #0253A3;;
	border-color: #fff;
}
.card-servicio--feature .btn-primary:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border-color: #fff;
}

.btn-primary-entradas {
	margin-top: auto;
	align-self: flex-start;
	width: auto;
	max-width: 100%;
	font-size: 0.6875rem;
	padding: 0.3rem 0.5rem;
	border-radius: 8px;
}
.card-servicio-body .btn-primary,
.card-noticia-body .btn-primary { margin-top: auto; align-self: flex-start; width: auto; max-width: 100%; }
.card-soy-vecino-body .btn-primary,
.card-vive .btn-primary { align-self: flex-start; width: auto; max-width: 100%; }

@media (min-width: 768px) {
	.btn-primary-entradas { font-size: 0.75rem; padding: 0.35rem 0.6rem; }
}
@media (max-width: 600px) {
	.btn-primary-entradas { font-size: 0.5rem !important; padding: 0.2rem 0.35rem !important; border-radius: 6px !important; }
}

/* CTA bajo sección (estilo landing) */
.section-cta-wrap { margin-top: 2.5rem; }
.btn-cta-section { padding: 0.75rem 1.75rem; font-size: 0.9375rem; }

.bg-CS { background-color: var(--bg-CS); }
.bg-CP-light { background-color: var(--bg-CP-light); }
.bg-Hover-CS { background-color: var(--bg-Hover-CS); }
.bg-gradient-yellow { background: linear-gradient(to bottom right, #eab308, #ca8a04); }

/* Soy Vecino: igual que app Vue (rounded 30px, padding p-5 md:p-6 lg:p-8) */
.card-soy-vecino {
	border-radius: 12px;
}
.card-vive.rounded-30 { border-radius: 12px; }
.card-soy-vecino .entrada-card-overlay,
.card-soy-vecino-body { color: #fff; }
.card-soy-vecino-body {
	padding: 1.25rem 1.5rem;
}
@media (min-width: 768px) {
	.card-soy-vecino-body { padding: 1.5rem 1.5rem; }
}
@media (min-width: 1024px) {
	.card-soy-vecino-body { padding: 2rem; }
}
.card-soy-vecino-title {
	margin-top: 1rem;
	margin-bottom: 1rem;
	color: #fff;
}
@media (min-width: 768px) {
	.card-soy-vecino-title { font-size: 1.25rem; }
}
.card-soy-vecino-desc { color: rgba(255,255,255,0.95); }
.card-soy-vecino .btn-primary:hover { background: var(--bg-CP); color: #fff; }

.card-vive-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.4), transparent 50%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem 2rem;
	color: #fff;
}

@media (min-width: 768px) { .card-vive-overlay { padding: 1rem; } }

.card-vive .card-animated:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.18); }

.card-vive-title {
	font-family: var(--font-primary-bold);
	font-weight: 700;
	font-size: 1.875rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin-bottom: 0.75rem;
}

@media (min-width: 768px) { .card-vive-title { font-size: 1.5rem; } }

.h-280 { height: 280px; }

/* ========== Botón primario ========== */
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: var(--bg-CP);
	color: #fff;
	font-family: var(--font-primary-medium);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: -0.01em;
	padding: 0.625rem 1.25rem;
	border-radius: 9999px;
	border: 2px solid transparent;
	transition: all 0.4s var(--transition-smooth);
	text-decoration: none;
	cursor: pointer;
	line-height: 1.5;
}

.btn-primary:hover {
	background: #fff !important;
	color: var(--bg-CP) !important;
	border-color: var(--bg-CP);
	box-shadow: 0 4px 12px rgba(233,31,56,0.2);
	transform: translateY(-2px);
}

/* ========== Responsive: una columna, márgenes y organización ========== */
@media (max-width: 767px) {
	.entrada-card-btn { display: none !important; }
	.section-container-modern {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
	.landing-section {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
	.section-header {
		margin-bottom: 1rem;
		gap: 0.75rem;
	}
	.section-title-main {
		font-size: clamp(1.35rem, 5vw, 2rem);
	}
	.section-link-wrap { margin-top: 0.5rem; }
	.view-all-link { font-size: 0.7875rem; }
	/* Entradas (Servicios principales): 3 en fila; resto de secciones: 1 columna */
	.entradas-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem;
	}
	.cards-container.grid,
	.section-container-modern .cards-container.grid,
	.landing-section .cards-container.grid {
		grid-template-columns: 1fr !important;
		gap: 1rem;
	}
	.cards-container.grid.mt-8,
	.landing-section .cards-container.grid { margin-top: 1.25rem; }
	.section-cta-wrap {
		margin-top: 1.5rem;
		margin-bottom: 0.25rem;
	}
	.btn-cta-section { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
}

/* ========== Mobile: textos del slider (título y descripción un poco más grandes) ========== */
@media (max-width: 600px) {
	.slider-logo { width: 8rem !important; max-height: 4rem; object-fit: contain; }
	.title-hero-slider { font-size: 1.875rem !important; letter-spacing: 0.02em !important; }
	.slider-slide-desc { font-size: 0.875rem; margin-top: 0.5rem; margin-bottom: 0; line-height: 1.45; }
	.slider-slide-text  { margin-top: 9rem; }

	.slider-slide-text .btn-primary { margin-top: 0.75rem; font-size: 0.625rem !important; padding: 0.3rem 0.6rem !important; }
	.slider-slide-content { max-width: 90%; margin: 0 1rem; }
}

/* ========== Mobile: escala reducida, una columna y espaciado ========== */
@media (max-width: 600px) {
	.section-container-modern { padding-left: 1rem; padding-right: 1rem; }
	.entradas-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 0.35rem;
	}
	.cards-container.grid {
		grid-template-columns: 1fr !important;
		gap: 0.75rem;
	}
	.entrada-card-img { height: 95px; }
	.entrada-card-overlay { padding: 0.35rem 0.5rem; }
	.entrada-card-title { font-size: 0.5rem !important; line-height: 1.2; margin-bottom: 0.25rem; }
	.entrada-card-btn { display: none !important; }
	.section-entradas-inner { padding: 0.5rem 0.75rem; }
	.section-title-entradas { margin-bottom: 0.5rem; font-size: 1.2rem; }
	.card-noticia-body,
	.card-servicio-body,
	.card-soy-vecino-body { padding: 0.85rem 0.9rem; }
	.card-noticia-title,
	.card-servicio-title,
	.card-soy-vecino-title { font-size: 0.875rem; line-height: 1.25; padding: 0 0 0.25rem 0; margin: 0 0 0.25rem 0; }
	.card-noticia-date { font-size: 0.625rem; margin-bottom: 0.35rem; }
	.card-noticia-excerpt,
	.card-servicio-desc,
	.card-soy-vecino-desc {
		display: -webkit-box !important;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 0.75rem !important;
		line-height: 1.4;
		margin-bottom: 0.5rem;
	}
	.card-noticia-media .object-cover,
	.card-noticia-media img { height: 7rem !important; border: none; }
	.card-servicio-media img,
	.card-soy-vecino .relative img { height: 7rem !important; }
	.card-soy-vecino-title { font-size: 0.65rem !important; }
	.card-vive-overlay { padding: 0.6rem 0.75rem; }
	.card-vive-title { font-size: 0.85rem; margin-bottom: 0.4rem; }
	.h-280 { height: 140px !important; }
	.cards-container.grid.gap-6 { grid-template-columns: 1fr !important; gap: 0.75rem; }
	.btn-primary { font-size: 0.6rem !important; padding: 0.35rem 0.6rem !important; border-radius: 10px !important; }
	.card-servicio-icon-wrap { bottom: -12px; left: 0.65rem; }
	.card-servicio-icon-wrap img { width: 32px; height: auto; }
}

/* ========== Page (páginas internas) ========== */
.page-hero {
	height: 830px;
	background: #374151;
	border-radius: 2px;
}

@media (min-width: 768px) { .page-hero { height: 500px; } }

.page-hero-inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 1rem;
}

@media (min-width: 1024px) { .page-hero-inner { max-width: 86%; } }

.page-breadcrumb { margin-bottom: 2.5rem; }
.page-hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
}

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

.page-hero-logo { margin-bottom: 5rem; }
.page-hero-title {
	font-size: 3.125rem;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1;
	color: #d1d5db;
}

.page-hero-excerpt { color: #9ca3af; }
.page-hero-img { border-radius: 1.5rem; width: 100%; height: auto; }

.page-content-wrap {
	max-width: 100%;
	margin: 0 auto;
	padding: 1rem;
	color: #334155;
}

@media (min-width: 1024px) { .page-content-wrap { max-width: 86%; } }

.page-content-wrap h2 { font-size: 1.875rem; font-weight: 800; padding: 1rem 0; }
.page-content-wrap p { font-size: 1.25rem; font-weight: 300; margin-bottom: 1.25rem; }

.page-back-wrap { text-align: center; margin-top: 2rem; }
.btn-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: #2563eb;
	color: #fff;
	font-weight: 600;
	border-radius: 0.5rem;
	text-decoration: none;
	transition: background 0.3s, color 0.3s;
}

.btn-back:hover { background: #1d4ed8; color: #fff; }
.btn-back-icon { width: 1.25rem; height: 1.25rem; }

/* ========== Single post (interior de la noticia) ========== */
/* Espacio superior para que el navbar fijo no tape imagen, título ni texto */
body.single .single-post-wrap,
body.single-post .single-post-wrap,
.single-post-wrap {
	padding-top: 9rem !important;
	padding-bottom: 3rem;
}
@media (min-width: 1280px) {
	body.single .single-post-wrap,
	body.single-post .single-post-wrap,
	.single-post-wrap {
		padding-top: 9.5rem !important;
	}
}

/* Responsive: contenedor del artículo usa todo el ancho; mínimo margen entre tope e imagen */
@media (max-width: 767px) {
	.single-post-wrap {
		padding-top: 0.2rem !important;
	}
	.single-post-container {
		padding-left: 1rem;
		padding-right: 1rem;
		padding-top: 0.1rem;
		width: 100%;
		max-width: 100%;
	}
	.single-post-grid {
		gap: 0.75rem 0;
	}
	.single-post-header { margin-bottom: 1rem; }
	.single-post-title { font-size: 1.5rem; }
	.single-post-content.entry-content { font-size: 0.9375rem; }
}

/* Dos columnas: imagen izquierda, texto derecha; proporciones ordenadas */
.single-post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem 0;
}
.single-post-grid--two-col {
	grid-template-columns: 1fr;
}
/* Artículo solo texto: una columna a ancho completo */
.single-post-grid--one-col {
	grid-template-columns: 1fr;
}
@media (min-width: 768px) {
	.single-post-grid--two-col:not(.single-post-grid--one-col) {
		grid-template-columns: minmax(260px, 320px) 1fr;
		gap: 2rem 2.5rem;
		align-items: start;
		max-width: 100%;
	}
}
.single-post-col-text,
.single-post-body { min-width: 0; }
.single-post-col-text { display: flex; flex-direction: column; gap: 0; }

/* En móvil: primero imagen, luego título, texto y botón Volver */
@media (max-width: 767px) {
	.single-post-col-image { order: 0; }
	.single-post-col-text { order: 1; }
}

/* Columna imagen: proporción fija, aspecto ordenado */
.single-post-col-image { min-width: 0; }
.single-post-image-wrap {
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	background: #f8fafc;
	aspect-ratio: 4/3;
	max-height: 320px;
}
@media (min-width: 768px) {
	.single-post-image-wrap {
		max-height: 280px;
		aspect-ratio: 4/3;
	}
}
.single-post-thumbnail {
	line-height: 0;
	overflow: hidden;
	border-radius: 0.75rem;
	width: 100%;
	height: 100%;
}
.single-post-thumbnail img,
.single-post-content-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.single-post-content-image {
	line-height: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	min-height: 200px;
}
.single-post-content-image figure,
.single-post-content-image p {
	margin: 0 !important;
	height: 100%;
}
.single-post-content-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}
@media (min-width: 768px) {
	.single-post-thumbnail img,
	.single-post-content-image img {
		object-fit: cover;
	}
}

.single-post-header { margin-bottom: 1.25rem; }
.single-post-title { font-size: 1.75rem; line-height: 1.3; margin-bottom: 0.5rem; }
/* Título del artículo en vista single: Chronica Pro en lugar de BillionDreams */
body.single .single-post-title,
body.single-post .single-post-title {
	font-family: var(--font-primary), sans-serif;
	font-weight: 1000;
	letter-spacing: -0.015em;
}
.single-post-date { display: block; }
@media (min-width: 768px) {
	.single-post-title { font-size: 2rem; }
}

/* Contenido de la entrada: legibilidad y estilo */
.single-post-content.entry-content {
	font-size: 1rem;
	line-height: 1.7;
	color: #334155;
	max-width: 100%;
	overflow: hidden; /* contenedor para float */
}
.single-post-content.entry-content::after {
	content: "";
	display: table;
	clear: both;
}
.single-post-content.entry-content p {
	margin-bottom: 1.25rem;
	text-align: left;
}
.single-post-content.entry-content p:last-child { margin-bottom: 0; }
.single-post-content.entry-content h2,
.single-post-content.entry-content h3 {
	font-size: 1.375rem;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	line-height: 1.3;
	color: #1e293b;
}
.single-post-content.entry-content h3 { font-size: 1.125rem; }
.single-post-content.entry-content ul,
.single-post-content.entry-content ol {
	margin: 1rem 0 1.25rem 0;
	padding-left: 1.5rem;
}
.single-post-content.entry-content li { margin-bottom: 0.5rem; }
.single-post-content.entry-content a { color: var(--bg-CP); text-decoration: underline; }
.single-post-content.entry-content a:hover { text-decoration: none; }

/* Dentro de "seguir leyendo": primera imagen a la izquierda, texto a la derecha (2 columnas) */
.single-post-content.entry-content > img:first-of-type,
.single-post-content.entry-content > figure:first-of-type {
	float: left;
	max-width: 280px !important;
	width: auto !important;
	height: auto !important;
	max-height: 240px !important;
	object-fit: contain;
	margin: 0 1.5rem 1rem 0 !important;
	border-radius: 0.5rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.single-post-content.entry-content > figure:first-of-type {
	display: block;
}
.single-post-content.entry-content > figure:first-of-type img {
	max-height: 240px !important;
}
/* Si la primera imagen está dentro de un p (WordPress) */
.single-post-content.entry-content > p:has(> img):first-of-type {
	float: left;
	max-width: 280px;
	margin: 0 1.5rem 1rem 0;
}
.single-post-content.entry-content > p:has(> img):first-of-type img {
	max-width: 100% !important;
	max-height: 240px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	display: block;
}

/* Todas las imágenes dentro del contenido: tamaño limitado (no gigantes) */
.single-post-content.entry-content img {
	max-width: 280px !important;
	width: auto !important;
	height: auto !important;
	max-height: 240px !important;
	object-fit: contain;
	border-radius: 0.5rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	display: block;
	margin: 1rem 0;
}
.single-post-content.entry-content figure {
	margin: 1rem 0;
	max-width: 280px !important;
}
.single-post-content.entry-content figure:not(:first-of-type) {
	float: none;
	display: block;
}
.single-post-content.entry-content figure img {
	margin: 0;
	max-width: 100% !important;
	max-height: 240px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}
.single-post-content.entry-content figcaption {
	font-size: 0.8125rem;
	color: #64748b;
	margin-top: 0.35rem;
	text-align: left;
}

/* Móvil: sin float para que el párrafo use todo el ancho; imágenes en bloque a ancho completo */
@media (max-width: 767px) {
	.single-post-content.entry-content > img:first-of-type,
	.single-post-content.entry-content > figure:first-of-type {
		float: none;
		display: block;
		max-width: 100% !important;
		width: 100% !important;
		margin: 0 0 1rem 0 !important;
	}
	.single-post-content.entry-content > figure:first-of-type img {
		max-height: none !important;
		width: 100% !important;
	}
	.single-post-content.entry-content > p:has(> img):first-of-type {
		float: none;
		max-width: 100%;
		margin: 0 0 1rem 0;
	}
	.single-post-content.entry-content > p:has(> img):first-of-type img {
		max-width: 100% !important;
		width: 100% !important;
		max-height: none !important;
	}
	.single-post-content.entry-content img {
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
		max-height: none !important;
		margin: 1rem 0;
	}
	.single-post-content.entry-content figure {
		max-width: 100% !important;
		margin: 1rem 0;
	}
	.single-post-content.entry-content figure img {
		max-width: 100% !important;
		max-height: none !important;
		width: 100% !important;
	}
}

/* Espacio entre botón Volver y el footer del sitio */
.single-post-main .single-post-footer {
	margin-bottom: 3rem !important;
}

/* ========== Chat widget (color verde/azul suave, cohesivo con tema) ========== */
.chat-widget {
	--chat-accent: #0d9488;
	--chat-accent-hover: #0f766e;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	z-index: 50;
}
@media (min-width: 640px) { .chat-widget { bottom: 1.5rem; right: 1.5rem; } }

/* Misma escala que el botón del menú hamburguesa (4rem) */
.chat-widget-btn {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: var(--chat-accent);
	border: none;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--card-shadow);
	transition: background 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}
.chat-widget-btn:hover { background: var(--chat-accent-hover); transform: scale(1.05); }
.chat-widget-icon { font-size: 1.875rem; }

.chat-widget-panel {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	left: 1rem;
	width: auto;
	height: min(70vh, calc(100vh - 2rem));
	max-height: calc(100vh - 2rem);
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 10px;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 51;
}
@media (min-width: 640px) {
	.chat-widget-panel {
		left: auto;
		bottom: 1.5rem;
		right: 1.5rem;
		width: 24rem;
		height: min(32rem, calc(100vh - 3rem));
		max-height: calc(100vh - 3rem);
		border-radius: 10px;
	}
}
.chat-widget-panel[hidden] { display: none !important; }

.chat-bg { background-color: var(--chat-accent); }
.chat-widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	color: #fff;
	font-family: var(--font-primary-medium);
}
.chat-widget-header-inner { display: flex; align-items: center; gap: 0.75rem; }
.chat-widget-avatar-wrap { position: relative; }
.chat-widget-avatar {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
}
.chat-widget-status {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0.75rem;
	height: 0.75rem;
	background: #22c55e;
	border-radius: 50%;
	border: 2px solid var(--chat-accent);
}
.chat-widget-title { font-size: 1.125rem; font-weight: 600; margin: 0; font-family: var(--font-primary-bold); }
.chat-widget-subtitle { font-size: 0.75rem; color: rgba(255,255,255,0.9); margin: 0; font-family: var(--font-primary-regular); }
.chat-widget-close {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(255,255,255,0.25);
	color: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s;
}
.chat-widget-close:hover { background: rgba(255,255,255,0.35); }
.chat-widget .chat-widget-close { background: rgba(255,255,255,0.2); }
.chat-widget .chat-widget-close:hover { background: rgba(255,255,255,0.35); }

.chat-widget-body {
	padding: 1rem;
	background: #f8fafc;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	font-family: var(--font-primary-regular);
}
.chat-widget-body > .chat-view {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.chat-widget-intro {
	font-weight: 600;
	margin-bottom: 0.75rem;
	font-family: var(--font-primary-bold);
	color: var(--color-text-primary);
	font-size: 0.9375rem;
}
.chat-widget-cta {
	display: flex !important;
	width: 100%;
	justify-content: center;
	background-color: var(--chat-accent);
	color: #fff;
	border-radius: 10px;
	padding: 0.75rem 1rem;
	text-decoration: none;
	font-weight: 500;
	font-family: var(--font-primary-medium);
	transition: background 0.3s var(--transition-smooth);
}
.chat-widget-cta:hover { background: var(--chat-accent-hover); color: #fff; }

.chat-widget-footer {
	display: flex;
	justify-content: space-around;
	padding: 0.5rem;
	background: var(--card-bg);
	border-top: 1px solid var(--card-border);
}
.chat-widget-footer-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.5rem;
	background: none;
	border: none;
	color: var(--color-text-secondary);
	font-size: 0.75rem;
	font-family: var(--font-primary-regular);
	cursor: pointer;
	pointer-events: auto;
	transition: color 0.2s;
	min-height: 2.5rem;
}
.chat-widget-footer-btn:hover,
.chat-widget-footer-btn.active { color: var(--chat-accent); }
.chat-widget-footer-btn i { font-size: 1.125rem; margin-bottom: 0.25rem; }

.chat-widget-button-wrap { position: relative; }
.chat-widget-unread {
	position: absolute;
	top: -0.25rem;
	right: -0.25rem;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.25rem;
	background: var(--bg-CP);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.chat-widget-unread[hidden] { display: none !important; }

.chat-view { display: block; min-height: 0; }
.chat-view[hidden] { display: none !important; }
.chat-view-inicio { display: flex; flex-direction: column; gap: 0; min-height: 0; }
.chat-widget-intro-wrap { margin-bottom: 1rem; }
.chat-widget-cta-wrap { margin-bottom: 1.5rem; }
.chat-widget-cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 10px;
	background: var(--chat-accent);
	color: #fff;
	font-weight: 500;
	font-family: var(--font-primary-medium);
	cursor: pointer;
	transition: background 0.3s var(--transition-smooth);
}
.chat-widget-cta-btn:hover { background: var(--chat-accent-hover); color: #fff; }
.chat-faq-wrap { margin-top: 0.5rem; }
.chat-preguntas-list { display: flex; flex-direction: column; gap: 0.5rem; }
.chat-pregunta-btn {
	width: 100%;
	text-align: left;
	padding: 0.75rem 1rem;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 10px;
	box-shadow: var(--shadow-sm);
	font-size: 0.875rem;
	font-family: var(--font-primary-regular);
	color: var(--color-text-primary);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}
.chat-pregunta-btn:hover {
	border-color: var(--card-border-hover);
	box-shadow: var(--card-shadow);
}
.chat-pregunta-arrow { flex-shrink: 0; margin-top: 0.125rem; font-size: 0.75rem; color: var(--color-text-secondary); }

.chat-view-mensajes { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.chat-messages-container {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 1rem;
	min-height: 0;
	-webkit-overflow-scrolling: touch;
}
.chat-msg-wrap { margin-bottom: 1rem; }
.chat-msg-wrap.chat-msg-user { display: flex; justify-content: flex-end; }
.chat-msg-wrap.chat-msg-support {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
}
.chat-msg-avatar {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.chat-msg-bubble {
	max-width: 80%;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	box-shadow: var(--shadow-sm);
	font-size: 0.875rem;
	line-height: 1.5;
	font-family: var(--font-primary-regular);
}
.chat-msg-support .chat-msg-bubble {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
}
.chat-msg-user .chat-msg-bubble {
	background: var(--chat-accent);
	color: #fff;
	border: none;
}
.chat-msg-bubble p { margin: 0 0 0.25rem; font-size: 0.875rem; line-height: 1.5; white-space: pre-wrap; }
.chat-msg-time { font-size: 0.75rem; color: var(--color-text-secondary); }
.chat-msg-user .chat-msg-time { color: rgba(255,255,255,0.85); }

.chat-typing-indicator {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
.chat-typing-indicator[hidden] { display: none !important; }
.chat-typing-avatar {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--card-border);
}
.chat-typing-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.chat-typing-bubble {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	padding: 0.5rem 0.75rem;
	border-radius: 10px;
	box-shadow: var(--shadow-sm);
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.chat-typing-text { font-size: 0.875rem; color: var(--color-text-secondary); margin-right: 0.25rem; }
.chat-typing-dots { display: flex; gap: 0.2rem; }
.chat-typing-dots span {
	width: 0.5rem;
	height: 0.5rem;
	background: var(--chat-accent);
	border-radius: 50%;
	animation: chat-bounce 0.6s ease-in-out infinite;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.1s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.2s; }
@keyframes chat-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}
#chat-scroll-marker { height: 1px; }
.chat-input-wrap {
	flex-shrink: 0;
	padding: 1rem;
	border-top: 1px solid var(--card-border);
	background: var(--card-bg);
}
.chat-form-send { display: flex; gap: 0.5rem; align-items: center; }
.chat-input-message {
	flex: 1;
	border: 1px solid var(--card-border);
	border-radius: 9999px;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-family: var(--font-primary-regular);
	color: var(--color-text-primary);
	background: var(--card-bg);
}
.chat-input-message::placeholder { color: var(--color-text-secondary); }
.chat-input-message:focus {
	outline: none;
	border-color: var(--chat-accent);
	box-shadow: 0 0 0 2px rgba(13,148,136,0.2);
}
.chat-input-message:disabled { background: #f1f5f9; cursor: not-allowed; }
.chat-send-btn {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--chat-accent);
	color: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s var(--transition-smooth);
	flex-shrink: 0;
}
.chat-send-btn:hover:not(:disabled) { background: var(--chat-accent-hover); }
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.chat-help-search-wrap { position: relative; margin-bottom: 1rem; }
.chat-search-input {
	width: 100%;
	padding: 0.5rem 1rem 0.5rem 2.5rem;
	border: 1px solid var(--card-border);
	border-radius: 10px;
	font-size: 0.875rem;
	font-family: var(--font-primary-regular);
	color: var(--color-text-primary);
	background: var(--card-bg);
}
.chat-search-input:focus {
	outline: none;
	border-color: var(--chat-accent);
	box-shadow: 0 0 0 2px rgba(13,148,136,0.2);
}
.chat-search-icon {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-text-secondary);
	pointer-events: none;
}
.chat-help-results { display: flex; flex-direction: column; gap: 0.5rem; }
.chat-help-item { flex-direction: column; align-items: flex-start; }
.chat-help-item-title { font-weight: 600; font-size: 0.875rem; font-family: var(--font-primary-bold); color: var(--color-text-primary); margin-bottom: 0.25rem; }
.chat-help-item-sub { font-size: 0.8125rem; font-family: var(--font-primary-regular); color: var(--color-text-secondary); }
.chat-help-no-results { text-align: center; color: var(--color-text-secondary); padding: 1rem; margin: 0; font-size: 0.875rem; font-family: var(--font-primary-regular); }
.chat-help-no-results[hidden] { display: none !important; }

/* ========== Archivo de categoría (paginación) ========== */
.archive-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
.archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.5rem;
	border-radius: 0.5rem;
	background: #f1f5f9;
	color: var(--color-text-primary);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
	background: var(--bg-CP);
	color: #fff;
}
.archive-pagination .page-numbers.dots { background: transparent; cursor: default; }
.section-archive .section-label { display: inline-block; }

/* Archivo de categoría: contenedor más ancho y grid adaptable */
.section-archive .section-container-modern {
	max-width: 96%;
}
@media (min-width: 1024px) {
	.section-archive .section-container-modern { max-width: 90%; }
}

.section-archive .cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1.5rem;
	width: 100%;
}
@media (min-width: 768px) {
	.section-archive .cards-container { gap: 2rem; }
}

/* ========== Utilidades adicionales ========== */
.w-18 { width: 4.5rem; }
.w-52 { width: 13rem; }
.overflow-hidden { overflow: hidden; }
.rounded-bl-\[100px\] { border-bottom-left-radius: 100px; }

@media (max-width: 1024px) {
	.card-animated:hover { transform: none; }
	.entrada-card:hover { transform: none; box-shadow: inherit; }
	.btn-primary:hover { transform: none; }
}
over { transform: none; box-shadow: inherit; }
	.btn-primary:hover { transform: none; }
