﻿/*
Theme Name: Carrilobo
Theme URI: https://netsol.ar
Author: NetSol
Author URI: https://netsol.ar
Description: Tema personalizado para la Municipalidad de Carrilobo
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carrilobo
*/

/* ==========================================================================
   DESIGN TOKENS - Sistema de diseño global
   ========================================================================== */
:root {
  /* -------------------------------------------------------------------------
     COLORES SEMÁNTICOS (Mapeados desde colores municipales existentes)
     ------------------------------------------------------------------------- */
  /* Fondos */
  --color-bg: #F7F8FA;                /* color-gris-claro - fondo general */
  --color-surface: #ffffff;           /* blanco - tarjetas, modales */
  
  /* Texto */
  --color-text: #0F172A;              /* color-negro - texto principal */
  --color-muted: #475569;             /* color-gris-secundario - texto secundario */
  
  /* Bordes */
  --color-border: #E5E7EB;            /* color-gris - bordes, separadores */
  
  /* Primario (acción principal) */
  --color-primary: #FC2E3B;           /* color-rojo - CTAs, enlaces destacados */
  --color-primary-hover: #e02832;     /* hover de primario */
  
  /* Estados opcionales (ya usados en el sitio) */
  --color-success: #5AAA35;           /* color-verde */
  --color-warning: #F5C32D;           /* color-amarillo */
  --color-danger: #FC2E3B;            /* color-rojo */
  --color-accent: #60257C;            /* color-morado */
  --color-info: #04559D;              /* color-azul */

  /* -------------------------------------------------------------------------
     COLORES MUNICIPALES ORIGINALES (mantener retrocompatibilidad)
     ------------------------------------------------------------------------- */
  --color-amarillo: #F5C32D;
  --color-naranja: #FC2E3B;
  --color-rojo: #FC2E3B;
  --color-morado: #60257C;
  --color-azul: #04559D;
  --color-verde: #5AAA35;
  --color-negro: #0F172A;
  --color-gris-secundario: #475569;
  --color-gris-claro: #F7F8FA;
  --color-gris: #E5E7EB;
  --color-footer: #18181B;

  /* -------------------------------------------------------------------------
     TIPOGRAFÍA
     ------------------------------------------------------------------------- */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-principal: var(--font-sans); /* alias retrocompatible */

  /* -------------------------------------------------------------------------
     ESPACIADO (escala basada en valores existentes: rem)
     ------------------------------------------------------------------------- */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 3rem;      /* 48px */

  /* -------------------------------------------------------------------------
     RADIOS DE BORDE
     ------------------------------------------------------------------------- */
  --radius-sm: 0.25rem;  /* 4px - inputs pequeños, badges */
  --radius-md: 0.5rem;   /* 8px - botones, cards compactas */
  --radius-lg: 0.75rem;  /* 12px - cards, modales */
  --radius-xl: 1rem;     /* 16px - cards destacadas */
  --radius-full: 9999px; /* píldoras, avatares */

  /* -------------------------------------------------------------------------
     SOMBRAS (valores extraídos del CSS existente)
     ------------------------------------------------------------------------- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

  /* -------------------------------------------------------------------------
     TRANSICIONES
     ------------------------------------------------------------------------- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* -------------------------------------------------------------------------
     CATEGORY COLOR TOKENS (Teléfonos page)
     ------------------------------------------------------------------------- */
  --cat-emergencias: var(--color-danger);   /* red */
  --cat-vecino: var(--color-info);          /* blue */
  --cat-areas: var(--color-accent);         /* purple */
  --cat-salud: var(--color-success);        /* green */
  --cat-mapa: var(--color-muted);           /* neutral dark */

  /* -------------------------------------------------------------------------
     CATEGORY TOKENS (site-wide, exclude Telefonos in usage)
     ------------------------------------------------------------------------- */
  --cat-eventos: var(--color-accent);
  --cat-noticias: var(--color-info);
  --cat-servicios: var(--color-success);
  --cat-institucional: var(--color-primary);
  --cat-alerta: var(--color-danger);
  --cat-info: var(--color-info);

  /* -------------------------------------------------------------------------
     ACCENT HELPERS (set --accent per component/category)
     ------------------------------------------------------------------------- */
  --accent: var(--cat-info);
  --accent-weak: color-mix(in srgb, var(--accent) 12%, var(--color-surface));
  --accent-contrast: var(--color-surface);

  /* -------------------------------------------------------------------------
     HEADING ACCENT (section underlines - default blue, sober)
     ------------------------------------------------------------------------- */
  --heading-accent: var(--color-info);
}

/* ==========================================================================
   TIPOGRAFÍA BASE - SISTEMA COHERENTE
   ========================================================================== */

/* Títulos principales */
h1, .h1 {
  font-size: 2.5rem;      /* 40px */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-negro);
}

h2, .h2 {
  font-size: 1.75rem;     /* 28px */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--color-negro);
}

h3, .h3 {
  font-size: 1.25rem;     /* 20px */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--color-negro);
}

h4, .h4 {
  font-size: 1.125rem;    /* 18px */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--color-negro);
}

h5, .h5 {
  font-size: 1rem;        /* 16px */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--color-negro);
}

h6, .h6 {
  font-size: 0.875rem;    /* 14px */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--color-negro);
}

/* Texto base */
p, .p {
  font-size: 1rem;        /* 16px */
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--color-negro);
}

/* Texto pequeño */
small, .small {
  font-size: 0.875rem;    /* 14px */
  line-height: 1.5;
}

/* ==========================================================================
   CONTENEDORES - SISTEMA COHERENTE
   ========================================================================== */

/* Contenedor estándar para consistencia */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive para contenedores */
@media (min-width: 1320px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   COMPONENTES GLOBALES - Design System
   ========================================================================== */

/* -------------------------------------------------------------------------
   SECTION TITLE - Títulos de sección con subtítulo opcional
   ------------------------------------------------------------------------- */
.section-title {
  margin-bottom: var(--space-6);
  text-align: center;
}

.section-title h1,
.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
  line-height: 1.2;
}

.section-title .subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   TRANSPARENCIA - Page Template
   ------------------------------------------------------------------------- */
.transparencia-hero {
  padding: var(--space-7) 0 var(--space-6);
  background: var(--color-bg);
}

.transparencia-section {
  padding: var(--space-6) 0 var(--space-7);
}

.transparencia-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.transparencia-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.transparencia-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.transparencia-card-text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.transparencia-card .btn {
  align-self: flex-start;
}

.badge--neutral {
  --accent: var(--color-muted);
}

/* -------------------------------------------------------------------------
   GEOLOCALIZACION PAGE
   ------------------------------------------------------------------------- */
.geo-page {
  padding: var(--space-7) 0;
}

.geo-page .container {
  max-width: 1560px;
}

.geo-hero {
  text-align: center;
  margin-bottom: var(--space-6);
}

.geo-hero h1 {
  margin: 0 0 var(--space-2) 0;
}

.geo-hero p {
  margin: 0 0 var(--space-2) 0;
  color: var(--color-muted);
}

.geo-section {
  margin-bottom: var(--space-7);
}

.geo-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 2rem 0;
  position: relative;
}

.geo-section-title::after {
  content: '';
  display: block;
  width: clamp(40px, 6vw, 72px);
  height: 2px;
  background: var(--heading-accent);
  margin: 0.5rem auto 0;
  border-radius: 999px;
}

.geo-docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.geo-doc {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 100%;
  margin: 0;
}

