/* ==============================
   HERO COLOQUIO
   ============================== */

.coloquio-hero{
  width:100%;
  padding:90px 20px 70px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.coloquio-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.58),
    rgba(0,0,0,.42)
  );
  z-index:1;
}

.coloquio-overlay{
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      to bottom,
      rgba(15,23,42,.22),
      rgba(15,23,42,.08)
    );

  z-index:1;
}

.coloquio-inner{
  position:relative;
  z-index:2;
  max-width:1200px;
  margin:auto;
}

/* ==============================
   CABECERA / LOGO
   ============================== */

.logo-container{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:24px;
}

.logo-container img{
  width:120px;
  height:auto;
}

.colloquium-container{
  text-align:left;
}

.title{
  font-family:"Montserrat",sans-serif;
  font-size:clamp(34px, 5vw, 58px);
  font-weight:900;
  color:#fff;
  line-height:1;
}

.subtitle{
  font-family:"Raleway",sans-serif;
  font-size:clamp(22px, 3vw, 40px);
  font-weight:700;
  color:#17b890;
  margin-top:6px;
}

.description{
  font-size:clamp(18px, 2vw, 26px);
  color:#f1f1f1;
  margin-top:10px;
}

/* ==============================
   TEXTO INTRO / DESCRIPCIÓN
   ============================== */

.intro-text,
.coloquio-texto{
  position:relative;
  z-index:2;
  max-width:1100px;
  margin:40px auto 0;
  text-align:center;
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.45);
}

.intro-text{
  max-width:920px;
  font-size:18px;
  line-height:1.7;
}

.coloquio-texto p{
  color:#fff !important;
  font-size:20px;
  line-height:2;
  font-weight:400;
  letter-spacing:.2px;
  margin-bottom:28px;
}

.coloquio-texto p:last-child{
  margin-bottom:0;
}

/* ==============================
   GRID NOTICIAS
   ============================== */

.noticias-wrap{
  padding:70px 20px;
}

.noticias-contenedor{
  max-width:1300px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;
}

/* ==============================
   CARDS
   ============================== */

.noticias-item{
  position:relative;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(10px);
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 10px 30px rgba(0,0,0,.10);
  transition:all .35s ease;
}

.noticias-item:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.noticias-item img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.noticias-content{
  padding:24px 22px 70px;
}

.noticias-item h4{
  font-family:"Raleway",sans-serif;
  font-size:24px;
  font-weight:800;
  margin-bottom:14px;
  color:#111827;
}

.noticias-item p{
  font-size:15px;
  line-height:1.7;
  color:#374151;
}

.noticias-item::after{
  content:"";
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  width:90px;
  height:34px;
  background-image:url("../images/noticias/logo-ongitran.png");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  opacity:.75;
}

/* ==============================
   BOTÓN
   ============================== */

.btn-volver{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:50px;
  padding:16px 28px;
  border-radius:999px;
  background:linear-gradient(135deg,#17b890,#2f6df6);
  color:#fff;
  text-decoration:none;
  font-family:"Montserrat",sans-serif;
  font-weight:700;
  letter-spacing:.5px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  transition:.3s ease;
}

.btn-volver:hover{
  transform:translateY(-4px);
  color:#fff;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media(max-width:768px){

  .coloquio-hero{
    padding:70px 16px 50px;
  }

  .logo-container{
    flex-direction:column;
    text-align:center;
  }

  .colloquium-container{
    text-align:center;
  }

  .intro-text{
    font-size:16px;
  }

  .coloquio-texto p{
    font-size:16px;
    line-height:1.8;
  }

  .noticias-wrap{
    padding:45px 16px;
  }

  .noticias-item img{
    height:200px;
  }

}
.coloquio-hero .intro-text,
.coloquio-hero .intro-text p,
.coloquio-hero .coloquio-texto,
.coloquio-hero .coloquio-texto p{
  color:#ffffff !important;
  opacity:1 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.65);
}

.coloquio-hero .intro-text{
  max-width:980px;
  margin:45px auto 0;
  font-size:18px;
  line-height:1.85;
  font-weight:500;
}

.coloquio-hero .intro-text p{
  margin-bottom:22px;
}
/* ==============================
   GALERÍA COLOQUIOS
   ============================== */

.coloquio-gallery{
  max-width:1300px;
  margin:40px auto 0;

  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
}

.coloquio-gallery figure{
  margin:0;
  overflow:hidden;

  border-radius:20px;

  background:#fff;

  box-shadow:
    0 8px 24px rgba(0,0,0,.10);

  transition:all .35s ease;
}

.coloquio-gallery figure:hover{
  transform:translateY(-5px);
  box-shadow:
    0 18px 40px rgba(0,0,0,.16);
}

/* AQUÍ ESTÁ LA CLAVE */
.coloquio-gallery img{
  width:100%;
  height:260px;

  object-fit:cover;
  object-position:center;

  display:block;

  transition:transform .45s ease;
}

.coloquio-gallery figure:hover img{
  transform:scale(1.03);
}

/* Mobile */
@media(max-width:768px){

  .coloquio-gallery{
    grid-template-columns:1fr;
    gap:18px;
  }

  .coloquio-gallery img{
    height:auto;
    max-height:420px;
    object-fit:contain;
    background:#f5f5f5;
  }

}