
.texto_intendente {
  color: #ffffff;
}

.campo_gobierno a,
.campo_gobierno a:focus {
  color: #ffffff;
}

.titulo-gobierno {
  color: #ffffff;
}

.icono_gobierno {
  color: #ffffff;
}


.social {
  margin-top: 3rem;
}

.icono_servicio i {
  font-size: 3rem;
  color: var(--primario);
  transition: color 0.3s;
}

.nombre_servicio {
  color: var(--primario);
  padding: 0rem 0.2rem 1rem 0.2rem;
  transition: color 0.3s;
}

@keyframes rotateIn {
  from {
    transform: rotateY(-180deg);
  }

  to {
    transform: rotateY(0deg);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes rippleEffect {
  from {
    transform: scale(1);
    opacity: 0.5;
  }

  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

#modulos {
  padding: 4rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#modulos .row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  width: 100%;
}

#modulos .col-auto {
  display: flex;
  justify-content: center;
  flex: 1 1 20%;
  max-width: 150px;
}

#modulos .modulo {
  background-color: var(--primario);
  border-radius: 15rem;
  transition: transform 0.3s, box-shadow 0.3s ease;
  width: 10rem;
  height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Efecto de onda */
#modulos .modulo::after {
  content: "";
  position: absolute;
  width: 80px;
  /* Tamaño más pequeño del círculo */
  height: 80px;
  /* Tamaño más pequeño del círculo */
  border: 2px solid rgba(247, 165, 2, 0.5);
  /* Color inicial del círculo */
  border-radius: 50%;
  transform: scale(1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#noticias_principales {
  background-color: #fafbfd;
  padding: 5rem 0rem;
}

#calendario {
  padding: 5rem 0rem;
  margin: 0rem;
}

#banner {
  background: var(--blanco);
  padding: 5rem 0rem;
}

#documentos {
  background: var(--gris);
}

.imagen-banner {
  width: 34rem;
}

.container-banner {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .container-banner {
    flex-direction: column;
    align-items: center;
  }

  .imagen-banner {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
  }
}

.modulos-acceso-container {
  display: flex;
  width: 100%;
}

.modulo-acceso {
  flex: 1;
  padding: 20px 0px;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}
@media (max-width: 480px) {
  .modulo-acceso {
    font-size: 1.3rem;
  }
}
.modulo-acceso:hover {
  opacity: 0.9;
  color: white;
}

.modulo-finanzas {
  background-color: var(--rojo);
}

.modulo-obras {
  background-color: var(--rosa);
}

.modulo-cultura {
  background-color: var(--celeste);
}

.modulo-educacion {
  background-color: var(--amarillo);
}

.modulo-salud {
  background-color: var(--azul);
}

/* Estilos para la barra de búsqueda */
.contenedor-buscador-home {
  padding: 40px 0;
  text-align: center;
}

.buscador-home {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 600px;
}

.buscador-home input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border-radius: 30px;
  border: 2px solid var(--primario);
  font-size: 1.1rem;
}

.iframe-calendar {
  min-height: 45rem;
  border: none;
}

@media (max-width: 768px) {
  .iframe-calendar {
    min-height: 80rem;
  }
}
.titulo-parte1 {
  color: var(--negro);
}

.titulo-parte1 {
  position: relative;
  font-size: 1.7rem;
  font-weight: 600;
  display: inline-block;
}

.titulo-parte1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 80px;
  height: 0.35rem;
  border-radius: 4px;
  background: linear-gradient(90deg,
      var(--primario) 0%,
      rgba(0, 0, 0, 0) 100%);
}