.geo-doc-title {
  margin: var(--space-2) 0 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.geo-doc-desc {
  margin: var(--space-2) 0 0 0;
  color: var(--color-muted);
}

.geo-doc-updated {
  margin: var(--space-2) 0 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.geo-doc-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.geo-doc-embed iframe {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.geo-empty {
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-muted);
}

.geo-downloads-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.geo-downloads-list a {
  color: var(--color-text);
  text-decoration: none;
}

.geo-downloads-list a:hover {
  color: var(--color-info);
}

.geo-download-format {
  margin-left: var(--space-2);
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdf-toolbar {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .pdf-embed {
    display: none;
  }
}

@media (max-width: 768px) {
  .transparencia-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   SECTION HEADING - Internal page H2/H3 with underline accent
   (Not for Home - use .section-title there)
   ------------------------------------------------------------------------- */
.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform:uppercase;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: clamp(40px, 6vw, 72px);;
  height: 2px;
  background: var(--heading-accent);
  margin: 0.5rem auto 0;
  border-radius: 999px;
}

/* Backward-compatible alias for Gobierno */
.gobierno-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.gobierno-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--heading-accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* -------------------------------------------------------------------------
   CARD - Tarjeta base y variantes
   ------------------------------------------------------------------------- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

.card--clickable {
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.card--clickable:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.card--clickable:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.card--compact {
  padding: var(--space-4);
}

/* Featured card modifier (e.g., Intendente) - red accent */
.card--featured {
  border-left: 4px solid var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 4%, white);
}

.card--featured .badge {
  margin-bottom: var(--space-2);
}

/* -------------------------------------------------------------------------
   SIDEBAR - Global sidebar component (industry standard)
   Unified styling for all page sidebars (Gobierno, Telefonos, etc.)
   ------------------------------------------------------------------------- */
.sidebar {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

/* Header: full-width blue background (industry standard) */
.sidebar__header {
  background: var(--color-info);
  padding: var(--space-4) var(--space-5);
  margin: 0;
  border-bottom: none;
}

.sidebar__title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 var(--space-1) 0;
}

.sidebar__subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: var(--space-4) var(--space-5);
}

.sidebar__item {
  margin: 0;
  padding: 0;
  border: none;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-base);
  border-left: 4px solid transparent;
}

.sidebar__link:hover {
  background: var(--color-bg);
}

.sidebar__link i,
.sidebar__link .sidebar__icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  color: var(--color-muted);
  transition: color var(--transition-base);
}

/* Active state: blue accent only (unified) */
.sidebar__link.is-active,
.sidebar__item.is-active .sidebar__link {
  border-left-color: var(--color-info);
  background: color-mix(in srgb, var(--color-info) 8%, white);
  font-weight: 600;
}

.sidebar__link.is-active i,
.sidebar__link.is-active .sidebar__icon,
.sidebar__item.is-active .sidebar__link i,
.sidebar__item.is-active .sidebar__link .sidebar__icon {
  color: var(--color-info);
}

/* Submenu support */
.sidebar__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--color-bg);
}

.sidebar__submenu .sidebar__link {
  padding-left: 2.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  border-left: none;
}

.sidebar__submenu .sidebar__link:hover {
  color: var(--color-info);
  background: transparent;
}

/* Separator for grouped items */
.sidebar__separator {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

/* -------------------------------------------------------------------------
   BUTTON - Botones base y variantes
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-slow);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn--primary,
.btn-primary {
  background: var(--color-primary);
  color: var(--color-surface);
  border-color: var(--color-primary);
}

.btn--primary:hover,
.btn-primary:hover {
  background: var(--color-warning);
  border-color: var(--color-warning);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 195, 45, 0.3);
}

.btn--secondary,
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover,
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-surface);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(252, 46, 59, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: transparent;
}

.btn--ghost:hover {
  background: rgba(252, 46, 59, 0.08);
}

/* -------------------------------------------------------------------------
   BADGE - Etiquetas / chips
   ------------------------------------------------------------------------- */
.badge {
  --accent: var(--color-muted);
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--accent-weak);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--color-border));
  box-shadow: none;
  align-self: flex-start;
}

.badge--primary {
  --accent: var(--color-primary);
}

.badge--success {
  --accent: var(--color-success);
}

.badge--warning {
  --accent: var(--color-warning);
}

.badge--danger {
  --accent: var(--color-danger);
}

.badge--info {
  --accent: var(--color-info);
}

.badge--accent {
  --accent: var(--color-accent);
}

/* -------------------------------------------------------------------------
   ICON UTILITY - Iconos heredan color del texto
   ------------------------------------------------------------------------- */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex-shrink: 0;
}

.icon svg,
.icon i {
  width: 1em;
  height: 1em;
  color: inherit;
}

/* Icon color variants */
.icon--info {
  color: var(--color-info);
}

.icon--primary {
  color: var(--color-primary);
}

.icon--success {
  color: var(--color-success);
}

.icon--warning {
  color: var(--color-warning);
}

.icon--muted {
  color: var(--color-muted);
}

/* -------------------------------------------------------------------------
   LIST - Listas base y compactas
   ------------------------------------------------------------------------- */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list > li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.list > li:last-child {
  border-bottom: none;
}

.list--compact > li {
  padding: var(--space-2) 0;
}

/* -------------------------------------------------------------------------
   SCOPED LINK STYLES - Content areas (not Home)
   Links neutral by default, red on hover/focus
   ------------------------------------------------------------------------- */
.entry-content a,
.page-content a,
.noticia-content a,
.evento-card-content a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 2px;
  transition: color var(--transition-base), text-decoration-color var(--transition-base);
}

.entry-content a:hover,
.entry-content a:focus-visible,
.page-content a:hover,
.page-content a:focus-visible,
.noticia-content a:hover,
.noticia-content a:focus-visible,
.evento-card-content a:hover,
.evento-card-content a:focus-visible {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

/* ==========================================================================
   RESET Y BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-principal);
  line-height: 1.6;
  color: var(--color-negro);
  background-color: var(--color-gris-claro);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: var(--color-footer);
  padding: 0.25rem 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.04);
}

body.admin-bar .top-bar {
  margin-top: -32px;
  padding-top: calc(0.25rem + 6px);
}

@media (max-width: 782px) {
  body.admin-bar .top-bar {
    margin-top: -46px;
    padding-top: calc(0.25rem + 6px);
  }
}

.top-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
}

.useful-phones {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 0.1rem;
  transition: all 0.3s ease;
}

.search-box:hover,
.search-box:focus-within {
  background: rgba(255, 255, 255, 0.2);
}

.search-input {
  background: transparent;
  border: none;
  color: white;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  width: 180px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.search-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 0.25rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn i {
  font-size: 0.75rem;
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* AJAX Search Results Dropdown */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 350px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
}

.search-results.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-results-list {
  padding: 8px 0;
}

.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--color-negro);
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: var(--color-gris-claro);
}

.search-result-icon {
  width: 36px;
  height: 36px;
  background: var(--color-gris-claro);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-azul);
}

.search-result-icon i {
  font-size: 14px;
}

.search-result-content {
  flex: 1;
  min-width: 0;
}

.search-result-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-rojo);
  font-weight: 600;
}

.search-result-title {
  font-size: 14px;
  font-weight: 600;
  margin: 2px 0 4px;
  color: var(--color-negro);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-excerpt {
  font-size: 12px;
  color: var(--color-gris-secundario);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-gris-claro);
  color: var(--color-rojo);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid var(--color-gris);
  transition: background 0.2s ease;
}

.search-view-all:hover {
  background: var(--color-gris);
}

.search-view-all i {
  font-size: 12px;
}

.search-loading,
.search-no-results {
  padding: 24px 16px;
  text-align: center;
  color: var(--color-gris-secundario);
}

.search-loading i,
.search-no-results i {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
  opacity: 0.5;
}

.search-loading span,
.search-no-results p {
  font-size: 13px;
  margin: 0;
}

.search-no-results strong {
  color: var(--color-negro);
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.top-bar .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.top-bar .social-link i {
  font-size: 0.7rem;
}

.top-bar .social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Responsive Top Bar */
@media (max-width: 768px) {
  .top-bar-container {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
  }

  .top-bar-left {
    display: none;
  }

  .top-bar-right {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
  }

  .search-box {
    background: transparent;
    padding: 0;
  }

  .search-input {
    display: none;
  }

  .search-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
  }

  .top-bar.search-open .search-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.1rem;
    border-radius: 15px;
  }

  .top-bar.search-open .search-input {
    display: block;
    width: 170px;
  }
}

@media (max-width: 480px) {
  .top-bar-right {
    gap: 0.6rem;
  }

  .search-btn {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo y título */
.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-branding a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.3s ease;
}

.site-branding a:hover {
  opacity: 0.8;
}

.site-logo,
.custom-logo {
  width: 79px;
  height: 64px;
  object-fit: contain;
}

/* Logo del personalizador de WordPress */
.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo-link img {
  width: 79px;
  height: 64px;
  object-fit: contain;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-negro);
  margin: 0;
}

