/*
Theme Name: PRUEBAS JULIO CORRECTAS
Author: Tu Nombre
Description: Estilos personalizados para el Proyecto CAAD sin Bootstrap
Version: 2.3.1-1
*/

/* === GLOBAL === */
body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #007bff;
}

/* === CONTENEDOR === */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px;
}

/* === NAVBAR y MENÚ PRINCIPAL === */
.hamburger-btn {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  margin-right: 18px;
  z-index: 2002;
  position: relative;
}

.menu-horizontal-izquierdo {
  margin-bottom: 24px;
}
.menu-horizontal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.menu-horizontal li {
  position: relative;
}
.menu-horizontal li a {
  color: #007bff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 500;
  transition: background-color 0.2s;
  display: inline-block;
}
.menu-horizontal li a:hover {
  background: #007bff;
  color: #fff;
}

/* === SUBMENÚ DESPLEGABLE === */
.menu-horizontal li ul.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  min-width: 200px;
  z-index: 10;
  padding: 8px 0;
}
.menu-horizontal li:hover > ul.sub-menu,
.menu-horizontal li:focus-within > ul.sub-menu {
  display: block;
}
.menu-horizontal ul.sub-menu li {
  display: block;
}
.menu-horizontal ul.sub-menu li a {
  color: #007bff;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500;
  display: block;
  text-align: left;
}
.menu-horizontal ul.sub-menu li a:hover {
  background: #007bff;
  color: #fff;
}

/* === Flechita para hijos === */
.menu-horizontal li.menu-item-has-children > a::after {
  content: " ▼";
  font-size: 0.92em;
  color: #007bff;
  margin-left: 5px;
  vertical-align: middle;
  transition: color 0.2s;
}
.menu-horizontal li.menu-item-has-children:hover > a::after {
  color: #fff;
}

/* RESPONSIVE HAMBURGUESA */
@media (max-width: 1080px) {
  .hamburger-btn {
    display: inline-block;
  }
  .menu-horizontal-izquierdo {
    display: none;
    width: 100%;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    position: absolute;
    left: 0;
    top: 56px;
    z-index: 2001;
  }
  .menu-horizontal-izquierdo.menu-open {
    display: block;
  }
  .menu-horizontal {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .menu-horizontal li {
    width: 100%;
    text-align: left;
  }
  .menu-horizontal li a {
    display: block;
    width: 100%;
    border-radius: 0;
    border: none;
    padding: 14px 20px;
    color: #007bff;
    background: none;
    font-size: 1.05rem;
  }
  .menu-horizontal li a:hover {
    background: #007bff;
    color: #fff;
  }
  /* SUBMENÚS en hamburguesa */
  .menu-horizontal li ul.sub-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: #f8f8f8;
    margin: 0;
    padding: 0 0 0 20px;
  }
  .menu-horizontal ul.sub-menu li a {
    padding: 10px 20px 10px 38px;
    font-size: 1rem;
  }
}

