/* ==========================================================================
   Trentino Invest — aggiunte per WordPress.
   Tutto il resto dello stile è quello esportato da Webflow (trentino-invest.webflow.css).
   ========================================================================== */

/* --- Barre delle quote (Chi siamo): larghezze calcolate dai dati dei Soci --- */
.bar-container > .ti-bar-row {
  width: var(--ti-row-w, auto);
  display: flex;
}

@media screen and (max-width: 767px) {
  .bar-container > .ti-bar-row {
    width: 100%;
  }
}

/* --- Pagine interne: navbar sempre leggibile (le interazioni Webflow scrivono stili inline) --- */
body.is-inner .navbar {
  background-color: #fff !important;
  color: #000 !important;
  border-bottom-color: rgba(0, 0, 0, .08) !important;
}

body.is-inner .navbar .nav-link.text-s,
body.is-inner .navbar .embed-logo {
  color: #000 !important;
}

/* --- Pagine interne: contenuto --- */
.page-padding.is-page {
  padding-top: 12rem;
  padding-bottom: 6rem;
}

.ti-page_layout {
  max-width: 56rem;
}

.ti-page_layout > .heading-l {
  margin-bottom: 3rem;
}

.ti-page_content {
  color: var(--black);
}

.ti-page_content > * + * {
  margin-top: 1.25em;
}

.ti-page_content p,
.ti-page_content li {
  margin-bottom: 0;
}

.ti-page_content > :first-child {
  margin-top: 0;
}

.ti-page_content h2 + *,
.ti-page_content h3 + *,
.ti-page_content h4 + * {
  margin-top: .75em;
}

.ti-page_content h2,
.ti-page_content h3,
.ti-page_content h4 {
  font-family: neue-haas-grotesk-display, sans-serif;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-top: 2em;
  margin-bottom: 0;
}

.ti-page_content h2 { font-size: 32px; }
.ti-page_content h3 { font-size: 24px; }
.ti-page_content h4 { font-size: 20px; }

.ti-page_content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.ti-page_content ul,
.ti-page_content ol {
  padding-left: 1.25em;
}

.ti-page_content li + li {
  margin-top: .5em;
}

.ti-page_content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
}

.ti-page_content th,
.ti-page_content td {
  border-bottom: 1px solid rgba(0, 0, 0, .15);
  padding: .75em .5em;
  text-align: left;
  vertical-align: top;
}

.ti-page_article + .ti-page_article {
  margin-top: 3rem;
}

.ti-page_layout > .button {
  margin-top: 2.5rem;
}

@media screen and (max-width: 767px) {
  .page-padding.is-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .ti-page_layout > .heading-l {
    font-size: 40px;
    margin-bottom: 2rem;
  }
}

/* Il menu mobile di Webflow usa la classe w--open: in admin bar evita che finisca sotto la barra. */
.admin-bar .navbar {
  top: var(--wp-admin--admin-bar--height, 0px);
}
