*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Instrument Sans", sans-serif;
}

html{
    scroll-behavior: smooth;
}

.header{
    min-height: 80vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(/Imagenes/NuevaPagina/amantes.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 115px; 
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #bb8800;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}


.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0px 40px;
    font-size: 14px;
    color: #fff;
}

.button {
  padding: 1em 2em;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 5px;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  transition: all 1000ms;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  outline: 2px solid #fff;
  background: transparent;
}

button:hover {
  color: #ffffff;
  transform: scale(1.1);
  outline: 2px solid #bb8800;
  box-shadow: 4px 5px 17px -4px #bb8800;
}

button::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #bb8800;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 1000ms;
}

button:hover::before {
  width: 250%;
}

/*---Tema del Mes---*/
.tema{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 4px;
}
p{
    color: #bb8800;
    font-size: 40px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

@media (max-width: 768px) {
  .tema h1{
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 4px;
  }
  .tema p{
     color: #bb8800;
    font-size: 35px;
    font-weight: 300;
    line-height: 40px;
    padding: 10px;
  }
}

/*---Tarjetas Podcast y Encuesta---*/
.destacados {
  width: 90%;
  max-width: 1200px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  
.destacado {
  height: 260px;
}

.destacado-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 30px;
}
}

.destacado-bg.podcast {
  background-image: url("/Imagenes/NuevaPagina/Podcast.jpg");
}

.destacado-bg.encuesta {
  background-image: url("/Imagenes/NuevaPagina/encuesta.jpg");
}

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

  .destacado {
    height: 220px;
  }
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.layer h3{
    color: #fff;
    text-shadow: 5px 5px 7px #000000;
    text-align: center;
}
.layer p{
  text-align: center;
  font-size: 20px;
  color: #fff;
  text-shadow: 5px 5px 7px #000000;
}
.layer a{
  text-decoration: none;
}

.layer:hover{
background: rgba(0,61,100,0.7);
}

/*---Multimedia/Archivo---*/
.media-archivo {
  width: 100%;
  padding: 80px 0;
  background: #f4f4f4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
}

.media-bloque {
  width: 90%;
  max-width: 560px;
  margin: auto;
  text-align: center;
}

.media-bloque h2 {
  font-size: 36px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.media-bloque p{
  font-size: 25px;
  line-height: 30px;
}

.carousel{
    width: 500px;
    height: auto;
    margin: 50px auto 0;
    overflow: hidden;
}
.carousel ul{
    display: flex;
    padding: 0;
    width: 200%;
    animation: slide 15s infinite alternate ease-in-out;
}
.carousel li{
    width: 100%;
    list-style: none;
    position: relative;
}
.carousel img{
    width: 100%;
    object-fit: contain;
}
@keyframes slide{
    0% {margin-left: 0%;}
    20% {margin-left: 0%;}

    50% {margin-left: -100%;}
    100% {margin-left: -100%;}
}

@media (max-width: 768px) {
  .carousel {
    height: 300px;
    width: 325px;
  }
}

.archivo-lista {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.archivo-lista li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}
.archivo-lista a{
  text-decoration: none;
}

.media-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #003d64;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.media-link:hover {
  color: #bb8800;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .media-archivo {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .media-bloque h2 {
    font-size: 28px;
  }
  .media-driver{
    display: none;
  }
}

.media-driver{
  width: 1px;
  height: 280px;
  background: rgba(0,0,0,0.45);
}
 
/*---Footer---*/
 .footer{
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: rgba(0,61,100,2);
 }
 .footer h4{
    color: #fff;
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 30px;
 }
 .footer p{
    color: #bb8800;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.icons{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    width: 150px;
    display: flex;
    justify-content: center;
    padding: 0px 0px 0px 20px;
}
.logo img{
    max-width: 100%;
    height: auto;
}
.logo-group{
    display: flex;
    gap: 0px;
    align-items: center;
}
.logo.small img{
   width: 35px;
}

/*Menu Hamburguesa*/
.menu-toggle{
    display: none;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    z-index: 1003;
    transform: transform 0.3s ease;
}
.menu-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,61,100,0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1001;
}