@media (min-width: 1081px) {
  .hamburger-btn {
    display: none !important;
  }
  .menu-horizontal-izquierdo {
    display: block !important;
    position: static !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .menu-horizontal {
    flex-direction: row;
  }
}

/* === GRID DE NOTICIAS CON 3 COLUMNAS === */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* TARJETAS */
.card {
  border-radius: 12px;
  background: #fff;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
}

.card-img-wrapper {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.card-body {
  padding: 15px;
}

.card-title {
  font-weight: bold;
  margin-top: 0;
  font-size: 1.1rem;
}

.card-text {
  font-size: 0.95rem;
  margin: 10px 0;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  font-weight: 500;
  border-radius: 30px;
  border: 1px solid #007bff;
  color: #007bff;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn:hover {
  background-color: #007bff;
  color: white;
}

/* === BANNERS HORIZONTALES ENTRE NOTICIAS (GRID) === */
.banner-full-row, .banner-horizontal {
  grid-column: 1 / -1;         /* ¡CLAVE! Ocupa el ancho de la grid */
  width: 100%;
  margin: 32px 0;
  text-align: center;
  display: block;
  box-sizing: border-box;
}

.banner-full-row img, .banner-horizontal img,
.banner-full-row picture, .banner-horizontal picture,
.banner-full-row iframe, .banner-horizontal iframe {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Responsive: banners ocupan el ancho de las columnas visibles */
@media (max-width: 992px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }
}

/* === IMAGEN DESTACADA EN ENTRADA INDIVIDUAL === */
.post img,
.single-post .wp-post-image,
.single .post-thumbnail img {
  display: block;
  margin: 20px auto;
  width: 768px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* === PAGINACIÓN === */
.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border-radius: 30px;
  background-color: #f1f1f1;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #007bff;
}

.pagination a:hover {
  background-color: #007bff;
  color: #fff;
}

.pagination .current {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-header {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  font-weight: bold;
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

/* === FORMULARIOS === */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #007bff;
  outline: none;
}

/* === PANEL FLOTANTE DE EVENTOS === */
#evento-flotante {
  position: fixed;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  background: #007bff;
  color: white;
  border-radius: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  padding: 10px;
  z-index: 9999;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.2;
}

#evento-flotante:hover {
  background: #0056b3;
}

/* === PIE DE PÁGINA === */
footer {
  background-color: #343a40;
  color: #ccc;
  padding: 2rem 0;
  text-align: center;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #0d6efd;
}

.cabecera-banner {
  width: 100%;
  text-align: center;
  background-color: #fff;
  padding: 10px 0;
}

.cabecera-banner-img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: inline-block;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .clima-menu-feugino {
    flex-direction: column;
    align-items: center;
  }
  .ciudad-clima-fuego {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }
}

/* === MENÚ DE CATEGORÍAS HORIZONTAL === */
.categorias-horizontal {
  margin-bottom: 20px;
  text-align: center;
}

.categorias-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.categorias-menu li,
.menu-horizontal li {
  display: inline-block;
}

.categorias-menu li a,
.menu-horizontal li a {
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  display: inline-block;
  border: 1px solid #007bff;
  color: #007bff;
  background-color: transparent;
  cursor: pointer;
  text-align: center;
}

.categorias-menu li a:hover,
.menu-horizontal li a:hover {
  background-color: #007bff;
  color: white;
}

/* === CLIMA CON TARJETAS ALINEADAS === */
#zona-clima-api,
#zona-clima-smn {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.clima-menu-feugino {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
}

.ciudad-clima-fuego {
  flex: 1 1 33%;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px 20px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
}

.ciudad-clima-fuego:hover {
  transform: scale(1.01);
}

.ciudad-clima-fuego h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.ciudad-clima-fuego ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.5;
}

.ciudad-clima-fuego li {
  margin-bottom: 4px;
  font-size: 14px;
}

/* === CONTENEDOR DE IMAGEN FIJO === */
.single .imagen-contenedor,
.imagen-contenedor {
  width: 368px;
  height: 368px;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 1px solid #ddd;
}

.imagen-contenedor img,
.single .imagen-contenedor img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* === GRID DE TALLERES === */
.talleres-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.taller-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 20px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
}

.taller-img img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #f4f4f4;
}

.taller-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
}

.taller-excerpt {
  font-size: 0.96rem;
  margin-bottom: 10px;
  text-align: center;
  color: #444;
}

