/* iPstream landing + utility styles (Nicepage brand) */
:root {
  --ip-pink: #f00d8f;
  --ip-black: #111;
  --ip-grey: #f2f2f2;
}

.ip-flash {
  max-width: 720px;
  margin: 1rem auto;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 0.95rem;
}
.ip-flash.success { background: #e8f8ef; color: #0b5b2c; border: 1px solid #b6e2c5; }
.ip-flash.error { background: #fdecee; color: #8a1f2b; border: 1px solid #f0b7be; }

.ip-landing .ip-hero {
  position: relative;
  min-height: 320px;
  background: #000 center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.ip-landing .ip-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,.2));
}
.ip-landing .ip-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  color: #fff;
}
.ip-landing .ip-hero h1 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
  line-height: 1.25;
}
.ip-landing .ip-hero h1 span { color: var(--ip-pink); }
.ip-landing .ip-band {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1.25rem;
  border-top: 10px solid #fff;
  font-family: Montserrat, sans-serif;
}
.ip-landing .ip-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.65;
  color: #222;
}
.ip-landing .ip-wrap h2 {
  font-family: Montserrat, sans-serif;
  font-size: 1.45rem;
  margin: 0 0 1rem;
}
.ip-landing .ip-wrap h2 span { color: var(--ip-pink); }
.ip-landing .ip-intro {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.ip-landing .ip-card {
  background: var(--ip-grey);
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  margin: 1.5rem 0;
}
.ip-landing .ip-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.ip-landing .ip-card li { margin: 0.4rem 0; }
.ip-landing .ip-price {
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.25rem 0;
}
.ip-landing .ip-price span { color: var(--ip-pink); }
.ip-landing .ip-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 1.4rem;
  background: var(--ip-pink);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ip-landing .ip-cta:hover { filter: brightness(1.05); }
.ip-landing .ip-faq details {
  border-bottom: 1px solid #ddd;
  padding: 0.85rem 0;
}
.ip-landing .ip-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
}
.ip-legal {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
}
.ip-legal h1 {
  font-family: Montserrat, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}
.ip-htmlpage { overflow-x: hidden; }

/* Ensure migrated Nicepage sections readable without WP */
.u-body { margin: 0; }

/* Header: menu a sinistra, logo a destra stessa riga (come Nicepage/WP) */
.u-header .u-sheet-1 {
  min-height: 76px;
  position: relative;
}
.u-header .u-menu-1 {
  margin: 40px auto 0 0 !important;
}
.u-header .u-image-1,
.u-header a.u-logo {
  display: block !important;
  width: 178px !important;
  height: 37px !important;
  max-width: 178px !important;
  margin: -45px 0 8px auto !important; /* right + same row as menu */
  float: none !important;
}
.u-header .u-logo-image-1,
.u-header .u-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
@media (max-width: 1199px) {
  .u-header .u-sheet-1 { min-height: 75px; }
  .u-header .u-menu-1 { width: auto; margin-top: 39px !important; }
  .u-header .u-image-1,
  .u-header a.u-logo {
    margin-top: -44px !important;
    margin-bottom: 7px !important;
  }
}
@media (max-width: 991px) {
  .u-header .u-sheet-1 { min-height: 69px; }
  .u-header .u-menu-1 { margin-top: 37px !important; }
  .u-header .u-image-1,
  .u-header a.u-logo {
    margin-top: -37px !important;
    margin-bottom: 1px !important;
  }
}
@media (max-width: 767px) {
  .u-header .u-sheet-1 { min-height: 72px; }
  .u-header .u-menu-1 { margin-top: 24px !important; }
  .u-header .u-image-1,
  .u-header a.u-logo {
    margin-top: -42px !important;
    margin-bottom: 6px !important;
  }
}
@media (max-width: 575px) {
  .u-header .u-sheet-1 { min-height: 75px; }
  .u-header .u-menu-1 { margin-top: 27px !important; margin-right: 128px !important; }
  .u-header .u-image-1,
  .u-header a.u-logo {
    width: 135px !important;
    height: 29px !important;
    margin-top: -38px !important;
    margin-bottom: 10px !important;
  }
}

/* Nascondi icona Facebook footer (pagina non aggiornata) */
.u-footer .u-icon-1,
.u-footer span.u-file-icon[data-href*="facebook"] {
  display: none !important;
}


