/* ItalFire Roma - fotografie hero Azienda e Rivelazione, scope di pagina. */
@media (min-width: 761px) {
  body section.italfire-azienda-photo-hero,
  body section.italfire-rivelazione-photo-hero {
    background-color: #f7f9fc;
    background-size: cover, cover !important;
    background-repeat: no-repeat !important;
    background-position: center center, center center !important;
  }
  body section.italfire-azienda-photo-hero {
    background-image: linear-gradient(90deg, rgba(247,249,252,.99) 0%, rgba(247,249,252,.98) 29%, rgba(247,249,252,.85) 45%, rgba(247,249,252,.23) 70%, rgba(247,249,252,0) 100%), url('/assets/italfire-azienda-hero.webp?v=20261027-01') !important;
  }
  body section.italfire-rivelazione-photo-hero {
    background-image: linear-gradient(90deg, rgba(247,249,252,.99) 0%, rgba(247,249,252,.99) 31%, rgba(247,249,252,.90) 48%, rgba(247,249,252,.22) 72%, rgba(247,249,252,0) 100%), url('/assets/italfire-rivelazione-incendi-hero.webp?v=20261027-01') !important;
  }
}
@media (max-width: 760px) {
  body section.italfire-azienda-photo-hero,
  body section.italfire-rivelazione-photo-hero {
    background-image: none !important;
  }
  body section.italfire-azienda-photo-hero::after,
  body section.italfire-rivelazione-photo-hero::after {
    content: "";
    display: block;
    width: calc(100% - 32px);
    max-width: 640px;
    aspect-ratio: 16 / 9;
    margin: 24px auto 8px;
    border-radius: 10px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  body section.italfire-azienda-photo-hero::after {
    background-image: url('/assets/italfire-azienda-hero.webp?v=20261027-01');
  }
  body section.italfire-rivelazione-photo-hero::after {
    background-image: url('/assets/italfire-rivelazione-incendi-hero.webp?v=20261027-01');
  }
}

/* ITALFIRE_HERO_MOBILE_REFINEMENT_20261027_01 - Company page only */
@media (min-width:761px) {
  body section.italfire-azienda-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-azienda-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-azienda-hero.webp?v=20261027-01') !important;
    background-size:100% 100%,cover !important;
    background-position:center center, 54% center !important;
    background-repeat:no-repeat !important;
  }
  body section.italfire-azienda-photo-hero::after {display:none !important;content:none !important;}
  body section.italfire-after-photo-hero {padding-top:46px !important;}
}

/* ITALFIRE_ANDROID_AZIENDA_148: prevent mobile grid min-content overflow without affecting desktop */
@media (max-width:760px){
body section.italfire-after-photo-hero.about{grid-template-columns:minmax(0,1fr);min-width:0;}
body section.italfire-after-photo-hero.about>.stitle,body section.italfire-after-photo-hero.about>.feature{min-width:0;max-width:100%;box-sizing:border-box;}
body section.italfire-after-photo-hero.about .stitle h2,body section.italfire-after-photo-hero.about .stitle p{min-width:0;max-width:100%;overflow-wrap:break-word;}
body section.italfire-after-photo-hero.about .feature b{display:block;min-width:0;max-width:100%;font-size:clamp(22px,6.2vw,32px);line-height:1.08;overflow-wrap:anywhere;}
}
