body {
  line-height: 1.25;
  font-size: 16px;
}

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

.logo {
  max-width: 576px;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: inherit;
  font-weight: bold;
}

h6 {
  font-size: 1em;
}

h5 {
  font-size: 1.25em;
}

h4 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.75em;
}

h2 {
  font-size: 2em;
}

h1 {
  font-size: 2.5em;
}

.content-html {
  line-height: 1.75;
}
.content-html > * {
  margin: 0;
}
.content-html > *:not(:first-child) {
  margin-top: 1em;
}
.content-html img {
  max-width: 360px;
  width: 100%;
  height: auto;
}

.img-thumbnail {
  border-radius: 0;
  padding: 1px;
}

.img-absolute {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}

.img-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider {
  color: #fff;
  background: url("../img/bg.jpg") top center no-repeat;
  background-size:  cover;
  background-color:  #fff; /* Color de fondo de relleno si sobra espacio */
  text-transform: uppercase;
}
.slider .title {
  display: flex;
  align-items: center;
}
.slider .title img {
  max-height: 100px;
  max-width: auto;
  margin-left: auto;
  filter: brightness(0) invert(1);
}
.slider .content-html {
  font-size: 1.5em;
}
.slider .content-html > *:not(:first-child) {
  margin-top: 0.5em;
}
.slider h6 {
  color: #2592c4;
}

.alert {
  line-height: inherit;
  text-transform: initial;
  text-align: center;
}

.footer {
  background: #25408f;
  color: #fff;
}

a, a:hover, a:active, a:focus {
  color: inherit;
}

.novedades {
  color: #fff;
  background: url("../img/novedades.jpg") top center no-repeat;
  background-size: cover;
}
.novedades .content-html img {
  margin-left: auto;
  margin-right: auto;
}

.edicion-anterior {
  color: #fff;
  background: url("../img/bg4.jpg") top center no-repeat;
  background-size: cover;
}
.edicion-anterior .content-html {
  text-align: center;
}
.edicion-anterior .content-html > *:not(:first-child) {
  margin-top: 0;
}

.agenda {
  color: #fff;
  background: url("../img/agenda.jpg") top center no-repeat;
  background-size: cover;
}
.agenda .content-html {
  font-size: 1.1em;
  counter-reset: paragraph-counter;
}
.agenda .content-html p {
  counter-increment: paragraph-counter;
  display: flex;
}
.agenda .content-html p::before {
  content: "0" counter(paragraph-counter);
  font-weight: bold;
  margin-right: 1em;
  font-size: 1.1em;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #fff;
}

.btn {
  font: inherit;
  padding: 1em;
  font-weight: bold;
  text-transform: uppercase;
}
.btn.btn-secondary {
  background-color: #964ebe;
  border-color: #964ebe;
  color: #fff;
}

#navbar-main {
  padding: 30px 0;
}
#navbar-main .nav-link {
  text-transform: uppercase;
  font-size: 1.25em;
}

.google-map {
  padding-bottom: 35%;
  position: relative;
}

.google-map iframe {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
}
.slider,
.novedades,
.edicion-anterior,
.agenda {
    min-height: 100vh;
}

/* === Ajustes mobile para slide 2 (.novedades) y slide 3 (.agenda) === */
@media (max-width: 576px) {
  /* que el fondo no se “desplace” raro y muestre la parte superior */
  .slider,
  .novedades,
  .agenda {
    background-position: center top;
    background-size: cover; /* mantené cover para que no se deforme */
  }

  /* empujar el contenido hacia abajo y dar respiración abajo */
  .novedades .container,
  .agenda .container {
    padding-top: 18vh;   /* mueve el bloque hacia abajo */
    padding-bottom: 6vh; /* evita que quede pegado al borde inferior */
  }

  /* legibilidad en móvil */
  .novedades .content-html,
  .agenda .content-html {
    font-size: 1.05em;
    line-height: 1.45;
    margin: 0 5%;        /* un poco de margen lateral */
  }
}
/* === Mobile: reducir alto de los slides y paddings === */
@media (max-width: 576px) {
  /* 1) No fuerces altura completa en móvil */
  .slider,
  .novedades,
  .agenda,
  .edicion-anterior {
    min-height: auto;
  }

  /* 2) Paddings razonables en el propio section */
  .novedades,
  .agenda {
    padding-top: 16px !important;   /* pisa py-6 */
    padding-bottom: 16px !important;
    margin-top: 0 !important;
    background-position: center top;
    background-size: cover;
  }

  /* 3) Un poco de aire al contenido, sin excederse */
  .novedades .container,
  .agenda .container {
    padding-top: 4vh;     /* antes 18vh */
    padding-bottom: 2vh;
  }

  /* 4) Legibilidad */
 .novedades .content-html h1,
  .novedades .content-html h2,
  .agenda .content-html h1,
  .agenda .content-html h2 {
    font-size: clamp(1.4rem, 3.8vw + 0.4rem, 2rem); /* sube título en móvil */
    line-height: 1.2;
    margin-bottom: .6rem;
  }

  .novedades .content-html p,
  .agenda .content-html p {
    font-size: clamp(1rem, 3.2vw + 0.2rem, 1.15rem); /* sube párrafos */
    line-height: 1.5;
    margin: 0 0 .75rem 0;
  }

  /* 4) Un poquito de margen lateral para respirar */
  .novedades .content-html,
  .agenda .content-html {
    margin: 0 6%;
  }
}
@media (max-width: 576px) {
  /* Si el logo es un <img> dentro del título del slider (slide 1) */
  .slider .title img {
    max-height: 40px !important;  /* antes 100px */
  }

  /* Si ese <img> también usa class="logo", limitá su ancho en mobile */
  .slider .title .logo {
    max-width: 160px !important;   /* ajustá a gusto: 200–280px suele ir bien */
    width: 100%;
    height: auto;
  }
}

/*  .slider .title,
.slider .content-html,
.slider .card-group 
 {
    display: none !important;
}
.novedades .content-html {
    display: none !important;
}
.agenda h3,
.agenda .content-html {
    display: none !important;
}
.edicion-anterior h3,
.edicion-anterior .img-absolute,
.edicion-anterior .content-html {
    display: none !important;
}*/
/*
@media screen and (max-width: 576px) {
  .edicion-anterior .embed-responsive::before {
    content: none;
  }
  .edicion-anterior .embed-responsive .img-absolute {
    position: static;
  }
  
}*/
/* @media screen and (max-width: 576px) {
  .novedades,
  .agenda {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
  }

  .novedades,
  .agenda {
    min-height: 100vh; /* Mantiene altura en pantalla 
  }
} */


/*# sourceMappingURL=style.css.map */
