/* ACV V15.4.17 — solución única y posterior a todas las hojas de estilo.
   Disposición móvil: fila de texto con alto intrínseco + fila de fotografía.
   Rótulo Ingeniería: alineado al borde inferior-derecho de la foto. */
@media (min-width:901px) {
  .pagehero.black.photo-hero:has(.acv-engineering-label) .acv-engineering-label {
    right:0 !important;
    bottom:0 !important;
    margin:0 !important;
    transform:none !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
}
@media (max-width:900px) {
  .pagehero.black.photo-hero {
    --acv-mobile-photo-height:clamp(310px, 55vw, 460px);
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) !important;
    grid-template-rows:auto var(--acv-mobile-photo-height) !important;
    gap:0 !important;
    align-items:stretch !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    padding:0 !important;
    overflow:hidden !important;
    background:#f7f7f6 !important;
  }
  .pagehero.black.photo-hero .pagehero-inner {
    grid-column:1 !important;
    grid-row:1 !important;
    position:relative !important;
    z-index:3 !important;
    align-self:start !important;
    display:block !important;
    width:calc(100% - 2*var(--gutter)) !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 auto !important;
    padding:clamp(52px,7vw,78px) 0 clamp(46px,8vw,62px) !important;
    transform:none !important;
    box-sizing:border-box !important;
  }
  .pagehero.black.photo-hero .pagehero-inner h1,
  .pagehero.black.photo-hero .pagehero-inner p {
    max-width:100% !important;
  }
  .pagehero.black.photo-hero .pagehero-inner p {
    position:static !important;
    margin-bottom:0 !important;
    line-height:1.85 !important;
  }
  .pagehero.black.photo-hero .banner-photo-actual,
  .pagehero.black.photo-hero .banner-photo-actual.gallery-image {
    grid-column:1 !important;
    grid-row:2 !important;
    position:relative !important;
    inset:auto !important;
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    object-fit:cover !important;
    margin:0 !important;
    transform:none !important;
    z-index:1 !important;
  }
  .pagehero.black.photo-hero .banner-photo-shade {display:none !important;}
  .pagehero.black.photo-hero .interior-slides-controls {
    z-index:6 !important;
    right:var(--gutter) !important;
    bottom:20px !important;
  }
  .pagehero.black.photo-hero .acv-engineering-label {
    grid-column:1 !important;
    grid-row:2 !important;
    position:relative !important;
    z-index:7 !important;
    justify-self:end !important;
    align-self:end !important;
    right:auto !important;
    bottom:auto !important;
    margin:0 !important;
    transform:none !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
}
@media (max-width:620px) {
  .pagehero.black.photo-hero {--acv-mobile-photo-height:clamp(285px,77vw,390px);}
  .pagehero.black.photo-hero .pagehero-inner {
    padding-top:clamp(54px,13vw,74px) !important;
    padding-bottom:48px !important;
  }
  .pagehero.black.photo-hero .pagehero-inner p {
    font-size:14px !important;
    line-height:1.8 !important;
  }
}
