/* Solo adattamenti WordPress; la grafica approvata è in style.css. */
body.admin-bar { --gg-admin-offset:32px; }
body.admin-bar .site-header-overlay { top:var(--gg-admin-offset); }
body.admin-bar #wpadminbar {position:fixed;}
.gg-standard-page { padding-top:190px; min-height:70vh; }
.property-gallery.gg-gallery-1 { display:block; height:600px; }
.property-gallery.gg-gallery-1 .gallery-image { width:100%; height:100%; }
.property-gallery.gg-gallery-2, .property-gallery.gg-gallery-3, .property-gallery.gg-gallery-4 { grid-template-columns:repeat(2,1fr); }
.property-gallery.gg-gallery-2 .gallery-main { grid-row:1; }
.property-gallery.gg-gallery-2 { grid-template-rows:500px; }
.property-gallery.gg-gallery-4 .gallery-main { grid-row:auto; }
@media(max-width:782px){body.admin-bar {--gg-admin-offset:46px;}}
@media(max-width:980px){
  body.admin-bar .mobile-nav {top:calc(108px + var(--gg-admin-offset));height:calc(100dvh - 108px - var(--gg-admin-offset));}
  body.admin-bar .site-header-overlay.is-scrolled .mobile-nav {top:calc(76px + var(--gg-admin-offset));height:calc(100dvh - 76px - var(--gg-admin-offset));}
  .property-gallery.gg-gallery-1 {height:420px;}
  .property-gallery.gg-gallery-2, .property-gallery.gg-gallery-3, .property-gallery.gg-gallery-4 {height:auto;}
  .property-gallery.gg-gallery-2, .property-gallery.gg-gallery-3 {grid-template-rows:280px 160px;}
  .property-gallery.gg-gallery-2 .gallery-image:last-child, .property-gallery.gg-gallery-4 .gallery-image:last-child {grid-column:1 / -1;}
}
.error404 .site-header-overlay {background:#11110f;}
@media(prefers-reduced-motion:reduce){html {scroll-behavior:auto;}}