/* Form: nascondi messaggi Nicepage finché non servono */
.u-form-send-message { display: none; }
.u-form-send-success[style*="block"],
.u-form-send-error[style*="block"] { display: block !important; }


/* Hero Nicepage: immagine a tutta larghezza */
.u-section-2 .u-image-1,
.u-section-2 img.u-expanded-width-xl,
.u-section-2 img.u-expanded-width-lg,
.u-section-2 img.u-expanded-width-md,
.u-section-2 img.u-expanded-width-sm {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: block;
  object-fit: cover;
}
.u-body.u-xl-mode .u-expanded-width-xl {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* Mobile hamburger / offcanvas fallback */
@media (max-width: 991px) {
  .u-menu .menu-collapse {
    display: block !important;
    z-index: 1002;
    position: relative;
  }
  .u-menu .u-nav-container {
    display: none !important;
  }
  .u-menu .u-nav-container-collapse {
    display: block !important;
  }
  .u-menu .u-sidenav {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100vh !important;
    width: 280px !important;
    max-width: 85vw;
    z-index: 1003;
    background: #fff !important;
    transform: translateX(-105%);
    transition: transform .25s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
  }
  .u-menu.open .u-sidenav,
  .u-menu.u-offcanvas.open .u-sidenav {
    transform: translateX(0) !important;
  }
  .u-menu .u-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1001;
  }
  .u-menu.open .u-menu-overlay {
    display: block !important;
  }
  .u-menu .u-menu-close {
    display: block;
    width: 28px;
    height: 28px;
    margin: 16px;
    cursor: pointer;
    position: relative;
  }
  .u-menu .u-menu-close:before,
  .u-menu .u-menu-close:after {
    content: "";
    position: absolute;
    top: 13px;
    left: 2px;
    width: 24px;
    height: 2px;
    background: #222;
  }
  .u-menu .u-menu-close:before { transform: rotate(45deg); }
  .u-menu .u-menu-close:after { transform: rotate(-45deg); }
  body.u-offcanvas-opened {
    overflow: hidden;
  }
}

/* Footer: 2 colonne Sede | Contatti (non più 3 con Facebook) */
.u-footer {
  background-position: 50% 50%;
  background-size: cover;
}
.u-footer .u-sheet-1 {
  min-height: 420px;
}
.u-footer .u-list-1 {
  width: 100%;
  margin-top: 120px;
  margin-bottom: 0;
}
.u-footer .u-repeater-1 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px;
  min-height: 201px;
  justify-content: center;
  width: 100%;
}
.u-footer .u-list-item,
.u-footer .u-repeater-item {
  max-width: none !important;
  width: auto !important;
}
.u-footer .u-container-layout-1,
.u-footer .u-container-layout-2 {
  padding: 30px 10px 21px;
}
.u-footer .u-text-1,
.u-footer .u-text-3 {
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 1.875rem;
  margin: 9px auto 0;
}
.u-footer .u-text-2,
.u-footer .u-text-4 {
  line-height: 1.5;
  font-size: 1.125rem;
  letter-spacing: -1px;
  margin: 0;
}
.u-footer .u-text-5 {
  font-size: 1.125rem;
  text-transform: uppercase;
  margin: 20px auto 0;
}
.u-footer .u-text-6 {
  margin: 19px auto 14px;
}

.u-footer .u-icon-1 {
  display: none !important;
}
@media (max-width: 991px) {
  .u-footer .u-sheet-1 { min-height: 337px; }
  .u-footer .u-list-1 { margin-top: 60px; }
}
@media (max-width: 767px) {
  .u-footer .u-repeater-1 {
    grid-template-columns: 1fr !important;
  }
  .u-footer .u-sheet-1 { min-height: auto; padding-bottom: 24px; }
  .u-footer .u-list-1 { margin-top: 40px; }
  .u-footer .u-text-2,
  .u-footer .u-text-4 { font-size: 1rem; }
}