.site-description {
  font-size: 0.875rem;
  color: var(--color-negro);
  margin: 0;
}

/* Navegación principal */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  color: var(--color-negro);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.main-navigation a:hover {
  color: var(--color-rojo);
  border-bottom-color: var(--color-rojo);
}

/* Botón de búsqueda */
.search-button {
  background: none;
  border: none;
  color: var(--color-negro);
  font-size: 1.125rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.search-button:hover {
  color: var(--color-rojo);
}

/* Toggle menú móvil */
.menu-toggle {
  display: none;


  background: none;
  border: none;
  color: var(--color-rojo);
  font-size: 1.25rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  color: var(--color-amarillo);
}

.menu-toggle:focus {
  outline: 2px solid var(--color-rojo);
  outline-offset: 2px;
}

/* Menú móvil */
.mobile-menu {
  display: none;
  background: var(--color-gris-claro);
  border-top: 1px solid var(--color-gris);
  padding: 1rem;
}

.mobile-menu.show {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 0.5rem;
}

.mobile-menu a {
  display: block;
  color: var(--color-rojo);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--color-amarillo);
  color: white;
}

.mobile-search-button {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: var(--color-rojo);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-search-button:hover {
  background: var(--color-amarillo);
  color: white;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header-container {
    flex-wrap: wrap;
  }
  
  .site-title {
    font-size: 1rem;
  }
  
  .site-description {
    font-size: 0.75rem;
  }
  
  .site-logo {
    width: 48px;
    height: 48px;
  }
  
  .footer-logo img {
    width: 40px;
    height: 40px;
  }
  
  .footer-brand-text h3 {
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   BANNER SLIDER - HOME
   ========================================================================== */
.banner-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-negro);
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 520px; /* Altura fija para evitar CLS */
}

.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.banner-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.banner-slide:not([href]) .banner-link,
.banner-slide a[href=""] {
  cursor: default;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Flechas de navegación */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.banner-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-arrow i {
  font-size: 1rem;
  color: var(--color-negro);
}

.banner-arrow-prev {
  left: 20px;
}

.banner-arrow-next {
  right: 20px;
}

/* Dots de paginación */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.banner-dot.active {
  background: white;
  transform: scale(1.1);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .banner-slider {
    height: 420px;
  }
  
  .banner-arrow {
    width: 44px;
    height: 44px;
  }
  
  .banner-arrow-prev {
    left: 15px;
  }
  
  .banner-arrow-next {
    right: 15px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .banner-slider {
    height: 340px;
  }
  
  .banner-arrow {
    width: 40px;
    height: 40px;
  }
  
  .banner-arrow i {
    font-size: 0.875rem;
  }
  
  .banner-arrow-prev {
    left: 10px;
  }
  
  .banner-arrow-next {
    right: 10px;
  }
  
  .banner-dots {
    bottom: 15px;
    gap: 8px;
  }
  
  .banner-dot {
    width: 10px;
    height: 10px;
  }
}

/* Responsive - Mobile pequeño */
@media (max-width: 480px) {
  .banner-slider {
    height: 320px;
  }
  
  .banner-arrow {
    width: 36px;
    height: 36px;
  }
}

/* Hero Institucional como slide */
.banner-slide-hero {
  background: linear-gradient(135deg, rgba(4, 85, 157, 0.85), rgba(96, 37, 124, 0.75)), 
              url('./assets/images/fondo-hero.webp');
  background-size: cover;
  background-position: center;
}

.hero-slide-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-slide-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  color: white;
}

.hero-slide-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: white !important;
}

.hero-slide-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  color: white !important;
}

.hero-slide-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-slide-buttons .btn {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive hero slide */
@media (max-width: 768px) {
  .hero-slide-title {
    font-size: 1.75rem;
  }
  
  .hero-slide-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-slide-buttons .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .banner-slide-hero .hero-slide-text {
    padding-inline: 1rem;
  }

  .banner-slide-hero .hero-slide-buttons {
    display: grid;
    gap: 10px;
    justify-items: center;
  }

  .banner-slide-hero .hero-slide-buttons .btn {
    width: 100%;
    max-width: 380px;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
  }
}

@media (max-width: 480px) {
  .hero-slide-text {
    padding: 1rem;
  }
  
  .hero-slide-title {
    font-size: 1.5rem;
  }
  
  .hero-slide-subtitle {
    font-size: 0.875rem;
  }
  
  .hero-slide-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-slide-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   HERO SECTION CON IMAGEN DE FONDO
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, rgba(4, 85, 157, 0.7), rgba(96, 37, 124, 0.6)), 
              url('./assets/images/fondo-hero.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;         /* Hero especial, más grande que h1 */
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.25rem;      /* h3 size para subtítulo */
  color: white;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hero Alert Styles */
.hero-alert {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--color-rojo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  max-width: 900px;
  margin: 0 auto;
}

.hero-alert-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(252, 46, 59, 0.1);
  border-radius: 50%;
  margin-top: 0.5rem;
}

.hero-alert-icon i {
  font-size: 1.5rem;
  color: var(--color-rojo);
}

.hero-alert-content {
  flex: 1;
}

.hero-alert-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gris-secundario);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-alert-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-rojo);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-alert-text {
  font-size: 1rem;
  color: var(--color-negro);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-alert-text p {
  margin-bottom: 0.5rem;
}

.hero-alert-date {
  font-size: 0.875rem;
  color: var(--color-gris-secundario);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-alert-date i {
  font-size: 0.75rem;
}

/* ==========================================================================
   AVISOS URGENTES SECTION
   ========================================================================== */
.avisos-urgentes-section {
  background: #F8F9FA;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-gris);
}

.avisos-urgentes-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.avisos-urgentes-header {
  margin-bottom: 1rem;
}

.avisos-urgentes-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gris-secundario);
  margin: 0;
  padding-left: 0.75rem;
  border-left: 3px solid var(--color-rojo);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.avisos-urgentes-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.aviso-urgente-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-gris);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  transition: all 0.2s ease;
  cursor: pointer;
}

.aviso-urgente-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--color-rojo);
}

.aviso-urgente-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-rojo);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.aviso-urgente-icon i {
  color: var(--color-rojo);
  font-size: 1rem;
}

.aviso-urgente-content {
  flex: 1;
}

.aviso-urgente-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-rojo);
  margin: 0 0 0.25rem 0;
  line-height: 1.4;
}

.aviso-urgente-fecha {
  font-size: 0.75rem;
  color: var(--color-gris-secundario);
  margin: 0 0 0.5rem 0;
  font-style: italic;
}

.aviso-urgente-text {
  color: var(--color-negro);
  line-height: 1.4;
  font-size: 0.9rem;
}

.aviso-urgente-text p {
  margin: 0;
}

/* Flechas de navegación sutiles */
.aviso-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid #D1D5DB;
  background: white;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.aviso-arrow:hover {
  opacity: 1;
  border-color: var(--color-rojo);
  background: var(--color-rojo);
}

.aviso-arrow i {
  font-size: 0.75rem;
  color: var(--color-gris-secundario);
  transition: color 0.2s ease;
}

.aviso-arrow:hover i {
  color: white;
}

/* Responsive Avisos Urgentes */
@media (max-width: 768px) {
  .avisos-urgentes-section {
    padding: 1rem 0;
  }
  
  .avisos-urgentes-title {
    font-size: 0.9rem;
  }
  
  .avisos-urgentes-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .aviso-arrow {
    display: none;
  }
  
  .aviso-urgente-card {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .aviso-urgente-icon {
    width: 32px;
    height: 32px;
  }
  
  .aviso-urgente-icon i {
    font-size: 0.875rem;
  }
  
  .aviso-urgente-title {
    font-size: 0.9rem;
  }
  
  .aviso-urgente-fecha {
    font-size: 0.7rem;
  }
  
  .aviso-urgente-text {
    font-size: 0.85rem;
  }
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-rojo);
  color: white;
  border-color: var(--color-rojo);
}

