/* Ajustes de fotografía: respetan los estilos y componentes originales. */
.resultados-fotos .recorte { border-radius: 7px; }
.resultados-fotos .recorte--grande { align-self: stretch; }
.resultados-fotos .recorte__foto { margin-bottom: 1rem; background: #ede8dd; border-radius: 5px; overflow: hidden; }
.resultados-fotos .recorte__foto img {
  display: block;
  height: 190px;
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  filter: none;
  background: #ede8dd;
}
.resultados-fotos .recorte--grande .recorte__foto img { height: 285px; }
.resultados-fotos .recorte--thomas .recorte__foto img { background: #1c254a; }
.resultados-fotos .recorte__foto figcaption {
  padding: 0.5rem 0.7rem;
  border-top: 1px solid #e4dfd3;
  font: 600 0.67rem/1.5 var(--font-body);
  color: #66645f;
  background: #fffaf0;
}
.resultados-fotos .recorte__foto figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.resultados-fotos .recorte__link { margin-top: 1rem; }
.resultados-fotos .recorte--libro {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  column-gap: 1.2rem;
  align-items: start;
}
.resultados-fotos .recorte--libro .recorte__medio { grid-column: 1 / -1; }
.resultados-fotos .recorte--libro .recorte__foto { grid-column: 1; grid-row: 2 / span 4; margin: 0; }
.resultados-fotos .recorte--libro .recorte__foto img { height: 165px; padding: 0.4rem; }
.resultados-fotos .recorte--libro .recorte__quien,
.resultados-fotos .recorte--libro .recorte__titular,
.resultados-fotos .recorte--libro .recorte__txt,
.resultados-fotos .recorte--libro .recorte__link { grid-column: 2; }
.imagen-fuente {
  display: block;
  margin: 0.45rem 0 0;
  font: 600 0.67rem/1.5 var(--font-body);
  color: var(--text-muted);
}
.imagen-fuente a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.imagen-real {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  background: #eee9df;
}
.foto-aprendizaje { position: relative; margin: 1.2rem 0; }
.foto-aprendizaje img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: contain; border-radius: var(--r-lg); background: #eae7df; }
.foto-aprendizaje figcaption { margin-top: 0.5rem; font: 600 0.71rem/1.5 var(--font-body); color: var(--text-muted); }
.foto-aprendizaje figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 980px) {
  .resultados-fotos .recorte--grande .recorte__foto img { height: 310px; }
}
@media (max-width: 600px) {
  .resultados-fotos .recorte__foto img,
  .resultados-fotos .recorte--grande .recorte__foto img { height: 225px; }
  .resultados-fotos .recorte--libro { grid-template-columns: 100px minmax(0, 1fr); column-gap: 0.8rem; }
  .resultados-fotos .recorte--libro .recorte__foto img { height: 150px; }
  .resultados-fotos .recorte--libro .recorte__foto figcaption { font-size: 0.6rem; padding: 0.4rem; }
}

/* Fotos educativas: contenido íntegro y textos debajo, no encima de rostros. */
.tile.tile--foto { display: flex; flex-direction: column; min-height: 0; }
.tile.tile--foto::after { display: none; }
.tile.tile--foto > img {
  position: relative;
  inset: auto;
  height: 220px;
  width: 100%;
  object-fit: contain;
  background: #192347;
  transform: none;
}
.tile.tile--foto .tile__txt { position: relative; inset: auto; flex: 1; }
.tile.tile--foto .imagen-fuente { color: #cbd3ed; margin-top: 0.8rem; }
.tile.tile--foto .imagen-fuente a { color: #ffffff; }
.etapa .thumb > img.imagen-educativa { object-fit: contain; object-position: center; background: #eae6df; }
.etapa .imagen-fuente { padding: 0 1rem; margin: 0.65rem 0 0; }
.club__visual .foto-aprendizaje { margin-top: 0; }
.club__visual .soroban { margin-top: 1.75rem; }
@media (max-width: 900px) { .club__visual { order: -1; } }
@media (max-width: 600px) { .tile.tile--foto > img { height: 220px; } }