/* Clients / collaborations strip */
.ip-clients {
  background: #111;
  color: #fff;
  border-top: 10px solid #fff;
  border-bottom: 10px solid #fff;
  padding: 2.75rem 1.25rem;
}
.ip-clients-inner {
  max-width: 960px;
  margin: 0 auto;
}
.ip-clients h2 {
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.ip-clients h2 span { color: var(--ip-pink, #f00d8f); }
.ip-clients ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
}
.ip-clients li {
  font-family: "Open Sans", Montserrat, sans-serif;
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: #f3f3f3;
  background: rgba(255,255,255,0.04);
}

/* Footer WhatsApp: no large gap before number (Nicepage .u-btn margin) */
.u-footer a.u-btn.u-button-link,
.u-footer .u-text a.u-btn {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  display: inline !important;
  letter-spacing: normal;
}

/* Legal pages */
.ip-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 4rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
  color: #222;
}
.ip-legal h1 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}
.ip-legal-updated {
  color: #666;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
.ip-legal h2 {
  font-family: Montserrat, sans-serif;
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
}
.ip-legal h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.02rem;
  margin: 1.1rem 0 0.4rem;
}
.ip-legal ul { padding-left: 1.2rem; }
.ip-legal a { color: var(--ip-pink, #f00d8f); }

/* Form privacy checkbox */
.ip-form-consent {
  margin: 0.75rem 0 1rem;
  text-align: left;
}
.ip-consent-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
  color: #333;
}
.ip-consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  accent-color: var(--ip-pink, #f00d8f);
}
.ip-consent-label a {
  color: var(--ip-pink, #f00d8f);
  text-decoration: underline;
}
/* Padova (and any pink form): text + privacy link must contrast */
.u-form.u-palette-1-base .ip-consent-label {
  color: #fff;
}
.u-form.u-palette-1-base .ip-consent-label a {
  color: #fff !important;
  text-decoration: underline;
  font-weight: 700;
}
.u-form.u-palette-1-base .ip-consent-label input[type="checkbox"] {
  accent-color: #fff;
}
.ip-footer-legal a {
  color: inherit;
  text-decoration: underline;
  margin: 0 0.15rem;
}

/* Hide leftover Complianz UI if any old markup resurfaces */
.cmplz-category,
.cmplz-cookiebanner,
#cmplz-cookiebanner-container,
.cmplz-manage-consent,
div.cmplz-blocked-content-container {
  display: none !important;
}


/* Footer: Privacy/Cookie above, P.IVA lower with clear gap */
.u-footer .ip-footer-legal {
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}
.u-footer .ip-footer-piva,
.u-footer .u-text-5.ip-footer-piva {
  font-size: 1.125rem;
  text-transform: uppercase;
  margin: 2px auto 28px !important;
  padding-top: 0;
  line-height: 1.2;
}
.u-footer .ip-footer-brand {
  margin: 0.75rem auto 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.15;
}

/* Header menu: same uppercase Montserrat as home, on all landings */
.u-header .u-nav-1,
.u-header .u-nav-1 > .u-nav-item > .u-nav-link {
  font-family: Montserrat, "Open Sans", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}
/* Desktop: meno padding tra le voci per evitare sovrapposizione col logo */
@media (min-width: 992px) {
  .u-header .u-nav-1 > .u-nav-item > .u-nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .u-header .u-nav-1 {
    column-gap: 0 !important;
  }
}

/* Padova landing hero only — do not affect home */
h1.ip-city-hero-title {
  font-size: 2.5rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  max-width: min(960px, 94vw) !important;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  h1.ip-city-hero-title { font-size: 2.1rem !important; }
}
@media (max-width: 575px) {
  h1.ip-city-hero-title { font-size: 1.7rem !important; }
}

/* Showreel CTA + modal */

/* Hero image + showreel CTA overlay */
.ip-hero-showreel {
  position: relative;
  isolation: isolate;
  background-color: #111 !important;
  background-size: cover !important;
  background-position: 50% 50% !important;
  /* Mobile: leggero scuro uniforme */
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.38);
}
.ip-hero-showreel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}
.ip-hero-showreel .ip-hero-showreel-sheet {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
/* Desktop: chiaro in alto → scuro in basso (gradiente sul background, più affidabile) */
@media (min-width: 992px) {
  .ip-hero-showreel {
    box-shadow: none !important;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.12) 35%, rgba(0,0,0,0.55) 68%, rgba(0,0,0,0.88) 100%), url("/assets/uploads/2023/09/ipstream_zaia_vicenza.webp") !important;
  }
  .ip-hero-showreel::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.08) 40%,
      rgba(0, 0, 0, 0.35) 70%,
      rgba(0, 0, 0, 0.55) 100%
    ) !important;
  }
  .ip-hero-showreel .ip-hero-showreel-sheet {
    justify-content: flex-end !important;
    align-items: center !important;
    padding-bottom: 2.25rem !important;
    box-sizing: border-box;
  }
  .ip-hero-showreel .ip-showreel-btn-hero {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
.ip-showreel-btn-hero {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  font-size: 1rem;
  padding: 1.05rem 1.7rem;
  letter-spacing: 0.06em;
}
.ip-showreel-btn-hero:hover,
.ip-showreel-btn-hero:focus-visible {
  filter: brightness(1.06);
  outline: none;
}

.ip-showreel-band {
  background: linear-gradient(90deg, #111 0%, #1a1a1a 50%, #111 100%);
  color: #fff;
  border-top: 10px solid #fff;
  padding: 1.75rem 1.25rem;
}
.ip-showreel-band-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.ip-showreel-copy h2 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin: 0 0 0.35rem;
}
.ip-showreel-copy h2 span { color: var(--ip-pink, #f00d8f); }
.ip-showreel-copy p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  opacity: 0.9;
  font-size: 0.98rem;
}
.ip-showreel-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: var(--ip-pink, #f00d8f);
  color: #fff;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.ip-showreel-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

.ip-showreel-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  background: rgba(0,0,0,0.82) !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ip-showreel-modal.is-open,
.ip-showreel-modal:not([hidden]) {
  display: flex !important;
}
.ip-showreel-modal[hidden] {
  display: none !important;
}
body.ip-showreel-open-body { overflow: hidden !important; }
.ip-showreel-dialog {
  position: relative;
  width: min(960px, 100%);
  background: #111;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.ip-showreel-close {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--ip-pink, #f00d8f);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.ip-showreel-frame {
  position: relative;
  width: 100%;
  background: #000;
  min-height: 220px;
}
.ip-showreel-frame video {
  width: 100% !important;
  height: auto !important;
  min-height: 240px;
  max-height: 80vh;
  display: block !important;
  background: #000;
  object-fit: contain;
  vertical-align: top;
}
.ip-showreel-fallback {
  color: #fff;
  padding: 1rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
}
.ip-showreel-fallback a { color: var(--ip-pink, #f00d8f); }

/* Contatti footer: nome sopra WhatsApp */
.ip-contact-name {
  display: inline-block;
  font-weight: 400 !important;
  font-style: normal;
  margin-bottom: 0.15em;
}

/* Footer brand above P.IVA */
.u-footer .ip-footer-brand {
  font-weight: 400 !important;
  font-size: 0.9rem;
}
.u-footer .ip-footer-brand .ip-contact-name {
  margin-bottom: 0;
}

/* Gallery */
.ip-gallery-page .ip-wrap { max-width: 1100px; }
.ip-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
}
.ip-gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}
.ip-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.ip-gallery-item:hover img,
.ip-gallery-item:focus-visible img {
  transform: scale(1.04);
}

/* Gallery modal — stesso sistema dello showreel */
.ip-gallery-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483001 !important;
  background: rgba(0,0,0,0.82) !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ip-gallery-modal.is-open,
.ip-gallery-modal:not([hidden]) {
  display: flex !important;
}
.ip-gallery-modal[hidden] {
  display: none !important;
}
body.ip-gallery-open-body { overflow: hidden !important; }
.ip-gallery-dialog {
  position: relative;
  width: min(960px, 100%);
  background: #111;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.ip-gallery-close {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--ip-pink, #f00d8f);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.ip-gallery-frame {
  position: relative;
  width: 100%;
  background: #000;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
}
.ip-gallery-frame img {
  width: 100% !important;
  height: auto !important;
  min-height: 240px;
  max-height: 80vh;
  display: block !important;
  object-fit: contain;
  background: #000;
  margin: 0 auto;
}
.ip-gallery-prev,
.ip-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  appearance: none;
  border: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.ip-gallery-prev { left: 0.55rem; }
.ip-gallery-next { right: 0.55rem; }
.ip-gallery-prev:hover,
.ip-gallery-next:hover {
  background: var(--ip-pink, #f00d8f);
}
@media (max-width: 600px) {
  .ip-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
  .ip-gallery-dialog { width: 100%; }
}

.ip-gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  pointer-events: none;
}

/* Hero subtitle: a capo dopo "remoto." solo desktop */
.ip-hero-break { display: none; }
@media (min-width: 992px) {
  .ip-hero-break { display: block; }
}

