/* Fotos del Simposio: tarjetas por día (inicio y /fotos) */
.fcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  margin-top: clamp(28px, 4vw, 44px)
}

@media(max-width:760px) {
  .fcards {
    grid-template-columns: minmax(0, 1fr)
  }
}

.fcard {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px -28px rgba(0, 35, 82, .35)
}

.fcard-thumb {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1.5px solid var(--line)
}

.fcard-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .4s
}

a.fcard-thumb:hover img {
  transform: scale(1.04)
}

.fcard-empty {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr
}

.fcard-empty span {
  font-family: 'Yellowtail', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent)
}

.fcard-body {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: start;
  padding: 22px 24px 26px
}

.fcard h3 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.1
}

.fcard-body .btn {
  margin-top: 6px
}

.fcard-soon {
  box-shadow: none
}

.fcard-soon .fcard-body {
  opacity: .8
}

/* Encuadre: caras arriba en las fotos verticales */
.fcard-thumb img:nth-child(1),
.fcard-thumb img:nth-child(4) {
  object-position: center top
}

/* Galería del inicio */
.fgal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 16px);
  margin-top: clamp(28px, 4vw, 44px)
}

@media(max-width:760px) {
  .fgal {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

.fgal img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  box-shadow: 0 18px 50px -28px rgba(0, 35, 82, .35)
}

.fgal-cta {
  margin-top: clamp(22px, 3vw, 32px);
  justify-content: center
}

/* Skeleton: brillo suave mientras carga cada foto */
.fgal img,
.fcard-thumb img {
  background: linear-gradient(100deg, var(--bg-alt) 30%, #fff 50%, var(--bg-alt) 70%) 0 0 / 250% 100%;
  animation: fskel 1.4s linear infinite
}

@keyframes fskel {
  to {
    background-position: -150% 0
  }
}

@media (prefers-reduced-motion: reduce) {
  .fgal img,
  .fcard-thumb img {
    animation: none
  }
}

/* Encuadre de las miniaturas del sábado (fotos verticales en celdas anchas) */
.fcard-sab .fcard-thumb img:nth-child(1) {
  object-position: center 30%
}

.fcard-sab .fcard-thumb img:nth-child(3) {
  object-position: center 4%
}

.fcard-sab .fcard-thumb img:nth-child(4) {
  object-position: center 42%
}
