/* Keep the group explanation; its heading is already in the tab. */
.ceiling-service-catalog .ceiling-catalog-shell .ceiling-group-panel .ceiling-group-content > header {
  min-height:0;
  padding-bottom:24px;
}
.ceiling-service-catalog .ceiling-catalog-shell .ceiling-group-panel .ceiling-group-content > header > .ceiling-group-bridge {
  margin:0;
}

/* Shared mobile cover. Extra specificity overrides the existing hub variants. */
@media (max-width:900px) {
  section.service-mobile-cover.service-mobile-cover.service-mobile-cover {
    position:relative;
    isolation:isolate;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    gap:0;
    min-height:calc(100svh - 76px);
    height:auto;
    max-height:none;
    padding:24px 24px 32px;
    overflow:hidden;
    background:var(--ink);
  }
  .service-mobile-cover.service-mobile-cover.service-mobile-cover > .about-breadcrumb {
    position:relative;
    z-index:2;
    margin:0 0 auto;
    padding:0 0 36px;
    color:#d0cbc2;
  }
  .service-mobile-cover .about-breadcrumb a { color:#e6e1d8; }
  .service-mobile-cover.service-mobile-cover.service-mobile-cover > :is(.accent-hub-hero-copy,.services-page-hero-copy) {
    position:relative;
    z-index:2;
    width:100%;
    min-width:0;
    align-self:stretch;
    padding:48px 0 0;
    color:var(--paper);
  }
  .service-mobile-cover.service-mobile-cover.service-mobile-cover :is(.accent-hub-hero-copy,.services-page-hero-copy) h1 {
    font-size:clamp(34px,8.5vw,58px);
    line-height:1.04;
    max-width:650px;
    overflow-wrap:break-word;
  }
  .service-mobile-cover.service-mobile-cover.service-mobile-cover :is(.accent-hub-hero-copy,.services-page-hero-copy) > p:not(.kicker) {
    margin:20px 0 0;
    font-family:Arial,sans-serif;
    font-size:14px;
    line-height:1.55;
    color:#dedad2;
  }
  .service-mobile-cover.service-mobile-cover.service-mobile-cover .accent-hub-hero-copy > .accent-hub-service-area {
    margin-top:14px;
    font-size:11px;
    color:#c9c5bc;
  }
  .service-mobile-cover .kicker { color:#d0cbc2; }
  .service-mobile-cover .wood-hero-actions { margin-top:24px; gap:16px; }
  .service-mobile-cover .text-link { color:var(--paper); }
  .service-mobile-cover.service-mobile-cover.service-mobile-cover > :is(.accent-hub-hero-image,.services-page-hero-media) {
    position:absolute;
    inset:0;
    z-index:-2;
    width:100%;
    height:100%;
    min-height:0;
    margin:0;
    display:block;
  }
  .service-mobile-cover .services-page-hero-media > figure:not(.services-hero-main) { display:none; }
  .service-mobile-cover .services-hero-main { position:absolute; inset:0; width:100%; height:100%; }
  .service-mobile-cover.service-mobile-cover.service-mobile-cover :is(.accent-hub-hero-image,.services-page-hero-media) img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(.85);
  }
  .service-mobile-cover :is(.accent-hub-hero-image,.services-page-hero-media) figcaption,
  .service-mobile-cover :is(.accent-hub-hero-image,.services-page-hero-media) figure::after,
  .service-mobile-cover > .accent-hub-hero-image::after { display:none; }
  .service-mobile-cover::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(8,8,7,calc(.14 * var(--vista-hero-shade-factor,1))) 5%,rgba(8,8,7,calc(.3 * var(--vista-hero-shade-factor,1))) 35%,rgba(8,8,7,calc(.82 * var(--vista-hero-shade-factor,1))) 70%,rgba(8,8,7,calc(.95 * var(--vista-hero-shade-factor,1))) 100%);
  }
}

/* Keep step numbers separated from titles on every mobile process card. */
@media (max-width:900px) {
  .media-process .media-process-stage .media-process-scene .media-process-copy > span {
    display:block;
    margin:16px 0 16px;
    line-height:1.25;
  }
}

@media (max-width:900px) {
  .hero::after {
    background:linear-gradient(180deg,rgba(8,8,7,calc(.14 * var(--vista-hero-shade-factor,1))) 5%,rgba(8,8,7,calc(.3 * var(--vista-hero-shade-factor,1))) 35%,rgba(8,8,7,calc(.82 * var(--vista-hero-shade-factor,1))) 70%,rgba(8,8,7,calc(.95 * var(--vista-hero-shade-factor,1))) 100%);
  }
}
