/**
 * Elisa Terren — UI ispirata a Therapix
 * Ref: https://themes.potenzaglobalsolutions.com/therapix/
 * Token da snapshot locale therapix/ (vedi dev/therapix-reference.md):
 * primary #A79BD8, ink #2C3A55, muted #8F91AB, paper #F7F5FC
 * Font demo: DM Sans + Marcellus
 */

:root {
  --et-primary: #a79bd8;
  --et-primary-dark: #8f82c4;
  --et-ink: #2c3a55;
  --et-ink-2: #293a5c;
  --et-muted: #8f91ab;
  --et-paper: #f7f5fc;
  --et-paper-2: #ffffff;
  --et-warm: #fef3ef;
  --et-warm-2: #fff6eb;
  --et-line: #e8e8e8;
  --et-radius: 16px;
  --et-radius-sm: 10px;
  --et-shadow: 0 18px 50px rgba(44, 58, 85, 0.08);
  --et-shadow-sm: 0 8px 24px rgba(44, 58, 85, 0.06);
  --et-max: 1320px;
  --et-prose: 800px;       /* colonna testo pagine interne (era ~720) */
  --et-prose-wide: 840px;  /* blocchi lettura / articolo (era ~760) */
  --et-font: "DM Sans", system-ui, sans-serif;
  --et-display: "Marcellus", Georgia, serif;
}

/* Base */
body,
.site {
  font-family: var(--et-font);
  color: var(--et-ink);
  background: var(--et-paper);
  font-size: 16px;
  line-height: 1.7;
}
h1, h2, h3, h4,
.main-title,
.entry-title,
.et-display {
  font-family: var(--et-display);
  font-weight: 600;
  color: var(--et-ink);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
a { color: var(--et-primary-dark); }
a:hover, a:focus { color: var(--et-ink); }

/* ===== Header Therapix: logo sx — gap — menu + phone + CTA a destra ===== */
.site-header {
  background: var(--et-paper-2) !important;
  border-bottom: 1px solid var(--et-line);
  box-shadow: 0 4px 24px rgba(44, 58, 85, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100% !important;
}

/* Desktop: Therapix — logo sx, menu+phone+CTA a dx (nav è DENTRO .inside-header) */
@media (min-width: 769px) {
  body.nav-float-right .site-header {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    min-height: 92px;
  }

  body.nav-float-right .site-header .inside-header,
  body.nav-float-right .site-header .inside-header.grid-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.75rem;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0.55rem 2.25rem !important;
    box-sizing: border-box !important;
  }

  body.nav-float-right .site-header .site-branding-container,
  body.nav-float-right .site-header .site-branding,
  body.nav-float-right .site-header .site-logo {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  body.nav-float-right .site-header .mobile-menu-control-wrapper {
    display: none !important;
  }

  body.nav-float-right .site-header #site-navigation {
    float: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    background: transparent !important;
    display: block !important;
  }

  body.nav-float-right #site-navigation .inside-navigation,
  body.nav-float-right #site-navigation .inside-navigation.grid-container {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    align-items: center !important;
    column-gap: 1.25rem !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.nav-float-right #site-navigation .menu-toggle {
    display: none !important;
  }

  body.nav-float-right #site-navigation .main-nav,
  body.nav-float-right #site-navigation .main-nav.toggled,
  body.nav-float-right .main-navigation .main-nav {
    grid-column: 2 !important;
    flex: unset !important;
    flex-basis: auto !important;
    width: max-content !important;
    max-width: max-content !important;
    margin: 0 !important;
    float: none !important;
  }

  body.nav-float-right #site-navigation .main-nav > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: max-content !important;
    float: none !important;
    gap: 0.15rem;
    margin: 0 !important;
  }

  body.nav-float-right #site-navigation .main-nav > ul > li {
    width: auto !important;
    float: none !important;
  }

  body.nav-float-right #site-navigation .menu-bar-items {
    display: none !important;
  }

  body.nav-float-right #site-navigation .et-header-right {
    grid-column: 3 !important;
    margin: 0 !important;
  }
}

.inside-header {
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  align-items: center !important;
}
.site-logo,
.header-image,
.custom-logo-link img,
.site-header .custom-logo,
.site-header .site-logo img,
.site-header .header-image {
  max-height: 86px !important;
  width: auto !important;
}
.main-title {
  margin: 0;
  line-height: 1.15;
}
.main-title a,
.main-title a:hover {
  color: var(--et-ink) !important;
  font-family: var(--et-display);
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
}
.site-description { display: none; }

