/* ============================================================
   ASCOL CONVOCATORIAS — Bloque elegante
   Agregar la clase "ascol-convocatorias" al row wrapper
   ============================================================ */

/* ----- Fondo y espaciado del bloque ----- */
.ascol-convocatorias {
  background: linear-gradient(160deg, #f7f5f0 0%, #eeeae0 100%);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

/* Línea decorativa superior */
.ascol-convocatorias::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #c8102e, #a00c24);
  border-radius: 0 0 3px 3px;
}

/* Patrón sutil de fondo */
.ascol-convocatorias::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10,31,92,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ----- Encabezado ----- */
.ascol-convocatorias .gsc-heading {
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.ascol-convocatorias .gsc-heading__title span {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #0a1f5c;
  letter-spacing: -0.5px;
  line-height: 1.25;
  display: block;
  position: relative;
  padding-bottom: 18px;
}

/* Línea dorada bajo el título */
.ascol-convocatorias .gsc-heading__title span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: #c8a020;
}

.ascol-convocatorias .gsc-heading__desc p {
 
  font-size: 16px;
  font-weight: 300;
  color: #000;
  line-height: 1.75;
  max-width: 580px;
  margin: 16px auto 0;
}

/* ----- Columnas de imágenes ----- */
.ascol-convocatorias [class*="gsc-column"]:not(:first-child) {
  position: relative;
  z-index: 1;
  padding: 8px;
}

/* Wrapper de imagen */
.ascol-convocatorias .gsc-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow:
    0 2px 8px rgba(10, 31, 92, 0.08),
    0 12px 32px rgba(10, 31, 92, 0.12);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  background: #0a1f5c;
}

.ascol-convocatorias .gsc-image:hover {
  box-shadow:
    0 4px 16px rgba(10, 31, 92, 0.14),
    0 20px 48px rgba(10, 31, 92, 0.22);
  transform: translateY(-5px);
}

/* Imagen */
.ascol-convocatorias .gsc-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.45s ease, opacity 0.3s ease;
  opacity: 1;
}

.ascol-convocatorias .gsc-image:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}

/* Overlay degradado inferior */
.ascol-convocatorias .gsc-image a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 31, 92, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.ascol-convocatorias .gsc-image:hover a::after {
  opacity: 1;
}

/* Asegurar que el <a> sea el contenedor del overlay */
.ascol-convocatorias .gsc-image a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  outline-offset: 3px;
}

/* Ícono de flecha al hacer hover */
.ascol-convocatorias .gsc-image a::before {
  content: '→';
  position: absolute;
  bottom: 16px;
  right: 18px;
  z-index: 2;
  color: #ffffff;
  font-size: 20px;
  font-weight: 300;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  line-height: 1;
}

.ascol-convocatorias .gsc-image:hover a::before {
  opacity: 1;
  transform: translateX(0);
}

/* Borde dorado visible en hover */
.ascol-convocatorias .gsc-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.ascol-convocatorias .gsc-image:hover::after {
  border-color: rgba(200, 160, 32, 0.6);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .ascol-convocatorias {
    padding: 44px 0 52px;
  }

  .ascol-convocatorias [class*="gsc-column"]:not(:first-child) {
    padding: 6px 12px;
  }

  .ascol-convocatorias .gsc-image:hover {
    transform: none;
  }
}