.taller-card .btn {
  margin-top: auto;
  display: inline-block;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid #007bff;
  color: #007bff;
  background: transparent;
  transition: background .2s, color .2s;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.taller-card .btn:hover {
  background: #007bff;
  color: #fff;
}
@media (max-width:1200px){
  .talleres-grid {grid-template-columns: repeat(3,1fr);}
}
@media (max-width:800px){
  .talleres-grid {grid-template-columns: repeat(2,1fr);}
}
@media (max-width:480px){
  .talleres-grid {grid-template-columns:1fr;}
}

/* ==== BANNERS LATERALES ==== */
.contenedor-principal-con-banners {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}
.banner-lateral-container {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
  margin-top: 16px;
  position: sticky;
  top: 70px;
  z-index: 2;
}
.banner-lateral-izq { order: 1; }
.banner-lateral-der { order: 3; }
.contenido-principal-noticias {
  flex: 1 1 750px;
  max-width: 900px;
  min-width: 0;
  order: 2;
}
@media (max-width: 1200px) {
  .banner-lateral-container {
    display: none;
  }
}

/* === BARRA CLIMA SCROLL === */
#zona-clima-api {
  width: 100%;
  max-width: 720px;
  min-height: 36px;
  margin: 12px auto 24px auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.clima-marquesina {
  white-space: nowrap;
  display: inline-block;
  padding-right: 48px;
  font-size: 15px;
  color: #005ea2;
  animation: clima-scroll 20s linear infinite;
  min-width: 100%;
}
@keyframes clima-scroll {
  from { transform: translateX(100%);}
  to { transform: translateX(-100%);}
}
/* === PRÓXIMOS EVENTOS FLOTANTE === */
#evento-flotante {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 9999;
  background: #2259a5;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(0,0,0,.19);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.97em;
  text-align: center;
  transition: box-shadow .22s, background .22s;
  outline: none;
  border: 4px solid #fff;
  animation: floatBump 1.2s infinite alternate cubic-bezier(.62,.13,.52,.95);
}

#evento-flotante:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  background: #3271d8;
}

@keyframes floatBump {
  from { transform: translateY(0);}
  to   { transform: translateY(-8px);}
}

.evento-titulo {
  display: block;
  width: 60px;
  font-size: 1.04em;
  line-height: 1.16;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  overflow: auto;
  background: rgba(34,34,34,.45);
}

.modal-content {
  background: #fff;
  margin: 52px auto 0 auto;
  padding: 0;
  border-radius: 18px;
  width: 95%;
  max-width: 420px;
  box-shadow: 0 6px 32px rgba(0,0,0,.16);
  animation: modalFade .2s;
}

