/* SANMI site.css v4.1 — tipografia Patrick Hand + Nunito */

/* ══════════════════════════════════════
   PALETTE v13
══════════════════════════════════════ */
:root {
  --green-dark:#234f2e; --green:#2f6b3f; --green-soft:#eaf4e9;
  --cream:#fff4e3; --orange:#d9822b; --orange-dark:#b7651f;
  --text:#1a261c; --muted:#5f6d62; --border:#e2ddd0;
  --sanmi-bg-page:#f3ebe0;
  --sanmi-bg-section:#faf5eb;
  /* Fascia "prato" verde percepibile (era #e6efe8 quasi-crema) — ritmo coerente
     con la home su Eventi/Vacanze/Fattoria/Contatti. */
  --sanmi-bg-section-alt:#d6e8c2;
  --sanmi-bg-card:#fffdf7;
  --sanmi-shadow-soft:0 12px 36px rgba(35,79,46,.09);
  --sanmi-shadow-card:0 4px 22px rgba(35,79,46,.07);
  --sanmi-radius-lg:20px;
  --sanmi-font-display: "Patrick Hand", "Segoe Print", "Bradley Hand", cursive;
  --sanmi-font-heading: var(--sanmi-font-display);
  --sanmi-font-body: "Nunito", "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sanmi-font-brand: "Fredoka", system-ui, sans-serif;
  --sanmi-font-ui: var(--sanmi-font-body);
  --sanmi-text-max: 42rem;
}

/* ══════════════════════════════════════
   TIPOGRAFIA — leggibilità e ritmo
══════════════════════════════════════ */
body.sanmi-public-shell,
body.sanmi-public-shell .sb-wrap,
body.sanmi-public-shell .sg-wrap,
body.sanmi-theme-green .sg-wrap {
  font-family: var(--sanmi-font-body);
  hyphens: none;
  -webkit-hyphens: none;
}

body.sanmi-public-shell {
  background: var(--sanmi-bg-page);
}

body.sanmi-public-shell .sb-section--white {
  background: var(--sanmi-bg-section);
}

body.sanmi-public-shell .sb-section--sage,
body.sanmi-public-shell .sb-section--paths {
  background: var(--sanmi-bg-section-alt);
}

body.sanmi-public-shell .sb-path-card,
body.sanmi-public-shell .sb-recapito-card,
body.sanmi-public-shell .sb-audience-card,
body.sanmi-public-shell .sb-fattoria-card {
  background: var(--sanmi-bg-card);
}

body.sanmi-public-shell .sb-wrap p,
body.sanmi-public-shell .sg-wrap p,
body.sanmi-public-shell .sb-lead,
body.sanmi-public-shell .sb-hero-text,
body.sanmi-public-shell .sb-path-card__text,
body.sanmi-public-shell .feat-desc,
body.sanmi-public-shell .testi-txt,
body.sanmi-public-shell .sb-contact-row__desc {
  text-wrap: pretty;
  overflow-wrap: normal;
  max-width: var(--sanmi-text-max);
}

body.sanmi-public-shell h1,
body.sanmi-public-shell h2,
body.sanmi-public-shell .sb-title,
body.sanmi-public-shell .sec-ttl,
body.sanmi-public-shell .hc-title,
body.sanmi-public-shell .cta-txt h2,
body.sanmi-public-shell .sb-activities-col__title,
body.sanmi-public-shell .sb-path-card__title,
body.sanmi-public-shell .sanmi-row__title,
body.sanmi-public-shell .cats-ttl {
  font-family: var(--sanmi-font-heading);
  font-weight: 400;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

body.sanmi-public-shell .sb-btn,
body.sanmi-public-shell .hbtn-main,
body.sanmi-public-shell .hbtn-sec,
body.sanmi-public-shell .sb-site-header .sb-nav-link,
body.sanmi-public-shell .sanmi-nav-cta,
body.sanmi-public-shell .cta-wbtn,
body.sanmi-public-shell .cta-obtn,
body.sanmi-public-shell .ev-btn {
  font-family: var(--sanmi-font-body);
}

/* ══════════════════════════════════════
   HEADER v18 — SVG sfondo + CSS grid
   Sinistra alta (logo), barra bianca sottile a destra (nav+CTA),
   curva compatta tra i due; verde hero subito sotto la forma.
══════════════════════════════════════ */

/* Reset vecchie classi (presenti nell'inline CSS con !important) */
.sb-header-shape    { display: none !important; }
.sb-header-nav-row  { display: none !important; }
.sb-header-grow     { display: none !important; }
.sb-brand--curve    { position: static !important; transform: none !important;
                      height: auto !important; top: auto !important; left: auto !important; }

.sb-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
  height: 185px !important;
  min-height: 185px !important;
  background: transparent !important;
  overflow: visible !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

/* SVG: path bianco — barra dx 68px, curva compatta, colonna sx 185px */
.sb-header-svg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 185px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
  overflow: visible !important;
}

/* Grid: brand alto (2 righe) | nav+CTA nella barra bianca top (68px) */
.sb-header-inner {
  position: relative !important;
  z-index: 2 !important;
  height: 185px !important;
  min-height: 185px !important;
  display: grid !important;
  grid-template-columns: 430px minmax(0, 1fr) auto !important;
  grid-template-rows: 68px 1fr !important;
  align-items: center !important;
  gap: 0 14px !important;
  padding: 0 40px !important;
  max-width: none !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Brand: colonna 1 — spostato ~4 cm a sinistra rispetto alla versione precedente */
.sb-brand {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
  padding: 16px 0 0 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 26px !important;
  text-decoration: none !important;
  color: inherit !important;
  position: static !important;
  transform: none !important;
  height: auto !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.sb-brand-mark {
  width: 158px !important;
  height: 158px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  border: 2px solid rgba(35,79,46,.12) !important;
  box-shadow: 0 4px 14px rgba(35,79,46,.20) !important;
  background: #f4faf5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sb-brand-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.sb-brand-txt {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  padding: 0 !important;
}

.sb-brand-wordmark {
  font-family: var(--sanmi-font-brand) !important;
  font-size: 64px !important;
  font-weight: 600 !important;
  color: #234f2e !important;
  line-height: .95 !important;
  letter-spacing: 0.04em !important;
  display: block !important;
}

.sb-brand-sub {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #d9822b !important;
  text-transform: uppercase !important;
  letter-spacing: .26em !important;
  font-family: var(--sanmi-font-body) !important;
  line-height: 1 !important;
  display: block !important;
  margin-top: 2px !important;
}

/* Nav: spostata a sinistra (~4 cm) nella fascia bianca */
.sb-site-header .sb-nav {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 0 0 0 !important;
  transform: translateX(-118px) !important;
  display: flex !important;
  position: static !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: 68px !important;
}

.sb-site-header .sb-nav-list {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  height: 100% !important;
}

.sb-site-header .sb-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 15px !important;
  height: 38px !important;
  line-height: 1 !important;
  border-radius: 9px !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  color: #364039 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  font-family: var(--sanmi-font-body) !important;
  transition: background .15s, color .15s !important;
}
.sb-site-header .sb-nav-link:hover,
.sb-site-header .sb-nav-link.is-current,
.sb-site-header .sb-nav-link.current-menu-item {
  background: #eaf4e9 !important;
  color: #1b3d20 !important;
}

/* CTA: colonna 3, stessa riga menu (barra 68px) */
.sb-header-actions {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  height: 68px !important;
}

/* Area riservata: reso discreto (outline verde) — non deve competere con le CTA principali. #14 */
.sanmi-nav-cta {
  background: transparent !important;
  color: #2f6b3f !important;
  padding: 0 16px !important;
  height: 38px !important;
  line-height: 36px !important;
  border-radius: 10px !important;
  border: 1.5px solid #cddfd2 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.sanmi-nav-cta:hover { background: #eef5ef !important; color: #1C4A2A !important; border-color: #2f6b3f !important; }

/* Hamburger: nascosto su desktop */
.sb-nav-toggle {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: none !important;
  align-self: center !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  flex-direction: column !important;
  gap: 5px !important;
  margin-left: auto !important;
}
.sb-nav-toggle span {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  background: #1b3d20 !important;
  border-radius: 2px !important;
  transition: .25s !important;
}

/* Admin bar */
.admin-bar .sb-site-header { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .sb-site-header { top: 46px !important; } }

@media (min-width: 1025px) {
  body.admin-bar.sanmi-public-shell .entry-content > .sb-wrap--home,
  body.admin-bar.sanmi-public-shell .wp-block-post-content > .sb-wrap--home,
  body.admin-bar.sanmi-public-shell .entry-content > .sb-wrap:not(.sb-wrap--home),
  body.admin-bar.sanmi-public-shell .wp-block-post-content > .sb-wrap:not(.sb-wrap--home),
  body.admin-bar.sanmi-public-shell .entry-content > .sg-wrap,
  body.admin-bar.sanmi-public-shell .wp-block-post-content > .sg-wrap {
    margin-top: calc(-185px - 32px) !important;
  }
  body.admin-bar.sanmi-public-shell .sb-wrap--home .pub-hero,
  body.admin-bar.sanmi-public-shell .sb-wrap--home .sanmi-hero.pub-hero {
    padding-top: calc(245px + 32px) !important;
  }
  body.admin-bar.sanmi-public-shell .sb-pub-hero,
  body.admin-bar.sanmi-public-shell .sb-page-hero,
  body.admin-bar.sanmi-public-shell .sb-page-hero--compact,
  body.admin-bar.sanmi-public-shell .sg-single-hero,
  body.admin-bar.sanmi-public-shell .sg-wrap.sg-archive .sg-hero.sg-hero--page {
    padding-top: calc(108px + 32px) !important;
  }
}

/* ══════ RESPONSIVE ≤1300px: il menu inline non entra piu accanto al brand
   approvato (logo grande + SANMI spaziato) senza sormontarlo -> collassa
   nell'hamburger. Su desktop 148px (v30) resta l'altezza/brand; su mobile barra
   bianca 74px. Soglia 1300 = sotto le viewport desktop verificate (1366/1440/1920). */
@media (max-width: 1300px) {
  .sb-site-header {
    height: 74px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(35,79,46,.08) !important;
  }
  .sb-header-svg { display: none !important; }
  .sb-header-inner {
    height: 74px !important;
    min-height: 0 !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 74px !important;
    align-items: center !important;
    padding: 0 16px !important;
    background: transparent !important;
  }
  .sb-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    padding: 0 !important;
    gap: 10px !important;
  }
  .sb-brand-mark {
    width: 46px !important;
    height: 46px !important;
  }
  .sb-brand-wordmark { font-size: 26px !important; }
  .sb-brand-sub { display: none !important; }
  .sb-site-header .sb-nav { display: none !important; }
  .sb-header-actions { display: none !important; }
  .sb-nav-toggle {
    grid-column: 2 !important;
    display: flex !important;
    align-self: center !important;
  }
}

@media (max-width: 560px) {
  .sb-brand-wordmark { font-size: 23px !important; }
}

/* Contatto rapido nell'header: di default nascosto (su desktop c'è il menu). */
.sb-header-quick { display: none; }
/* ≤1024px il menu diventa hamburger e il centro dell'header resta vuoto:
   qui mostriamo il telefono al centro e ribilanciamo la griglia. */
@media (max-width: 1300px) {
  .sb-header-inner { grid-template-columns: auto 1fr auto !important; }
  .sb-brand { grid-column: 1 !important; }
  .sb-header-quick {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #2f6b3f;
    color: #fff !important;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(28, 74, 42, .22);
    white-space: nowrap;
  }
  .sb-header-quick:hover { background: #1f4d2e; }
  .sb-header-quick:focus-visible { outline: 2px solid #2f6b3f; outline-offset: 2px; }
  .sb-header-quick__ico { display: inline-flex; }
  .sb-header-quick__ico svg { width: 18px; height: 18px; }
  .sb-nav-toggle { grid-column: 3 !important; }
}
/* Schermi stretti: pillola compatta (solo icona) per non affollare l'hamburger. */
@media (max-width: 560px) {
  .sb-header-quick__num { display: none; }
  .sb-header-quick { padding: 10px 12px; }
}

/* ══════════════════════════════════════
   HERO v18 — risale dietro l'header (margin-top:-185px)
   verde subito sotto la forma bianca; padding-top mantiene il contenuto in posizione.
══════════════════════════════════════ */
/* ══════════════════════════════════════
   HERO v19 — wrap risale dietro header (evita clip overflow-x su .sb-wrap)
   Il verde dell'hero parte da top; padding-top mantiene il contenuto leggibile.
══════════════════════════════════════ */
@media (min-width: 1025px) {
  body.sanmi-public-shell .entry-content > .sb-wrap--home,
  body.sanmi-public-shell .wp-block-post-content > .sb-wrap--home,
  body.sanmi-public-shell .entry-content > .sb-wrap:not(.sb-wrap--home),
  body.sanmi-public-shell .wp-block-post-content > .sb-wrap:not(.sb-wrap--home),
  body.sanmi-public-shell .entry-content > .sg-wrap,
  body.sanmi-public-shell .wp-block-post-content > .sg-wrap {
    margin-top: -185px !important;
    position: relative;
    z-index: 1;
  }
}

body.sanmi-public-shell .sb-wrap--home .pub-hero,
body.sanmi-public-shell .sb-wrap--home .sanmi-hero.pub-hero {
  margin-top: 0 !important;
  padding-top: 278px !important;
  padding-bottom: 68px !important;
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #1b3d20 0%, #2a5c30 55%, #2d6a35 100%) !important;
  background-position: center top !important;
}
.pub-hero-inner {
  max-width: 1280px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 470px) !important;
  gap: 46px !important;
  align-items: center !important;
  padding: 0 32px !important;
}
.pub-hero-inner .hero-card {
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
}
.pub-hero-inner .hc-img {
  height: 280px !important;
  min-height: 280px !important;
}
.pub-hero-inner .hero-card--empty .hc-img {
  height: 168px !important;
  min-height: 168px !important;
}
.pub-hero-inner .hc-title { font-size: 1.35rem !important; }
.pub-hero-inner .hero-card--empty .hc-title {
  font-size: 1.2rem !important;
  line-height: 1.3 !important;
}

.sb-wrap--home .pub-hero .sb-hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem) !important;
  line-height: 1.12 !important;
  margin-bottom: 22px !important;
}
.sb-wrap--home .pub-hero .sb-hero-title em {
  font-family: var(--sanmi-font-display) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: #ffe8c4 !important;
  font-size: 1.14em !important;
  letter-spacing: 0.04em !important;
  line-height: 1.05 !important;
  display: inline-block;
  transform: rotate(-1.5deg);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.sb-wrap--home .pub-hero .hero-badge {
  font-size: 12px !important;
  padding: 5px 14px !important;
  margin-bottom: 20px !important;
}

/* Hero card img */
.hc-img img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 14px; display: block;
}
.hc-title a { color: inherit; text-decoration: none; }
.hc-title a:hover { color: #2f6b3f; }

@media (max-width: 1024px) {
  body.sanmi-public-shell .entry-content > .sb-wrap--home,
  body.sanmi-public-shell .wp-block-post-content > .sb-wrap--home,
  body.sanmi-public-shell .entry-content > .sb-wrap:not(.sb-wrap--home),
  body.sanmi-public-shell .wp-block-post-content > .sb-wrap:not(.sb-wrap--home),
  body.sanmi-public-shell .entry-content > .sg-wrap,
  body.sanmi-public-shell .wp-block-post-content > .sg-wrap {
    margin-top: 0 !important;
  }
  body.sanmi-public-shell .sb-wrap--home .pub-hero,
  body.sanmi-public-shell .sb-wrap--home .sanmi-hero.pub-hero {
    margin-top: 0 !important;
    padding-top: 112px !important;
    padding-bottom: 44px !important;
  }
  .pub-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    padding: 0 20px !important;
  }
}

@media (max-width: 560px) {
  .sb-wrap--home .pub-hero h1,
  .sb-wrap--home .pub-hero .sb-hero-title {
    font-size: clamp(34px, 9vw, 46px) !important;
  }
}