.btn-primary:hover {
  background: var(--color-amarillo);
  border-color: var(--color-amarillo);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 195, 45, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--color-rojo);
  border-color: var(--color-rojo);
}

.btn-secondary:hover {
  background: var(--color-rojo);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(252, 46, 59, 0.3);
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
    min-height: 65vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ==========================================================================
   ACCESOS RÁPIDOS SECTION
   ========================================================================== */
.quick-access-section {
  padding: 4rem 0;
  background: white;
}

.quick-access-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.quick-access-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-negro);
  text-align: center;
  margin-bottom: 3rem;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.quick-access-item {
  background: var(--color-gris-claro);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--color-gris);
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.quick-access-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--color-naranja);
}

.quick-access-icon {
  width: 80px;
  height: 80px;
  background: transparent;
  border: 2px solid var(--color-rojo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.quick-access-item:hover .quick-access-icon {
  border-color: var(--color-amarillo);
}

.quick-access-icon i {
  font-size: 2rem;
  color: var(--color-rojo);
  transition: color 0.3s ease;
}

.quick-access-item:hover .quick-access-icon i {
  color: var(--color-amarillo);
}

/* Colores específicos para cada acceso rápido */
.quick-access-item.residuos .quick-access-icon {
  border-color: #5AAA35;
}

/* Estilos específicos por tipo de acceso */
/* Colores del tema: Amarillo #F5C32D | Rojo #FC2E3B | Azul #04559D | Morado #60257C | Verde #5AAA35 */

/* Obras públicas - rojo (construcción/acción) */
.quick-access-item.obras .quick-access-icon {
  border-color: var(--color-rojo);
}

.quick-access-item.obras .quick-access-icon i {
  color: var(--color-rojo);
}

.quick-access-item.obras:hover .quick-access-icon {
  border-color: var(--color-rojo);
  background-color: var(--color-rojo);
}

.quick-access-item.obras:hover .quick-access-icon i {
  color: white;
}

/* Trámites - morado (oculto actualmente) */
.quick-access-item.tramites .quick-access-icon {
  border-color: var(--color-morado);
}

.quick-access-item.tramites .quick-access-icon i {
  color: var(--color-morado);
}

.quick-access-item.tramites:hover .quick-access-icon {
  border-color: var(--color-morado);
  background-color: var(--color-morado);
}

.quick-access-item.tramites:hover .quick-access-icon i {
  color: white;
}

/* Transparencia - morado (gobierno abierto) */
.quick-access-item.transparencia .quick-access-icon {
  border-color: var(--color-morado);
}

.quick-access-item.transparencia .quick-access-icon i {
  color: var(--color-morado);
}

.quick-access-item.transparencia:hover .quick-access-icon {
  border-color: var(--color-morado);
  background-color: var(--color-morado);
}

.quick-access-item.transparencia:hover .quick-access-icon i {
  color: white;
}

/* Atención al ciudadano - azul (confianza) */
.quick-access-item.atencion .quick-access-icon {
  border-color: var(--color-azul);
}

.quick-access-item.atencion .quick-access-icon i {
  color: var(--color-azul);
}

.quick-access-item.atencion:hover .quick-access-icon {
  border-color: var(--color-azul);
  background-color: var(--color-azul);
}

.quick-access-item.atencion:hover .quick-access-icon i {
  color: white;
}

/* Agenda - amarillo (eventos/calendario) */
.quick-access-item.agenda .quick-access-icon {
  border-color: var(--color-amarillo);
}

.quick-access-item.agenda .quick-access-icon i {
  color: var(--color-amarillo);
}

.quick-access-item.agenda:hover .quick-access-icon {
  border-color: var(--color-amarillo);
  background-color: var(--color-amarillo);
}

.quick-access-item.agenda:hover .quick-access-icon i {
  color: white;
}

/* Geolocalización - verde (ubicación/naturaleza) */
.quick-access-item.geolocalizacion .quick-access-icon {
  border-color: var(--color-verde);
}

.quick-access-item.geolocalizacion .quick-access-icon i {
  color: var(--color-verde);
}

.quick-access-item.geolocalizacion:hover .quick-access-icon {
  border-color: var(--color-verde);
  background-color: var(--color-verde);
}

.quick-access-item.geolocalizacion:hover .quick-access-icon i {
  color: white;
}

/* Teléfonos útiles - rojo (urgencia/emergencia) */
.quick-access-item.telefonos .quick-access-icon {
  border-color: var(--color-rojo);
}

.quick-access-item.telefonos .quick-access-icon i {
  color: var(--color-rojo);
}

.quick-access-item.telefonos:hover .quick-access-icon {
  border-color: var(--color-rojo);
  background-color: var(--color-rojo);
}

.quick-access-item.telefonos:hover .quick-access-icon i {
  color: white;
}

/* Tasas y pagos - amarillo (dinero/pagos) */
.quick-access-item.tasas .quick-access-icon {
  border-color: var(--color-amarillo);
}

.quick-access-item.tasas .quick-access-icon i {
  color: var(--color-amarillo);
}

.quick-access-item.tasas:hover .quick-access-icon {
  border-color: var(--color-amarillo);
  background-color: var(--color-amarillo);
}

.quick-access-item.tasas:hover .quick-access-icon i {
  color: white;
}

/* Empleo Público - azul (profesional/confianza) */
.quick-access-item.empleo .quick-access-icon {
  border-color: var(--color-azul);
}

.quick-access-item.empleo .quick-access-icon i {
  color: var(--color-azul);
}

.quick-access-item.empleo:hover .quick-access-icon {
  border-color: var(--color-azul);
  background-color: var(--color-azul);
}

.quick-access-item.empleo:hover .quick-access-icon i {
  color: white;
}

/* Esquema de Gobierno - morado (institucional) */
.quick-access-item.gobierno .quick-access-icon {
  border-color: var(--color-morado);
}

.quick-access-item.gobierno .quick-access-icon i {
  color: var(--color-morado);
}

.quick-access-item.gobierno:hover .quick-access-icon {
  border-color: var(--color-morado);
  background-color: var(--color-morado);
}

.quick-access-item.gobierno:hover .quick-access-icon i {
  color: white;
}

.quick-access-item h3 {
  font-size: 1.25rem;      /* Ya correcto - h3 size */
  font-weight: 600;        /* h3 weight */
  color: var(--color-negro);
  margin-bottom: 0.5rem;
}

.quick-access-item p {
  color: var(--color-negro);
  opacity: 0.7;
  font-size: 0.95rem;
}

/* Responsive Accesos Rápidos */
@media (max-width: 768px) {
  .quick-access-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .quick-access-item {
    padding: 1.5rem;
  }
  
  .quick-access-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   SECCIONES DESTACADAS - NOTICIAS Y EVENTOS PROMINENTES
   ========================================================================== */
.featured-content-section {
  padding: 4rem 0;
  background: var(--color-gris-claro);
  border-top: 1px solid var(--color-gris);
}

.featured-content-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

/* Headers de secciones */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-gris);
  position: relative;
  z-index: 2;
}

/* Header específico para la sección de eventos */
.featured-events .section-header {
  border-bottom: none;
}

.featured-events .section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-verde) 0%, var(--color-amarillo) 25%, var(--color-naranja) 50%, var(--color-morado) 75%, var(--color-azul) 100%);
  border-radius: 1.5px;
}

.featured-events-title,
.featured-news-title {
  font-size: 1.75rem;      /* h2 size */
  font-weight: 600;        /* h2 weight */
  color: var(--color-negro);
  margin: 0;
}

.featured-events-title {
  position: relative;
}

.view-all-link {
  color: var(--color-rojo);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: #A02229;
  text-decoration: underline;
}

/* Grid de eventos destacados */
.featured-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.featured-event-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  padding: 1.5rem;
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
}

.event-date-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-negro);
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 60px;
}