@keyframes modalFade {
  from { transform: translateY(80px) scale(.95); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.modal-header {
  background: #2259a5;
  color: #fff;
  font-weight: bold;
  font-size: 1.18em;
  padding: 13px 19px;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4em;
  cursor: pointer;
  margin-left: 10px;
}
.modal-body {
  padding: 22px 20px;
  color: #333;
  font-size: 1.04em;
}

@media (max-width: 600px) {
  #evento-flotante { right: 8px; bottom: 13px; width: 54px; height: 54px;}
  .evento-titulo { font-size: .98em; width: 45px;}
  .modal-content { max-width: 99vw; }
  .modal-header, .modal-body { padding-left: 10px; padding-right: 10px; }
}
/* === PRÓXIMOS EVENTOS FLOTANTE CIRCULAR === */
#evento-flotante {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 9999;
  background: #2259a5;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(0,0,0,.19);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.97em;
  text-align: center;
  transition: box-shadow .22s, background .22s;
  outline: none;
  border: 4px solid #fff;
  animation: floatBump 1.2s infinite alternate cubic-bezier(.62,.13,.52,.95);
}
#evento-flotante:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  background: #3271d8;
}
@keyframes floatBump {
  from { transform: translateY(0);}
  to   { transform: translateY(-8px);}
}
.evento-titulo {
  display: block;
  width: 60px;
  font-size: 1.04em;
  line-height: 1.16;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  overflow: auto;
  background: rgba(34,34,34,.45);
}
.modal-content {
  background: #fff;
  margin: 52px auto 0 auto;
  padding: 0;
  border-radius: 18px;
  width: 95%;
  max-width: 420px;
  box-shadow: 0 6px 32px rgba(0,0,0,.16);
  animation: modalFade .2s;
}
@keyframes modalFade {
  from { transform: translateY(80px) scale(.95); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.modal-header {
  background: #2259a5;
  color: #fff;
  font-weight: bold;
  font-size: 1.18em;
  padding: 13px 19px;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4em;
  cursor: pointer;
  margin-left: 10px;
}
.modal-body {
  padding: 22px 20px;
  color: #333;
  font-size: 1.04em;
}
@media (max-width: 600px) {
  #evento-flotante { right: 8px; bottom: 13px; width: 54px; height: 54px;}
  .evento-titulo { font-size: .98em; width: 45px;}
  .modal-content { max-width: 99vw; }
  .modal-header, .modal-body { padding-left: 10px; padding-right: 10px; }
}
#evento-flotante {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 9999;
  background: #2259a5;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(0,0,0,.19);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.97em;
  text-align: center;
  transition: box-shadow .22s, background .22s;
  outline: none;
  border: 4px solid #fff;
  animation: floatBump 1.2s infinite alternate cubic-bezier(.62,.13,.52,.95);
}
#evento-flotante:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  background: #3271d8;
}
@keyframes floatBump {
  from { transform: translateY(0);}
  to   { transform: translateY(-8px);}
}
.evento-titulo {
  display: block;
  width: 60px;
  font-size: 1.04em;
  line-height: 1.16;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  overflow: auto;
  background: rgba(34,34,34,.45);
}
.modal-content {
  background: #fff;
  margin: 52px auto 0 auto;
  padding: 0;
  border-radius: 18px;
  width: 95%;
  max-width: 420px;
  box-shadow: 0 6px 32px rgba(0,0,0,.16);
  animation: modalFade .2s;
}
@keyframes modalFade {
  from { transform: translateY(80px) scale(.95); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.modal-header {
  background: #2259a5;
  color: #fff;
  font-weight: bold;
  font-size: 1.18em;
  padding: 13px 19px;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4em;
  cursor: pointer;
  margin-left: 10px;
}
.modal-body {
  padding: 22px 20px;
  color: #333;
  font-size: 1.04em;
}
@media (max-width: 600px) {
  #evento-flotante { right: 8px; bottom: 13px; width: 54px; height: 54px;}
  .evento-titulo { font-size: .98em; width: 45px;}
  .modal-content { max-width: 99vw; }
  .modal-header, .modal-body { padding-left: 10px; padding-right: 10px; }
}
/* === BOTÓN FLOTANTE PRÓXIMOS EVENTOS === */
#caad-eventos-btn {
  position: fixed;
  left: 20px;
  bottom: 50px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: none;
  box-shadow: 0 2px 16px rgba(0,0,0,0.16);
  z-index: 2222;
  cursor: pointer;
  transition: transform .13s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#caad-eventos-btn svg { display: block; }
#caad-eventos-btn:hover { transform: scale(1.09); }

.caad-eventos-modal {
  display: none;
  position: fixed;
  z-index: 2500;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,.28);
  align-items: center;
  justify-content: center;
}
.caad-eventos-modal-content {
  background: #fff;
  padding: 32px 24px 24px 24px;
  border-radius: 20px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 6px 32px rgba(0,0,0,0.14);
  position: relative;
}
.caad-eventos-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
}
.caad-lista-eventos { margin: 0; padding: 0; list-style: none; }
.caad-lista-eventos li { padding: 8px 0; border-bottom: 1px solid #eee; }
.caad-lista-eventos li:last-child { border-bottom: none; }
.caad-sin-eventos { color: #666; text-align: center; padding: 18px 0; }
/* --- ÍCONOS DE REDES SOCIALES: tamaño oficial, centrado y visual perfecto --- */
/* === ÍCONOS REDES SOCIALES - SOLO NECESARIO === */
/* CORRECCIÓN REDES SOCIALES - ÍCONOS CENTRADOS Y VISIBLES */

.iconos-redes-sociales {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin: 20px 0;
}

.btn-icono-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.13);
  transition: transform 0.2s;
  background: transparent;
  border: none;
  padding: 0;
}

.btn-icono-social .icon-bg {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: none;
}

.btn-icono-social.icon-facebook .icon-bg {
  background: #1877f3; /* azul Facebook */
}

.btn-icono-social.icon-instagram .icon-bg {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.icon-svg {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  filter: none !important; /* <- Clave para que el logo Facebook NO se invierta ni oculte */
}

/* Si querés que Instagram NO tenga filtro y respete sus colores, mantené esto */
.icon-instagram .icon-svg {
  filter: none;
}

.btn-icono-social:hover {
  transform: scale(1.10);
  box-shadow: 0 6px 20px #0003;
}
.icon-facebook .icon-svg {
  filter: brightness(0) invert(1) !important;
}
.icon-instagram .icon-svg {
  filter: none !important;
}