/*---Responsive-Celulares---*/
@media (max-width: 768px){
    nav{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .nav a img{
        width: 80px;
    }
    .nav-links{
        text-align: center;
    }
    .nav-links ul li{
        display: block;
        padding: 10px 0;
    }
    .text-box h1{
        font-size: 36px;
    }
    .text-box p{
        font-size: 16px;
    }
    h1{
        font-size: 32px;
    }
    p{
        font-size: 22px;
    }
    .row{
        flex-direction: column;
        align-items: center;
    }
    .tarjetas-col{
        width: 90%;
        height: 350px;
    }
    .card-container{
        width: 95%;
    }
    .card{
        height: auto;
    }
    .card-img{
        position: relative;
        width: 100%;
        height: auto;
    }
    .card-textbox{
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
        padding: 15px;
        top: 0;
    }
    .card-textbox::before,
    .card-textbox::after{
        display: none;
    }
    .card-description{
        height: auto;
    }
    .slider-box{
        width: 95%;
    }
    .icons{
        flex-direction: column;
        gap: 20px;
    }
    .icons > .logo{
        order: 1;
    }
    .logo-group{
        order: 2;
    }
    .logo{
        padding: 0;
    }
    .menu-toggle{
        display: block;
    }
    .nav-links{
       position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(0,0,0,0.95);
        padding-top: 100px;
        transition: right 0.4s ease;
        z-index: 1002;
    }
    .nav-links ul{
        padding-left: 30px;
    }
    .nav-links ul li{
        display: block;
        margin: 25px 0;
    }
    .nav-links ul li a{
        font-size: 22px;
        color: #fff;
    }
    .nav-links.active{
        right: 0;
    }
    .menu-overlay.active{
        opacity: 1;
        visibility: visible;
    }
    .menu-toggle.active{
        transform: rotate(90deg);
    }
}

/*---Publicaciones---*/
.publicacionhome {
  width: 100%;
  padding: 80px 0;
  background: #f7f7f7;
}

.publicacionhomec {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.Juvimg img {
  width: 100%;
}

.publicacion-texto h2 {
  font-size: 42px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.publicacion-texto h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #bb8800;
}

.publicacion-texto h4 {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  margin-bottom: 15px;
}

.publicacion-texto p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
  text-align: justify;
}

.btn-publicaciones {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #003d64;
  color: #003d64;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-publicaciones:hover {
  background: #003d64;
  color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
  .publicacionhomec {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .publicacion-texto h2 {
    font-size: 28px;
  }

  .publicacion-texto h3 {
    font-size: 22px;
  }

  .publicacion-imagen img {
    max-width: 280px;
  }
}


/*---Subtítulo de Multimedia---*/
.section-sub{
    font-size: 22px;
    color: #bb8800;
    font-weight: 300;
    text-align: center;
    max-width: 900px;
    margin: 10px auto 40px;
}

/*------ Pagina de Conoce Mas ------*/
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/Enlacama.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 60px;
}
@media (min-width: 768px) {
  .sub-header{
    background-position: center 20%;
  }
  .sub-header h1{
    margin-top: 35px;
  }
}

.que-es {
  width: 100%;
  max-width: 100%;
  padding: 80px 0;
  background: #f7f7f7;
}
.que-es-contenedor {
  width: 90%;
  max-width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
.que-es-texto p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
}
.que-es-fotos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 100%;
}
.que-es-fotos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .que-es-contenedor {
    grid-template-columns: 1.2fr 1fr;
  }

  .que-es-texto h2 {
    font-size: 46px;
  }

  .que-es-fotos img {
    height: 200px;
  }
  .que-es-fotos{
    grid-template-columns: repeat(3,1fr);
  }
}

.participante {
  text-align: center;
  width: 100%;
}
.participante img {
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.participante h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}


/*------ diseño de Articulos ------*/
.articulos-home {
  width: 90%;
  max-width: 1200px;
  margin: 80px auto;
}

.articulos-home h2 {
  text-align: center;
  font-size: 42px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.articulos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.articulo-home img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 15px;
}

.articulo-home-texto {
  padding: 0 5px;
}

.articulo-fecha {
  font-size: 13px;
  letter-spacing: 1px;
  color: #888;
}

.articulo-home-texto h3 {
  font-size: 22px;
  margin: 10px 0;
}

.articulo-home-texto p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: justify;
}

.articulo-home-texto a {
  position: relative;
  text-decoration: none;
  color: #003d64;
}

.articulo-home-texto a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #bb8800;
  transition: width 0.3s ease;
}

.articulo-home-texto a:hover::after {
  width: 100%;
}




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

  .articulos-home h2 {
    font-size: 28px;
  }

  .articulo-home img {
    height: 180px;
  }
}

/*------ Pagina de Directorio ------*/
.headerdirec{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/Lutero.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.headerdirec h1{
    margin-top: 50px;
}
@media (min-width: 768px) {
  .headerdirec{
    background-position: center 20%;
  }
  .headerdirec h1{
    margin-top: 15px;
  }
}

/* Sección directorio */
.directorio-lista {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.directorio-lista h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
}

.persona {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid #ddd;
}

.persona:last-child {
  border-bottom: none;
}

.persona img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.persona .info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.persona .info span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color:  #003d64;
  margin-bottom: 8px;
}