.agenda-portada-header,
.portada-seccion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.agenda-portada-titulo,
.portada-seccion-titulo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.agenda-portada-icono,
.portada-seccion-icono {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6a9f3a, #5a8f2d);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.agenda-portada-icono svg,
.portada-seccion-icono svg {
  width: 24px;
  height: 24px;
  color: white;
}


.agenda-portada-boton .btn-secundario,
.portada-seccion-boton .btn-secundario {
  background-color: var(--primario);
  color: var(--blanco);
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s;
}

.agenda-portada-boton .btn-secundario:hover,
.portada-seccion-boton .btn-secundario:hover {
  background-color: #5a8f2d;
}
/* Contenedor general de la noticia destacada */
.contenedor_imagen_noticia_destacada {
  position: relative;
  width: 100%;
  height: 260px;              /* ajustá este alto si lo necesitás */
  overflow: hidden;
  border-radius: 10px;
  color: #ffffff;

  /* NUEVO: contenido apilado al fondo, tipo Figma */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 20px 24px;       /* espacio lateral e inferior para texto */
  text-align: left;
}

/* Si tiene <img> interno (caso 2 y 3) */
/* La imagen queda de fondo, detrás del texto, en TODAS las tarjetas */
.contenedor_imagen_noticia_destacada img {
  position: absolute;
  inset: 0;              /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* Oscurecer la imagen para que el texto se lea bien */
.contenedor_imagen_noticia_destacada::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

/* Todos los elementos de texto por encima del overlay */
.fecha-noticia-badge,
.titulo_noticia_1,
.titulo-noticia-secundaria,
.leer-mas-link {
  position: relative;
  z-index: 2;
}

/* Fecha en pastilla verde (ahora va arriba del título porque está primero en el HTML) */
.fecha-noticia-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 4px 10px;
  margin-bottom: 10px;      /* separación sobre el título */

  background-color: #22c55e; /* verde */
  border-radius: 999px;

  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

/* Títulos (principal y secundarios) */
.titulo_noticia_1,
.titulo-noticia-secundaria {
  margin: 0 0 6px;
  padding: 0;               /* quitamos el padding grande de antes */
  line-height: 1.2;
  color: #ffffff;
}

/* Título principal (noticia grande) */
.titulo_noticia_1 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* Títulos secundarios (noticias chicas) */
.titulo-noticia-secundaria {
  font-size: 2rem;
  font-weight: 600;
}

/* Enlace "Leer más" debajo del título, dentro del bloque de texto */
.leer-mas-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Pequeña animación al pasar el mouse */
.contenedor_imagen_noticia_destacada:hover .leer-mas-link {
  transform: translateX(3px);
  opacity: 0.9;
}

/* Opcional: que el cursor cambie sobre toda la tarjeta */
.noticia_principal a,
.noticias_secundarias a {
  display: block;
}

/* Un poco más de altura en pantallas grandes para la principal */
@media (min-width: 1200px) {
  .noticia_principal .contenedor_imagen_noticia_destacada {
    height: 320px;
  }
}

/* ===== Sección de Redes Sociales "Conectá con Devoto" ===== */
#social {
  background: #fafbfd;
}
.social-widget {
  background: #fafbfd;
  border-radius: 0;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: none;
}

.social-header {
  margin-bottom: 3rem;
}

.social-titulo {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.8rem 0;
}

.social-subtitulo {
  font-size: 1.4rem;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
}

.social-redes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-item:hover {
  transform: translateY(-3px);
}

.social-icono {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.6rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.social-item:hover .social-icono {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.social-nombre {
  font-size: 1.3rem;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.2s ease;
}

.social-item:hover .social-nombre {
  color: #1f2937;
}

/* Colores específicos para cada red social */
.social-facebook .social-icono {
  background: #1877f2;
}

.social-instagram .social-icono {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-youtube .social-icono {
  background: #ff0000;
}

.social-twitter .social-icono {
  background: #1da1f2;
}

/* Responsive */
@media (max-width: 768px) {
  .social-widget {
    padding: 3rem 2rem;
  }
  
  .social-titulo {
    font-size: 2.4rem;
  }
  
  .social-subtitulo {
    font-size: 1.3rem;
  }
  
  .social-redes {
    gap: 1rem;
  }
  
  .social-icono {
    width: 70px;
    height: 70px;
    font-size: 2.8rem;
  }
  
  .social-nombre {
    font-size: 1.3rem;
  }
}
