body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
  color:  #1b225f;
  overflow-x: hidden;
}

p {
  line-height: 1.5;
}

.navbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: #ffffff;
  padding: 15px 0;
  width: 100%;
}

.logo {
  width: 22vw;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color:  #1b225f;
  text-decoration: none;
  font-size: 1.2vw;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;            
  width: 0;                  
  height: 0.5px;               
  background-color: #606060; 
  transition: width 0.4s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
  margin-bottom: 3%;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #1b225f;
  border-radius: 2px;
}

/* SECCIÓN DE PRENSA */
.press-section {
  background: #ffffff;
  color: #ffffff;
  padding: 60px 20px;
  font-family: "Montserrat", sans-serif;
}

.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  text-align: center;
  color:  #372e79;
  font-size: 1.8vw;
  margin-bottom: 24px;
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.column-title {
  color: #1b225f;
  font-size: 1vw;
  margin-bottom: 12px;
}

.press-card, .video-card {
  background: #1b225f;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(55,46,121,0.06);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s ease; 
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 16px;
}

.press-card:hover, .video-card:hover {
  box-shadow: 0 12px 30px rgba(55,46,121,0.09);
}

.press-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.35s ease;
  height: 100%;
}

.video-meta {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  transition: transform 0.35s ease;
  height: 25%;
}
.video-meta strong{
  font-size: 1vw;
}

.press-card:hover .press-card-body,
.video-card:hover .video-meta {
  transform: translateY(-2px); 
}


.press-source { color: #ffffff; font-weight:700; display:block; font-size:1.2vw;}
.press-title  { color: #ffffff; font-weight:600; font-size:1.1vw; display:block; margin-top:4px; }

.read-link {
  color: #46ba43;
  font-weight: 700;
  text-decoration: none;
  font-size: 1vw;
  position: relative;
  transition: color 0.3s ease;
  width: fit-content;
  margin-top: auto;
}
.read-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 1px;
  background-color: #cbf3ca;
  transition: transform 0.3s ease;
}

.read-link:hover {
  color: #cbf3ca;
}

.read-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.press-link{
  text-decoration: none;
}

/*VIDEO THUMB */
.video-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;   /* <-- mantiene tamaño constante */
  width: 100%;
}


.video-thumb img,
.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* llena sin deformar */
  display: block;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: rgba(27,34,95,0.85);
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 6px 18px rgba(27,34,95,0.25);
  transition: transform .18s ease;
  z-index: 10;
  cursor: pointer;
}

.video-thumb:hover .play-btn { transform: translate(-50%,-50%) scale(1.05); }

/*ANIMACIONES*/
.fade-item { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: all .6s cubic-bezier(.2,.9,.2,1); 
}
.fade-item.show { opacity: 1; transform: translateY(0); }

/* NUEVO GRID - PRENSA ESCRITA */
.press-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 28px;
  margin-top: 30px;
}

/* NUEVO GRID - MULTIMEDIA */
.video-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}



/*RESPONSIVE*/
@media screen and (min-width: 0px) and (max-width: 768px){
  main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .navbar {
    flex-direction: column;
    align-items: stretch;
    position: relative;
    margin-top: 3%;
    margin-bottom: 3%;
  }

  .nav-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    z-index: 1;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    cursor: pointer;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    margin-bottom: 0;
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1b225f;
    border-radius: 2px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .nav-links a {
    font-size: 5vw;
  }

  .nav-links.active {
    display: flex;
    margin-top: 3%;
  }

  .press-grid { grid-template-columns: 1fr; }
  .container { padding: 0 12px; }
  .section-title { font-size: 7vw; }
  .play-btn { width:48px; height:48px; font-size:18px; }

  .press-grid-cards,
  .video-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-columns: 1fr;
  }

  .press-source { color: #ffffff; font-weight:700; display:block; font-size:5vw;}
  .press-title  { color: #ffffff; font-weight:600; font-size:4vw; display:block; margin-top:4px; }
  .read-link { color: #46ba43; font-weight: 700; text-decoration: none; font-size: 3.8vw; position: relative; transition: color 0.3s ease; width: fit-content; margin-top: auto;}
  .video-meta strong{ font-size: 4vw;}
}
