/* 18 Nov 2026: service pages, sharper photos on phones + GVD-style tidy-up of the body.
   Loaded after jdi-gvd-service.css on pages with section.v3i-hero. Source: migration/scripts/apply_gvd_crisp_2026_11_18.py
   Why: on phones the hero (~1,200px tall with the form) and the closing banner (~1,600px) stretched a landscape photo
   over their full height, so a 1,200px file was blown up 4-5x. Now the photo covers the top of the section and fades
   into the dark background, as on GVD's service pages; the srcset sizes ask for the 1600px file on phones. */
@media (max-width:767px){
  .v3i-hero{background:#0f0e0c}
  .v3i-hero .v3-hero-img{inset:0 0 auto 0;height:480px;object-position:center 45%;
    -webkit-mask-image:linear-gradient(180deg,#000 52%,transparent 100%);mask-image:linear-gradient(180deg,#000 52%,transparent 100%)}
  .v3i-hero .v3-hero-shade{inset:0 0 auto 0;height:480px;
    background:linear-gradient(180deg,rgba(15,14,12,.42) 0%,rgba(15,14,12,.5) 55%,rgba(15,14,12,.85) 100%)!important}

  .v3i-close{background:#0f0e0c}
  .v3i-close .v3-close-bg{inset:0 0 auto 0;height:420px;animation:none;
    -webkit-mask-image:linear-gradient(180deg,#000 45%,transparent 100%);mask-image:linear-gradient(180deg,#000 45%,transparent 100%)}
}

/* body: drop the old "About Us / Contact Us" box (same details are in the header, the form and the footer) */
.v3i-body .v3-aside .rounded-xl:has(.card-body [class*="contact-info"]){display:none!important}

/* body: "From Our Blog" (Portland pages) in the site's eyebrow style, bigger titles */
.v3i-body .sidebar-card{border:1px solid var(--v3-line,#e5e5e5)!important;border-top:3px solid var(--hx-gold,#c5a35a)!important;border-radius:2px 10px 10px 2px!important;box-shadow:none!important;background:#fff!important}
.v3i-body .sidebar-card .moduleheading{border:0!important;padding:22px 22px 6px!important;background:none!important}
.v3i-body .sidebar-card .moduleheading h3{margin:0!important;font-size:12px!important;letter-spacing:.14em!important;text-transform:uppercase!important;font-weight:700!important;color:var(--v3-muted,#606060)!important}
.v3i-body .sidebar-card .sidebarstyle{padding:10px 22px 14px!important}
.v3i-body .sidebar-card .sidebarstyle a{align-items:center!important}
.v3i-body .sidebar-card .sidebarstyle .rounded-lg{border-radius:2px 8px 8px 2px!important}
.v3i-body .sidebar-card .sidebarstyle p:first-child{border:0!important;padding-bottom:4px!important;font-size:15px!important;line-height:1.35!important;font-weight:600!important;color:#111!important}
.v3i-body .sidebar-card .sidebarstyle p+p{font-size:13px!important;color:#777!important}

/* body: the Portland bathroom page's tile/step copy was 13.5px grey */
.v3i-body .jdi-bath .jdi-tile p,.v3i-body .jdi-bath .jdi-edge p,.v3i-body .jdi-bath .jdi-step p{font-size:15px!important;line-height:1.6!important;color:#4a4a4a!important}

/* 18 Nov 2026 (migration/scripts/apply_jdi_hero_photos_2026_11_18.py): JDI's own project photos are brighter than the
   old stock renderings (white walls, siding, sky), so the shade behind the hero copy is deeper on pages that use them. */
@media (min-width:1024px){
  .v3i-hero:has(>img.v3-hero-img[src^="/assets/heroes/"]) .v3-hero-shade{background:linear-gradient(90deg,rgba(15,14,12,.84) 0%,rgba(15,14,12,.72) 36%,rgba(15,14,12,.3) 60%,rgba(15,14,12,.08) 78%)}
}
@media (min-width:768px) and (max-width:1023px){
  .v3i-hero:has(>img.v3-hero-img[src^="/assets/heroes/"]) .v3-hero-shade{background:linear-gradient(0deg,rgba(15,14,12,.72) 0%,rgba(15,14,12,.6) 100%)}
}
@media (max-width:767px){
  .v3i-hero:has(>img.v3-hero-img[src^="/assets/heroes/"]) .v3-hero-shade{background:linear-gradient(180deg,rgba(15,14,12,.58) 0%,rgba(15,14,12,.64) 55%,rgba(15,14,12,.88) 100%)!important}
}