.event-day {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.event-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

/* Colores por categoría */
.event-category.cultura {
  background: #8B5CF6;
  color: white;
}

.event-category.obras {
  background: #F59E0B;
  color: white;
}

.event-category.salud {
  background: #10B981;
  color: white;
}

.event-category.gobierno {
  background: #3B82F6;
  color: white;
}

.event-category.mascotas {
  background: #EF4444;
  color: white;
}

.event-category.general {
  background: var(--color-gris-secundario);
  color: white;
}

.event-title {
  font-size: 1rem;         /* h5 size */
  font-weight: 600;        /* h5 weight */
  margin-bottom: 0.5rem;   /* h5 margin */
  line-height: 1.4;        /* h5 line-height */
  color: var(--color-negro);
  transition: color 0.3s ease;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-negro);
  opacity: 0.8;
}

.event-time,
.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-time i,
.event-location i {
  color: var(--color-azul);
  width: 16px;
}

.event-excerpt {
  color: var(--color-negro);
  opacity: 0.7;
  line-height: 1.5;
}

/* Grid de noticias destacadas */
.featured-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.featured-news-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--color-gris);
}

.featured-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--color-naranja);
}

.news-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-news-card:hover .news-image img {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  background: var(--color-gris-secundario);
  color: white;
}

.news-content {
  padding: 1.5rem;
}

.news-title {
  font-size: 1.125rem;     /* h4 size */
  font-weight: 600;        /* h4 weight */
  margin-bottom: 0.75rem;  /* h4 margin */
  line-height: 1.3;        /* h4 line-height */
}

.news-title a {
  color: var(--color-negro);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--color-rojo);
}

.news-meta {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-gris-secundario);
}

.news-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-date i {
  color: var(--color-azul);
  width: 16px;
}

.news-excerpt {
  color: var(--color-gris-secundario);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--color-rojo);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #A02229;
  text-decoration: underline;
}

.news-category {
  display: inline-block;
  background: var(--color-gris);
  color: var(--color-negro);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.news-title {
  font-size: 1rem;         /* h5 size */
  font-weight: 600;        /* h5 weight */
  margin-bottom: 0.5rem;   /* h5 margin */
  line-height: 1.4;        /* h5 line-height */
}

.news-title a {
  color: var(--color-negro);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--color-rojo);
}

.news-meta {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-negro);
  opacity: 0.7;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-date i {
  color: var(--color-azul);
}

.news-excerpt {
  color: var(--color-negro);
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--color-rojo);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-rojo);
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.read-more:hover {
  background: var(--color-rojo);
  color: white;
}

/* Responsive para secciones destacadas */
@media (max-width: 768px) {
  .featured-content-section {
    padding: 2rem 0;
  }
  
  .featured-content-container {
    gap: 3rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .featured-events-title,
  .featured-news-title {
    font-size: 1.5rem;
  }
  
  .featured-events-grid,
  .featured-news-grid {
    grid-template-columns: 1fr;
  }
  
  .event-content {
    padding-right: 0;
    padding-top: 60px;
  }
  
  .event-date-badge {
    top: 1rem;
    right: 1rem;
    position: absolute;
  }
}

/* ==========================================================================
   EVENTOS SECTION - Versión más alegre con colores del logo
   ========================================================================== */
.events-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, 
    rgba(90, 170, 53, 0.08) 0%, 
    rgba(245, 195, 45, 0.05) 50%, 
    rgba(235, 135, 30, 0.08) 100%
  );
  position: relative;
}

.events-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--color-verde) 0%, 
    var(--color-amarillo) 25%, 
    var(--color-naranja) 50%, 
    var(--color-morado) 75%, 
    var(--color-azul) 100%
  );
}

.events-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.events-title {
  font-size: 2.2rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--color-verde), var(--color-azul));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.events-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-verde), var(--color-naranja));
  border-radius: 2px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  background: white;
  border-radius: 1.2rem;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(90, 170, 53, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
}

.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 40px rgba(90, 170, 53, 0.15);
  border-radius: 1.2rem;
}

.event-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}

.event-category::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.event-category:hover::before {
  width: 120%;
  height: 120%;
}

.event-category.mascotas {
  background: linear-gradient(135deg, var(--color-azul), #4FACFE);
  color: white;
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.event-category.deportes {
  background: linear-gradient(135deg, var(--color-azul), #4FACFE);
  color: white;
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.event-category.cultura {
  background: linear-gradient(135deg, var(--color-naranja), var(--color-amarillo));
  color: white;
  box-shadow: 0 4px 12px rgba(235, 135, 30, 0.3);
}

.event-category.gobierno {
  background: linear-gradient(135deg, var(--color-azul), var(--color-morado));
  color: white;
  box-shadow: 0 4px 12px rgba(4, 85, 157, 0.3);
}

.event-category.economia {
  background: linear-gradient(135deg, var(--color-verde), #7BC142);
  color: white;
  box-shadow: 0 4px 12px rgba(90, 170, 53, 0.3);
}

.event-category.ambiente {
  background: linear-gradient(135deg, var(--color-verde), #7BC142);
  color: white;
  box-shadow: 0 4px 12px rgba(90, 170, 53, 0.3);
}

.event-category.salud {
  background: linear-gradient(135deg, var(--color-rojo), #E74C3C);
  color: white;
  box-shadow: 0 4px 12px rgba(199, 46, 59, 0.3);
}

.event-category.educacion {
  background: linear-gradient(135deg, var(--color-morado), #8E44AD);
  color: white;
  box-shadow: 0 4px 12px rgba(96, 37, 124, 0.3);
}

/* Categoría especial PATRONALES */
.event-category.patronales {
  background: linear-gradient(135deg, var(--color-amarillo), var(--color-naranja));
  color: white;
  box-shadow: 0 4px 12px rgba(245, 195, 45, 0.4);
  animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.event-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-negro);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.event-date i {
  color: var(--color-azul);
  font-size: 0.8rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-negro);
  font-size: 0.875rem;
  opacity: 0.8;
}

.event-location i {
  color: var(--color-azul);
  font-size: 0.8rem;
}

.event-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-negro);
  line-height: 1.4;
  margin: 0;
}

.event-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-title a:hover {
  background: linear-gradient(135deg, var(--color-naranja), var(--color-amarillo));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bordes ondulados sutiles para la sección de eventos */
.events-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 Q200,20 400,40 Q600,60 800,35 Q1000,10 1200,30 L1200,120 L0,120 Z' fill='%23ffffff' opacity='0.6'/%3E%3Cpath d='M0,80 Q300,40 600,55 Q900,70 1200,50 L1200,120 L0,120 Z' fill='%23ffffff' opacity='0.4'/%3E%3C/svg%3E") center bottom/cover no-repeat;
  z-index: 1;
}

/* Animación de entrada para las tarjetas */
@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.event-card {
  animation: card-fade-in 0.6s ease-out;
}

.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }
.event-card:nth-child(4) { animation-delay: 0.4s; }
.event-card:nth-child(5) { animation-delay: 0.5s; }
.event-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Eventos */
@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .event-card {
    padding: 1.25rem;
  }
  
  .events-title {
    font-size: 1.75rem;
  }
}

/* Paginación */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  grid-column: 1 / -1;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-gris);
  border-radius: 0.25rem;
  color: var(--color-azul);
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: var(--color-azul);
  color: white;
  border-color: var(--color-azul);
}

.pagination .current {
  background: var(--color-naranja);
  color: white;
  border-color: var(--color-naranja);
}

/* Estados sin contenido */
.no-events,
.no-news {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  background: var(--color-gris-claro);
  border-radius: 1rem;
  border: 2px dashed var(--color-gris);
}

.no-events h3,
.no-news h3 {
  font-size: 1.5rem;
  color: var(--color-negro);
  margin-bottom: 1rem;
}

.no-events p,
.no-news p {
  color: var(--color-negro);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   NOTICIAS SECTION
   ========================================================================== */
.news-section {
  padding: 4rem 0;
  background: white;
}

.news-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.news-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-negro);
  margin: 0;
}

.news-view-all {
  color: var(--color-azul);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-view-all:hover {
  color: var(--color-naranja);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--color-gris);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--color-naranja);
}

.news-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-color: var(--color-gris);
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.news-content {
  padding: 1.5rem;
}

.news-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-negro);
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
}

.news-date {
  font-size: 0.875rem;
  color: var(--color-negro);
  opacity: 0.6;
  margin: 0 0 1rem 0;
}

