/* Encuadre de la fotografía real del seminario en la portada. */
.sm-access-card.school img{object-position:50% 65%}
.sm-access-card.method img{object-position:62% 42%}
.sm-access-card.venues img{object-position:68% 38%}
.sm-access-card.gallery img{object-position:50% 58%}
.sm-hero-media{left:32%;top:0;bottom:0}
.sm-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center top;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#00000026 5%,#00000080 12%,#000000d9 21%,#000 30%);mask-image:linear-gradient(90deg,transparent 0%,#00000026 5%,#00000080 12%,#000000d9 21%,#000 30%)}
.sm-hero:before{background:linear-gradient(90deg,#17191B 0%,#17191B 22%,#17191Bf0 30%,#17191B99 39%,#17191B33 48%,#17191B00 57%)}
@media(min-width:1001px){.sm-hero-inner{min-height:0;padding-block:32px}.sm-hero-media{left:39%;top:-12px;bottom:0}.sm-hero-media img{width:100%;height:100%;object-fit:cover;object-position:calc(50% - 75px) center}}
@media(min-width:1001px){.sm-hero .sm-values{right:clamp(-55px,-3.5vw,-25px);font-size:20px}}

@media(max-width:1000px){
  .sm-hero-media{position:relative;inset:auto;aspect-ratio:2.1;z-index:0}
  .sm-hero-media img{object-position:center top;-webkit-mask-image:none;mask-image:none}
  .sm-hero:before{display:none}
  .sm-hero-inner{min-height:0;padding:24px 0 28px;display:block}
  .sm-hero-copy{max-width:100%}
  .sm-hero h1{font-size:clamp(56px,8vw,76px)}
  .sm-hero h2{font-size:clamp(24px,3.5vw,30px)}
  .sm-actions{flex-wrap:wrap}
  .sm-access-card{aspect-ratio:auto;display:flex;flex-direction:column}
  .sm-access-card img{height:auto;aspect-ratio:1.6;object-fit:cover}
  .sm-access-card:after{display:none}
  .sm-access-card>div{position:static;max-width:none;padding:16px 60px 16px 16px}
  .sm-access-card>span{top:auto;bottom:20px;right:14px}
  .sm-access-card h2{font-size:28px}
  .sm-access-card p{font-size:15px}
}

@media(max-width:700px){
  .sm-hero-media{aspect-ratio:2.25}
  .sm-hero-media img{object-fit:contain;object-position:center top}
  .sm-hero-inner{padding:22px 0 26px}
  .sm-access-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .sm-access-card>div{padding-right:64px}
  .sm-access-card>span{width:40px;height:40px;font-size:28px}
}

/* Preserve the card layout when selecting mobile image sources. */
.sm-access-card>picture{display:contents}