.main-navigation .main-nav ul li a {
  color: var(--et-ink) !important;
  font-family: var(--et-font) !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.9rem 0.85rem !important;
  line-height: 1.3 !important;
  white-space: nowrap;
}
.main-navigation .main-nav > ul > li {
  width: auto !important;
  float: none !important;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li:hover > a {
  color: var(--et-primary-dark) !important;
}

/* Dropdown desktop: GP default width 200px è troppo stretto con nowrap + font 1.1rem */
@media (min-width: 769px) {
  /* Freccia GP (10+20px) allarga solo Percorsi → gap anomalo verso Orientamento */
  .main-navigation:not(.toggled) .main-nav > ul > li.menu-item-has-children > a {
    display: inline-flex !important;
    align-items: center;
    padding-right: 0.55rem !important;
  }
  .main-navigation:not(.toggled) .main-nav > ul > li > a > .dropdown-menu-toggle {
    padding-left: 0.2rem !important;
    padding-right: 0 !important;
    height: auto;
    clear: none;
  }
  .main-navigation:not(.toggled) .main-nav > ul > li > a > .dropdown-menu-toggle .gp-icon svg {
    width: 0.65em;
    height: 0.65em;
    top: 0;
  }

  .main-navigation:not(.toggled) .main-nav > ul > li > ul.sub-menu {
    width: max-content !important;
    min-width: 12.5rem;
    max-width: min(22rem, calc(100vw - 2rem));
    box-sizing: border-box;
    padding: 0.4rem 0;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(44, 58, 85, 0.12);
    overflow: hidden;
  }
  .main-navigation:not(.toggled) .main-nav ul ul li {
    width: 100% !important;
  }
  .main-navigation:not(.toggled) .main-nav ul ul li a {
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    padding: 0.7rem 1.2rem !important;
    white-space: nowrap;
  }
}

/* Destra: phone pill + CTA (Therapix) */
.et-header-right {
  display: inline-flex !important;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.et-header-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem 0.5rem 0.55rem;
  border: 1px solid #d9d4ea;
  border-radius: 999px;
  background: #fff;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.et-header-phone:hover {
  border-color: var(--et-primary);
  box-shadow: 0 6px 16px rgba(167, 155, 216, 0.18);
}
.et-header-phone-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #efeafc, #fef3ef);
  color: var(--et-primary-dark);
  flex-shrink: 0;
  line-height: 1;
}
.et-header-phone-svg {
  display: block;
}
body.has-custom-logo .site-header .main-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.et-header-phone-number {
  font-family: var(--et-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--et-ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.et-header-cta-btn {
  white-space: nowrap;
  padding: 0.9rem 1.5rem !important;
  font-size: 0.95rem !important;
  box-shadow: none !important;
}

.et-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-family: var(--et-font);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.et-btn--primary,
.wp-block-button__link,
a.button {
  background: var(--et-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(167, 155, 216, 0.35);
}
.et-btn--primary:hover,
.wp-block-button__link:hover {
  background: var(--et-primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--et-ink) !important;
  border: 1px solid var(--et-primary) !important;
  box-shadow: none !important;
}

/* ===== Full-bleed layout (Therapix): niente colonna 70% + box 1200px ===== */
body.no-sidebar .site-content .content-area,
body.full-width-content .site-content .content-area,
.home .site-content .content-area,
.home #primary.content-area,
.page .site-content .content-area,
.page #primary.content-area,
.single .site-content .content-area {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}
.home .is-right-sidebar,
.home .is-left-sidebar,
.page .is-right-sidebar,
.page .is-left-sidebar,
body.no-sidebar .is-right-sidebar,
body.no-sidebar .is-left-sidebar {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home #page,
.home .site,
.page #page {
  overflow-x: clip;
}

.home .site-content,
.home #content.site-content,
.page .site-content {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* GP wrappa il contenuto in .grid-container (max 1200) — sulla Home deve essere full */
.home .site-content > .grid-container,
.home .content-area > .grid-container,
.home .inside-article > .grid-container,
.home .site-main,
.home #main,
.home .content-area,
.home .inside-article {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home .entry-header,
.home.page .entry-header { display: none; }
.home .separate-containers .inside-article,
.home.page .separate-containers .inside-article,
.home .separate-containers .site-main > *,
.page.separate-containers .inside-article {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.home .separate-containers .site-main {
  margin: 0 !important;
}
.home .entry-content {
  margin: 0 !important;
  max-width: none !important;
}
.home .entry-content .alignfull {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===== Pagine interne (Chi sono, ecc.): full-bleed come Home ===== */
.page .site-content > .grid-container,
.page .content-area > .grid-container,
.page .site-main,
.page #main,
.page .content-area,
.page .inside-article {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page .separate-containers .site-main {
  margin: 0 !important;
}
.page .entry-content {
  margin: 0 !important;
  max-width: none !important;
}
.page .entry-content .alignfull {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Header WP nascosto se la pagina ha hero custom */
body.page:has(.et-page-hero) .entry-header,
body.page-id-6 .entry-header,
body.page-id-55 .entry-header,
body.page-id-56 .entry-header,
body.page-id-57 .entry-header {
  display: none !important;
}

.et-page-hero {
  padding: 3.5rem 1.5rem 2.25rem;
  background: linear-gradient(135deg, #efeafc 0%, #fef3ef 100%);
  border-bottom: 1px solid var(--et-line);
}
.et-page-hero .et-section-inner {
  max-width: var(--et-max);
  margin: 0 auto;
}
.et-page-hero .et-display {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin: 0 0 0.5rem;
}
.et-page-hero .et-sub {
  margin: 0;
  max-width: 48ch;
  color: var(--et-muted);
  font-size: 1.08rem;
}
.et-page-hero .et-meta {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--et-ink);
  font-weight: 500;
}

.et-about-text .et-page-body p {
  color: var(--et-muted);
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  line-height: 1.75;
}
.et-about-text .et-page-body p:last-of-type {
  margin-bottom: 1.5rem;
}
.et-about-text .et-page-body p:first-of-type {
  color: var(--et-ink);
}

/* About invertito: testo | immagine */
.et-about.et-about--flip {
  grid-template-columns: 1.05fr 0.95fr;
}
.et-about.et-about--flip .et-about-text { order: 1; }
.et-about.et-about--flip .et-about-media { order: 2; }
.et-about-media--soft img {
  aspect-ratio: 3 / 4;
  object-position: center;
}

/* Prosa pagine interne (Orientamento, ecc.) */
.et-page-prose {
  max-width: var(--et-prose);
}
.et-page-prose p {
  color: var(--et-muted);
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.et-page-prose p:first-of-type {
  color: var(--et-ink);
}
.et-page-quote {
  margin: 0 0 2rem;
  padding: 1.5rem 1.5rem 1.35rem;
  border-left: 3px solid var(--et-primary);
  background: rgba(167, 155, 216, 0.12);
  border-radius: 0 var(--et-radius-sm) var(--et-radius-sm) 0;
}
.et-page-quote p {
  margin: 0;
  font-family: var(--et-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  color: var(--et-ink);
}
.et-page-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--et-font);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--et-muted);
}
.et-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1.75rem;
}
.et-page-actions a:not(.et-btn) {
  font-weight: 500;
}

/* ===== Orientamento teorico: layout strutturato ===== */
.et-orient-quote {
  padding: 3.75rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(44, 58, 85, 0.72), rgba(44, 58, 85, 0.55)),
    url("https://elisaterren.it/wp-content/uploads/2026/09/hero-lavanda-soft.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.et-orient-quote .et-section-inner {
  max-width: 900px;
  margin: 0 auto;
}
.et-orient-quote p {
  margin: 0;
  font-family: var(--et-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.4;
  color: #fff !important;
}
.et-orient-quote cite {
  display: block;
  margin-top: 1.15rem;
  font-family: var(--et-font);
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.et-orient-intro {
  max-width: var(--et-prose);
  margin: 0 auto 2.75rem;
  text-align: center;
}
.et-orient-intro p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--et-ink);
}
.et-orient-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  margin: 0 0 3rem;
}
.et-orient-pillars--3 {
  grid-template-columns: repeat(3, 1fr);
}
.et-orient-quote--warm {
  background:
    linear-gradient(135deg, rgba(44, 58, 85, 0.74), rgba(44, 58, 85, 0.52)),
    url("https://elisaterren.it/wp-content/uploads/2026/09/hero-barca-soft.jpg") center / cover no-repeat;
}
.et-pullquote {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.25rem 1.15rem 1.35rem;
  border-left: 3px solid var(--et-primary, #a79bd8);
  background: rgba(167, 155, 216, 0.08);
  border-radius: 0 var(--et-radius) var(--et-radius) 0;
}
.et-pullquote p {
  margin: 0 !important;
  color: var(--et-ink) !important;
  font-family: var(--et-display);
  font-size: 1.08rem !important;
  line-height: 1.55 !important;
  font-style: italic;
}
.et-reading {
  max-width: var(--et-prose-wide);
  margin: 0 auto 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px dashed rgba(167, 155, 216, 0.45);
  border-radius: var(--et-radius);
  background: #fff;
}
.et-reading .et-eyebrow {
  margin-bottom: 0.45rem;
}
.et-reading p {
  margin: 0;
  color: var(--et-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ===== Contatti ===== */
.et-contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 2.5rem 3rem;
  align-items: start;
  margin-top: 0.5rem;
}
.et-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.et-contact-card {
  background: var(--et-paper-2);
  border: 1px solid rgba(167, 155, 216, 0.22);
  border-radius: var(--et-radius);
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: var(--et-shadow-sm);
}
.et-contact-card .et-eyebrow {
  margin-bottom: 0.4rem;
}
.et-contact-card h2 {
  font-size: 1.25rem;
  margin: 0 0 0.55rem;
}
.et-contact-card p,
.et-contact-card a {
  margin: 0;
  color: var(--et-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.et-contact-card a {
  color: var(--et-ink);
  text-decoration: none;
  font-weight: 500;
}
.et-contact-card a:hover {
  color: var(--et-primary, #a79bd8);
}
.et-contact-card p + p {
  margin-top: 0.35rem;
}
.et-contact-form {
  background: #fff;
  border: 1px solid rgba(167, 155, 216, 0.2);
  border-radius: var(--et-radius);
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow: var(--et-shadow-sm);
}
.et-contact-form > .et-eyebrow {
  margin-bottom: 0.35rem;
}
.et-contact-form > h2 {
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
}
.et-contact-form > .et-sub {
  margin: 0 0 1.25rem;
}
.et-contact-form .wpforms-container {
  margin: 0 !important;
}
.et-contact-form .wpforms-field {
  padding: 0.45rem 0 !important;
}
.et-contact-form input[type="text"],
.et-contact-form input[type="email"],
.et-contact-form input[type="tel"],
.et-contact-form textarea,
.et-contact-form select {
  border-radius: 12px !important;
  border-color: rgba(44, 58, 85, 0.15) !important;
  padding: 0.75rem 0.9rem !important;
}
.et-contact-form .wpforms-submit {
  background: var(--et-primary, #a79bd8) !important;
  border-color: var(--et-primary, #a79bd8) !important;
  border-radius: 999px !important;
  padding: 0.8rem 1.5rem !important;
  font-weight: 600 !important;
}
.et-contact-note {
  max-width: var(--et-prose-wide);
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--et-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== Percorsi (hub + sottopagine) ===== */
.et-path-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 2.25rem;
  justify-content: center;
}
.et-path-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 155, 216, 0.35);
  background: #fff;
  color: var(--et-ink);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.et-path-nav a:hover,
.et-path-nav a.is-active {
  background: rgba(167, 155, 216, 0.14);
  border-color: rgba(167, 155, 216, 0.55);
  color: var(--et-ink);
}
.et-path-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin: 2rem 0 2.5rem;
}
.et-path-card {
  display: flex;
  flex-direction: column;
  background: var(--et-paper-2);
  border: 1px solid rgba(167, 155, 216, 0.22);
  border-radius: var(--et-radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--et-shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.et-path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(44, 58, 85, 0.1);
}
.et-path-card .et-eyebrow {
  margin-bottom: 0.5rem;
}
.et-path-card h2 {
  font-size: 1.45rem;
  margin: 0 0 0.65rem;
}
.et-path-card p {
  margin: 0 0 1.1rem;
  color: var(--et-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  flex: 1;
}
.et-path-card .et-path-more {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--et-primary, #a79bd8);
}
.et-path-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.et-path-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(167, 155, 216, 0.2);
  border-radius: 12px;
  color: var(--et-ink);
  font-size: 0.98rem;
  line-height: 1.5;
}
.et-path-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 2px;
  background: var(--et-primary, #a79bd8);
}
.et-orient-block .et-path-list {
  margin-top: 1.15rem;
}
.et-orient-pillar {
  background: var(--et-paper-2);
  border: 1px solid rgba(167, 155, 216, 0.22);
  border-radius: var(--et-radius);
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: var(--et-shadow-sm);
}
.et-orient-pillar .et-eyebrow {
  margin-bottom: 0.55rem;
}
.et-orient-pillar h2 {
  font-size: 1.55rem;
  margin: 0 0 0.75rem;
}
.et-orient-pillar p {
  margin: 0;
  color: var(--et-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.et-orient-block {
  max-width: var(--et-prose-wide);
  margin: 0 auto 2.5rem;
}
.et-orient-block h2 {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  margin: 0 0 0.85rem;
}
.et-orient-block p {
  margin: 0 0 1rem;
  color: var(--et-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}
.et-orient-block p:last-child {
  margin-bottom: 0;
}
.et-orient-closing {
  max-width: var(--et-prose-wide);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, #efeafc 0%, #fef3ef 100%);
  border-radius: var(--et-radius);
}
.et-orient-closing p {
  margin: 0;
  color: var(--et-ink);
  font-size: 1.05rem;
  line-height: 1.7;
}
.et-orient-actions {
  justify-content: center;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .et-page-hero {
    padding: 2.5rem 1.15rem 1.75rem;
  }
  .et-orient-pillars,
  .et-orient-pillars--3 {
    grid-template-columns: 1fr;
  }
  .et-contact {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .et-contact-form {
    padding: 1.35rem 1.15rem 1.2rem;
  }
  .et-path-cards {
    grid-template-columns: 1fr;
  }
  .et-orient-quote {
    padding: 2.75rem 1.15rem;
    text-align: left;
  }
}

/* ===== HERO Therapix: shell arrotondato + pannello testo ===== */
.home .entry-content > .et-hero-multi.alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.et-hero-multi {
  position: relative;
  color: #fff;
  background: var(--et-paper);
  /* full-bleed come Therapix home-01 */
  padding: 0;
  overflow: visible;
}
.et-hero-shell {
  position: relative;
  min-height: min(78vh, 720px);
  border-radius: 0;
  overflow: hidden;
  background: var(--et-ink);
  box-shadow: none;
}
.et-hero-slides { position: absolute; inset: 0; }
.et-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition:
    opacity 1.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
  pointer-events: none;
}
.et-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}
.et-hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(44, 58, 85, 0.42) 0%,
    rgba(44, 58, 85, 0.14) 42%,
    rgba(44, 58, 85, 0.06) 100%
  );
  pointer-events: none;
  transition: background 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.et-hero-shell.et-pos-right::after {
  background: linear-gradient(
    255deg,
    rgba(44, 58, 85, 0.42) 0%,
    rgba(44, 58, 85, 0.14) 42%,
    rgba(44, 58, 85, 0.06) 100%
  );
}
.et-hero-shell.et-pos-center::after {
  background: linear-gradient(
    180deg,
    rgba(44, 58, 85, 0.12) 0%,
    rgba(44, 58, 85, 0.28) 45%,
    rgba(44, 58, 85, 0.55) 100%
  );
}
.et-hero-content {
  position: relative;
  z-index: 2;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3.5rem 3rem 5.5rem;
  max-width: none;
  margin: 0;
  transition: padding 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.et-hero-shell.et-pos-right .et-hero-content,
.et-hero-shell.et-pos-center .et-hero-content {
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  padding-bottom: 5.5rem;
}
.et-hero-shell.et-pos-right .et-hero-panel,
.et-hero-shell.et-pos-center .et-hero-panel {
  left: 3rem !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  text-align: left !important;
  max-width: 34rem !important;
  transform: translate3d(0, calc(-50% + 18px), 0) scale(0.985);
}
.et-hero-shell.et-pos-right .et-hero-panel.is-active,
.et-hero-shell.et-pos-center .et-hero-panel.is-active {
  transform: translate3d(0, -50%, 0) scale(1);
}
.et-hero-shell.et-pos-center .et-hero-actions,
.et-hero-shell.et-pos-center .et-pills {
  justify-content: flex-start;
}
.et-hero-shell.et-pos-center .et-display,
.et-hero-shell.et-pos-center .et-lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 16ch;
}
.et-hero-shell.et-pos-center .et-lead {
  max-width: 38ch;
}
/* Float sempre in basso a destra */
.et-hero-shell.et-pos-right .et-hero-float,
.et-hero-shell.et-pos-center .et-hero-float {
  left: auto !important;
  right: 2.25rem !important;
  bottom: 2.25rem !important;
  top: auto !important;
}
.et-hero-shell.et-pos-right .et-hero-dots,
.et-hero-shell.et-pos-center .et-hero-dots {
  left: 1.75rem !important;
  right: auto !important;
  transform: none !important;
}
.et-pills,
.et-pill {
  display: none !important;
}
/* Pannelli sovrapposti: crossfade senza display:none */
.et-hero-content {
  position: relative;
}
.et-hero-panel {
  position: absolute;
  top: 50%;
  left: 3rem;
  right: auto;
  max-width: 34rem;
  width: min(34rem, calc(100% - 6rem));
  padding: 2.15rem 2rem 2rem;
  border-radius: 22px;
  background: rgba(44, 58, 85, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(28, 36, 54, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, calc(-50% + 18px), 0) scale(0.985);
  transition:
    opacity 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0.95s,
    left 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    right 1s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}
.et-hero-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, -50%, 0) scale(1);
  transition:
    opacity 1.05s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s,
    transform 1.15s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s,
    visibility 0s linear 0s,
    left 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    right 1s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: auto;
  z-index: 2;
}
.et-hero-shell.et-pos-left .et-hero-panel {
  left: 3rem;
  right: auto;
}
.et-hero-shell.et-pos-right .et-hero-panel,
.et-hero-shell.et-pos-center .et-hero-panel {
  left: 3rem !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  max-width: 34rem !important;
  text-align: left !important;
  transform: translate3d(0, calc(-50% + 18px), 0) scale(0.985);
}
.et-hero-shell.et-pos-right .et-hero-panel.is-active,
.et-hero-shell.et-pos-center .et-hero-panel.is-active {
  transform: translate3d(0, -50%, 0) scale(1);
}
.et-hero-shell.et-pos-center .et-hero-actions {
  justify-content: flex-start;
}
.et-hero-shell.et-pos-center .et-display {
  max-width: 16ch;
  margin-left: 0;
  margin-right: 0;
}
.et-hero-shell.et-pos-center .et-lead {
  max-width: 38ch;
  margin-left: 0;
  margin-right: 0;
}
.et-hero-badge {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background: var(--et-primary);
  color: #fff;
  font-family: var(--et-font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.et-hero-multi .et-display {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  max-width: 16ch;
  margin: 0 0 1rem;
  color: #fff !important;
  line-height: 1.15;
}
.et-hero-multi .et-lead {
  font-size: 1.05rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 1.5rem;
  line-height: 1.65;
}
.et-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  flex-wrap: wrap;
}
.et-hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--et-primary);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(167, 155, 216, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.et-hero-arrow:hover {
  background: var(--et-primary-dark);
  transform: translateY(-2px);
  color: #fff !important;
}
.et-hero-float {
  position: absolute;
  z-index: 3;
  right: 2.25rem;
  bottom: 2.25rem;
  left: auto;
  top: auto;
  width: min(260px, calc(100% - 3rem));
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  color: var(--et-ink);
  box-shadow: var(--et-shadow);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0.9s,
    left 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    right 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    bottom 1s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.et-hero-float.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s,
    transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s,
    visibility 0s linear 0s,
    left 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    right 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    bottom 1s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: auto;
}
.et-hero-shell.et-pos-right .et-hero-float {
  left: 2.25rem;
  right: auto;
  bottom: 2.25rem;
  top: auto;
}
.et-hero-shell.et-pos-center .et-hero-float {
  left: 2.25rem;
  right: auto;
  top: 2.25rem;
  bottom: auto;
}
.et-hero-float-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--et-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.et-hero-float strong {
  display: block;
  font-family: var(--et-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--et-ink);
  margin: 0 0 0.35rem;
}
.et-hero-float p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--et-muted);
  line-height: 1.45;
}
.et-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}
.et-pill {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
}
a.et-pill:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.et-pill--accent {
  background: rgba(167, 155, 216, 0.55);
  border-color: rgba(255, 255, 255, 0.4);
}
.et-hero-dots {
  position: absolute;
  z-index: 6;
  left: 1.75rem;
  bottom: 1.35rem;
  display: flex;
  gap: 0.45rem;
}
.et-hero-shell.et-pos-right .et-hero-dots {
  left: auto;
  right: 1.75rem;
}
.et-hero-shell.et-pos-center .et-hero-dots {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 1.25rem;
}
.et-hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.35s ease, transform 0.35s ease;
}
.et-hero-dots button.is-active {
  background: #fff;
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .et-hero-slide,
  .et-hero-panel,
  .et-hero-float,
  .et-hero-shell::after,
  .et-hero-content,
  .et-hero-dots button {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    transform: none !important;
  }
  .et-hero-slide { transform: none !important; }
}

/* ===== Feature cards (sotto hero, stile Therapix) ===== */
.et-features {
  position: relative;
  z-index: 4;
  margin-top: -3.75rem;
  padding: 0 1.75rem 1rem;
}
.et-features-inner {
  max-width: var(--et-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.et-feature {
  background: var(--et-paper-2);
  border-radius: var(--et-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--et-shadow);
  border: 1px solid rgba(167, 155, 216, 0.12);
}
.et-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #efeafc, #fef3ef);
  color: var(--et-primary-dark);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.et-feature h3 {
  font-size: 1.35rem;
  margin: 0 0 0.55rem;
}
.et-feature p {
  margin: 0;
  color: var(--et-muted);
  font-size: 0.95rem;
}

/* ===== Sections ===== */
.et-section {
  padding: 4.75rem 1.5rem;
}
.et-section-inner {
  max-width: var(--et-max);
  margin: 0 auto;
}
.et-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--et-primary-dark);
  margin-bottom: 0.65rem;
}
.et-section h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 0 0 0.65rem;
}
.et-sub {
  color: var(--et-muted);
  max-width: 42ch;
  margin: 0 0 2rem;
  font-size: 1.02rem;
}
.et-band { background: var(--et-paper-2); }
.et-band-warm { background: var(--et-warm); }

/* About split */
.et-about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.et-about-media img {
  width: 100%;
  border-radius: var(--et-radius);
  box-shadow: var(--et-shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.et-about-text p { color: var(--et-muted); }
.et-about-text p:first-of-type { color: var(--et-ink); }

/* Service cards with image — Therapix style */
.et-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.et-service-card {
  background: var(--et-paper-2);
  border-radius: var(--et-radius);
  overflow: hidden;
  box-shadow: var(--et-shadow-sm);
  border: 1px solid var(--et-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.et-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--et-shadow);
  color: inherit;
}
.et-service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.et-service-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}
.et-service-card h3 {
  font-size: 1.4rem;
  margin: 0 0 0.45rem;
}
.et-service-card p {
  margin: 0 0 0.85rem;
  color: var(--et-muted);
  font-size: 0.95rem;
}
.et-service-card .et-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--et-primary-dark);
}

/* Process steps */
.et-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.et-step {
  background: var(--et-paper-2);
  border-radius: var(--et-radius);
  padding: 1.75rem 1.4rem;
  border: 1px solid var(--et-line);
  position: relative;
}
.et-step-num {
  font-family: var(--et-display);
  font-size: 2rem;
  color: var(--et-primary);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.et-step h3 {
  font-size: 1.3rem;
  margin: 0 0 0.45rem;
}
.et-step p {
  margin: 0;
  color: var(--et-muted);
  font-size: 0.95rem;
}

/* Quote */
.et-quote {
  text-align: center;
  padding: 4.5rem 1.5rem;
  background: linear-gradient(135deg, #efeafc 0%, #fef3ef 100%);
  font-family: var(--et-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--et-ink);
  line-height: 1.35;
}
.et-quote p { max-width: 28ch; margin: 0 auto; }
.et-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--et-font);
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--et-muted);
}

/* Blog */
.home .wp-block-latest-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.home .wp-block-latest-posts li {
  background: var(--et-paper-2);
  border-radius: var(--et-radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--et-line);
  box-shadow: var(--et-shadow-sm);
  margin: 0;
}
.home .wp-block-latest-posts a {
  font-family: var(--et-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--et-ink);
}

/* CTA */
.et-cta {
  background: var(--et-ink) !important;
  color: #fff !important;
  padding: 4.5rem 1.5rem !important;
  text-align: center;
}
.et-cta h2,
.et-cta p,
.et-cta a:not(.wp-block-button__link):not(.et-btn) {
  color: #fff !important;
}
.et-cta .et-eyebrow {
  color: #c4b8e8;
}
.et-cta .et-sub,
.et-cta p {
  opacity: 0.88;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer Therapix-like ===== */
.et-footer {
  background: #1d2738;
  color: #d7d9e5;
  margin-top: 0;
}
.et-footer a {
  color: #d7d9e5;
  text-decoration: none;
}
.et-footer a:hover {
  color: #fff;
}
.et-footer-main {
  padding: 4.25rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.et-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem 1.75rem;
  max-width: var(--et-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.et-footer-title {
  font-family: var(--et-display);
  font-size: 1.65rem;
  color: #fff;
  margin: 0 0 0.35rem;
}
.et-footer-lead {
  color: var(--et-primary);
  font-weight: 500;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
.et-footer-text {
  color: #aeb2c3;
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
  line-height: 1.65;
}
.et-footer-cta { margin-top: 1.25rem; }
.et-footer-heading {
  font-family: var(--et-font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.1rem;
}
.et-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.et-footer-list li {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: #aeb2c3;
  line-height: 1.5;
}
.et-footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0;
  background: rgba(0, 0, 0, 0.18);
}
.et-footer-disclaimer .grid-container {
  max-width: var(--et-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.et-footer-disclaimer p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #9aa0b5;
}
.site-info {
  background: #161e2c !important;
  color: #9aa0b5 !important;
  padding: 1.1rem 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-info a { color: #c5c8d8 !important; }
.site-info .inside-site-info {
  max-width: var(--et-max);
  margin: 0 auto;
}
.et-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem 1.5rem;
  width: 100%;
  font-size: 0.82rem;
}
.et-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.et-footer-legal a {
  color: #c5c8d8 !important;
  text-decoration: none;
}
.et-footer-legal a:hover { color: #fff !important; }
.footer-widgets { display: none; }

@media (max-width: 900px) {
  .et-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .et-footer-brand {
    grid-column: 1 / -1;
  }
  .et-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .et-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-info,
.footer-widgets {
  background: #1d2738 !important;
  color: #d7d9e5;
}
.site-info a,
.footer-widgets a { color: #d7d9e5; }

@media (max-width: 900px) {
  .et-features-inner,
  .et-service-grid,
  .et-steps,
  .home .wp-block-latest-posts {
    grid-template-columns: 1fr;
  }
  .et-about { grid-template-columns: 1fr; }
  .et-about-media { max-width: 320px; }
  .et-features { margin-top: -2.5rem; }
  .et-header-phone { display: none !important; }
  .et-header-right {
    gap: 0.5rem;
    margin-left: auto;
    padding: 0.35rem 0.75rem 0.75rem;
  }
  .et-header-cta-btn { padding: 0.65rem 0.95rem !important; font-size: 0.78rem !important; }
  .et-hero-multi { padding: 0; }
  .et-hero-shell {
    min-height: 72vh;
    border-radius: 0;
  }
  .et-hero-content {
    min-height: 72vh;
    padding: 2rem 1.15rem 4.5rem;
    align-items: flex-end;
    justify-content: flex-start !important;
  }
  .et-hero-panel,
  .et-hero-shell.et-pos-left .et-hero-panel,
  .et-hero-shell.et-pos-right .et-hero-panel,
  .et-hero-shell.et-pos-center .et-hero-panel {
    left: 1.15rem !important;
    right: 1.15rem !important;
    top: auto !important;
    bottom: 3.75rem !important;
    width: auto !important;
    max-width: none !important;
    padding: 1.5rem 1.25rem 1.35rem;
    border-radius: 18px;
    text-align: left !important;
    transform: translate3d(0, 14px, 0) scale(0.985);
  }
  .et-hero-panel.is-active,
  .et-hero-shell.et-pos-center .et-hero-panel.is-active {
    transform: translate3d(0, 0, 0) scale(1);
  }
  .et-hero-shell.et-pos-center .et-hero-actions,
  .et-hero-shell.et-pos-center .et-pills {
    justify-content: flex-start;
  }
  .et-hero-float { display: none !important; }
  .et-hero-dots,
  .et-hero-shell.et-pos-right .et-hero-dots,
  .et-hero-shell.et-pos-center .et-hero-dots {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 1rem;
  }
}

/* ===== Scroll reveal (stile Therapix fadeInUp) ===== */
@media (prefers-reduced-motion: no-preference) {
  html.et-motion .et-page-hero .et-eyebrow,
  html.et-motion .et-page-hero .et-display,
  html.et-motion .et-page-hero .et-sub,
  html.et-motion .et-page-hero .et-meta,
  html.et-motion .et-orient-quote,
  html.et-motion .et-orient-intro,
  html.et-motion .et-orient-pillar,
  html.et-motion .et-orient-block,
  html.et-motion .et-orient-closing,
  html.et-motion .et-page-actions,
  html.et-motion .et-page-prose,
  html.et-motion .et-page-quote,
  html.et-motion .et-page-body > p,
  html.et-motion .et-about-media,
  html.et-motion .et-about-text > .et-eyebrow,
  html.et-motion .et-about-text > h2,
  html.et-motion .et-about-text > p,
  html.et-motion .et-about-text > .et-page-actions,
  html.et-motion .et-feature,
  html.et-motion .et-service-card,
  html.et-motion .et-step,
  html.et-motion .et-quote,
  html.et-motion .et-cta .et-section-inner > *,
  html.et-motion .et-section > .et-section-inner > .et-eyebrow,
  html.et-motion .et-section > .et-section-inner > h2,
  html.et-motion .et-section > .et-section-inner > .et-sub,
  html.et-motion .et-section > .et-section-inner > .wp-block-buttons,
  html.et-motion .et-section > .et-section-inner > .wp-block-button,
  html.et-motion .et-footer-col,
  html.et-motion .home .wp-block-latest-posts > li,
  html.et-motion .et-reveal {
    opacity: 0;
    transform: translate3d(0, 2.5rem, 0);
    transition:
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--et-d, 0ms);
    will-change: opacity, transform;
  }

  html.et-motion .et-page-hero .et-eyebrow.is-in,
  html.et-motion .et-page-hero .et-display.is-in,
  html.et-motion .et-page-hero .et-sub.is-in,
  html.et-motion .et-page-hero .et-meta.is-in,
  html.et-motion .et-orient-quote.is-in,
  html.et-motion .et-orient-intro.is-in,
  html.et-motion .et-orient-pillar.is-in,
  html.et-motion .et-orient-block.is-in,
  html.et-motion .et-orient-closing.is-in,
  html.et-motion .et-page-actions.is-in,
  html.et-motion .et-page-prose.is-in,
  html.et-motion .et-page-quote.is-in,
  html.et-motion .et-page-body > p.is-in,
  html.et-motion .et-about-media.is-in,
  html.et-motion .et-about-text > .et-eyebrow.is-in,
  html.et-motion .et-about-text > h2.is-in,
  html.et-motion .et-about-text > p.is-in,
  html.et-motion .et-about-text > .et-page-actions.is-in,
  html.et-motion .et-feature.is-in,
  html.et-motion .et-service-card.is-in,
  html.et-motion .et-step.is-in,
  html.et-motion .et-quote.is-in,
  html.et-motion .et-cta .et-section-inner > *.is-in,
  html.et-motion .et-section > .et-section-inner > .et-eyebrow.is-in,
  html.et-motion .et-section > .et-section-inner > h2.is-in,
  html.et-motion .et-section > .et-section-inner > .et-sub.is-in,
  html.et-motion .et-section > .et-section-inner > .wp-block-buttons.is-in,
  html.et-motion .et-section > .et-section-inner > .wp-block-button.is-in,
  html.et-motion .et-footer-col.is-in,
  html.et-motion .home .wp-block-latest-posts > li.is-in,
  html.et-motion .et-reveal.is-in {
    opacity: 1;
    transform: none;
  }

  html.et-motion .et-reveal--soft:not(.is-in),
  html.et-motion .et-orient-quote:not(.is-in),
  html.et-motion .et-quote:not(.is-in),
  html.et-motion .et-orient-closing:not(.is-in) {
    transform: translate3d(0, 1.35rem, 0);
  }
  html.et-motion .et-about-media:not(.is-in),
  html.et-motion .et-reveal--left:not(.is-in) {
    transform: translate3d(-1.75rem, 0, 0);
  }
  html.et-motion .et-reveal--right:not(.is-in) {
    transform: translate3d(1.75rem, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.et-motion .et-page-hero .et-eyebrow,
  html.et-motion .et-page-hero .et-display,
  html.et-motion .et-page-hero .et-sub,
  html.et-motion .et-page-hero .et-meta,
  html.et-motion .et-orient-quote,
  html.et-motion .et-orient-intro,
  html.et-motion .et-orient-pillar,
  html.et-motion .et-orient-block,
  html.et-motion .et-orient-closing,
  html.et-motion .et-page-actions,
  html.et-motion .et-page-prose,
  html.et-motion .et-page-quote,
  html.et-motion .et-page-body > p,
  html.et-motion .et-about-media,
  html.et-motion .et-about-text > .et-eyebrow,
  html.et-motion .et-about-text > h2,
  html.et-motion .et-about-text > p,
  html.et-motion .et-about-text > .et-page-actions,
  html.et-motion .et-feature,
  html.et-motion .et-service-card,
  html.et-motion .et-step,
  html.et-motion .et-quote,
  html.et-motion .et-cta .et-section-inner > *,
  html.et-motion .et-section > .et-section-inner > .et-eyebrow,
  html.et-motion .et-section > .et-section-inner > h2,
  html.et-motion .et-section > .et-section-inner > .et-sub,
  html.et-motion .et-section > .et-section-inner > .wp-block-buttons,
  html.et-motion .et-section > .et-section-inner > .wp-block-button,
  html.et-motion .et-footer-col,
  html.et-motion .home .wp-block-latest-posts > li,
  html.et-motion .et-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ===== Blog / Articoli e news ===== */
body.blog .site-content,
body.archive .site-content,
body.single-post .site-content {
  padding-top: 0;
}
.et-blog-hero {
  margin-bottom: 0.5rem;
}
body.blog #main,
body.archive #main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: var(--et-max, 1120px);
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem 1rem;
  width: 100%;
  box-sizing: border-box;
}
body.blog #main > article,
body.archive #main > article {
  margin: 0 !important;
  background: #fff;
  border: 1px solid rgba(167, 155, 216, 0.2);
  border-radius: var(--et-radius, 16px);
  box-shadow: var(--et-shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.blog #main > article:hover,
body.archive #main > article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(44, 58, 85, 0.1);
}
body.blog .inside-article,
body.archive .inside-article {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
body.blog .post-image,
body.archive .post-image {
  margin: 0;
  order: -1;
  flex: 0 0 auto;
}
body.blog .post-image img,
body.archive .post-image img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
body.blog .entry-header,
body.archive .entry-header {
  padding: 1.25rem 1.35rem 0.5rem;
  flex: 0 0 auto;
}
body.blog .entry-title,
body.archive .entry-title {
  font-family: var(--et-display);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  line-height: 1.3;
  margin: 0 0 0.45rem;
  /* spazio titolo allineato: fino a 3 righe */
  min-height: calc(1.3em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
body.blog .entry-title a,
body.archive .entry-title a {
  color: var(--et-ink);
  text-decoration: none;
}
body.blog .entry-title a:hover,
body.archive .entry-title a:hover {
  color: var(--et-primary, #a79bd8);
}
body.blog .entry-meta,
body.archive .entry-meta {
  font-size: 0.82rem;
  color: var(--et-muted);
  margin: 0;
}
body.blog .entry-summary,
body.archive .entry-summary {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.35rem 1.35rem 1.35rem;
  color: var(--et-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-top: auto;
}
body.blog .entry-summary p,
body.archive .entry-summary p {
  margin: 0;
}
body.blog footer.entry-meta,
body.archive footer.entry-meta,
body.blog .cat-links,
body.archive .cat-links {
  display: none !important;
}
body.blog .cat-links a,
body.archive .cat-links a {
  color: inherit;
  text-decoration: none;
}
body.blog .cat-links .gp-icon,
body.archive .cat-links .gp-icon {
  display: none;
}
body.blog .comments-link,
body.archive .comments-link,
body.blog .byline,
body.archive .byline,
body.single-post .byline,
body.single-post .comments-area,
body.single-post .comment-respond,
body.single-post #comments {
  display: none !important;
}
.et-read-more {
  font-weight: 600;
  color: var(--et-primary, #a79bd8);
  text-decoration: none;
  white-space: nowrap;
}
.et-read-more:hover {
  text-decoration: underline;
}

/* Singolo articolo */
body.single-post .entry-header {
  max-width: var(--et-prose-wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0.75rem;
  text-align: left;
}
body.single-post .entry-title {
  font-family: var(--et-display);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
body.single-post .entry-meta {
  color: var(--et-muted);
  font-size: 0.9rem;
}
body.single-post .featured-image,
body.single-post .post-image {
  max-width: 960px;
  margin: 0.5rem auto 1.5rem;
  padding: 0 1.5rem;
}
body.single-post .featured-image img,
body.single-post .post-image img {
  width: 100%;
  border-radius: var(--et-radius, 16px);
  display: block;
}
body.single-post .entry-content {
  max-width: var(--et-prose-wide);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--et-ink);
}
body.single-post .entry-content p {
  margin: 0 0 1.15rem;
}
body.single-post footer.entry-meta {
  max-width: var(--et-prose-wide);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

@media (max-width: 900px) {
  body.blog #main,
  body.archive #main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 1.15rem 1rem;
  }
  body.blog .post-image img,
  body.archive .post-image img {
    height: 170px;
  }
}
@media (max-width: 600px) {
  body.blog #main,
  body.archive #main {
    grid-template-columns: 1fr;
  }
  body.blog .post-image img,
  body.archive .post-image img {
    height: 200px;
  }
}