.news-excerpt {
  font-size: 0.95rem;
  color: var(--color-negro);
  opacity: 0.8;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.news-read-more {
  color: var(--color-azul);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.news-read-more:hover,
.news-card:hover .news-read-more {
  color: var(--color-naranja);
}

/* Responsive Noticias */
@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .news-title {
    font-size: 0.95rem;
  }
  
  .news-content {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   NOTICIA INDIVIDUAL
   ========================================================================== */
.noticia-single {
  padding: 2rem 0 4rem;
  background: white;
}

.noticia-single .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.noticia-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-gris);
}

.noticia-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-negro);
  margin: 1rem 0;
  line-height: 1.2;
}

.noticia-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.noticia-fecha {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-negro);
  font-size: 1rem;
  opacity: 0.8;
}

.noticia-fecha i {
  color: var(--color-azul);
}

.noticia-excerpt {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-gris-claro);
  border-radius: 0.5rem;
  border-left: 4px solid var(--color-naranja);
}

.noticia-excerpt p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-negro);
  margin: 0;
  font-style: italic;
}

.noticia-featured-image {
  margin: 2rem 0;
  text-align: center;
}

.noticia-featured-image img {
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.noticia-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-negro);
  margin: 2rem 0;
}

.noticia-content p {
  margin-bottom: 1.5rem;
}

.noticia-content h2,
.noticia-content h3,
.noticia-content h4 {
  color: var(--color-negro);
  margin: 2rem 0 1rem 0;
}

.noticia-content h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid var(--color-naranja);
  padding-bottom: 0.5rem;
}

.noticia-navigation {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gris);
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.noticia-nav-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gris);
}

.nav-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.nav-post {
  background: var(--color-gris-claro);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-gris);
  transition: all 0.3s ease;
}

.nav-post:hover {
  border-color: var(--color-naranja);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-label {
  font-size: 0.875rem;
  color: var(--color-azul);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.nav-post a {
  color: inherit;
  text-decoration: none;
}

.nav-post h4 {
  color: var(--color-negro);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}

.nav-post:hover h4 {
  color: var(--color-naranja);
}

/* Responsive Noticia Individual */
@media (max-width: 768px) {
  .noticia-title {
    font-size: 2rem;
  }
  
  .noticia-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .noticia-content {
    font-size: 1rem;
  }
  
  .noticia-navigation {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-posts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   EVENTO INDIVIDUAL - Layout 1 columna con cards
   ========================================================================== */
.evento-single {
  background: var(--color-gris-claro);
  min-height: 100vh;
}

/* Hero con imagen */
.evento-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  background: var(--color-negro);
}

.evento-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Contenedor principal */
.evento-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* Header: título + categoría como meta */
.evento-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.evento-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-negro);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

/* Categoría como meta discreta (NO botón grande) */
.evento-categoria-meta {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.evento-categoria-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-rojo);
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  background: rgba(252, 46, 59, 0.1);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.evento-categoria-tag:hover {
  background: rgba(252, 46, 59, 0.2);
  color: var(--color-rojo);
}

/* Colores por categoría */
.evento-categoria-tag.patronales {
  color: #F5C32D;
  background: rgba(245, 195, 45, 0.15);
}

.evento-categoria-tag.cultura {
  color: #8B5CF6;
  background: rgba(139, 92, 246, 0.1);
}

.evento-categoria-tag.deportes {
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}

.evento-categoria-tag.gobierno {
  color: var(--color-azul);
  background: rgba(4, 85, 157, 0.1);
}

/* Barra de metadatos */
.evento-meta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.evento-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-negro);
}

.evento-meta-item i {
  color: var(--color-azul);
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

/* Cards de contenido */
.evento-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.evento-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-negro);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-gris);
}

.evento-card-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-negro);
}

.evento-card-content p {
  margin-bottom: 1rem;
}

.evento-card-content p:last-child {
  margin-bottom: 0;
}

/* Card de ubicación */
.evento-ubicacion p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.evento-ubicacion p:last-child {
  margin-bottom: 0;
}

.evento-ubicacion i {
  color: var(--color-azul);
  margin-top: 0.2rem;
  width: 16px;
  text-align: center;
}

.ubicacion-nombre strong {
  color: var(--color-negro);
}

.ubicacion-direccion {
  color: var(--color-gris-secundario);
}

/* Navegación */
.evento-navigation {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .evento-hero img {
    height: 250px;
  }
  
  .evento-container {
    padding: 1.5rem 1rem 3rem;
  }
  
  .evento-title {
    font-size: 1.75rem;
  }
  
  .evento-meta-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .evento-card {
    padding: 1.25rem 1.5rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-footer);
  color: white;
}

.footer-content {
  padding: 3rem 0 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content .footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 48px;
  height: 48px;
}

.footer-brand-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem 0;
}

.footer-brand-text p {
  font-size: 0.875rem;
  color: white;
  opacity: 0.9;
  margin: 0;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-naranja);
}

.footer-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: white;
  opacity: 1;
}

.footer-info i {
  color: var(--color-naranja);
  margin-top: 0.125rem;
  width: 16px;
  flex-shrink: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: white;
  opacity: 0.9;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.9;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-naranja);
  opacity: 1;
}

.footer-links li:not(:has(a)) {
  color: white;
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-naranja);
  transform: translateY(-2px);
}

.social-link i {
  font-size: 1rem;
}

.footer-bottom {
  background: var(--color-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
  color: white;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.9;
  transition: all 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-naranja);
  opacity: 1;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* ==========================================================================
   FLASH INFO / AVISOS URGENTES SLIDER
   ========================================================================== */
.flash-info-section {
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.flash-info-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-negro);
  border-left: 4px solid var(--color-rojo);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}

.flash-info-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.flash-info-slide {
  display: flex;
  align-items: center;
  background: var(--color-gris-claro);
  border: 1px solid var(--color-gris);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.flash-info-slide:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--color-naranja);
}

.flash-info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-rojo);
  margin-right: 1.5rem;
  background: white;
  border: 2px solid var(--color-rojo);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.flash-info-slide:hover .flash-info-icon {
  border-color: var(--color-naranja);
  color: var(--color-naranja);
}

.flash-info-text {
  flex: 1;
  font-size: 1rem;
  color: var(--color-negro);
  font-weight: 500;
  line-height: 1.4;
}

.flash-info-slide-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-rojo);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.flash-info-slide-content {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}

.flash-info-slide-content p {
  margin: 0;
}

.flash-info-arrow {
  background: none;
  border: none;
  color: var(--color-azul);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.flash-info-arrow:hover {
  opacity: 1;
  color: var(--color-naranja);
  background: var(--color-gris-claro);
}

@media (max-width: 600px) {
  .flash-info-slide {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .flash-info-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
  }
  
  .flash-info-text {
    font-size: 0.9rem;
  }
  
  .flash-info-slide-title {
    font-size: 1rem;
    margin-bottom: 0.375rem;
  }
  
  .flash-info-slide-content {
    font-size: 0.85rem;
  }
  
  .flash-info-arrow {
    font-size: 1rem;
  }
}

/* Category Badge - Estilos para categorías inline */
.category-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  margin-right: 8px;
  color: white;
  vertical-align: middle;
}

/* Estilos adicionales para avisos urgentes */
.flash-info-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flash-info-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
}

.flash-info-slides-container {
  flex: 1;
}

/* ==========================================================================
   PÁGINA DE GOBIERNO - ESTRUCTURA MUNICIPAL
   ========================================================================== */

/* Hero Gobierno */
.gobierno-hero {
  position: relative;
  background: url('../images/gobierno-hero.jpg') center/cover no-repeat;
  padding: 3rem 0 4rem;
  min-height: 180px;
}

.gobierno-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 30, 60, 0.5) 0%, rgba(0, 30, 60, 0.4) 60%, rgba(247, 248, 250, 1) 100%);
}

.gobierno-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gobierno-breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.gobierno-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gobierno-breadcrumb a:hover {
  color: white;
}

.gobierno-breadcrumb span {
  margin: 0 0.5rem;
}

.gobierno-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Layout Principal */
.gobierno-main {
  background: var(--color-gris-claro);
  padding: 2rem 0 4rem;
  margin-top: -2rem;
}

