/* A slightly narrower reading column exposes more of the approved photograph. */
.page-accesibilidad .access-hero-copy { width: 49%; max-width: 580px; }
.page-accesibilidad .access-hero {
  --access-hero-gradient: linear-gradient(90deg, var(--access-hero-tint) 29%, #f7f5f0e6 46%, #f7f5f080 57%, #f7f5f000 73%);
}
.page-accesibilidad .access-hero::after { background: var(--access-hero-gradient); }
.access-hero-scene { display: contents; }

@media (min-width: 681px) and (max-width: 1000px) {
  .page-accesibilidad .access-hero-copy { width: 64%; max-width: 620px; }
  .page-accesibilidad .access-hero {
    --access-hero-gradient: linear-gradient(90deg, var(--access-hero-tint) 31%, #f7f5f0ed 52%, #f7f5f0b8 66%, #f7f5f000 82%);
  }
}
/* Mobile: show the complete subject group first, then a solid white reading panel. */
@media (max-width: 680px) {
  .page-accesibilidad .access-hero {
    --access-mobile-photo-height: min(100svh, 92vw);
    padding-bottom: 0;
    background: #fff;
  }
  .page-accesibilidad .access-hero-copy { width: 100%; max-width: none; }
  .page-accesibilidad .access-hero::after,
  .page-accesibilidad .access-hero-scene::after { display: none; }
  .page-accesibilidad .access-hero-scene {
    display: block;
    position: relative;
    width: 100%;
    height: var(--access-mobile-photo-height);
    overflow: hidden;
    background: #fff;
    z-index: 0;
  }
  .page-accesibilidad .access-hero-image {
    position: absolute;
    inset: 0;
    height: var(--access-mobile-photo-height);
    width: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 0;
  }
  body.page-accesibilidad .access-hero .access-hero-inner {
    position: relative;
    width: 100%;
    margin-top: 0;
    padding: 34px 20px 46px;
    background: #fff;
    z-index: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-accesibilidad .access-hero {
    --access-scene-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: calc(var(--access-scene-height) + var(--access-pin-distance, 160px));
    padding-bottom: 0;
    overflow: visible;
  }
  .page-accesibilidad .access-hero::after { display: none; }
  .page-accesibilidad .access-hero-scene {
    display: block;
    position: sticky;
    top: 0;
    grid-area: 1 / 1;
    align-self: start;
    width: 100%;
    height: var(--access-scene-height);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background: var(--access-hero-tint);
  }
  .page-accesibilidad .access-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  .page-accesibilidad .access-hero-scene::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--access-hero-gradient);
    z-index: 1;
  }
  body.page-accesibilidad .access-hero .access-hero-inner {
    position: relative;
    grid-area: 1 / 1;
    margin-top: 0;
    padding-top: calc(var(--site-header-height) + 52px);
    padding-bottom: 52px;
    z-index: 1;
    pointer-events: none;
  }
  .page-accesibilidad .access-hero-copy {
    pointer-events: auto;
    --access-copy-occlusion: -200px;
    -webkit-mask-image: linear-gradient(to bottom, transparent var(--access-copy-occlusion), #000 calc(var(--access-copy-occlusion) + 44px));
    mask-image: linear-gradient(to bottom, transparent var(--access-copy-occlusion), #000 calc(var(--access-copy-occlusion) + 44px));
  }
  .page-accesibilidad .access-hero-copy:focus-within { -webkit-mask-image: none; mask-image: none; }
  body.page-accesibilidad .site-header.home-nav-over-hero.nav-hero-pinned {
    position: fixed;
    transform: translateY(var(--hero-nav-offset, 0px));
    transition: none;
  }
}

@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  .page-accesibilidad .access-hero { --access-mobile-photo-height: min(100svh, 92vw); }
  .page-accesibilidad .access-hero-scene {
    position: sticky;
    height: var(--access-scene-height);
    background: #fff;
  }
  .page-accesibilidad .access-hero-image {
    inset: 0 0 auto;
    height: var(--access-mobile-photo-height);
    object-position: right center;
  }
  .page-accesibilidad .access-hero-scene::after { display: none; }
  body.page-accesibilidad .access-hero .access-hero-inner {
    width: 100%;
    margin-top: var(--access-mobile-photo-height);
    padding: 34px 20px 46px;
    background: #fff;
  }
}