/* Mobile menu brand */
.sanmi-mm-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px 20px; border-bottom: 1px solid #e6f4e8; margin-bottom: 8px;
}
.sanmi-mm-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sanmi-mm-brand-name { font-family: var(--sanmi-font-brand); font-size: 28px; font-weight: 600; color: #234f2e; }

/* ══════════════════════════════════════
   FOOTER v6 — compatto
══════════════════════════════════════ */
.sb-site-footer {
  padding: 32px 5% 20px !important;
}
.sb-footer-grid {
  max-width: 1100px;
  margin: 0 auto 14px;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: 20px 32px;
  align-items: start;
}
.sb-site-footer .sb-footer-brand {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  align-items: flex-start !important;
}
.sb-footer-brand-title {
  font-family: var(--sanmi-font-brand) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #fff !important;
  display: block !important;
  line-height: 1 !important;
  margin: 0 !important;
}
.sb-footer-brand-payoff {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #d9822b;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 0;
  font-family: var(--sanmi-font-body);
}
.sb-footer-brand-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.sb-footer-brand-top { margin-bottom: 0; flex: 1 1 auto; min-width: 0; }
.sb-footer-brand-social.sb-social-links {
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  justify-content: flex-end;
}
.sb-footer-brand-social .sb-social-link--footer-ig {
  min-height: 44px;
  padding: 8px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-color: rgba(225, 48, 108, 0.55) !important;
  background: rgba(225, 48, 108, 0.18) !important;
  color: #fff !important;
}
.sb-footer-brand-social .sb-social-link--footer-fb {
  min-height: 44px;
  padding: 8px 12px !important;
  font-size: 12px !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
.sb-footer-brand-social .sb-social-link--footer-ig:hover {
  background: rgba(225, 48, 108, 0.32) !important;
  border-color: rgba(225, 48, 108, 0.75) !important;
}
.sb-footer-brand-social .sb-social-link--footer-fb:hover {
  background: rgba(24, 119, 242, 0.22) !important;
  border-color: rgba(24, 119, 242, 0.45) !important;
  color: #fff !important;
}
.sb-footer-phone-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sb-footer-wa-chip {
  display: inline;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: #8ec498;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  vertical-align: baseline;
  flex-shrink: 0;
}
.sb-footer-wa-chip::before {
  content: "·";
  margin: 0 5px;
  color: #6a7a6e;
  font-weight: 400;
}
.sb-footer-wa-chip:hover {
  background: none;
  color: #b8e8c0;
  text-decoration: underline;
}
.sb-footer-col--hide-mobile {}
.sb-title--on-dark {
  color: #fff !important;
  margin: 0 0 12px !important;
}
.sb-btn-on-sage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--orange) !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 18px rgba(217, 123, 26, 0.28);
}
.sb-btn-on-sage:hover {
  background: var(--orange-dark) !important;
  color: #fff !important;
}
.sb-home-farm-teaser,
.sb-home-schools-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sb-footer-brand-txt { display: flex; flex-direction: column; gap: 2px; }
.sb-footer-sanmi-logo {
  width: 84px !important;
  height: 84px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.sb-footer-text {
  font-size: 13px !important;
  color: rgba(255,255,255,.62) !important;
  line-height: 1.65 !important;
  max-width: 320px;
  margin: 0 0 12px !important;
  font-family: var(--sanmi-font-body) !important;
}
.sb-footer-logos--brand { margin-top: 2px; }
.sb-footer-logos--brand .sb-footer-logos-inner {
  gap: 8px !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.sb-footer-logo-item {
  background: rgba(255,255,255,.94) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
}
.sb-footer-logo-img {
  height: 44px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}
.sb-footer-logo-link:hover .sb-footer-logo-img { opacity: .88 !important; }
.sb-footer-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin: 0 0 8px;
  display: block;
  font-family: var(--sanmi-font-body);
}
.sb-footer-address {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  margin: 0 0 6px;
  font-family: var(--sanmi-font-body);
}
.sb-footer-link {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-family: var(--sanmi-font-body);
}
.sb-footer-link:hover { color: #fff; }
.sb-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  font-family: var(--sanmi-font-body);
  transition: background .15s, border-color .15s;
}
.sb-footer-btn:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.35);
}
.sb-footer-when-text p {
  font-size: 13px;
  color: rgba(255,255,255,.58);
  line-height: 1.55;
  margin: 0 0 10px;
  font-family: var(--sanmi-font-body);
}
.sb-footer-list--contacts { gap: 6px !important; list-style: none; margin: 0; padding: 0; min-width: 0; }
.sb-footer-list--contacts li,
.sb-footer-list--contacts a {
  font-size: 12px !important;
  color: rgba(255,255,255,.78) !important;
  font-family: var(--sanmi-font-body) !important;
  line-height: 1.4 !important;
  text-decoration: none;
}
.sb-site-footer .sb-footer-col--contacts,
.sb-site-footer .sb-footer-contact-item,
.sb-site-footer .sb-footer-list--contacts li {
  min-width: 0;
  max-width: 100%;
}
.sb-site-footer .sb-footer-list--contacts a {
  overflow-wrap: anywhere;
  word-break: break-word;
  display: block;
  max-width: 100%;
}
.sb-footer-list--contacts a:hover { color: #fff; }
.sb-footer-logos--center {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.sb-footer-logos--center .sb-footer-logos-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: center !important;
}
.sb-footer-logos--center .sb-footer-logo-item {
  flex: 0 0 auto !important;
}
.sb-footer-logos--center .sb-footer-logo-img {
  height: 52px !important;
}
.sb-footer-tagline {
  max-width: 1100px;
  margin: 0 auto 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sb-footer-tagline p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  font-family: var(--sanmi-font-body);
  text-align: center;
}
.sb-footer-social--tagline.sb-social-links {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.sb-footer-social--tagline .sb-social-link {
  min-height: 36px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
}
.sb-footer-social--brand.sb-social-links {
  margin-top: 12px;
}
.sb-footer-social--brand .sb-social-link {
  min-height: 36px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
}
.sb-footer-contact-item--block { flex-direction: column !important; gap: 3px !important; }
.sb-footer-contact-label {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  display: block;
  font-family: var(--sanmi-font-body);
}
.sb-footer-list--contacts .sb-footer-contact-item:nth-child(1) .sb-footer-contact-label { color: rgba(168,224,176,.9); }
.sb-footer-list--contacts .sb-footer-contact-item:nth-child(2) .sb-footer-contact-label { color: rgba(140,200,220,.85); }
.sb-footer-list--contacts .sb-footer-contact-item:nth-child(3) .sb-footer-contact-label { color: rgba(240,176,96,.9); }
.sb-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.sb-footer-bottom__legal {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-family: var(--sanmi-font-body);
}
.sb-footer-bottom__legal a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.sb-footer-bottom__legal a:hover { color: rgba(255,255,255,.75); }
.sb-footer-bottom .sb-footer-social.sb-social-links { margin: 0; }
.sb-footer-bottom .sb-footer-social .sb-social-link {
  min-height: 34px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
}
.sb-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sb-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px;
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-family: var(--sanmi-font-body) !important;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.sb-footer-social.sb-social-links { margin-top: 0; justify-content: flex-end; }
.sb-footer-social .sb-social-link {
  color: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: transparent;
}
.sb-footer-social .sb-social-link:hover { color: #fff !important; border-color: rgba(255,255,255,.35) !important; }
.sb-footer-social .sb-social-link--wa:hover { background: rgba(37,162,68,.25); border-color: rgba(37,162,68,.5) !important; }
.sb-footer-social .sb-social-link--ig:hover { background: rgba(225,48,108,.2); border-color: rgba(225,48,108,.4) !important; }
.sb-footer-social .sb-social-link--fb:hover { background: rgba(24,119,242,.2); border-color: rgba(24,119,242,.4) !important; }
.sb-contact-social.sb-social-links { margin-top: 12px; }
.sb-contact-social .sb-social-link {
  color: #1b3d20 !important;
  background: #fff;
  border: 1px solid #dfe8dd !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  font-size: 13px !important;
}
.sb-contact-social .sb-social-link:hover {
  border-color: #2d6a35 !important;
  background: #f4faf5;
  color: #1b3d20 !important;
}
.sb-contact-social .sb-social-link--wa:hover { border-color: #25a244 !important; background: #e8f7ec; }
.sb-contact-social .sb-social-link--ig:hover { border-color: #e1306c !important; background: #fdf0f5; }
.sb-contact-social .sb-social-link--fb:hover { border-color: #1877f2 !important; background: #eef4fd; }
/* legacy alias */
.sb-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.sb-footer-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  min-height: 44px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.78) !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  transition: background .15s, color .15s, border-color .15s;
  font-family: var(--sanmi-font-body) !important;
}
.sb-footer-social-link:hover { color: #fff !important; border-color: rgba(255,255,255,.35) !important; }
.sb-footer-social-link--wa:hover { background: rgba(37,162,68,.25); border-color: rgba(37,162,68,.5) !important; }
.sb-footer-social-link--ig:hover { background: rgba(225,48,108,.2); border-color: rgba(225,48,108,.4) !important; }
.sb-footer-social-link--fb:hover { background: rgba(24,119,242,.2); border-color: rgba(24,119,242,.4) !important; }

@media (max-width: 1024px) {
  .sb-footer-grid { grid-template-columns: 1fr 1fr !important; }
  .sb-footer-brand { grid-column: 1 / -1; }
  .sb-footer-social.sb-social-links { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .sb-footer-grid { grid-template-columns: 1fr !important; }
  .sb-footer-bottom { flex-direction: column; align-items: flex-start; }
  .sb-footer-social.sb-social-links { width: 100%; }
  .sb-site-footer .sb-footer-col--contacts {
    min-width: 0;
    max-width: 100%;
  }
  .sb-footer-col--hide-mobile {
    display: none !important;
  }
  .sb-footer-brand-head {
    align-items: center;
  }
  .sb-footer-brand-social.sb-social-links {
    flex-direction: column;
    align-items: stretch;
    width: auto;
    min-width: 108px;
  }
  .sb-footer-brand-social .sb-social-link {
    justify-content: center;
  }
  .sb-contact-social.sb-social-links { flex-direction: column; }
  .sb-contact-social .sb-social-link { width: 100%; justify-content: center; }
}


/* ══════════════════════════════════════
   HERO v3 — pub-hero
══════════════════════════════════════ */
.pub-hero {
  background: linear-gradient(145deg,#1b3d20 0%,#2a5c30 55%,#2d6a35 100%);
  padding: 52px 5% 60px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.pub-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pub-hero-content { min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.sb-hero-title em {
  font-family: var(--sanmi-font-display) !important;
  font-style: normal !important;
  color: #ffe8c4 !important;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hbtn-main {
  background: #d97b1a;
  color: #fff;
  padding: 15px 30px;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .18s, transform .18s;
  box-shadow: 0 4px 14px rgba(217,123,26,.4);
}
.hbtn-main:hover { background: #b8620e; transform: translateY(-2px); }
.hbtn-sec {
  background: rgba(255,255,255,.1);
  color: #fff;
  padding: 14px 26px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .18s;
}
.hbtn-sec:hover { background: rgba(255,255,255,.18); }
.hero-stats {
  display: flex;
  gap: 28px;
}
.hstat-num {
  font-family: var(--sanmi-font-body);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hstat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* Hero card (desktop only) */
.hero-card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(27,61,32,.15);
  color: #0f1a10;
  max-width: 540px;
  width: 100%;
}
.hc-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e6f4e8;
  color: #2d6a35;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.hc-img {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  background: linear-gradient(135deg,#1b3d20,#2d6a35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.hc-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #d97b1a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 7px;
  text-align: center;
}
.hc-date span { display: block; font-size: 15px; line-height: 1.1; }
.hc-title {
  font-family: var(--sanmi-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #0f1a10;
  margin-bottom: 10px;
  line-height: 1.2;
}
.hc-meta {
  font-size: 12px;
  color: #6b7a6e;
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hc-price { font-size: 11px; color: #6b7a6e; }
.hc-price strong { display: block; font-size: 17px; font-weight: 600; color: #1b3d20; }
.hero-card--empty .hc-meta { margin-bottom: 10px; }
.hc-img--empty {
  background: linear-gradient(145deg, #e6f4e8 0%, #d4ead8 100%) !important;
}
.hc-img__ph {
  font-size: 2rem;
  line-height: 1;
  opacity: .85;
}

/* ══════════════════════════════════════
   SECTIONS — pub-sec / sec-hd
══════════════════════════════════════ */
.pub-sec {
  padding: 56px 5%;
  background: #fdfaf4;
}
.pub-sec-alt { background: var(--sanmi-bg-section-alt); }
.sec-inner { max-width: 1100px; margin: 0 auto; }
.sec-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 14px;
  flex-wrap: wrap;
}
.sec-eye {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2d6a35;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sec-eye::before {
  content: '';
  width: 18px;
  height: 2px;
  background: #2d6a35;
  display: inline-block;
}
.sec-ttl {
  font-family: var(--sanmi-font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 700;
  color: #0f1a10;
  line-height: 1.22;
}
.sec-lnk {
  color: #2d6a35;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: gap .15s;
}
.sec-lnk:hover { gap: 8px; }

/* ══════════════════════════════════════
   FEAT GRID — icon tiles
══════════════════════════════════════ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.feat {
  background: #fff;
  border: 1px solid #e2ebe3;
  border-radius: 16px;
  padding: 18px;
  transition: border-color .2s, box-shadow .2s;
}
.feat:hover {
  border-color: #2d6a35;
  box-shadow: 0 1px 3px rgba(27,61,32,.07), 0 4px 12px rgba(27,61,32,.05);
}
.feat-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e6f4e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.feat-ico--am { background: #fef3e2; }
.feat-ttl { font-size: 13px; font-weight: 600; color: #0f1a10; margin-bottom: 5px; }
.feat-desc { font-size: 12px; color: #6b7a6e; line-height: 1.6; }

/* ══════════════════════════════════════
   EVENTS (dynamic rows wrapper)
══════════════════════════════════════ */
.sb-home-events-dyn {
  /* il contenuto reso da sanmi_base_render_home_event_rows() */
}

/* ev-btn per hero card */
.ev-btn {
  background: #2d6a35;
  color: #fff;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background .15s;
}
.ev-btn:hover { background: #1b3d20; }
.ev-btn--am { background: #d97b1a; }
.ev-btn--am:hover { background: #b8620e; }

/* ══════════════════════════════════════
   CATS STRIP
══════════════════════════════════════ */
.cats-strip {
  background: #1b3d20;
  padding: 28px 5%;
}
.cats-inner { max-width: 1100px; margin: 0 auto; }
.cats-ttl {
  font-family: var(--sanmi-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.cats-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cats-row::-webkit-scrollbar { display: none; }
.cat-c {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  transition: all .18s;
  min-width: 80px;
}
.cat-c:hover { background: #d97b1a; border-color: #d97b1a; }
.cat-emoji { font-size: 20px; }
.cat-lbl { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.8); text-align: center; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.testi {
  background: #fff;
  border: 1px solid #e2ebe3;
  border-radius: 16px;
  padding: 20px;
}
.testi-stars { color: #d97b1a; font-size: 12px; letter-spacing: 2px; margin-bottom: 10px; }
.testi-txt {
  font-size: 13px;
  color: #364039;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}
.testi-auth { display: flex; align-items: center; gap: 9px; }
.tav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.tav1 { background: #2d6a35; }
.tav2 { background: #d97b1a; }
.tav3 { background: #1b3d20; }
.testi-name { font-size: 13px; font-weight: 600; color: #0f1a10; }
.testi-role { font-size: 11px; color: #9aaa9d; }

/* ══════════════════════════════════════
   CTA BOX
══════════════════════════════════════ */
.cta-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% 64px;
}
.cta-box {
  background: linear-gradient(135deg,#1b3d20,#2d6a35);
  border-radius: 22px;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: '🌱';
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 88px;
  opacity: .08;
  pointer-events: none;
}
.cta-txt h2 {
  font-family: var(--sanmi-font-heading);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
}
.cta-txt p { font-size: 13px; color: rgba(255,255,255,.65); max-width: 400px; }
.cta-acts { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cta-wbtn {
  background: #fff;
  color: #1b3d20;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  display: inline-block;
}
.cta-wbtn:hover { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(0,0,0,.13); }
.cta-obtn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .18s, background .18s;
  display: inline-block;
}
.cta-obtn:hover { border-color: #d97b1a; background: #d97b1a; }

/* ══════════════════════════════════════
   MOBILE BOTTOM NAV
══════════════════════════════════════ */
.sanmi-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #e2ebe3;
  z-index: 150;
  padding: 8px 0;
  grid-template-columns: repeat(4, 1fr);
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  color: #9aaa9d;
  text-decoration: none;
  transition: color .15s;
}
.bn-item:hover, .bn-item--cur { color: #2d6a35; }
.bn-icon {
  display: block;
  width: 18px;
  height: 18px;
  opacity: 0.72;
  background: currentColor;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}
.bn-icon--home {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}
.bn-icon--eventi {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}
.bn-icon--vacanze {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22c4-4.5 7-8.2 7-12a7 7 0 1 0-14 0c0 3.8 3 7.5 7 12z'/%3E%3Cpath d='M12 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22c4-4.5 7-8.2 7-12a7 7 0 1 0-14 0c0 3.8 3 7.5 7 12z'/%3E%3Cpath d='M12 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E");
}
.bn-icon--area {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
}
.bn-item--cur .bn-icon { opacity: 1; }
.bn-label { font-size: 10px; font-weight: 500; }

/* ══════════════════════════════════════
   NAVBAR scroll shadow
══════════════════════════════════════ */
.sb-site-header.scrolled {
  box-shadow: 0 2px 16px rgba(27,61,32,.09) !important;
}

/* ══════════════════════════════════════
   HERO PUBBLICO — unificato (tutte le pagine)
══════════════════════════════════════ */
.sb-pub-hero,
.sb-page-hero,
.sb-page-hero--compact {
  background: linear-gradient(155deg, #163420 0%, #1f4d28 38%, #2d6a35 72%, #3a7d45 100%) !important;
  border-bottom: none !important;
  padding: 0 5% 40px !important;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
  z-index: 1;
}
.sb-pub-hero::before,
.sb-page-hero::before,
.sb-page-hero--compact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 78% 40%, rgba(255,255,255,.09) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(217,123,26,.08) 0%, transparent 50%);
  pointer-events: none;
}
body.sanmi-public-shell .sb-pub-hero,
body.sanmi-public-shell .sb-page-hero,
body.sanmi-public-shell .sb-page-hero--compact {
  padding-top: 108px !important;
  min-height: 156px;
}
/* Desktop: l'header in cima è trasparente e l'hero risale dietro (-185px).
   Il titolo deve stare appena sotto la lingua bianca della nav (bordo a ~68px),
   nella rientranza dell'onda — non più spinto in basso. Fascia verde più
   stretta: titolo + abbellimenti salgono in alto, meno verde sotto. */
@media (min-width: 1025px) {
  body.sanmi-public-shell .sb-pub-hero,
  body.sanmi-public-shell .sb-page-hero,
  body.sanmi-public-shell .sb-page-hero--compact {
    padding-top: 116px !important;
    padding-bottom: 24px !important;
  }
}
.sb-pub-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 68px;
  padding-right: 2%;
}
.sb-pub-hero__content {
  text-align: right;
  max-width: min(720px, 100%);
}
.sb-pub-hero__eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin: 0 0 8px;
  font-family: var(--sanmi-font-heading);
}
.sb-pub-hero__title,
.sb-page-hero .sb-title,
.sb-page-hero h1 {
  font-family: var(--sanmi-font-heading) !important;
  font-size: clamp(30px, 3.6vw, 48px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: #fff !important;
  margin: 0 0 0 auto !important;
  line-height: 1.14 !important;
  max-width: min(640px, 100%);
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
  text-shadow: 0 4px 28px rgba(0,0,0,.25), 0 1px 0 rgba(255,255,255,.12) !important;
  display: block !important;
}
.sb-pub-hero__title-text { letter-spacing: inherit; }
.sb-pub-hero__embellish {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 12px;
  max-width: 100%;
}
.sb-pub-hero__em-line {
  flex: 1 1 28px;
  max-width: 72px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35));
}
.sb-pub-hero__embellish .sb-pub-hero__em-line:last-child {
  background: linear-gradient(90deg, rgba(255,255,255,.35), transparent);
}
.sb-pub-hero__em-line--short {
  flex: 0 0 18px;
  max-width: 18px;
  background: rgba(255,255,255,.22) !important;
}
.sb-pub-hero__em-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sb-pub-hero__em-icon--side {
  color: #a8e0b0;
  opacity: .88;
}
.sb-pub-hero__em-icon--main {
  color: #f0b060;
  opacity: .95;
}
.sb-pub-hero__leaf {
  display: none !important;
}
.sb-pub-hero__title--deco::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 12px 0 0 auto;
  border-radius: 4px;
  background: linear-gradient(90deg, #d97b1a, #f0b060);
}
.sb-pub-hero__lead,
.sb-page-hero .sb-lead {
  color: rgba(255,255,255,.82) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  margin: 12px 0 0 !important;
  max-width: 560px !important;
  margin-left: auto !important;
  font-family: var(--sanmi-font-body) !important;
  text-align: right;
  text-wrap: balance !important;
}

body.sanmi-public-shell .sg-single-hero,
body.sanmi-public-shell .sg-wrap.sg-archive .sg-hero.sg-hero--page {
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
  background: linear-gradient(155deg, #163420 0%, #1f4d28 38%, #2d6a35 72%, #3a7d45 100%) !important;
  border-bottom: none !important;
  padding: 0 5% 40px !important;
  padding-top: 108px !important;
  min-height: 156px;
  overflow: hidden;
}
/* Camp/programma: il titolo non ha la riga badge sopra -> serve piu spazio o finisce sotto
   l'onda bianca dell'header. Specificita superiore per battere la regola generica sopra. #6 */
body.sanmi-public-shell .sg-camp-single .sg-single-hero { padding-top: 140px !important; }
@media (min-width: 1025px) {
  body.admin-bar.sanmi-public-shell .sg-camp-single .sg-single-hero { padding-top: 172px !important; }
}
@media (max-width: 1024px) {
  body.sanmi-public-shell .sg-camp-single .sg-single-hero { padding-top: 96px !important; }
}

body.sanmi-public-shell .sg-single-hero h1,
body.sanmi-public-shell .sg-wrap.sg-archive .sg-hero.sg-hero--page h1 {
  font-family: var(--sanmi-font-heading) !important;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  line-height: 1.14 !important;
  max-width: min(620px, 100%);
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
  text-shadow: 0 4px 24px rgba(0,0,0,.22);
}

@media (min-width: 1025px) {
  body.admin-bar.sanmi-public-shell .sb-pub-hero,
  body.admin-bar.sanmi-public-shell .sb-page-hero,
  body.admin-bar.sanmi-public-shell .sb-page-hero--compact,
  body.admin-bar.sanmi-public-shell .sg-single-hero,
  body.admin-bar.sanmi-public-shell .sg-wrap.sg-archive .sg-hero.sg-hero--page {
    padding-top: calc(108px + 32px) !important;
  }
}
@media (max-width: 1024px) {
  body.sanmi-public-shell .sb-pub-hero,
  body.sanmi-public-shell .sb-page-hero,
  body.sanmi-public-shell .sb-page-hero--compact,
  body.sanmi-public-shell .sg-single-hero,
  body.sanmi-public-shell .sg-wrap.sg-archive .sg-hero.sg-hero--page {
    padding-top: 88px !important;
    padding-bottom: 32px !important;
    min-height: 0;
  }
  .sb-pub-hero__inner {
    justify-content: center;
    padding-right: 0;
  }
  .sb-pub-hero__content { text-align: center; }
  .sb-pub-hero__embellish { justify-content: center; }
  .sb-pub-hero__title,
  .sb-page-hero .sb-title,
  .sb-page-hero h1 {
    justify-content: center !important;
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .sb-pub-hero__title--deco::after { margin-left: auto; margin-right: auto; }
  .sb-pub-hero__lead,
  .sb-page-hero .sb-lead {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* legacy alias — rimossi stili piatti precedenti */

/* ══════════════════════════════════════
   CPT singolo evento — blocchi tema WP (featured image + block-gap)
   Il poster è già nell'hero shortcode; il blocco tema creava fascia crema e gap 1.2rem.
══════════════════════════════════════ */
body.sanmi-public-shell.single-sanmi_evento main .wp-block-post-featured-image {
  display: none !important;
  margin: 0 !important;
}

body.sanmi-public-shell .sg-wrap.sg-single .sg-quick-info-grid {
  gap: 12px;
  margin-bottom: 28px;
}
body.sanmi-public-shell .sg-wrap.sg-single .sg-quick-info-card {
  padding: 14px 16px;
}
body.sanmi-public-shell .sg-wrap.sg-single .sg-quick-info-card__value {
  white-space: pre-line;
}
body.sanmi-public-shell .sb-wrap--settimane #programmi-settimane-verdi {
  padding-top: 0;
}
body.sanmi-public-shell .sb-wrap--settimane #programmi-settimane-verdi .sb-section-head {
  margin-bottom: 16px;
}
body.sanmi-public-shell .sb-wrap--camp-detail .sg-wrap.sg-single .sg-quick-info-grid {
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  body.sanmi-public-shell .sg-wrap.sg-single .sg-quick-info-card {
    padding: 12px 14px;
  }
}

body.sanmi-public-shell.single-sanmi_evento main > .wp-block-group.alignfull > .entry-content,
body.sanmi-public-shell.single-sanmi_evento main .wp-block-post-content:has(.sg-wrap.sg-single) {
  margin-top: 0 !important;
}

/* Archivio eventi: filtri tipologia nascosti (lista pulita) */
body.sanmi-public-shell .sb-wrap--eventi-archive .sg-toolbar,
body.sanmi-public-shell .sg-archive .sg-toolbar {
  display: none !important;
}

/* ══════════════════════════════════════
   CARDS generiche
══════════════════════════════════════ */
.sb-card {
  background: #fff;
  border: 1px solid #e2ebe3;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.sb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(27,61,32,.13);
}

/* Grid generiche */
.sb-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

/* Accordion */
.sb-accordion { display: flex; flex-direction: column; gap: 8px; }
.sb-accordion__item {
  background: #fff; border: 1px solid #e2ebe3; border-radius: 12px; overflow: hidden;
}
.sb-accordion__summary {
  padding: 14px 16px; font-weight: 600; font-size: 14px; color: #1b3d20;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
}
.sb-accordion__summary::-webkit-details-marker { display: none; }
.sb-accordion__summary::after { content: '+'; font-size: 18px; color: #d97b1a; }
.sb-accordion__item[open] .sb-accordion__summary::after { content: '\2212'; }
.sb-accordion__body { padding: 0 16px 14px; font-size: 13px; color: #6b7a6e; line-height: 1.7; }

/* Steps */
.sb-steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.sb-step {
  background: #f4faf5; border: 1px solid #e2ebe3; border-radius: 14px;
  padding: 18px; text-align: center;
}
.sb-step__icon { font-size: 28px; margin-bottom: 10px; }
.sb-step__title { font-family: var(--sanmi-font-body); font-size: 14px; font-weight: 700; color: #1b3d20; margin-bottom: 6px; }
.sb-step__text { font-size: 12px; color: #6b7a6e; line-height: 1.6; }

/* Info box */
.sb-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.sb-info-box {
  padding: 16px; border-radius: 12px;
  background: #f4faf5; border: 1px solid #e2ebe3;
}
.sb-info-box strong { display: block; color: #1b3d20; margin-bottom: 5px; font-size: 14px; }
.sb-info-box span { color: #6b7a6e; font-size: 13px; line-height: 1.55; }

/* CTA band interna */
.sb-cta {
  background: linear-gradient(135deg, #1b3d20, #2d6a35);
  color: #fff; border-radius: 22px; padding: 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.sb-cta .sb-cta-title {
  font-family: var(--sanmi-font-heading);
  font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 700; color: #fff;
  margin: 0 0 8px;
}
.sb-cta .sb-cta-text { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; margin: 0; }

/* Form contatti */
.sb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sb-field label { display: block; font-weight: 600; margin-bottom: 6px; color: #1b3d20; font-size: 13px; }
.sb-field input, .sb-field textarea, .sb-field select {
  width: 100%; border: 1px solid #c8d9ca; border-radius: 10px;
  padding: 10px 12px; font-size: 14px; font-family: system-ui, sans-serif;
  transition: border-color .15s; background: #fff; color: #0f1a10;
}
.sb-field input:focus, .sb-field textarea:focus { outline: none; border-color: #2d6a35; }
.sb-field textarea { min-height: 110px; }
.sb-field-full { grid-column: 1 / -1; }
.sb-alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 600; font-size: 13px; }
.sb-alert-ok { background: #e6f4e8; color: #1b3d20; }
.sb-alert-error { background: #fdecea; color: #8b1a1a; }

/* Mobile path tiles (legacy) */
.sb-home-paths-mobile { display: none; }
.sb-home-path-tile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px; background: var(--sanmi-bg-card); border: 1px solid var(--border);
  border-radius: 12px; text-decoration: none; transition: all .15s;
  min-height: 44px;
  justify-content: center;
}
.sb-home-path-tile:hover { border-color: #2d6a35; background: #f0f6f1; }
.sb-home-path-tile__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #1b3d20;
}
.sb-home-path-tile__text { font-size: 12px; color: #6b7a6e; }
.sb-home-path-tile__icon { font-size: 18px; line-height: 1; flex-shrink: 0; }

/* Scroll reveal */
.sanmi-reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; }
.sanmi-reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   CONTATTI — layout 2 colonne bilanciato
══════════════════════════════════════ */
.sb-wrap--contatti .sb-contact-main {
  padding: 28px 0 36px !important;
}
.sb-wrap--contatti .sb-contact-main > .sb-container.sb-contact-layout {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 28px);
  padding-right: clamp(16px, 3vw, 28px);
  width: 100%;
  box-sizing: border-box;
}
.sb-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.sb-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.sb-contact-cta-bar {
  margin-bottom: 8px;
}
.sb-contact-wa-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  width: auto;
  max-width: 100%;
  background: #25a244 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(37, 162, 68, 0.28);
}
.sb-contact-wa-cta:hover {
  background: #1d8636 !important;
}
.sb-contact-row {
  padding: 12px 0;
  border-bottom: 1px solid #e8efe9;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-contact-row:first-child { padding-top: 0; }
.sb-contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.sb-contact-row__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--sanmi-font-body);
}
.sb-contact-row--phone .sb-contact-row__label { color: #1b3d20; }
.sb-contact-row--phone .sb-contact-row__value { color: #2d6a35; }
.sb-contact-row--info .sb-contact-row__label { color: #2a6b8a; }
.sb-contact-row--info .sb-contact-row__value--email { color: #1e4d63; }
.sb-contact-row--bookings .sb-contact-row__label { color: #c45f1a; }
.sb-contact-row--bookings .sb-contact-row__value--email { color: #9a4a12; }
.sb-contact-row--social .sb-contact-row__label { color: #5c4d9a; }
.sb-contact-row__value {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: #1b3d20;
  text-decoration: none;
  font-family: var(--sanmi-font-body);
  line-height: 1.25;
}
.sb-contact-row__value:hover { color: #2d6a35; }
.sb-contact-row__value--email {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sb-contact-row__desc {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7a6e;
  font-family: var(--sanmi-font-body);
  max-width: 38em;
}
.sb-contact-row--social .sb-contact-social.sb-social-links {
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sb-wrap--contatti .sb-contact-social .sb-social-link {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 13px;
}
.sb-contact-map-wrap {
  position: relative;
  min-width: 0;
}
.sb-wrap--contatti .sb-map-embed {
  border: 2px solid #dfe8dd;
  background: var(--sanmi-bg-card);
  box-shadow: 0 8px 24px rgba(27, 61, 32, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sb-wrap--contatti .sb-map-embed__bar {
  justify-content: flex-start;
  align-items: stretch;
  background: var(--sanmi-bg-section);
  flex-shrink: 0;
  padding: 8px 12px;
}
.sb-map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dfe8dd;
  background: var(--sanmi-bg-card);
  box-shadow: 0 8px 24px rgba(27, 61, 32, 0.08);
}
.sb-map-embed__frame-wrap {
  position: relative;
  width: 100%;
  background: #e8f0e9;
  line-height: 0;
  overflow: hidden;
}
.sb-wrap--contatti .sb-map-embed__frame-wrap .sb-map-embed__iframe,
.sb-map-embed__iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none;
  min-height: 0;
  border: 0;
  z-index: 1;
}
/* Fallback brandizzato dietro la mappa: visibile se l'iframe Google non
   carica (es. senza rete/consenso); coperto dalla mappa reale quando carica.
   Evita il "riquadro grigio vuoto" che sembra rotto. */
.sb-wrap--contatti .sb-map-embed__frame-wrap {
  background: linear-gradient(150deg, #eaf4ec 0%, #d9ebdd 60%, #cfe6d6 100%);
  min-height: 340px;
  flex: 1 1 auto;
}
.sb-wrap--contatti .sb-map-embed__frame-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232d6a35'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain;
  z-index: 0;
  filter: drop-shadow(0 6px 10px rgba(27, 61, 32, 0.18));
}
.sb-wrap--contatti .sb-map-embed__frame-wrap::after {
  content: "Vieni a trovarci · Nervesa della Battaglia (TV)";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 56%;
  text-align: center;
  font-family: var(--sanmi-font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2a5c30;
  z-index: 0;
}
.sb-map-embed__bar {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  flex-wrap: nowrap;
  padding: 8px 12px;
  border-top: 1px solid #e8efe9;
  background: var(--sanmi-bg-section);
}
.sb-map-embed__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
  font-family: var(--sanmi-font-body);
}
.sb-map-embed__address {
  font-size: 13px;
  color: #3d5242;
  line-height: 1.35;
  font-weight: 600;
}
.sb-map-embed__txt strong {
  font-size: 14px;
  color: #1b3d20;
}
.sb-map-embed__txt span {
  font-size: 12px;
  color: #6b7a6e;
  line-height: 1.35;
}
.sb-map-embed__link {
  font-size: 11px;
  font-weight: 600;
  color: #6b7a6e;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: var(--sanmi-font-body);
  flex-shrink: 0;
  align-self: flex-start;
}
.sb-map-embed__link:hover { color: #2d6a35; }

@media (min-width: 901px) {
  .sb-wrap--contatti .sb-contact-layout {
    grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1.1fr);
    gap: 36px 40px;
    align-items: stretch;
  }
  .sb-wrap--contatti .sb-contact-map-wrap {
    position: sticky;
    top: 96px;
    align-self: start;
  }
  .sb-wrap--contatti .sb-map-embed__frame-wrap {
    height: min(400px, 42vh);
    min-height: 360px;
    max-height: 420px;
  }
  .sb-wrap--contatti .sb-contact-row__desc {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .sb-wrap--contatti .sb-contact-layout {
    gap: 20px;
  }
  .sb-wrap--contatti .sb-contact-map-wrap {
    order: 2;
  }
  .sb-wrap--contatti .sb-contact-info {
    order: 1;
  }
  .sb-wrap--contatti .sb-contact-social.sb-social-links {
    flex-direction: row !important;
    flex-wrap: wrap;
  }
  .sb-wrap--contatti .sb-contact-social .sb-social-link {
    width: auto !important;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    justify-content: center;
  }
  .sb-wrap--contatti .sb-contact-wa-cta {
    width: 100%;
    max-width: 420px;
    min-height: 44px;
    padding: 10px 18px !important;
    font-size: 14px !important;
  }
  .sb-wrap--contatti .sb-map-embed__frame-wrap {
    height: 210px;
    max-height: 210px;
  }
  .sb-wrap--contatti .sb-map-embed__bar {
    padding: 8px 10px;
    gap: 0;
  }
  .sb-wrap--contatti .sb-map-embed__address {
    font-size: 12px;
  }
  .sb-wrap--contatti .sb-map-embed__link {
    font-size: 11px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
  }
  .sb-wrap--contatti .sb-contact-row__value {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .sb-wrap--contatti .sb-contact-row {
    padding: 10px 0;
  }
  .sb-wrap--contatti .sb-contact-row__desc {
    font-size: 12px;
  }
  .sb-wrap--contatti .sb-map-embed__frame-wrap {
    height: 190px;
    max-height: 190px;
  }
  .sb-wrap--contatti .sb-map-embed__bar {
    flex-direction: column;
    align-items: stretch;
  }
  .sb-wrap--contatti .sb-map-embed__link {
    max-width: 100%;
    align-self: flex-start;
    text-align: left;
  }
  .sb-wrap--contatti .sb-contact-social .sb-social-link {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .sb-wrap--contatti .sb-map-embed__frame-wrap {
    height: 280px;
    max-height: 280px;
  }
}

/* legacy contact card classes (altre pagine) */
.sb-contact-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1b3d20;
  text-decoration: none;
  border: 1px solid #cfe0d0;
  background: #f4faf5;
  font-family: var(--sanmi-font-body);
  transition: background .15s, border-color .15s, color .15s;
}
.sb-contact-card__link:hover {
  background: #eaf4e9;
  border-color: #2d6a35;
  color: #1b3d20;
}
.sb-contact-card__link--wa:hover {
  background: #e8f7ec;
  border-color: #25a244;
}
.sb-contact-card__link--maps {
  margin-top: 4px;
  align-self: flex-start;
}
.sb-btn-whatsapp {
  background: #25a244 !important;
  color: #fff !important;
  border: none !important;
}
.sb-btn-whatsapp:hover { background: #1d8636 !important; }

.sb-location-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.sb-location-copy .sb-title { margin-bottom: 10px; }
.sb-location-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 18px 0 20px;
  font-size: 15px;
  color: #364039;
  line-height: 1.5;
}
.sb-location-address strong {
  font-size: 17px;
  color: #1b3d20;
  margin-bottom: 4px;
}
.sb-location-address em {
  font-size: 13px;
  color: #6b7a6e;
  font-style: normal;
  margin-top: 4px;
}
.sb-map-styled {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dfe8dd;
  background: #f4faf5;
  box-shadow: 0 8px 28px rgba(27,61,32,.1);
}
.sb-map-styled__svg {
  display: block;
  width: 100%;
  height: auto;
}
.sb-map-styled__cta {
  display: inline-flex;
  margin-top: 12px;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .sb-contact-cards { grid-template-columns: repeat(2, 1fr); }
  .sb-contact-cards .sb-contact-card:last-child { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 900px) {
  .sb-contact-cards { grid-template-columns: 1fr; }
  .sb-contact-cards .sb-contact-card:last-child { grid-column: auto; max-width: none; }
  .sb-location-split { grid-template-columns: 1fr; }
  .sb-location-map { order: 2; }
}

/* Link quieto */
.sb-link-quiet { color: #2d6a35; font-size: 13px; text-decoration: underline; }
.sb-contact-fallback { font-size: 13px; color: #6b7a6e; margin-top: 14px; }
.sb-contact-fallback a { color: #2d6a35; }

/* Recapiti */
.sb-recapiti-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sb-recapito-card { padding: 22px 20px; border: 1px solid #e2ebe3; border-radius: 16px; background: #fff; }
.sb-recapito-card--wide { grid-column: 1 / -1; }
.sb-recapito-card__label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: #6b7a6e; margin: 0 0 6px; }
.sb-recapito-card__value { font-size: 16px; font-weight: 700; color: #1b3d20; margin: 0; }
.sb-recapito-card__value a { color: inherit; text-decoration: none; }
.sb-recapito-card__value a:hover { color: #d97b1a; }
.sb-recapito-card__hint { margin: 6px 0 0; font-size: 13px; color: #6b7a6e; line-height: 1.5; }

.sb-contact-two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.sb-useful-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sb-useful-links a {
  display: block; padding: 12px 14px; border-radius: 12px; background: #f4faf5;
  border: 1px solid #e2ebe3; color: #1b3d20; font-weight: 600; text-decoration: none;
}
.sb-useful-links a:hover { border-color: #d97b1a; color: #d97b1a; }

.sb-location-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid #e2ebe3;
}
.sb-location-strip p { margin: 0; color: #0f1a10; font-size: 15px; }
.sb-location-strip strong { color: #1b3d20; }

/* Footer note */
.sb-page-footer-note { text-align: center; padding: 20px 0 24px; }
.sb-page-footer-note .sb-lead { margin: 0 auto 12px; max-width: 640px; }

/* Audience grid */
.sb-audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.sb-audience-card {
  padding: 22px 18px; border-radius: 16px;
  background: #fff; border: 2px solid #e2ebe3; text-align: center;
  border-top: 4px solid #d97b1a;
}
.sb-audience-card strong { display: block; color: #1b3d20; font-size: 15px; margin-bottom: 6px; }
.sb-audience-card span { color: #6b7a6e; font-size: 13px; line-height: 1.45; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .pub-hero-inner { grid-template-columns: 1fr !important; }
  .pub-hero-inner .hero-card.sb-desktop-only { display: none !important; }
  .sb-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-contact-two-col, .sb-recapiti-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sb-home-paths-mobile { display: block; }
}
@media (max-width: 767px) {
  .pub-hero { padding: 40px 5% 48px; }
  .hero-stats { gap: 16px; }
  .pub-sec { padding: 40px 5%; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 28px 24px; border-radius: 16px; flex-direction: column; align-items: flex-start; }
  .cta-box::after { display: none; }
  .cta-wrap { padding-bottom: 40px; }
  .sb-grid-4, .sb-grid-3 { grid-template-columns: 1fr 1fr; }
  .sb-grid-2 { grid-template-columns: 1fr; }
  .sb-info-grid { grid-template-columns: 1fr; }
  .sb-form-grid { grid-template-columns: 1fr; }
  .sb-cta { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; border-radius: 16px; }
  .sb-audience-grid { grid-template-columns: 1fr 1fr; }
  /* Mobile bottom nav: show as grid */
  body.sanmi-public-shell .sanmi-bottom-nav {
    display: grid !important;
    visibility: visible !important;
    position: fixed !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    pointer-events: auto !important;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
  body.sanmi-public-shell:has(.sanmi-bottom-nav) {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .sanmi-public-wrap { padding-bottom: 72px; }
}
@media (max-width: 480px) {
  .feat-grid { grid-template-columns: 1fr; }
  .sb-grid-4, .sb-grid-3 { grid-template-columns: 1fr; }
  .sb-audience-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .sb-wrap--home .sb-home-paths-mobile__grid {
    grid-template-columns: 1fr;
  }
  body.sanmi-public-shell .sg-quick-info-grid {
    grid-template-columns: 1fr !important;
  }
  .sb-contact-row__value,
  .sb-contact-social .sb-social-link,
  .sb-footer-link,
  .sb-site-footer .sb-footer-list--contacts a,
  .sb-wrap--contatti .sb-map-embed__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .sb-wrap--contatti .sb-pub-hero__title,
  .sb-wrap--contatti .sb-page-hero h1 {
    font-size: clamp(26px, 7.5vw, 40px) !important;
  }
}

/* =========================================================
   FATTORIA DIDATTICA — layout card e split
   ========================================================= */
.sb-fattoria-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.sb-fattoria-card {
  background: var(--sanmi-bg-card);
  border: 1px solid #e2ebe3;
  border-radius: 16px;
  border-top: 3px solid #2d6a35;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(27, 61, 32, 0.05);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.sb-fattoria-card:hover { box-shadow: 0 6px 24px rgba(27,61,32,.1); border-color: #2d6a35; transform: translateY(-2px); }
.sb-fattoria-card__icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eaf4e9;
}
.sb-fattoria-card__title {
  font-family: var(--sanmi-font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: #1b3d20;
  margin: 0;
}
.sb-fattoria-card__text { font-size: 14px; color: #4f5e52; line-height: 1.65; flex: 1; }

.sb-fattoria-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.sb-fattoria-list {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sb-fattoria-list li {
  font-size: 15px; color: #364039; line-height: 1.5; padding: 8px 0;
  border-bottom: 1px solid #e2ebe3;
}
.sb-fattoria-list li:last-child { border-bottom: none; }

.sb-fattoria-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.sb-fattoria-gallery--compact {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}
.sb-contatti-when .sb-contact-form { margin-top: 0; }
.sb-wrap--fattoria .sb-fattoria-gallery img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 12px; transition: transform .2s;
}
.sb-wrap--fattoria .sb-fattoria-gallery img:hover { transform: scale(1.02); }

@media (max-width: 900px) {
  .sb-fattoria-split { grid-template-columns: 1fr; }
  .sb-fattoria-gallery { grid-template-columns: 1fr 1fr; }
  .sb-wrap--fattoria .sb-fattoria-gallery img { height: 180px; }
}
@media (max-width: 600px) {
  .sb-fattoria-grid { grid-template-columns: 1fr; }
  .sb-fattoria-gallery { grid-template-columns: 1fr; }
  .sb-wrap--fattoria .sb-fattoria-gallery img { height: 160px; }
}
.sb-wrap--fattoria .sb-home-schools-teaser .sb-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

/* =========================================================
   CONTATTI — grid card
   ========================================================= */
.sb-contatti-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 0;
}
.sb-contatti-card {
  background: #f4faf5; border: 1px solid #e2ebe3; border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
}
.sb-contatti-card__icon { font-size: 28px; margin-bottom: 4px; }
.sb-contatti-card__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #6b7a6e;
}
.sb-contatti-card__value {
  font-size: 16px; font-weight: 600; color: #1b3d20;
  text-decoration: none; display: block;
}
.sb-contatti-card__value:hover { color: #2d6a35; }
.sb-map {
  border-radius: 16px; overflow: hidden;
  border: 1px solid #e2ebe3;
}
@media (max-width: 767px) {
  .sb-contatti-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   HERO TEXTURE
══════════════════════════════════════ */
.pub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='.025'%3E%3Cpath d='M20 20v-4h-2v4h-4v2h4v4h2v-4h4v-2zm0-20v-4h-2v4H14v2h4v4h2V6h4V4h-4zM0 20v-4h-2v4h-4v2h4v4h2v-4h4v-2H0z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════
   MOBILE MENU OVERLAY
══════════════════════════════════════ */
.sanmi-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 198;
  padding: 72px 6% 100px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.sanmi-mobile-menu.open {
  display: flex;
}
.sanmi-mm-link {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #0f1a10;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #f4faf5;
  transition: background .15s, color .15s;
}
.sanmi-mm-link:hover,
.sanmi-mm-link.current {
  background: #e6f4e8;
  color: #1b3d20;
  border-color: transparent;
  border-radius: 10px;
}
.sanmi-mm-cta {
  background: #d97b1a;
  color: #3a2a05; /* ink scuro su ambra: AA ~4.5:1 (era #fff ~3.1:1) */
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-top: 12px;
  transition: background .15s;
}
/* Hover schiarisce l'ambra per mantenere l'ink leggibile ~5.3:1. */
.sanmi-mm-cta:hover { background: #e88922; color: #3a2a05; }

/* ══════════════════════════════════════
   HAMBURGER OPEN ANIMATION
══════════════════════════════════════ */
/* Le 3 barre sono i figli 2/3/4 (il 1° e' .screen-reader-text).
   Prima le regole puntavano a 1/2/3 -> X di chiusura malformata. */
.sb-nav-toggle.open span:nth-child(2) { transform: rotate(45deg) translate(5px, 5px); }
.sb-nav-toggle.open span:nth-child(3) { opacity: 0; }
.sb-nav-toggle.open span:nth-child(4) { transform: rotate(-45deg) translate(5px, -5px); }
.sanmi-hamburger.open span:nth-child(2) { transform: rotate(45deg) translate(5px, 5px); }
.sanmi-hamburger.open span:nth-child(3) { opacity: 0; }
.sanmi-hamburger.open span:nth-child(4) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════
   POLISH QA — card grid + touch targets
══════════════════════════════════════ */
.sb-path-grid {
  align-items: stretch !important;
}
.sb-path-card {
  height: 100% !important;
}

@media (max-width: 767px) {
  .sb-footer-logos--center .sb-footer-logos-inner {
    flex-wrap: wrap !important;
  }
}

/* ══════════════════════════════════════
   HOME — sezioni più proporzionate
══════════════════════════════════════ */
.sb-wrap--home .sb-title {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem) !important;
}
.sb-wrap--home .sb-lead {
  font-size: 15px !important;
  line-height: 1.75 !important;
}
.sb-wrap--home .sb-section-head {
  margin-bottom: 40px !important;
}
.sb-wrap--home .sb-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.sb-wrap--home .sb-path-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sb-wrap--home .sb-path-card__title {
  font-size: 1.2rem !important;
  line-height: 1.28 !important;
}
.sb-wrap--home .sb-path-card__text {
  font-size: 14px;
  color: #5f6d62;
  line-height: 1.55;
}
.sb-section--home-teaser {
  background: var(--sanmi-bg-page);
  padding-top: 0 !important;
}
.sb-home-schools-teaser {
  background: linear-gradient(135deg, #1b3d20 0%, #2d6a35 100%);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 28px rgba(27, 61, 32, 0.18);
}
.sb-home-schools-teaser__copy {
  flex: 1 1 280px;
  min-width: 0;
}
.sb-home-schools-teaser .sb-title {
  color: #fff !important;
  margin-bottom: 8px !important;
}
.sb-home-schools-teaser .sb-lead {
  color: rgba(255, 255, 255, 0.78) !important;
  margin: 0 !important;
  max-width: 36rem;
}
.sb-wrap--home .sb-path-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sb-wrap--home .sb-path-card__text {
  flex: 1;
}
.sb-wrap--home .sb-home-farm-teaser {
  max-width: 720px;
}
.sb-wrap--home .sb-activities-grid {
  gap: 24px;
}
@media (max-width: 1024px) {
  .sb-wrap--home .sb-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .sb-wrap--home .sb-activities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sb-wrap--home .sanmi-row {
    padding: 14px 16px;
  }
  .sb-wrap--home .sanmi-row__cta .sanmi-row__link,
  .sb-wrap--home .sanmi-row__cta a {
    width: 100%;
    justify-content: center;
  }
  .sb-wrap--home .hero-btns {
    margin-bottom: 0;
  }
  .sb-wrap--home .hero-desc {
    font-size: 15px;
    margin-bottom: 22px;
  }
}
.sb-wrap--home .sb-activities-col__title {
  font-family: var(--sanmi-font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: #1b3d20 !important;
  margin: 0 0 14px !important;
  text-wrap: balance;
}
.sb-wrap--home .sanmi-row__meta {
  font-size: 13px !important;
}
.sb-wrap--home .sanmi-row__cta .sanmi-row__link,
.sb-wrap--home .sanmi-row__cta a {
  padding: 10px 20px !important;
  font-size: 14px !important;
}

@media (max-width: 767px) {
  .sb-pub-hero__embellish {
    gap: 6px;
    margin-bottom: 8px;
  }
  .sb-pub-hero__em-icon--side svg {
    width: 22px !important;
    height: 22px !important;
  }
  .sb-pub-hero__em-icon--main svg {
    width: 30px !important;
    height: 30px !important;
  }
  .sb-pub-hero__em-line { max-width: 48px; }
  .sb-pub-hero__title,
  .sb-page-hero .sb-title,
  .sb-page-hero h1,
  body.sanmi-public-shell .sg-single-hero h1,
  body.sanmi-public-shell .sg-wrap.sg-archive .sg-hero.sg-hero--page h1 {
    font-size: clamp(26px, 7.5vw, 40px) !important;
    letter-spacing: 0.01em !important;
    line-height: 1.12 !important;
    text-transform: none !important;
    max-width: 100%;
  }
  .sb-brand-wordmark {
    font-size: clamp(36px, 10vw, 48px) !important;
  }
  .sec-ttl,
  .sb-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
  }
}

@media (max-width: 1024px) {
  .hbtn-main,
  .hbtn-sec,
  .sb-btn-primary,
  .sb-btn-secondary,
  .sg-btn,
  .sanmi-nav-cta,
  .sanmi-mm-cta {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ══════════════════════════════════════
   FRONT REPAIR — post review ChatGPT
══════════════════════════════════════ */
.sb-wrap--home .sb-section--compact {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.sb-wrap--home .sb-section-head {
  margin-bottom: 24px !important;
}
@media (max-width: 767px) {
.sb-wrap--home .sb-path-card {
  padding: 16px 18px 18px !important;
  min-height: 0 !important;
}
.sb-wrap--home .sb-path-card__title {
  font-size: 1.05rem !important;
  margin-bottom: 4px !important;
}
.sb-wrap--home .sb-path-card__title a {
  color: inherit;
  text-decoration: none;
}
.sb-wrap--home .sb-path-card__title a:hover {
  color: #2d6a35;
}
.sb-wrap--home .sb-path-card__text {
  font-size: 13px !important;
  line-height: 1.45 !important;
  margin-bottom: 10px !important;
}
.sb-wrap--home .sb-path-card--no-cta .sb-path-card__text {
  margin-bottom: 0 !important;
}
.sb-wrap--home .sb-path-card__icon {
  width: 38px !important;
  height: 38px !important;
  font-size: 18px !important;
  margin-bottom: 8px !important;
}
.sb-wrap--home .sb-home-path-tile {
  padding: 12px 14px !important;
  min-height: 48px;
}
.sb-wrap--home .sb-home-path-tile__text {
  display: none;
}
}
.hero-card--promo .hc-img--promo {
  background: linear-gradient(145deg, #eaf4e9, #f6f0e4);
  min-height: 220px;
}
.hero-card--promo .hc-img--promo img {
  width: auto;
  max-width: 72%;
  max-height: 200px;
  object-fit: contain;
}
.hbtn-main,
.sanmi-row__link,
.sanmi-row__cta a,
.ev-btn--am,
.sb-btn-primary,
.sb-btn-on-sage,
.sb-btn-whatsapp {
  color: #fff !important;
}
.pub-hero .hbtn-sec {
  background: rgba(248, 244, 235, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  color: #1a3822 !important;
}
.sb-path-card .sb-btn-primary,
.sanmi-row__link,
.sanmi-row__cta a {
  background: #d97b1a !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(217, 123, 26, 0.28);
}
.sb-footer-phone-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.sb-footer-wa-chip {
  display: inline;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: #8ec498;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  vertical-align: baseline;
  box-shadow: none;
}
.sb-footer-wa-chip::before {
  content: "·";
  margin: 0 5px;
  color: #6a7a6e;
  font-weight: 400;
}
.sb-footer-wa-chip:hover {
  background: none;
  color: #b8e8c0;
  text-decoration: underline;
}
.sb-footer-wa-chip svg {
  display: none;
}
.sb-footer-logos--brand .sb-footer-logos-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.sb-footer-logo-item--veneto-land .sb-footer-logo-img {
  filter: brightness(1.08) contrast(1.05);
  min-height: 28px;
  object-fit: contain;
}
.sb-wrap--contatti .sb-contact-wa-cta {
  margin-bottom: 16px;
}
.sb-wrap--fattoria .sb-fattoria-cta-section {
  padding-top: 28px !important;
  padding-bottom: 36px !important;
}
.sb-wrap--fattoria .sb-fattoria-gallery-section + .sb-fattoria-cta-section {
  margin-top: 0;
}
.sb-wrap--fattoria .sb-fattoria-gallery {
  gap: 12px;
}
.sb-wrap--fattoria .sb-fattoria-gallery--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sb-wrap--settimane #settimane-come-funziona .sb-steps-grid {
  gap: 12px;
}
.sb-wrap--settimane #settimane-come-funziona .sb-step {
  padding: 14px 16px;
}
.sb-wrap--settimane #settimane-come-funziona .sb-step__text {
  font-size: 14px;
  line-height: 1.45;
}
@media (min-width: 768px) {
  .sb-wrap--settimane #settimane-come-funziona .sb-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sb-wrap--settimane #settimane-come-funziona .sb-step {
    padding: 12px 14px;
  }
  .sb-wrap--settimane #settimane-come-funziona .sb-step__icon {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .sb-wrap--settimane #settimane-come-funziona .sb-step__title {
    font-size: 1rem;
    margin-bottom: 4px;
  }
}
@media (max-width: 767px) {
  .sb-footer-logos--brand .sb-footer-logos-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
  }
  .sb-footer-logo-item {
    display: flex;
    justify-content: center;
  }
  .sb-footer-logo-img {
    max-height: 34px !important;
    width: auto !important;
    max-width: 100% !important;
  }
}

/* ══════════════════════════════════════
   FRONT REPAIR — mobile eventi/home
   (site.css caricato dopo sanmi-public-mobile)
══════════════════════════════════════ */
@media (max-width: 640px) {
  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card.sg-card--list,
  body.sanmi-public-shell .sg-archive .sg-card.sg-card--list {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list .sg-poster-link,
  body.sanmi-public-shell .sg-archive .sg-card--list .sg-poster-link {
    grid-column: unset !important;
    grid-row: unset !important;
    align-self: stretch !important;
    width: 100% !important;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list .sg-poster,
  body.sanmi-public-shell .sg-archive .sg-card--list .sg-poster {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 168px !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 0 !important;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list.sg-card--no-poster .sg-poster-link,
  body.sanmi-public-shell .sg-archive .sg-card--list.sg-card--no-poster .sg-poster-link {
    display: none !important;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list .sg-content,
  body.sanmi-public-shell .sg-archive .sg-card--list .sg-content {
    display: flex !important;
    flex-direction: column !important;
    grid-column: unset !important;
    padding: 14px 16px 16px !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list .sg-card__badges,
  body.sanmi-public-shell .sg-archive .sg-card--list .sg-card__badges {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list h3,
  body.sanmi-public-shell .sg-archive .sg-card--list h3 {
    grid-column: unset !important;
    grid-row: unset !important;
    font-size: 1.05rem !important;
    line-height: 1.32 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: auto;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list .sg-card__mobile-line,
  body.sanmi-public-shell .sg-archive .sg-card--list .sg-card__mobile-line {
    grid-column: unset !important;
    grid-row: unset !important;
    display: block !important;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list .sg-card__footer,
  body.sanmi-public-shell .sg-archive .sg-card--list .sg-card__footer {
    grid-column: unset !important;
    grid-row: unset !important;
    width: 100% !important;
    align-self: stretch !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
  }

  body.sanmi-public-shell .sb-wrap--eventi-archive .sg-card--list .sg-card__link-details,
  body.sanmi-public-shell .sg-archive .sg-card--list .sg-card__link-details {
    width: 100% !important;
    min-height: 44px !important;
    white-space: normal !important;
  }

  body.sanmi-public-shell .sb-wrap--home .sanmi-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    gap: 10px !important;
    padding: 14px 16px !important;
  }

  body.sanmi-public-shell .sb-wrap--home .sanmi-row__media {
    display: none !important;
  }

  body.sanmi-public-shell .sb-wrap--home .sanmi-row__body {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  body.sanmi-public-shell .sb-wrap--home .sanmi-row__top {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  body.sanmi-public-shell .sb-wrap--home .sanmi-row__title {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.sanmi-public-shell .sb-wrap--home .sanmi-row__cta {
    width: 100% !important;
    margin: 0 !important;
  }

  body.sanmi-public-shell .sb-wrap--home .sanmi-row__link {
    width: 100% !important;
    min-height: 44px !important;
  }
}

@media (max-width: 480px) {
  body.sanmi-public-shell .sb-wrap--home .sanmi-row__meta {
    display: none !important;
  }
}

/* ══════════════════════════════════════
   VISUAL REDESIGN v2 — semi-professionale
   Palette calda, Nunito UI, Patrick solo accenti
══════════════════════════════════════ */

/* — Tipografia: UI su Nunito, handwritten solo hero em — */
body.sanmi-public-shell .sb-section-head--v2 .sb-title,
body.sanmi-public-shell .sb-activities-col__title,
body.sanmi-public-shell .sb-path-card__title,
body.sanmi-public-shell .sb-path-card__title a,
body.sanmi-public-shell .sb-page-hero .sb-title,
body.sanmi-public-shell .sb-page-hero h1:not(.sb-hero-title),
body.sanmi-public-shell .hc-title,
body.sanmi-public-shell .sanmi-row__title,
body.sanmi-public-shell .sanmi-row__title a {
  font-family: var(--sanmi-font-body) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

/* Titoli card Fattoria: handwritten come in home (identità SANMI coerente). */
body.sanmi-public-shell .sb-fattoria-card__title {
  font-family: var(--sanmi-font-heading) !important;
  font-weight: 400 !important;
  letter-spacing: .01em;
}

/* Titoli card Eventi/Vacanze (archivi pubblici .sg-card): handwritten coerente.
   Solo pubblico (body.sanmi-public-shell) — l'admin/gestionale resta sans. */
body.sanmi-public-shell .sg-card .sg-content h3,
body.sanmi-public-shell .sg-card .sg-content h3 a {
  font-family: var(--sanmi-font-heading) !important;
  font-weight: 400 !important;
  letter-spacing: .01em;
  font-size: 1.32rem;
}

/* ── REDESIGN BOLD pagine interne (coerente con la home) ──────────────── */
/* Card Fattoria: accento verde superiore (inset, niente angoli sfasati),
   fondo avorio caldo, ombra marcata, icona più grande con anello. */
body.sanmi-public-shell .sb-fattoria-card {
  background: #FFFDF6 !important;
  border: 1px solid #E7DFCA !important;
  border-radius: 16px !important;
  box-shadow: inset 0 3px 0 0 #3C7D45, 0 14px 30px rgba(28,74,42,.10) !important;
}
body.sanmi-public-shell .sb-fattoria-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: inset 0 3px 0 0 #3C7D45, 0 26px 50px rgba(28,74,42,.20) !important;
  border-color: #E7DFCA !important;
}
body.sanmi-public-shell .sb-fattoria-card__icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 15px !important;
  box-shadow: inset 0 0 0 2px rgba(28,74,42,.16), 0 6px 14px rgba(28,74,42,.12);
}

/* Card Eventi/Vacanze (.sg-card archivio): stesso linguaggio — fondo avorio,
   ombra marcata, hover deciso, angoli morbidi coerenti. */
body.sanmi-public-shell .sg-card--list,
body.sanmi-public-shell .sg-card {
  background: #FFFDF6 !important;
  box-shadow: 0 14px 30px rgba(28,74,42,.10) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
body.sanmi-public-shell .sg-card--list:hover,
body.sanmi-public-shell .sg-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 26px 50px rgba(28,74,42,.20) !important;
}

/* Wordmark header in Patrick Hand (come il footer) — stessa identita' su tutto.
   Specificita' 0,2,0 + !important per vincere sulla regola inline (Fredoka). */
body.sanmi-public-shell .sb-brand-wordmark {
  font-family: var(--sanmi-font-heading) !important; /* Patrick Hand, come il footer */
  font-weight: 400 !important;
  letter-spacing: .01em !important;
}
body.sanmi-public-shell .sb-brand-sub {
  letter-spacing: .14em !important;
}

/* ════ PAGINA CONTATTI — reinventata (card di contatto + mappa grande) ════ */
body.sanmi-public-shell .sb-contact-intro{ max-width:640px; margin:0 auto 30px; text-align:center; }
body.sanmi-public-shell .sb-contact-intro .sb-title{ margin:0 0 8px; }
body.sanmi-public-shell .sb-contact-intro p{ margin:0; color:var(--muted); font-size:1.06rem; }

body.sanmi-public-shell .sb-contact-cards{
  display:grid; grid-template-columns:repeat(2,1fr); gap:18px;
  max-width:880px; margin:0 auto;
}
body.sanmi-public-shell .sb-contact-card{
  display:flex; flex-direction:column; gap:3px;
  background:#FFFDF6; border:1px solid #E7DFCA; border-radius:16px;
  padding:22px 22px 20px; text-decoration:none; color:var(--text);
  box-shadow:0 10px 26px rgba(28,74,42,.07);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.sanmi-public-shell .sb-contact-card:hover{
  transform:translateY(-4px); box-shadow:0 22px 44px rgba(28,74,42,.16); border-color:#cfe0c8;
}
body.sanmi-public-shell .sb-contact-card__ico{
  width:46px; height:46px; border-radius:13px; display:grid; place-items:center;
  background:#E8F2DE; color:#2d6a35; margin-bottom:10px;
}
body.sanmi-public-shell .sb-contact-card__ico svg{ width:23px; height:23px; }
body.sanmi-public-shell .sb-contact-card__label{
  font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#6b7c70;
}
body.sanmi-public-shell .sb-contact-card__value{
  font-size:1.1rem; font-weight:800; color:#1f4a29; overflow-wrap:anywhere;
}
body.sanmi-public-shell .sb-contact-card__value--email{ font-size:.98rem; }
body.sanmi-public-shell .sb-contact-card__desc{ font-size:.9rem; color:var(--muted); margin-top:3px; }
body.sanmi-public-shell .sb-contact-card--wa{
  background:linear-gradient(160deg,#2f6b3f,#1f4d2e); border-color:#1f4d2e;
}
body.sanmi-public-shell .sb-contact-card--wa .sb-contact-card__ico{ background:rgba(255,255,255,.16); color:#fff; }
body.sanmi-public-shell .sb-contact-card--wa .sb-contact-card__label{ color:#bfe0b6; }
body.sanmi-public-shell .sb-contact-card--wa .sb-contact-card__value,
body.sanmi-public-shell .sb-contact-card--wa .sb-contact-card__desc{ color:#fff; }
body.sanmi-public-shell .sb-contact-card--wa .sb-contact-card__desc{ color:#d6e5ce; }

body.sanmi-public-shell .sb-contact-map-full{ max-width:1100px; margin:36px auto 0; padding:0 24px; }
body.sanmi-public-shell .sb-contact-foot{
  display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center; justify-content:space-between;
  max-width:1100px; margin:22px auto 0; padding:18px 24px 0;
}
body.sanmi-public-shell .sb-contact-where__label{
  display:block; font-size:.7rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#6b7c70;
}
body.sanmi-public-shell .sb-contact-where__addr{ font-weight:700; color:#1f4a29; }

@media (max-width:680px){
  body.sanmi-public-shell .sb-contact-cards{ grid-template-columns:1fr; max-width:480px; }
  body.sanmi-public-shell .sb-contact-foot{ flex-direction:column; align-items:flex-start; }
}

/* ════ Archivi (Eventi/Vacanze) — sezione "Come partecipare/funziona" ════ */
body.sanmi-public-shell .sb-arch-intro{ padding-bottom:8px; }
body.sanmi-public-shell .sb-arch-title{ text-align:center; margin:0 auto 22px; }
body.sanmi-public-shell .sb-arch-steps{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
  max-width:960px; margin:0 auto;
}
/* Card step: [numero][titolo] sulla prima riga, descrizione sotto a TUTTA la
   larghezza della card (non schiacciata accanto al numero). Stesse card SANMI. */
body.sanmi-public-shell .sb-arch-step{
  display:grid; grid-template-columns:auto 1fr;
  align-items:center; align-content:start;
  column-gap:13px; row-gap:9px;
  background:#FFFDF6; border:1px solid #E7DFCA; border-radius:14px;
  padding:20px 22px; box-shadow:0 8px 22px rgba(28,74,42,.06);
}
body.sanmi-public-shell .sb-arch-step__n{
  grid-column:1; grid-row:1;
  width:38px; height:38px; border-radius:11px;
  display:grid; place-items:center; font-weight:900; font-size:1.05rem;
  color:#fff; background:linear-gradient(150deg,#3c7d45,#1c4a2a);
  box-shadow:0 5px 12px rgba(28,74,42,.22);
}
/* __txt trasparente al layout: titolo e descrizione diventano celle della card. */
body.sanmi-public-shell .sb-arch-step__txt{ display:contents; }
body.sanmi-public-shell .sb-arch-step__txt b{ grid-column:2; grid-row:1; align-self:center; color:#1c4a2a; font-weight:800; font-size:1.08rem; line-height:1.2; }
body.sanmi-public-shell .sb-arch-step__txt span{ grid-column:1 / -1; grid-row:2; color:var(--muted); font-size:.96rem; line-height:1.55; }
@media (max-width:760px){
  body.sanmi-public-shell .sb-arch-steps{ grid-template-columns:1fr; max-width:520px; gap:12px; }
}
/* Variante 4 step (Vacanze) */
body.sanmi-public-shell .sb-arch-steps.sb-arch-steps--4{ grid-template-columns:repeat(4,1fr); max-width:1080px; }
@media (max-width:980px){ body.sanmi-public-shell .sb-arch-steps.sb-arch-steps--4{ grid-template-columns:repeat(2,1fr); max-width:600px; } }
@media (max-width:520px){ body.sanmi-public-shell .sb-arch-steps.sb-arch-steps--4{ grid-template-columns:1fr; } }
/* Accordion e programmi centrati a piena larghezza */
body.sanmi-public-shell .sb-info-wrap{ max-width:760px; margin:0 auto; }
body.sanmi-public-shell .sb-vacanze-programmi{ max-width:760px; margin:18px auto 0; }

/* Fattoria — intestazioni centrate (coerenti con le altre pagine) + CTA in contesto */
body.sanmi-public-shell .sb-wrap--fattoria .sb-section-head--v2{ text-align:center; justify-content:center; }
body.sanmi-public-shell .sb-fattoria-split__cta{ margin-top:22px; }

body.sanmi-public-shell .sb-wrap--home .pub-hero .sb-hero-title {
  font-family: var(--sanmi-font-body) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

body.sanmi-public-shell .sb-section-head--v2 {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px) !important;
}

body.sanmi-public-shell .sb-section-head--v2 .sb-title {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem) !important;
  color: var(--green-dark) !important;
  margin: 0 auto !important;
  max-width: 28ch;
}

body.sanmi-public-shell .sb-section-head--v2 .sb-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #e8a84a);
}

body.sanmi-public-shell .sb-section-head--v2 .sb-lead {
  margin: 14px auto 0 !important;
  max-width: 36rem;
  color: var(--muted);
}

/* — Sfondi e ritmo sezioni — */
body.sanmi-public-shell .sb-section--cream {
  background: var(--sanmi-bg-page) !important;
}

body.sanmi-public-shell .sb-section--white {
  background: var(--sanmi-bg-section) !important;
}

body.sanmi-public-shell .sb-section--sage,
body.sanmi-public-shell .sb-section--paths {
  background: var(--sanmi-bg-section-alt) !important;
}

body.sanmi-public-shell .sb-wrap--home .sb-section--compact {
  padding: clamp(44px, 6vw, 64px) 0 !important;
}

/* — Hero home — */
body.sanmi-public-shell .sb-wrap--home .pub-hero,
body.sanmi-public-shell .sb-wrap--home .sanmi-hero.pub-hero {
  background:
    linear-gradient(148deg, rgba(22, 52, 32, 0.94) 0%, rgba(35, 79, 46, 0.88) 48%, rgba(45, 106, 53, 0.92) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
}

body.sanmi-public-shell .sb-wrap--home .pub-hero .hero-badge {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.sanmi-public-shell .hero-card {
  background: var(--sanmi-bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--sanmi-shadow-soft) !important;
  border-radius: var(--sanmi-radius-lg) !important;
  overflow: hidden;
}

body.sanmi-public-shell .hero-card .hc-title {
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
}

body.sanmi-public-shell .hero-card--promo .hc-img--promo {
  background: linear-gradient(145deg, #eaf4e9, #f6efe4) !important;
}

body.sanmi-public-shell .hbtn-main {
  background: linear-gradient(135deg, #e88922, #f0a038) !important;
  box-shadow: 0 8px 22px rgba(217, 123, 26, 0.35) !important;
  min-height: 48px;
  font-weight: 700;
}

body.sanmi-public-shell .sb-wrap--home .pub-hero .hbtn-sec {
  background: rgba(248, 244, 235, 0.94) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.88) !important;
  color: #1a3822 !important;
  min-height: 48px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

body.sanmi-public-shell .sb-wrap--home .pub-hero .hbtn-sec:hover {
  background: #fffdf7 !important;
  border-color: #fff !important;
  color: #163420 !important;
}

/* — Card percorsi home — */
body.sanmi-public-shell .sb-wrap--home .sb-path-card {
  background: var(--sanmi-bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--sanmi-radius-lg);
  box-shadow: var(--sanmi-shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.sanmi-public-shell .sb-wrap--home .sb-path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sanmi-shadow-soft);
}

body.sanmi-public-shell .sb-path-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #eaf4e9, #fff8ee);
  border: 1px solid #d8e8da;
  font-size: 24px;
  margin-bottom: 14px;
}

body.sanmi-public-shell .sb-wrap--home .sb-path-card__body {
  padding: 22px 20px 20px;
}

body.sanmi-public-shell .sb-wrap--home .sb-path-card__title {
  font-size: 1.1rem !important;
  margin-bottom: 12px !important;
}

body.sanmi-public-shell .sb-wrap--home .sb-path-card .sb-btn-primary {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
}

/* — Tile mobile home — */
body.sanmi-public-shell .sb-home-path-tile {
  background: var(--sanmi-bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 14px;
  min-height: 72px;
  box-shadow: var(--sanmi-shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

body.sanmi-public-shell .sb-home-path-tile__title {
  font-family: var(--sanmi-font-body) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--green-dark);
}

body.sanmi-public-shell .sb-home-paths-mobile__grid {
  gap: 12px !important;
}

/* — Prossime attività — */
body.sanmi-public-shell .sb-activities-col {
  background: var(--sanmi-bg-card);
  border: 1px solid var(--border);
  border-radius: var(--sanmi-radius-lg);
  padding: 22px 20px;
  box-shadow: var(--sanmi-shadow-card);
}

body.sanmi-public-shell .sb-activities-col__title {
  font-size: 1rem !important;
  color: var(--green);
  margin: 0 0 16px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

body.sanmi-public-shell .sb-wrap--home .sanmi-row {
  background: #faf7f0;
  border: 1px solid #ebe4d6;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}

body.sanmi-public-shell .sanmi-rows-empty {
  background: linear-gradient(145deg, #f0f6f1, #faf5eb);
  border: 1px dashed #c5d4c7;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
}
body.sanmi-public-shell .sanmi-rows-empty--home {
  display: grid;
  gap: 8px;
  justify-items: center;
}
body.sanmi-public-shell .sanmi-rows-empty__cta {
  margin-top: 4px;
}
body.sanmi-public-shell .sanmi-public-empty--events {
  text-align: center;
  max-width: 540px;
  margin: 24px auto 0;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px dashed #c5d4c7;
  background: linear-gradient(145deg, #f0f6f1, #faf5eb);
}
body.sanmi-public-shell .sanmi-public-empty--events p {
  margin: 10px 0 0;
  color: #5a6b5e;
  line-height: 1.55;
}
body.sanmi-public-shell .sanmi-public-empty__cta {
  margin-top: 14px;
}

body.sanmi-public-shell .sb-link-quiet {
  font-weight: 700;
  color: var(--green) !important;
}

/* — Teaser scuole / CTA band — */
body.sanmi-public-shell .sb-home-schools-teaser {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.sanmi-public-shell .sb-home-schools-teaser .sb-title {
  font-family: var(--sanmi-font-body) !important;
  font-weight: 800 !important;
}

/* — Page hero interne — */
body.sanmi-public-shell .sb-page-hero,
body.sanmi-public-shell .sb-page-hero--compact {
  background: linear-gradient(155deg, #163420 0%, #234f2e 42%, #2f6b3f 100%) !important;
  padding-bottom: 36px !important;
}

body.sanmi-public-shell .sb-page-hero .sb-title,
body.sanmi-public-shell .sb-page-hero h1 {
  font-weight: 800 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2) !important;
}

/* — Fattoria didattica — */
body.sanmi-public-shell .sb-fattoria-card {
  background: var(--sanmi-bg-card);
  border: 1px solid var(--border);
  border-radius: var(--sanmi-radius-lg);
  padding: 24px 20px;
  box-shadow: var(--sanmi-shadow-card);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.sanmi-public-shell .sb-fattoria-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sanmi-shadow-soft);
}

body.sanmi-public-shell .sb-fattoria-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #eaf4e9, #fff8ee);
  font-size: 24px;
  margin-bottom: 12px;
}

body.sanmi-public-shell .sb-fattoria-card__text {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

body.sanmi-public-shell .sb-fattoria-split__img img {
  border-radius: var(--sanmi-radius-lg);
  box-shadow: var(--sanmi-shadow-card);
}

body.sanmi-public-shell .sb-fattoria-gallery img {
  border-radius: 16px;
  box-shadow: var(--sanmi-shadow-card);
}

body.sanmi-public-shell .sb-fattoria-cta-section .sb-home-schools-teaser {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 18px;
}

/* — Contatti — */
body.sanmi-public-shell .sb-wrap--contatti .sb-contact-info {
  background: var(--sanmi-bg-card);
  border: 1px solid var(--border);
  border-radius: var(--sanmi-radius-lg);
  padding: 24px 22px;
  box-shadow: var(--sanmi-shadow-card);
}

body.sanmi-public-shell .sb-contact-wa-cta {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(37, 162, 68, 0.22);
}

body.sanmi-public-shell .sb-contact-map-wrap .sb-map-card {
  border-radius: var(--sanmi-radius-lg);
  overflow: hidden;
  box-shadow: var(--sanmi-shadow-card);
  border: 1px solid var(--border);
}

@media (max-width: 767px) {
  body.sanmi-public-shell .sb-wrap--contatti .sb-contact-row__desc {
    display: none;
  }
}

/* — Footer — */
body.sanmi-public-shell .sb-site-footer {
  background: linear-gradient(180deg, #1a3822 0%, #163420 100%) !important;
  padding: 36px 5% 22px !important;
}

body.sanmi-public-shell .sb-footer-brand-social .sb-social-link--footer-ig {
  background: rgba(225, 48, 108, 0.28) !important;
  border-color: rgba(225, 48, 108, 0.65) !important;
  font-weight: 800 !important;
  min-width: 44px;
}

body.sanmi-public-shell .sb-footer-list a {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.sanmi-public-shell .sb-footer-logos-inner {
  gap: 8px !important;
}

body.sanmi-public-shell .sb-footer-logo-item {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 6px 10px;
}

/* — Bottoni globali — */
body.sanmi-public-shell .sb-btn-primary,
body.sanmi-public-shell .sg-btn-primary {
  background: linear-gradient(135deg, #e88922, #f0a038) !important;
  color: #fff !important;
  border: none !important;
  min-height: 44px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(217, 123, 26, 0.25);
}

body.sanmi-public-shell .sb-btn-primary:hover,
body.sanmi-public-shell .sg-btn-primary:hover {
  background: linear-gradient(135deg, #d97b1a, #e88922) !important;
}

/* Contrasto AA: ink scuro su ambra per le CTA pubbliche gestionale (era #fff ~2.6:1).
   Solo .sg-btn-primary; .sb-btn-primary invariato. In demo i bottoni dentro
   .sg-wrap restano verdi (regola sanmi-demo-public.css, specificità superiore). */
body.sanmi-public-shell .sg-btn-primary,
body.sanmi-public-shell .sg-btn-primary:hover {
  color: #3a2a05 !important;
}

body.sanmi-public-shell .sb-btn-dark,
body.sanmi-public-shell .sb-btn-secondary {
  background: var(--green) !important;
  color: #fff !important;
  min-height: 44px;
  border-radius: 12px;
}

body.sanmi-public-shell .sg-btn-outline {
  background: transparent !important;
  color: var(--green-dark) !important;
  border: 2px solid var(--green) !important;
}

/* — Vacanze: step compatti — */
body.sanmi-public-shell .sb-wrap--settimane #settimane-come-funziona .sb-step {
  background: var(--sanmi-bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--sanmi-shadow-card);
}

body.sanmi-public-shell .sb-wrap--settimane #settimane-come-funziona .sb-step__text {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 767px) {
  body.sanmi-public-shell .sb-fattoria-grid {
    gap: 14px !important;
  }

  body.sanmi-public-shell .sb-fattoria-gallery-section {
    padding-bottom: 28px !important;
  }

  body.sanmi-public-shell .sb-footer-brand-head {
    flex-wrap: wrap;
  }
}

/* ============================================================
   REDESIGN LAYER v3 — sistema condiviso pubblico (footer, bottoni,
   card, micro-animazioni). Caricato per ultimo: vince sulla cascata.
   Tutto scoped al guscio pubblico .sb-site / .sanmi-public-shell.
   ============================================================ */

/* ---- Footer v2 ---- */
body.sanmi-public-shell .sb-site-footer--v2 {
  padding: 46px clamp(16px, 4vw, 40px) 0;
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
body.sanmi-public-shell .sb-footer-brandbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 56px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
body.sanmi-public-shell .sb-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
body.sanmi-public-shell .sb-footer-sanmi-logo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #fff;
  padding: 7px;
  box-shadow: 0 6px 18px rgba(0,0,0,.20);
  object-fit: contain;
}
body.sanmi-public-shell .sb-footer-brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
body.sanmi-public-shell .sb-footer-brand-title {
  font-family: var(--sanmi-font-brand, "Fredoka", sans-serif);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
body.sanmi-public-shell .sb-footer-brand-payoff {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.66);
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-top: 3px;
}
body.sanmi-public-shell .sb-footer-brand-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
body.sanmi-public-shell .sb-footer-brand-social .sb-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
body.sanmi-public-shell .sb-footer-brand-social .sb-social-link:hover {
  background: rgba(255,255,255,.20);
  transform: translateY(-1px);
}

/* contatti col */
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-col--contacts {
  min-width: 240px;
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sanmi-honey, #f0a24b);
  margin: 0 0 14px;
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-list--contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.5);
  margin-bottom: 3px;
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-list--contacts a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-list--contacts a:hover { color: #fff; text-decoration: underline; }
body.sanmi-public-shell .sb-footer-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
body.sanmi-public-shell .sb-footer-phone-row > a:first-child { font-size: 17px; }

/* Footer — riequilibrio tipografico (#DESIGN): il base era ~21.76px ereditato, che rendeva
   i link Esplora e i contatti "giganti". Riportato a scala da footer; brand e certificazioni piu presenti. */
body.sanmi-public-shell footer { font-size: 15px !important; }
body.sanmi-public-shell footer a { font-size: 15px !important; }
body.sanmi-public-shell footer .sb-footer-brand-title,
body.sanmi-public-shell footer .sb-footer-brand-title * { font-size: 30px !important; }
body.sanmi-public-shell footer .sb-footer-title { font-size: 12px !important; }
body.sanmi-public-shell footer .sb-footer-phone-row > a:first-child { font-size: 16px !important; }
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-list--contacts a,
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-list--contacts li { font-size: 15px !important; line-height: 1.5 !important; }
body.sanmi-public-shell .sb-footer-brand-title { font-size: 30px !important; letter-spacing: .02em !important; }
body.sanmi-public-shell .sb-footer-text { font-size: 14px !important; }
body.sanmi-public-shell .sb-footer-logo-img { height: 60px !important; max-width: 150px !important; }
body.sanmi-public-shell .sb-footer-logos--center .sb-footer-logo-img { height: 64px !important; }
body.sanmi-public-shell .sb-footer-logos .sb-footer-title,
body.sanmi-public-shell .sb-footer-logos [aria-label] { margin-bottom: 14px !important; }
body.sanmi-public-shell .sb-footer-wa-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  background: #25d366;
  color: #0b3d1e !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body.sanmi-public-shell .sb-footer-wa-chip:hover { background: #1fb955; text-decoration: none !important; }
body.sanmi-public-shell .sb-footer-wa-chip svg { display: block; }

/* institutional logos panel */
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-logos {
  margin: 26px 0 4px;
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-logos-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255,255,255,.95);
  border-radius: 16px;
  padding: 16px 22px;
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-logo-item { display: flex; }
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-logo-img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: saturate(1);
}
body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-bottom {
  max-width: 1100px;
  margin: 22px auto 0;
  padding: 16px 0 20px;
}

/* ---- Bottoni: nessun a-capo brutto, touch corretto ---- */
body.sanmi-public-shell .sb-btn,
body.sanmi-public-shell .sb-btn-primary,
body.sanmi-public-shell .sb-btn-secondary,
body.sanmi-public-shell .sb-btn-light,
body.sanmi-public-shell .sb-btn-outline {
  white-space: nowrap;
  text-wrap: nowrap;
}
@media (max-width: 600px) {
  body.sanmi-public-shell .sb-btn,
  body.sanmi-public-shell .sb-btn-primary,
  body.sanmi-public-shell .sb-btn-secondary { min-height: 46px; }
}

/* Hero: bottone secondario più contrastato sul verde */
body.sanmi-public-shell .sb-hero .sb-btn-light,
body.sanmi-public-shell .sb-hero .sb-btn-outline,
body.sanmi-public-shell .sb-hero--home .sb-btn-light {
  background: #fffdf7 !important;
  color: #1f5130 !important;
  border: 1px solid #fffdf7 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
}
body.sanmi-public-shell .sb-hero .sb-btn-light:hover,
body.sanmi-public-shell .sb-hero .sb-btn-outline:hover {
  background: #eef6ee !important;
  border-color: #eef6ee !important;
}

/* ---- Card: hover lift coerente ---- */
body.sanmi-public-shell .sb-path-card,
body.sanmi-public-shell .sanmi-row,
body.sanmi-public-shell .sb-card,
body.sanmi-public-shell .hero-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
body.sanmi-public-shell .sb-path-card:hover,
body.sanmi-public-shell .sanmi-row:hover,
body.sanmi-public-shell .sb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sanmi-shadow-soft, 0 12px 36px rgba(35,79,46,.12));
}

/* ---- Micro-animazioni ingresso (CSS puro, niente dipendenza JS) ----
   Animazione one-shot al load con fill both: termina sempre visibile.
   Con prefers-reduced-motion gli elementi restano semplicemente visibili. */
@media (prefers-reduced-motion: no-preference) {
  body.sanmi-public-shell .sb-reveal {
    animation: sbReveal .55s cubic-bezier(.22,.61,.36,1) both;
  }
  @keyframes sbReveal {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---- Footer responsive ---- */
@media (max-width: 720px) {
  body.sanmi-public-shell .sb-footer-brandbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 26px;
  }
  body.sanmi-public-shell .sb-footer-brand { align-items: center; }
  body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-col--contacts { min-width: 0; width: 100%; }
  body.sanmi-public-shell .sb-footer-phone-row { justify-content: center; }
  body.sanmi-public-shell .sb-site-footer--v2 .sb-footer-list--contacts { align-items: center; }
}

/* Footer: su mobile stretto il chip WhatsApp va a capo sotto il numero */
@media (max-width: 460px) {
  body.sanmi-public-shell .sb-footer-phone-row { flex-direction: column; gap: 8px; }
  body.sanmi-public-shell .sb-footer-wa-chip { align-self: center; }
}

/* ============================================================
   REDESIGN LAYER v4 — icone SVG + pagine editoriali
   ============================================================ */

/* ---- Sistema icone ---- */
body.sanmi-public-shell .sb-ico { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
body.sanmi-public-shell .sb-ico--sm { width: 18px; height: 18px; }
body.sanmi-public-shell .sb-ico--xs { width: 16px; height: 16px; }

/* ---- Fattoria: card esperienze / per chi ---- */
body.sanmi-public-shell .sb-section--cream { background: var(--sanmi-bg-section, #faf5eb); }
body.sanmi-public-shell .sb-fattoria-grid--exp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
body.sanmi-public-shell .sb-fattoria-grid--audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
body.sanmi-public-shell .sb-wrap--fattoria .sb-fattoria-card {
  background: var(--sanmi-bg-card, #fffdf7);
  border: 1px solid rgba(35,79,46,.08);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: left;
  box-shadow: var(--sanmi-shadow-card, 0 4px 22px rgba(35,79,46,.07));
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.sanmi-public-shell .sb-wrap--fattoria .sb-fattoria-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sanmi-shadow-soft, 0 12px 36px rgba(35,79,46,.12));
  border-color: rgba(35,79,46,.16);
}
/* icona in badge tondo (sovrascrive lo stile emoji precedente) */
body.sanmi-public-shell .sb-wrap--fattoria .sb-fattoria-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #cfe7cd, #a9d3a6);
  color: #1f5b2b;
  box-shadow: inset 0 0 0 1px rgba(31,91,43,.12);
  margin-bottom: 14px;
  font-size: 0;
  transition: transform .2s ease;
}
body.sanmi-public-shell .sb-wrap--fattoria .sb-fattoria-card:hover .sb-fattoria-card__icon { transform: scale(1.06) rotate(-2deg); }
body.sanmi-public-shell .sb-wrap--fattoria .sb-fattoria-card__icon .sb-ico { width: 28px; height: 28px; stroke-width: 2; }
body.sanmi-public-shell .sb-fattoria-card--audience .sb-fattoria-card__icon {
  background: linear-gradient(135deg, #fbe2c0, #f3c483);
  color: #9a5510;
  box-shadow: inset 0 0 0 1px rgba(154,85,16,.14);
}
body.sanmi-public-shell .sb-wrap--fattoria .sb-fattoria-card__title { font-size: 19px; margin: 0 0 6px; color: #1f4a29; }
body.sanmi-public-shell .sb-wrap--fattoria .sb-fattoria-card__text { font-size: 14.5px; line-height: 1.55; color: #46563f; margin: 0; }

/* lista check */
body.sanmi-public-shell .sb-fattoria-list--check { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body.sanmi-public-shell .sb-fattoria-list--check li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #3d4b3d; }
body.sanmi-public-shell .sb-fattoria-list--check .sb-ico { color: #4a9455; margin-top: 2px; }

/* ---- CTA band (riusabile) ---- */
body.sanmi-public-shell .sb-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px 36px;
  flex-wrap: wrap;
}
body.sanmi-public-shell .sb-cta-band__txt { max-width: 36rem; }
body.sanmi-public-shell .sb-cta-band__lead { color: rgba(255,255,255,.85); margin: 6px 0 0; font-size: 15px; }
body.sanmi-public-shell .sb-cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
body.sanmi-public-shell .sb-cta-band__actions .sb-btn { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 920px) {
  body.sanmi-public-shell .sb-fattoria-grid--exp { grid-template-columns: repeat(2, 1fr); }
  body.sanmi-public-shell .sb-fattoria-grid--audience { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body.sanmi-public-shell .sb-fattoria-grid--exp,
  body.sanmi-public-shell .sb-fattoria-grid--audience { grid-template-columns: 1fr; }
  body.sanmi-public-shell .sb-cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  body.sanmi-public-shell .sb-cta-band__actions { width: 100%; }
  body.sanmi-public-shell .sb-cta-band__actions .sb-btn { flex: 1; justify-content: center; }
}

/* ---- Home path-card: icona SVG in badge (sovrascrive stile emoji) ---- */
body.sanmi-public-shell .sb-path-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e8f1e6;
  color: #2f6b39;
  margin-bottom: 12px;
  font-size: 0;
  line-height: 0;
}
body.sanmi-public-shell .sb-path-card__icon .sb-ico { width: 24px; height: 24px; }
body.sanmi-public-shell .sb-home-path-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f6b39;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---- Eventi: card più promozionali (hover-lift, poster valorizzato) ---- */
body.sanmi-public-shell .sanmi-event-card { transition: transform .2s ease, box-shadow .2s ease; }
body.sanmi-public-shell .sanmi-event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sanmi-shadow-soft, 0 12px 36px rgba(35,79,46,.12));
}
body.sanmi-public-shell .sanmi-event-card .sg-poster { min-height: 168px; }

/* ---- Step "Come funziona": icona SVG in badge ---- */
body.sanmi-public-shell .sb-step__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: #e8f1e6; color: #2f6b39; font-size: 0; line-height: 0;
  margin-bottom: 10px;
}
body.sanmi-public-shell .sb-step__icon .sb-ico { width: 24px; height: 24px; }

/* ---- Dettaglio programma: layout editoriale 2 colonne (intro) ---- */
body.sanmi-public-shell .sg-single-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 32px;
  align-items: start;
}
body.sanmi-public-shell .sg-single-side { position: sticky; top: 88px; }
body.sanmi-public-shell .sg-single-summary {
  background: var(--sanmi-bg-card, #fffdf7);
  border: 1px solid rgba(35,79,46,.10);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--sanmi-shadow-card, 0 4px 22px rgba(35,79,46,.07));
}
body.sanmi-public-shell .sg-single-summary__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
body.sanmi-public-shell .sg-single-summary__status--open { background: #e6f7e9; color: #1a5c25; }
body.sanmi-public-shell .sg-single-summary__status--closed { background: #f0eee9; color: #6b6257; }
body.sanmi-public-shell .sg-single-summary__facts { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body.sanmi-public-shell .sg-single-summary__facts li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: #3d4b3d; }
body.sanmi-public-shell .sg-single-summary__facts .sb-ico { color: #4a9455; margin-top: 1px; }
body.sanmi-public-shell .sg-single-summary .sg-btn { width: 100%; justify-content: center; }
@media (max-width: 880px) {
  body.sanmi-public-shell .sg-single-layout { grid-template-columns: 1fr; }
  body.sanmi-public-shell .sg-single-side { position: static; order: -1; }
}

/* ============================================================
   REDESIGN LAYER v5 — Home: card percorso come link elegante
   (riduce il rumore dei bottoni arancio, look più "designed")
   ============================================================ */
body.sanmi-public-shell .sb-path-card--link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  background: var(--sanmi-bg-card, #fffdf7);
  border: 1px solid rgba(35,79,46,.08);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--sanmi-shadow-card, 0 4px 22px rgba(35,79,46,.07));
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
body.sanmi-public-shell .sb-path-card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--sanmi-shadow-soft, 0 12px 36px rgba(35,79,46,.12));
  border-color: rgba(35,79,46,.18);
}
body.sanmi-public-shell .sb-path-card--link .sb-path-card__icon {
  background: linear-gradient(135deg, #cfe7cd, #a9d3a6);
  color: #1f5b2b;
  box-shadow: inset 0 0 0 1px rgba(31,91,43,.12);
  width: 52px; height: 52px; border-radius: 15px;
  transition: transform .2s ease;
}
body.sanmi-public-shell .sb-path-card--link:hover .sb-path-card__icon { transform: scale(1.06) rotate(-2deg); }
body.sanmi-public-shell .sb-path-card--link .sb-path-card__icon .sb-ico { width: 26px; height: 26px; stroke-width: 2; }
body.sanmi-public-shell .sb-path-card--link .sb-path-card__title { color: #1f4a29; font-size: 20px; margin: 0 0 7px; }
body.sanmi-public-shell .sb-path-card--link .sb-path-card__text { color: #46563f; font-size: 14.5px; line-height: 1.55; margin: 0 0 16px; flex: 1 0 auto; }
body.sanmi-public-shell .sb-path-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c2691a;
  font-weight: 800;
  font-size: 14px;
  margin-top: auto;
  letter-spacing: .01em;
}
body.sanmi-public-shell .sb-path-card__more .sb-ico { transition: transform .2s ease; }
body.sanmi-public-shell .sb-path-card--link:hover .sb-path-card__more .sb-ico { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════════
   COMPLETAMENTO — Eyebrow di sezione leggibile su sfondo chiaro.
   Le .sb-eyebrow (etichette tipo "Esperienze", "Per chi è pensata",
   "In fattoria") ereditavano testo BIANCO da uno <style> inline pensato
   per l'hero scuro: su crema risultavano illeggibili (bianco su chiaro).
   Le riportiamo a verde/grano su pill verde tenue (contrasto AA).
   L'eyebrow dell'hero scuro usa .sb-pub-hero__eyebrow: non è toccata.
══════════════════════════════════════════════════════════════════ */
body.sanmi-public-shell .sb-eyebrow {
  color: #2a5c30 !important;
  background: rgba(47, 107, 63, 0.10) !important;
  border: 1px solid rgba(47, 107, 63, 0.18) !important;
}

/* ══ COMPLETAMENTO — Map card Contatti (OpenStreetMap): barra "Dove siamo" + azioni ══ */
.sb-wrap--contatti .sb-map-embed__bar{
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 12px 16px;
}
.sb-wrap--contatti .sb-map-embed__txt{ gap: 2px; flex: 1 1 auto; }
.sb-map-embed__title{
  font-family: var(--sanmi-font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2f6b3f;
}
.sb-wrap--contatti .sb-map-embed__address{
  font-family: var(--sanmi-font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: #1f3326;
}
.sb-map-embed__actions{ display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.sb-map-embed__dir{
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #e88922, #f4a742);
  color: #fff !important;
  font-family: var(--sanmi-font-body);
  font-weight: 800; font-size: 13px;
  padding: 9px 16px; border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(214,123,26,.28);
  transition: filter .15s ease, transform .15s ease;
}
.sb-map-embed__dir:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.sb-map-embed__dir svg{ flex-shrink: 0; }
.sb-map-embed__osm{
  font-family: var(--sanmi-font-body);
  font-size: 13px; font-weight: 700;
  color: #2f6b3f; text-decoration: none; white-space: nowrap;
}
.sb-map-embed__osm:hover{ text-decoration: underline; }
@media (max-width: 540px){
  .sb-wrap--contatti .sb-map-embed__actions{ width: 100%; justify-content: space-between; }
}

/* ══ COMPLETAMENTO — schede senza descrizione (solo titolo, richiesta) ══
   Tolte le descrizioni sotto i titoli nelle schede-funzione/esperienza.
   (Le card EVENTO e il programma mantengono i loro dettagli reali.) */
.sanmi-v30 .pillar > p,
.sanmi-v30 .card .body > p,
.sb-fattoria-card__text{ display: none !important; }
/* spaziatura compensata: titolo->link piu vicini */
.sanmi-v30 .pillar > h3{ margin-bottom: 14px; }
.sanmi-v30 .card .body > h3{ margin-bottom: 14px; }

/* ══ COMPLETAMENTO — Vacanze: layout 3 colonne (Programma · Come funziona · Info
   pratiche) per usare meglio la larghezza. La colonna "info" si scioglie con
   display:contents -> i suoi 2 blocchi diventano le colonne 2 e 3. */
/* 3 colonne da 1024px in su: la colonna "info" si scioglie (display:contents)
   -> Come funziona e Info pratiche diventano le colonne 2 e 3. */
@media (min-width: 1024px){
  .sb-wrap--settimane .sb-vacanze-layout{
    display:grid; grid-template-columns:minmax(300px,1fr) 1fr 1fr; gap:38px;
    align-items:start; max-width:1200px;
  }
  .sb-wrap--settimane .sb-vacanze-col--info{ display:contents; }
  /* steps in colonna singola e COMPATTI ORIZZONTALI (icona sx, titolo+testo dx)
     -> "Come funziona" molto piu corta, colonne piu bilanciate. */
  .sb-vacanze-col--info .sb-steps-grid{ grid-template-columns:1fr !important; gap:12px; }
  .sb-vacanze-col--info #settimane-come-funziona .sb-step{
    display:grid !important; grid-template-columns:auto 1fr;
    grid-template-areas:"icon title" "icon text";
    column-gap:14px; row-gap:3px; text-align:left !important;
    padding:14px 16px !important; align-items:center;
  }
  .sb-vacanze-col--info #settimane-come-funziona .sb-step__icon{ grid-area:icon; align-self:center; margin:0 !important; }
  .sb-vacanze-col--info #settimane-come-funziona .sb-step__title{ grid-area:title; align-self:end; margin:0 !important; }
  .sb-vacanze-col--info #settimane-come-funziona .sb-step__text{ grid-area:text; align-self:start; }
}
/* 901-1023: 2 colonne (programma | info), steps 2x2 nella colonna info */
@media (min-width: 901px) and (max-width: 1023px){
  .sb-wrap--settimane .sb-vacanze-layout{
    display:grid; grid-template-columns:minmax(300px,380px) 1fr; gap:36px; align-items:start;
  }
  .sb-vacanze-col--info > .sb-vacanze-block + .sb-vacanze-block{ margin-top:32px; }
  .sb-vacanze-col--info .sb-steps-grid{ grid-template-columns:1fr 1fr !important; gap:16px; }
}
/* comune >=901: heading a sinistra + programma che riempie la colonna */
@media (min-width: 901px){
  .sb-vacanze-layout .sb-section-head,
  .sb-vacanze-layout .sb-section-head--v2{ text-align:left !important; align-items:flex-start !important; margin-left:0 !important; }
  .sb-vacanze-layout .sanmi-section-title,
  .sb-vacanze-layout .sb-section-head .sb-title{ text-align:left !important; }
  .sb-vacanze-col--prog .sg-events,
  .sb-vacanze-col--prog .sg-events--few{ max-width:none !important; margin:0 !important; display:block !important; }
  .sb-vacanze-col--prog .sg-card--camp{ max-width:none !important; width:100% !important; }
}
@media (max-width:900px){
  .sb-vacanze-col--info > .sb-vacanze-block{ margin-top:30px; }
}

/* ══ COMPLETAMENTO — Fattoria didattica: info meglio organizzate ══ */
/* Card "Cosa si vive" / "Per chi": senza descrizione -> compatte e centrate */
.sb-wrap--fattoria .sb-fattoria-card{
  align-items:center; text-align:center; padding:22px 18px 24px; gap:12px;
}
.sb-wrap--fattoria .sb-fattoria-card__title{ font-size:1.08rem; }
/* CTA finale "Vuoi organizzare una visita?": era testo bianco su sage chiaro
   (illeggibile). Ora pannello verde scuro -> contrasto AA. */
.sb-wrap--fattoria .sb-fattoria-cta-section .sb-cta-band{
  background:linear-gradient(135deg,#1f4d28 0%,#2d6a35 100%);
  border-radius:20px; padding:34px 40px;
  box-shadow:0 14px 32px rgba(27,61,32,.18);
}
.sb-wrap--fattoria .sb-fattoria-cta-section .sb-cta-band .sb-title--on-dark{ color:#fff !important; }
@media (max-width:560px){
  .sb-wrap--fattoria .sb-fattoria-cta-section .sb-cta-band{ padding:26px 22px; }
}

/* ══ COMPLETAMENTO — Hero pagine interne su MOBILE: fascia verde piu stretta ══
   Su <=782px la fascia era troppo alta (verde vuoto sopra gli abbellimenti):
   la compattiamo attorno a titolo + abbellimenti. */
@media (max-width: 782px){
  body.sanmi-public-shell .sb-pub-hero,
  body.sanmi-public-shell .sb-page-hero,
  body.sanmi-public-shell .sb-page-hero--compact{
    padding-top: 44px !important;
    padding-bottom: 26px !important;
    min-height: 0 !important;
  }
}

/* ══ COMPLETAMENTO — Mappa Contatti: nascondi il banner OSM (donazione) ══
   L'iframe OSM mostra in basso una barra "Fai una donazione": estendiamo
   l'iframe oltre il fondo del contenitore (overflow hidden) cosi la barra
   viene ritagliata. Attribuzione © OpenStreetMap mantenuta a parte (licenza). */
.sb-wrap--contatti .sb-map-embed__frame-wrap{ overflow:hidden; }
.sb-wrap--contatti .sb-map-embed__frame-wrap .sb-map-embed__iframe{
  top:0 !important; left:0 !important; right:0 !important; bottom:auto !important;
  width:100% !important; height:calc(100% + 44px) !important;
}
.sb-map-embed__attr{
  position:absolute; right:8px; bottom:62px; z-index:3;
  font-size:10.5px; line-height:1; color:#46563f;
  background:rgba(255,255,255,.82); padding:3px 7px; border-radius:6px;
  box-shadow:0 1px 4px rgba(0,0,0,.12);
}
.sb-map-embed__attr a{ color:#2f6b3f; text-decoration:none; font-weight:700; }
.sb-map-embed__attr a:hover{ text-decoration:underline; }

.sb-wrap--contatti .sb-map-embed{ position:relative; }

/* ══ COMPLETAMENTO — Contatti: social come icone tonde (non bottoni etichettati) ══ */
.sb-wrap--contatti .sb-contact-social{ display:flex; gap:12px; flex-wrap:wrap; }
.sb-wrap--contatti .sb-contact-social .sb-social-link{
  width:48px; height:48px; min-width:0; padding:0; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center; gap:0;
  background:#eef6ee; color:#2f6b3f; border:1px solid #dbe9dd;
  box-shadow:0 2px 8px rgba(27,61,32,.06);
  transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.sb-wrap--contatti .sb-contact-social .sb-social-link svg{ width:21px; height:21px; }
.sb-wrap--contatti .sb-contact-social .sb-social-link span{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.sb-wrap--contatti .sb-contact-social .sb-social-link:hover{ transform:translateY(-2px); color:#fff; }
.sb-wrap--contatti .sb-contact-social .sb-social-link--ig:hover{
  background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); border-color:transparent;
}
.sb-wrap--contatti .sb-contact-social .sb-social-link--fb:hover{ background:#1877f2; border-color:transparent; }

/* ══ COMPLETAMENTO — Mobile: pagine piu compatte ══ */
@media (max-width: 600px){
  /* Fattoria: card icona+titolo a 2 per riga, piu piccole */
  body.sanmi-public-shell .sb-fattoria-grid--exp,
  body.sanmi-public-shell .sb-fattoria-grid--audience{
    grid-template-columns:1fr 1fr !important; gap:12px !important;
  }
  .sb-wrap--fattoria .sb-fattoria-card{ padding:16px 12px 18px !important; gap:9px !important; }
  .sb-wrap--fattoria .sb-fattoria-card__icon{ width:42px !important; height:42px !important; font-size:22px !important; }
  .sb-wrap--fattoria .sb-fattoria-card__title{ font-size:.96rem !important; }
  /* heading di sezione piu compatti */
  body.sanmi-public-shell .sb-section-head{ margin-bottom:18px !important; }
  body.sanmi-public-shell .sb-section-head--v2 .sb-eyebrow{ margin-bottom:4px !important; }
}

/* ══ COMPLETAMENTO — Fix overflow orizzontale (alignfull -50px del tema) ══
   I blocchi .alignfull di Twenty Twenty-Five hanno margin -50px e sforano di
   ~50px (scrollbar orizzontale su desktop). Clippiamo l'eccedenza sul wrapper
   dei contenuti, che e' separato da header/footer (lo sticky non si rompe). */
body.sanmi-public-shell .wp-site-blocks{ overflow-x: clip; }

/* ══ COMPLETAMENTO — Mappa home "Organizza" = identica ai Contatti ══
   La .contact-map ora contiene la stessa card OSM (sanmi_base_render_styled_map_card,
   con .sb-wrap--contatti per ereditarne lo stile). Spegniamo il vecchio fallback
   v30 (::before pin + ::after testo) e facciamo riempire la card. */
.sanmi-v30 .contact-map:has(.sb-map-embed){ background:none !important; min-height:0; padding:0; }
.sanmi-v30 .contact-map:has(.sb-map-embed)::before,
.sanmi-v30 .contact-map:has(.sb-map-embed)::after{ display:none !important; content:none !important; }
.sanmi-v30 .contact-map .sb-map-embed{ height:100%; }

/* =====================================================================
   PRIVACY E COOKIE — pagina testuale lunga, leggibile (max 46rem)
   ===================================================================== */
body.sanmi-public-shell .sb-privacy{max-width:42rem;margin:0 auto;color:#23302A;font-size:1.02rem;line-height:1.65}
body.sanmi-public-shell .sb-privacy__toc{background:#EAF1E4;border:1px solid #d3e3cb;border-radius:14px;padding:14px 20px;margin:0 0 8px}
body.sanmi-public-shell .sb-privacy__toc strong{display:block;font-size:.82rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#3C7D45;margin:0 0 6px}
body.sanmi-public-shell .sb-privacy__toc ol{margin:0;padding-left:20px;columns:2;column-gap:24px;font-size:.95rem}
body.sanmi-public-shell .sb-privacy__toc li{margin:0 0 4px;break-inside:avoid}
@media (max-width:600px){
  body.sanmi-public-shell .sb-privacy__toc ol{columns:1}
  /* tabella finalità → schede: due colonne da 160px non sono leggibili */
  body.sanmi-public-shell .sb-privacy__table thead{display:none}
  body.sanmi-public-shell .sb-privacy__table,body.sanmi-public-shell .sb-privacy__table tbody,body.sanmi-public-shell .sb-privacy__table tr,body.sanmi-public-shell .sb-privacy__table td{display:block;width:100%}
  body.sanmi-public-shell .sb-privacy__table tr{padding:10px 0;border-bottom:1px solid #eee7d8}
  body.sanmi-public-shell .sb-privacy__table tr:last-child{border-bottom:0}
  body.sanmi-public-shell .sb-privacy__table td{border:0;padding:4px 14px}
  body.sanmi-public-shell .sb-privacy__table td:first-child{font-weight:800;color:#1C4A2A}
  body.sanmi-public-shell .sb-privacy__table td:last-child::before{content:"Base giuridica: ";font-weight:800;color:#56655B}
}
body.sanmi-public-shell .sb-privacy__meta{font-size:.82rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#56655B;margin:0 0 14px}
body.sanmi-public-shell .sb-privacy__intro{font-size:1.1rem;color:#3d4a42;margin:0 0 8px}
body.sanmi-public-shell .sb-privacy h2{font-family:"Patrick Hand","Segoe Print",cursive;font-weight:400;font-size:clamp(26px,3vw,34px);color:#1C4A2A;margin:40px 0 12px;line-height:1.1;text-wrap:balance}
body.sanmi-public-shell .sb-privacy h3{font-size:1.05rem;font-weight:800;color:#1C4A2A;margin:22px 0 6px}
body.sanmi-public-shell .sb-privacy p{margin:0 0 14px}
body.sanmi-public-shell .sb-privacy ul{margin:0 0 16px;padding-left:22px}
body.sanmi-public-shell .sb-privacy li{margin:0 0 8px}
body.sanmi-public-shell .sb-privacy a{color:#2d6a35;font-weight:700}
body.sanmi-public-shell .sb-privacy__holder{font-style:normal;background:#EAF1E4;border:1px solid #d3e3cb;border-left:5px solid #3C7D45;border-radius:14px;padding:16px 20px;margin:0 0 16px;line-height:1.6}
body.sanmi-public-shell .sb-privacy__table-wrap{overflow-x:auto;margin:0 0 16px}
body.sanmi-public-shell .sb-privacy__table{width:100%;border-collapse:separate;border-spacing:0;font-size:.96rem;background:#fff;border:1px solid #e7e1d4;border-radius:14px;overflow:hidden}
body.sanmi-public-shell .sb-privacy__table th,body.sanmi-public-shell .sb-privacy__table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid #eee7d8}
body.sanmi-public-shell .sb-privacy__table th{background:#F1EDE2;color:#1C4A2A;font-weight:800}
body.sanmi-public-shell .sb-privacy__table tr:last-child td{border-bottom:0}
body.sanmi-public-shell .sb-privacy__cta{margin-top:32px}