.gobierno-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar */
.gobierno-sidebar {
  position: sticky;
  top: 2rem;
}

.gobierno-menu {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

/* Header: full-width blue background (industry standard) */
.gobierno-menu-header {
  background: var(--color-info);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.25rem;
}

.gobierno-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gobierno-menu-list > li {
  border-bottom: 1px solid var(--color-gris);
}

.gobierno-menu-list > li:last-child {
  border-bottom: none;
}

.gobierno-menu-list > li > a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: var(--color-negro);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.gobierno-menu-list > li > a:hover {
  background: var(--color-gris-claro);
}

/* Active state: unified blue accent (matches global sidebar pattern) */
.gobierno-menu-list > li.active > a {
  background: color-mix(in srgb, var(--color-info) 8%, white);
  color: var(--color-text);
  font-weight: 600;
  border-left-color: var(--color-info);
}

/* Submenú */
.gobierno-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--color-gris-claro);
}

.gobierno-submenu li a {
  display: block;
  padding: 0.625rem 1.25rem 0.625rem 2rem;
  color: var(--color-gris-secundario);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.gobierno-submenu li a:hover {
  color: var(--color-info);
}

/* Card Atención Ciudadano (currently hidden - kept for reference) */
.gobierno-atencion-card {
  background: linear-gradient(135deg, var(--color-rojo), #d42833);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: white;
  box-shadow: 0 4px 12px rgba(252, 46, 59, 0.25);
}

.gobierno-atencion-card h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.gobierno-atencion-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.btn-gobierno-contactar {
  display: block;
  width: 100%;
  background: white;
  color: var(--color-rojo);
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn-gobierno-contactar:hover {
  background: var(--color-amarillo);
  color: var(--color-negro);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 195, 45, 0.4);
}

/* Contenido Principal */
.gobierno-content {
  min-width: 0;
}

/* Card Intendente */
.gobierno-intendente-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

/* Featured treatment for Intendente - red accent stripe */
.gobierno-intendente-card--featured {
  border: 1px solid var(--color-border);
  border-color: color-mix(in srgb, var(--color-primary) 18%, var(--color-border));
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
}

.gobierno-intendente-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  margin-bottom: 0.5rem;
}

.gobierno-intendente-foto {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-gris);
  flex-shrink: 0;
}

.gobierno-intendente-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gobierno-intendente-info {
  min-width: 0;
}

.gobierno-cargo {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gris-secundario);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gobierno-nombre {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-negro);
  margin-bottom: 0.75rem;
}

.gobierno-contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.gobierno-email,
.gobierno-telefono {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gris-secundario);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.gobierno-email:hover,
.gobierno-telefono:hover {
  color: var(--color-rojo);
}

.gobierno-email i {
  color: var(--color-info);
}

.gobierno-telefono i {
  color: var(--color-info);
}

.gobierno-social {
  display: flex;
  gap: 0.5rem;
}

.gobierno-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-gris-claro);
  border-radius: 50%;
  color: var(--color-gris-secundario);
  text-decoration: none;
  transition: all 0.2s ease;
}

.gobierno-social-link:hover {
  background: var(--color-rojo);
  color: white;
}

/* Cards Funcionarios */
.gobierno-funcionario-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.gobierno-funcionario-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.gobierno-funcionario-foto {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gris);
  flex-shrink: 0;
}

.gobierno-funcionario-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gobierno-funcionario-info {
  min-width: 0;
}

.gobierno-area {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gris-secundario);
  margin-bottom: 0.125rem;
}

.gobierno-funcionario-info .gobierno-nombre {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gobierno-funcionario-info .gobierno-email {
  font-size: 0.8125rem;
}

.gobierno-declaracion-link {
  color: var(--color-gris-secundario);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.gobierno-declaracion-link:hover {
  color: var(--color-rojo);
}

/* Sección Órganos Colegiados */
.gobierno-colegiados-section {
  margin-top: 3rem;
}

/* NOTE: .gobierno-section-title moved to design system (uses --heading-accent) */

.gobierno-colegiados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gobierno-colegiado-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gobierno-colegiado-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-gris);
}

.gobierno-colegiado-header i {
  font-size: 1.25rem;
  color: var(--color-rojo);
}

.gobierno-colegiado-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-negro);
  margin: 0;
}

.gobierno-colegiado-content {
  padding: 1.25rem;
}

.gobierno-colegiado-cargo {
  font-size: 0.9375rem;
  color: var(--color-negro);
  margin-bottom: 0.5rem;
}

.gobierno-colegiado-subtitulo {
  font-size: 0.875rem;
  color: var(--color-negro);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-gris);
}

.gobierno-colegiado-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gobierno-colegiado-lista li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--color-gris-secundario);
  border-bottom: 1px solid var(--color-gris);
}

.gobierno-colegiado-lista li:last-child {
  border-bottom: none;
}

.gobierno-colegiado-lista li span {
  color: var(--color-negro);
  font-weight: 500;
}

/* Responsive Gobierno */
@media (max-width: 1024px) {
  .gobierno-container {
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
  }
  
  .gobierno-intendente-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .gobierno-intendente-foto {
    margin: 0 auto;
  }
  
  .gobierno-contacto {
    justify-content: center;
  }
  
  .gobierno-social {
    justify-content: center;
  }
  
  .gobierno-intendente-acciones {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .gobierno-hero-title {
    font-size: 2rem;
  }
  
  .gobierno-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .gobierno-sidebar {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .gobierno-menu {
    margin-bottom: 0;
  }
  
  .gobierno-submenu {
    display: none;
  }
  
  .gobierno-funcionario-card {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
  }
  
  .gobierno-colegiados-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gobierno-sidebar {
    grid-template-columns: 1fr;
  }
  
  .gobierno-intendente-foto {
    width: 100px;
    height: 100px;
  }
  
  .gobierno-nombre {
    font-size: 1.5rem;
  }
  
  .gobierno-contacto {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   PÁGINA TELÉFONOS ÚTILES
   ========================================================================== */

.telefonos-page {
  background: var(--color-gris-claro);
  min-height: calc(100vh - 150px);
}

/* Layout principal */
.telefonos-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
}

/* Sidebar */
.telefonos-sidebar {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  height: fit-content;
  position: sticky;
  top: 100px;
}

/* Header: full-width blue background (industry standard) */
.telefonos-sidebar-header {
  background: var(--color-info);
  padding: 1rem 1.25rem;
  margin: 0;
}

.telefonos-sidebar-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem 0;
}

.telefonos-sidebar-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.telefonos-sidebar-nav {
  margin-top: 0;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.telefonos-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-negro);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.telefonos-nav-item:hover {
  background: var(--color-gris-claro);
}

.telefonos-nav-item i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  color: var(--color-muted);
}

/* Sidebar uses UNIFIED BLUE accent only (no category colors in sidebar)
   Category colors are reserved for content area (section titles, icons) */

/* Active state: unified blue accent (matches global sidebar pattern) */
.telefonos-nav-item.active {
  border-left-color: var(--color-info);
  background: color-mix(in srgb, var(--color-info) 8%, white);
  font-weight: 600;
}

.telefonos-nav-item.active i {
  color: var(--color-info);
}

/* Mapa item spacing */
.telefonos-nav-item--mapa,
.telefonos-nav-item.mapa {
  margin-top: 1rem;
}

/* Contenido principal */
.telefonos-content {
  min-width: 0;
}

/* Header */
.telefonos-header {
  margin-bottom: 2rem;
}

.telefonos-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-negro);
  margin: 0 0 0.75rem 0;
}

.telefonos-description {
  font-size: 1.1rem;
  color: var(--color-gris-secundario);
  margin: 0;
  line-height: 1.5;
  max-width: 600px;
}

/* Buscador */
.telefonos-search {
  margin-bottom: 2.5rem;
}

.telefonos-search-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-gris);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.telefonos-search-box:focus-within {
  border-color: var(--color-azul);
  box-shadow: 0 0 0 3px rgba(4, 85, 157, 0.1);
}

.telefonos-search-box i {
  font-size: 1.1rem;
  color: var(--color-gris-secundario);
}

.telefonos-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--color-negro);
  outline: none;
  font-family: var(--font-principal);
}