.persona .info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 600px) {
  .persona {
    flex-direction: column;
    text-align: center;
  }

  .persona img {
    margin-bottom: 10px;
  }
}

/*------ Pagina de Publicaciones ------*/
.headerpubli{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/LasLectoras.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.headerpubli h1{
    margin-top: 50px;
}
.headerpubli p{
  margin: 10px 0px 40px;
  font-size: 12px;
  color: #fff;
}
@media (min-width: 768px) {
  .headerpubli{
    background-position: center 60%;
  }
  .headerpubli h1{
    margin-top: 15px;
  }
  .headerpubli p{
    font-size: 24px;
  }
}

.publicacion-destacada {
  max-width: 1100px;
  margin: 0 auto 120px;
  margin-top: 50px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.publicacion-img img {
  width: 100%;
  max-width: 420px;
}

.publicacion-info h2 {
  font-size: 20px;
  margin-bottom: 8px;
  margin-top: 10px;
}

.publicacion-info h4 {
  font-weight: normal;
  color: #666;
  margin-bottom: 20px;
}

.publicacion-info p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
  text-align: justify;
}

.btn-publicacion {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #003d64;
  border-radius: 20px;
  color: #003d64;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-publicacion:hover {
  background: #003d64;
  color: #fff;
}

.lista-publicaciones {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 0 20px;
}

.item-publicacion {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.item-publicacion img {
  width: 100%;
}

.item-texto h3 {
  margin-bottom: 6px;
}

.item-texto h4 {
  font-weight: normal;
  color: #666;
  margin-bottom: 12px;
}

.item-texto p {
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 20px;
}

.item-texto a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
}

@media (max-width: 768px) {
  .publicacion-destacada {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .publicacion-img img {
    margin: 0 auto;
  }

  .item-publicacion {
    grid-template-columns: 1fr;
  }
}

/*------ Pagina del Prologo de Opus Dei ------*/
.headerOpus{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/LibroOpus.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.headerOpus h1{
    margin-top: 50px;
    font-size: 20px;
}
.headerOpus p{
  margin: 10px 0px 40px;
  font-size: 17px;
  color: #fff;
}
@media (min-width: 768px) {
  .headerOpus{
    background-position: center 83%;
  }
  .headerOpus h1{
    font-size: 30px;
    margin-top: 15px;
  }
  .headerOpus p{
    font-size: 22px;
  }
}

.prologotitulo {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #bb8800;
  text-align: center;
}
.prologotexto {
  width: 90%;
  max-width: 100%;
  margin: auto;
  align-items: center;
}
.prologotexto p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 2px;
  text-align: justify;
}
.prologopie{
  width: 90%;
  max-width: 100%;
  margin: auto;
  align-items: center;
}
.prologopie p{
 font-size: 13px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 2px;
  text-align: center;
}

/*------ Pagina del Estudio America ------*/
.headerAme{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/LibroAmerica.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.headerAme h1{
    margin-top: 30px;
    font-size: 20px;
}
.headerAme p{
  margin: 10px 0px 40px;
  font-size: 17px;
  color: #fff;
}
@media (min-width: 768px) {
  .headerAme{
    background-position: center 15%;
  }
  .headerAme h1{
    font-size: 20px;
    margin-top: 15px;
  }
  .headerAme p{
    font-size: 15px;
  }
}
.estudiotitulo{
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #bb8800;
  text-align: center;
}
.estudiotexto {
  width: 90%;
  max-width: 100%;
  margin: auto;
  align-items: center;
}
.estudiotexto p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 2px;
  text-align: justify;
}
.estudiopie1{
  width: 90%;
  max-width: 100%;
  margin: auto;
  align-items: center;
}
.estudiopie1 p{
 font-size: 20px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 2px;
  text-align: left;
}

.estudiopie2{
  width: 90%;
  max-width: 100%;
  margin: auto;
  align-items: center;
}
.estudiopie2 p{
 font-size: 15px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 2px;
  text-align: center;
}

/*------ Pagina del Intro Estudios ------*/
.headerEstudio{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/LibroEstudios.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.headerEstudio h1{
    margin-top: 30px;
    font-size: 20px;
}
.headerEstudio p{
  margin: 10px 0px 40px;
  font-size: 17px;
  color: #fff;
}
@media (min-width: 768px) {
  .headerEstudio{
    background-position: center 55%;
  }
  .headerEstudio h1{
    font-size: 40px;
    margin-top: 15px;
  }
  .headerEstudio p{
    font-size: 35px;
  }
}
.introtitulo{
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #bb8800;
  text-align: center;
}
.introtexto {
  width: 90%;
  max-width: 100%;
  margin: auto;
  align-items: center;
}
.introtexto p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 2px;
  text-align: justify;
}
.intropie{
  width: 90%;
  max-width: 100%;
  margin: auto;
  align-items: center;
}
.intropie p{
 font-size: 20px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 2px;
  text-align: left;
}

/*------ Pagina de Multimedia ------*/
.headermultimedia{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/GaleríaLeopoldo.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.headermultimedia h1{
    margin-top: 50px;
}
.headermultimedia p{
  margin: 10px 0px 40px;
  font-size: 15px;
  color: #fff;
}
@media (min-width: 768px) {
  .headermultimedia{
    background-position: center 60%;
  }
  .headermultimedia h1{
    margin-top: 15px;
  }
  .headermultimedia p{
    font-size: 15px;
  }
}
/* PROGRAMA */
.programa {
  max-width: 1100px;
  margin: 0 auto 140px;
  padding: 0 20px;
}

.programatitulo {
  max-width: 700px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.programatitulo h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.programatitulo p {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 30px;
}

.capitulo {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.capitulo-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.capitulo-info h3 {
  margin-bottom: 12px;
}

.capitulo-info p {
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 16px;
  color: #003d64;
}

.multimedia-divider{
  width: 900px;
  height: 1px;
  background: rgb(0, 0, 0, 0.15);
  margin: 80px auto;
}

@media (max-width: 768px) {
  .capitulo {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .capitulo-info {
    text-align: center;
  }
  .multimedia-divider{
    width: 300px;
    margin: 50px auto;
  }
}

.capitulo-media iframe {
  position: left;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*------ Pagina de Eventos ------*/
.headereventos{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/CleopatraMarcoAntonio.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.headereventos h1{
    margin-top: 50px;
    font-size: 40px;
}
.headereventos p{
  margin: 10px 0px 40px;
  font-size: 15px;
  color: #fff;
}
@media (min-width: 768px) {
  .headereventos{
    background-position: center 25%;
  }
  .headereventos h1{
    margin-top: 15px;
    font-size: 50px;
  }
  .headereventos p{
    font-size: 20px;
  }
}

.eventos {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.eventos h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
}

.evento {
  display: flex;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid #ddd;
  align-items: center;
}

.evento:last-child {
  border-bottom: none;
}

.evento-img{
  width: 400px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid #ccc;
}

.fecha {
  min-width: 90px;
  text-align: center;
  color: #003d64;
}

.fecha .dia {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.fecha .mes {
  font-size: 0.85rem;
  font-weight: 600;
}

.fecha .anio {
  font-size: 0.8rem;
  color: #bb8800;
}

.detalle h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.detalle p {
  font-size: 0.95rem;
  text-align: justify;
  line-height: 1.5;
  color: #555;
}

.vermas{
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #003d64;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0,2s ease;
}
.vermas:hover{
  border-bottom-color: #003d64;
}

@media (max-width: 768px) {
  .evento {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .evento-img{
    width: 100%;
    height: 160px;
  }

  .fecha {
    text-align: left;
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .fecha .dia {
    font-size: 1.5rem;
  }
}

/*------ Pagina de Presentación del INEHRM ------*/
.headerpresentacion{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(/Imagenes/NuevaPagina/INEHREM.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.headerpresentacion h1{
    margin-top: 50px;
    font-size: 23px;
}
.headerpresentacion p{
  margin: 10px 0px 40px;
  font-size: 15px;
  color: #fff;
}
@media (min-width: 768px) {
  .headerpresentacion{
    background-position: center 30%;
  }
  .headerpresentacion h1{
    margin-top: 15px;
    font-size: 40px;
  }
  .headerpresentacion p{
    font-size: 15px;
  }
}

.articulo-contenedor {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  line-height: 1.6;
}

.titulo-articulo {
  font-size: 20px;
  font-weight: 700;
  text-align: justify;
  letter-spacing: 3px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.meta-info {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 18px;
}

.meta-info .fecha::after {
  content: " | ";
}

.meta-info span {
  font-weight: 400;
}
.meta-info span a{
  text-decoration: none;
  color: #003d64;
}

.img-destacada {
  margin: 20px 0;
}

.img-destacada img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

figure figcaption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.contenido-articulo h2 {
  margin-top: 28px;
  font-size: 20px;
  color: #333;
}

.contenido-articulo p {
  margin-bottom: 18px;
  font-size: 17px;
  text-align: justify;
  color: #000;
}
@media (min-width: 768px) {
  .titulo-articulo{
    font-size: 27px;
    letter-spacing: 3px;
  }
}