/* Fotografías de las clases y la comunidad EPOK. */
.epok-photo {
  display:block;
  max-width:100%;
  object-fit:cover
}
.photo-clase-pintura {
  object-position:50% 24%
}
.photo-arte-infantil {
  object-position:50% 39%
}
.photo-creatividad {
  object-position:48% 35%
}
.photo-taller-pintura {
  object-position:50% 33%
}
.photo-taller-adultos {
  object-position:50% 42%
}
.photo-dibujo-anime {
  object-position:50% 54%
}
.photo-ninos-creando {
  object-position:50% 43%
}
.photo-programa-permanente {
  object-position:50% 40%
}
.photo-acompanamiento {
  object-position:50% 38%
}
.photo-obras-estudiantes {
  object-position:50% 42%
}
.photo-logros {
  object-position:50% 37%
}
.photo-familias {
  object-position:50% 36%
}
.hero-art>.epok-photo {
  object-position:50% 24%
}
.hero-art .photo-overlay {
  background:linear-gradient(0deg,rgba(36,32,61,.93),rgba(36,32,61,.12) 45%,transparent 72%)
}
.epok-moments {
  border-top:1px solid #e2dfed;
  border-bottom:1px solid #e2dfed
}
.epok-moments .section-head>p {
  max-width:300px
}
.moments-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px
}
.moment-card {
  margin:0;
  padding:12px 12px 24px;
  border-radius:24px;
  background:#fcf1d2;
  overflow:hidden
}
.moment-card:nth-child(2) {
  background:#e8f5fb
}
.moment-card:nth-child(3) {
  background:#f3e5ee
}
.moment-card img {
  width:100%;
  height:330px;
  border-radius:16px
}
.moment-card figcaption {
  padding:20px 10px 0;
  line-height:1.5
}
.moment-card figcaption strong {
  display:block;
  font:600 21px/1.3 'Space Grotesk',sans-serif;
  letter-spacing:-.02em
}
.moment-card figcaption span {
  display:block;
  color:#666477;
  font-size:14px;
  margin-top:10px
}
.moments-link {
  display:inline-block;
  margin-top:30px
}
.community-photo {
  margin:32px 0 40px
}
.community-photo img {
  width:100%;
  height:auto;
  border-radius:24px
}
.community-photo figcaption,.community-family-photo figcaption,.method-class-photo figcaption {
  color:#777487;
  font-size:12px;
  margin-top:12px
}
.community-family-photo {
  margin:0 0 26px
}
.community-family-photo img {
  width:100%;
  height:350px;
  border-radius:18px
}
.community-family-photo .photo-acompanamiento {
  object-position:50% 34%
}
.method-class-photo {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
  margin-top:48px;
  padding:28px;
  background:#e8f5fb;
  border-radius:24px
}
.method-class-photo figure {
  margin:0;
  min-width:0
}
.method-class-photo img {
  width:100%;
  height:390px;
  border-radius:16px
}
.method-class-photo .eyebrow {
  margin-bottom:16px
}
.method-class-photo h3 {
  font-size:clamp(1.6rem,2.5vw,2rem);
  letter-spacing:-.03em
}
.method-class-photo p {
  margin-top:20px
}
.onsite-card-photo .photo-arte-infantil {
  object-position:50% 45%
}
.onsite-card-photo .photo-dibujo-anime {
  object-position:50% 48%
}
@media(max-width:950px) and (min-width:701px) {
  .moments-grid {
    gap:16px
  }
  .moment-card img {
    height:270px
  }
  .moment-card figcaption {
    padding:16px 4px 0
  }
  .moment-card figcaption strong {
    font-size:18px
  }
}
@media(max-width:700px) {
  .moments-grid {
    grid-template-columns:1fr;
    gap:24px
  }
  .moment-card img {
    height:360px
  }
  .method-class-photo {
    grid-template-columns:1fr;
    gap:26px;
    padding:20px
  }
  .method-class-photo img {
    height:360px
  }
  .community-family-photo img {
    height:340px
  }
  .community-photo {
    margin-top:26px;
    margin-bottom:30px
  }
}
@media(max-width:400px) {
  .moment-card img {
    height:310px
  }
  .community-family-photo img,.method-class-photo img {
    height:300px
  }
}
/* Imágenes en alianzas educativas y el resto de las páginas públicas. */
.page-photo-layout {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  gap:42px;
  align-items:start;
  margin-top:32px
}
.page-photo-copy {
  min-width:0
}
.page-photo-copy>p {
  margin-top:20px;
  max-width:none
}
.page-photo-copy>p:first-child {
  margin-top:0
}
.page-photo-copy .institution-actions,.page-photo-copy .service-actions {
  gap:18px
}
.page-photo-copy .button {
  white-space:normal;
  text-align:center
}
.page-intro-photo {
  margin:0;
  min-width:0;
  padding:12px 12px 18px;
  background:#e8f5fb;
  border-radius:24px
}
.page-intro-photo img {
  width:100%;
  height:420px;
  border-radius:16px
}
.services-page .service-intro-photo img {
  height:auto
}
.page-intro-photo figcaption,.page-photo-banner figcaption,.contact-page-photo figcaption,.checkout-photo figcaption,.syllabus-photo figcaption,.modality-class-photo figcaption {
  color:#777487;
  font-size:12px;
  line-height:1.5;
  margin-top:12px
}
.page-intro-photo .photo-grupo-estudiantes {
  height:auto;
  aspect-ratio:1170/733
}
.institution-card-photo {
  margin:0 0 24px;
  width:100%
}
.institution-card-photo img {
  width:100%;
  height:230px;
  border-radius:16px;
  object-position:50% 40%
}
.institution-card-photo .photo-taller-pintura {
  object-position:50% 32%
}
.modality-class-photo {
  margin:0 0 26px
}
.modality-class-photo img {
  width:100%;
  height:270px;
  border-radius:18px
}
.modality-class-photo .photo-obras-estudiantes {
  object-position:50% 44%
}
.page-photo-banner {
  margin:0 0 36px
}
.page-photo-banner img {
  width:100%;
  height:420px;
  border-radius:24px;
  object-position:50% 47%
}
.contact-page-photo {
  margin:28px 0
}
.contact-page-photo img {
  width:100%;
  height:300px;
  border-radius:20px;
  object-position:50% 35%
}
.checkout-photo {
  margin:0 0 26px
}
.checkout-photo img {
  width:100%;
  height:200px;
  border-radius:16px;
  object-position:50% 24%
}
.syllabus-photo-pair {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-bottom:36px
}
.syllabus-photo {
  margin:0;
  min-width:0
}
.syllabus-photo img {
  width:100%;
  height:290px;
  border-radius:20px
}
.syllabus-photo .photo-dibujo-anime {
  object-position:50% 55%
}
@media(max-width:900px) {
  .page-photo-layout {
    gap:28px
  }
  .page-intro-photo img {
    height:380px
  }
}
@media(max-width:750px) {
  .page-photo-layout {
    grid-template-columns:1fr;
    gap:28px
  }
  .page-intro-photo {
    max-width:600px;
    width:100%
  }
  .page-intro-photo img {
    height:360px
  }
  .page-photo-banner img {
    height:auto
  }
  .institution-card-photo img {
    height:260px
  }
  .syllabus-photo img {
    height:260px
  }
}
@media(max-width:600px) {
  .syllabus-photo-pair {
    grid-template-columns:1fr;
    gap:24px
  }
  .syllabus-photo img {
    height:290px
  }
  .modality-class-photo img {
    height:250px
  }
  .page-photo-copy .institution-actions,.page-photo-copy .service-actions {
    align-items:stretch
  }
  .page-photo-copy .textlink {
    align-self:flex-start
  }
}
@media(max-width:400px) {
  .page-intro-photo img {
    height:300px
  }
  .contact-page-photo img {
    height:270px
  }
  .institution-card-photo img {
    height:220px
  }
}