.telefonos-search-box input::placeholder {
  color: var(--color-gris-secundario);
}

/* Categorías */
.telefonos-category {
  margin-bottom: 2.5rem;
}

/* Section heading style (matches .section-heading / Órganos pattern) */
.telefonos-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.25px;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 2rem 0;
  position: relative;
}

.telefonos-category-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--heading-accent, var(--color-info));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Category wrapper classes - set --cat-color and --heading-accent for descendants */
.cat--emergencias {
  --cat-color: var(--cat-emergencias);
  --heading-accent: var(--cat-color);
}

.cat--vecino {
  --cat-color: var(--cat-vecino);
  --heading-accent: var(--cat-color);
}

.cat--areas {
  --cat-color: var(--cat-areas);
  --heading-accent: var(--cat-color);
}

.cat--salud {
  --cat-color: var(--cat-salud);
  --heading-accent: var(--cat-color);
}

.cat--mapa {
  --cat-color: var(--cat-mapa);
  --heading-accent: var(--cat-color);
}

/* Grid de teléfonos */
.telefonos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

/* Card de teléfono */
.telefono-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-gris);
  transition: all 0.2s ease;
}

.telefono-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Card de emergencia - neutral como Home, rojo solo en botón Llamar */
.telefono-card.emergencia {
  border-left: none;
}

/* Ícono de la card */
.telefono-card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telefono-card-icon i {
  font-size: 1.25rem;
}

/* Colores de íconos - acentos de categoría controlados */
.telefono-card-icon.rojo {
  background: rgba(252, 46, 59, 0.08);
}

.telefono-card-icon.rojo i {
  color: var(--cat-emergencias);
}

.telefono-card-icon.azul {
  background: rgba(4, 85, 157, 0.08);
}

.telefono-card-icon.azul i {
  color: var(--cat-vecino);
}

.telefono-card-icon.morado {
  background: rgba(96, 37, 124, 0.08);
}

.telefono-card-icon.morado i {
  color: var(--cat-areas);
}

.telefono-card-icon.verde {
  background: rgba(90, 170, 53, 0.08);
}

.telefono-card-icon.verde i {
  color: var(--cat-salud);
}

/* Info de la card */
.telefono-card-info {
  flex: 1;
  min-width: 0;
}

.telefono-card-nombre {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-negro);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.telefono-card-numero {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-info);
  text-decoration: none;
  transition: color 0.2s ease;
}

.telefono-card-numero:hover {
  color: var(--color-primary);
}

/* Emergency phone numbers stay red */
.telefono-card.emergencia .telefono-card-numero {
  color: var(--cat-emergencias);
}

.telefono-card.emergencia .telefono-card-numero:hover {
  color: var(--color-primary-hover);
}

.telefono-card-descripcion {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-gris-secundario);
  letter-spacing: 0.3px;
  margin-top: 0.25rem;
}

.telefono-card-horario {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-gris-secundario);
  margin-top: 0.35rem;
}

.telefono-card-horario i {
  font-size: 0.7rem;
}

/* Botón llamar */
.telefono-card-llamar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-rojo);
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.telefono-card-llamar:hover {
  background: #e02832;
  transform: scale(1.02);
}

.telefono-card-llamar i {
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE TELÉFONOS
   ========================================================================== */

@media (max-width: 1024px) {
  .telefonos-layout {
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
  }
  
  .telefonos-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .telefonos-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .telefonos-sidebar {
    position: relative;
    top: 0;
    padding: 1rem;
  }
  
  .telefonos-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .telefonos-nav-item {
    padding: 0.625rem 0.875rem;
    font-size: 0.8rem;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
  }
  
  /* Active state: unified blue accent (no category colors in sidebar) */
  .telefonos-nav-item.active {
    border-bottom-color: var(--color-info);
    background: color-mix(in srgb, var(--color-info) 8%, white);
  }
  
  .telefonos-nav-item.mapa {
    margin-top: 0;
  }
  
  .telefonos-title {
    font-size: 1.75rem;
  }
  
  .telefonos-description {
    font-size: 1rem;
  }
  
  .telefonos-grid {
    grid-template-columns: 1fr;
  }
  
  .telefono-card {
    padding: 1rem;
  }
  
  .telefono-card-llamar {
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
  }
  
  .telefono-card-llamar span {
    display: none;
  }
}

@media (max-width: 480px) {
  .telefonos-sidebar-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
  .telefonos-nav-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
  }
  
  .telefonos-nav-item span {
    font-size: 0.7rem;
  }
  
  .telefono-card-icon {
    width: 44px;
    height: 44px;
  }
  
  .telefono-card-icon i {
    font-size: 1.1rem;
  }
  
  .telefono-card-nombre {
    font-size: 0.9rem;
  }
  
  .telefono-card-numero {
    font-size: 1rem;
  }
}

/* -------------------------------------------------------------------------
   CATEGORY ACCENTS (site-wide, exclude Telefonos)
   ------------------------------------------------------------------------- */
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-card {
  --accent: var(--color-border);
  border-top: 3px solid var(--accent);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category) {
  --accent: var(--cat-eventos);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.gobierno) {
  --accent: var(--cat-institucional);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.salud) {
  --accent: var(--cat-alerta);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.obras),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.economia),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.ambiente) {
  --accent: var(--cat-servicios);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.cultura),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.deportes),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.educacion),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.patronales) {
  --accent: var(--cat-eventos);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.general),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-card:has(.event-category.mascotas) {
  --accent: var(--cat-info);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-card:has(.news-category) {
  --accent: var(--cat-noticias);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-card:has(.news-category.alerta) {
  --accent: var(--cat-alerta);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-card:has(.news-category.institucional) {
  --accent: var(--cat-institucional);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-card:has(.news-category.servicios) {
  --accent: var(--cat-servicios);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-card:has(.news-category.eventos) {
  --accent: var(--cat-eventos);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-card:has(.news-category.info),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-card:has(.news-category.general) {
  --accent: var(--cat-info);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .evento-categoria-tag,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .category-badge {
  --accent: var(--cat-info);
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--accent-weak);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--color-border));
  box-shadow: none;
  text-decoration: none;
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .evento-categoria-tag,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .category-badge {
  --accent: var(--cat-eventos);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category {
  --accent: var(--cat-noticias);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category::before,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category:hover::before {
  content: none;
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category:is(.gobierno),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .evento-categoria-tag:is(.gobierno),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .category-badge:is(.gobierno) {
  --accent: var(--cat-institucional);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category:is(.salud),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .evento-categoria-tag:is(.salud),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .category-badge:is(.salud) {
  --accent: var(--cat-alerta);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category:is(.obras, .economia, .ambiente),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .evento-categoria-tag:is(.obras, .economia, .ambiente),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .category-badge:is(.obras, .economia, .ambiente) {
  --accent: var(--cat-servicios);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category:is(.cultura, .deportes, .educacion, .patronales),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .evento-categoria-tag:is(.cultura, .deportes, .educacion, .patronales),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .category-badge:is(.cultura, .deportes, .educacion, .patronales) {
  --accent: var(--cat-eventos);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category:is(.general, .mascotas),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .evento-categoria-tag:is(.general, .mascotas),
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .category-badge:is(.general, .mascotas) {
  --accent: var(--cat-info);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) :is(.event-category, .evento-categoria-tag, .category-badge):is(.gobierno, .salud, .obras, .economia, .ambiente, .cultura, .deportes, .educacion, .patronales, .general, .mascotas) {
  background: var(--accent-weak);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--color-border));
  box-shadow: none;
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category.alerta {
  --accent: var(--cat-alerta);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category.institucional {
  --accent: var(--cat-institucional);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category.servicios {
  --accent: var(--cat-servicios);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category.eventos {
  --accent: var(--cat-eventos);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category.info,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category.general {
  --accent: var(--cat-info);
}

body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .event-category:hover,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .news-category:hover,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .evento-categoria-tag:hover,
body:not(.page-template-page-telefonos-php):not(.page-template-telefonos-utiles) .category-badge:hover {
  background: color-mix(in srgb, var(--accent) 18%, var(--color-surface));
  color: var(--accent);
}


