/* The owners' pages pair each photograph with its property name. */
@layer toni{
  html body main figure.gt-pro-foto{
    position:relative!important;display:block!important;isolation:isolate;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
    overflow:hidden!important;background:#e4e3d6!important;border:0!important;border-radius:7px!important;box-shadow:none!important;box-sizing:border-box!important}
  html body main figure.gt-pro-foto>img{
    position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:cover!important;object-position:50% 52%!important;filter:none!important;opacity:1!important}
  html body main figure.gt-pro-foto::before,html body main figure.gt-pro-foto::after{display:none!important}
  html body main figure.gt-pro-foto figcaption{position:absolute!important;inset:auto auto 10px 10px!important;z-index:2;padding:5px 9px!important;margin:0!important;
    max-width:calc(100% - 20px);width:max-content!important;background:#fffaf0!important;color:#27443a!important;-webkit-text-fill-color:#27443a!important;
    border:0!important;border-radius:3px!important;text-align:left!important;text-transform:none!important;
    font:550 .82rem/1.25 'DM Sans',Arial,sans-serif!important;letter-spacing:0!important;text-shadow:none!important}
  html body main :is(.tour-lead-grid.has-photo,.v57-page-hero):has(>figure.gt-pro-foto){
    border-radius:8px!important;background:#f3efe5!important;align-items:stretch!important;overflow:hidden!important}
  html body main :is(.tour-lead-grid.has-photo,.v57-page-hero)>figure.gt-pro-foto{
    align-self:stretch!important;min-height:clamp(245px,20vw,330px)!important;height:100%!important;border-radius:0!important}
  html body main .gt27-intro figure.gt-pro-valore{height:clamp(185px,17vw,256px)!important;margin:22px 0 0!important}
  html body main .gt27-intro figure.gt-pro-valore>img{object-position:50% 56%!important}
  html body main .gt27-wrap .gt27-intro{min-width:0}
  html body main .gt27-wrap .gt27-cta-quick{margin:2px 0 0!important}
  html body main .gt27-wrap .gt27-promise{margin:16px 0!important;padding:14px 17px!important;border-left:3px solid #557763!important;background:#eaf0e8!important}
  html body main .gt27-wrap .gt27-benefits{display:flex!important;flex-wrap:wrap;gap:4px 15px;margin-top:12px;color:#315447!important}
  html body main .gt27-wrap #richiesta-valutazione{scroll-margin-top:88px!important}
  html body main #richiesta-valutazione .gt27-card-head{display:grid!important;grid-template-columns:minmax(0,1fr) clamp(76px,9vw,111px);gap:4px 15px;align-items:center;
    padding-bottom:16px;border-bottom:1px solid #d0d7cb}
  html body main #richiesta-valutazione .gt27-card-head>span{grid-column:1;grid-row:1;align-self:end}
  html body main #richiesta-valutazione .gt27-card-head>h2{grid-column:1;grid-row:2;margin:0!important;text-wrap:balance}
  html body main #richiesta-valutazione .gt27-card-head>p{grid-column:1/-1;margin:5px 0 0!important}
  html body main #richiesta-valutazione .gt-pro-dettaglio{grid-column:2;grid-row:1/3;width:100%!important;height:auto!important;aspect-ratio:1.3;
    object-fit:cover;border-radius:5px!important;display:block!important}
  html body main :is(.v15-info-grid article,#come-funziona-2027 .v57-card)>h3::before{
    content:"";display:block;width:25px;height:25px;margin:0 0 11px;background:#397463;mask:var(--pro-icona) center/contain no-repeat}
  html body main #come-funziona-2027 .v57-grid-3>.v57-card,html body main .v15-info-grid>article{
    --pro-icona:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.55' stroke-linejoin='round' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m2 10 10-8 10 8M5 9v12h14V9m-10 12v-7h6v7'/%3E%3C/svg%3E")}
  html body main #come-funziona-2027 .v57-card:nth-child(2),html body main #come-funziona-2027 .v57-card:nth-child(5),html body main .v15-info-grid>article:nth-child(2){
    --pro-icona:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.55' stroke-linejoin='round' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l4 4v16H6zM14 2v5h4M9 11h6m-6 4h6m-6 4h4'/%3E%3C/svg%3E")}
  html body main #come-funziona-2027 .v57-card:nth-child(3),html body main .v15-info-grid>article:nth-child(3){
    --pro-icona:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.55' stroke-linejoin='round' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M19 10c0 5-7 12-7 12S5 15 5 10a7 7 0 1 1 14 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E")}
  html body main #come-funziona-2027 .v57-card:nth-child(4){
    --pro-icona:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.55' stroke-linejoin='round' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4m8-4v4M8 14h3m2 3h3'/%3E%3C/svg%3E")}
  @media(max-width:760px){
    html body main :is(.tour-lead-grid.has-photo,.v57-page-hero)>figure.gt-pro-foto{min-height:0!important;height:clamp(150px,44vw,265px)!important}
    html body main .gt27-intro figure.gt-pro-valore{height:clamp(150px,45vw,229px)!important;margin:17px 0 0!important}
    html body main #richiesta-valutazione .gt27-card-head{grid-template-columns:minmax(0,1fr) clamp(55px,19vw,88px);gap:4px 8px}
  }
}
