/* ItalFire — fotografia originale per hero Contatti; solo questa pagina. */
@media (min-width:761px) {
  section.italfire-contact-photo-hero {
    min-height:395px;
    background-color:#f7f9fc;
    background-image:linear-gradient(90deg, rgba(247,249,252,.99) 0%, rgba(247,249,252,.99) 31%, rgba(247,249,252,.91) 46%, rgba(247,249,252,.46) 65%, rgba(247,249,252,.02) 100%),url('/assets/italfire-contatti-hero.webp?v=20261027-02') !important;
    background-size:cover,cover !important;
    background-position:center center, center top !important;
    background-repeat:no-repeat !important;
  }
  section.italfire-contact-photo-hero h1,
  section.italfire-contact-photo-hero p {position:relative;z-index:1;}
}
@media (max-width:760px) {
  section.italfire-contact-photo-hero {
    background-image:none !important;
    min-height:0;
  }
  section.italfire-contact-photo-hero::after {
    content:"";
    display:block;
    width:calc(100% - 32px);
    max-width:640px;
    aspect-ratio:16 / 9;
    margin:22px auto 6px;
    border-radius:10px;
    background:url('/assets/italfire-contatti-hero.webp?v=20261027-02') center center / cover no-repeat;
  }
}

/* ITALFIRE_HERO_MOBILE_REFINEMENT_20261027_01 - Contact page only */
@media (min-width:761px) {
  body section.italfire-contact-photo-hero {
    background-size:100% 100%, auto 112% !important;
    background-position:center center, right center !important;
    background-repeat:no-repeat !important;
  }
}
@media (max-width:760px) {
  body section.italfire-contact-photo-hero {
    min-height:0 !important;
    padding-top:44px !important;
    padding-bottom:64px !important;
    background-color:#f7f9fc !important;
    background-image:linear-gradient(180deg,rgba(247,249,252,.98) 0%,rgba(247,249,252,.95) 38%,rgba(247,249,252,.84) 66%,rgba(247,249,252,.48) 100%),url('/assets/italfire-contatti-hero.webp?v=20261027-02') !important;
    background-size:100% 100%,cover !important;
    background-position:center center, 37% center !important;
    background-repeat:no-repeat !important;
  }
  body section.italfire-contact-photo-hero::after {display:none !important;content:none !important;}
  body section.italfire-after-photo-hero {padding-top:46px !important;}
}
