@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  font-size: 16px;
  --main: #fcbf24;
  --second: #494442;
  --font-main: "Noto Sans", sans-serif;
}
body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-is-open {
  overflow: hidden;
  touch-action: none;
  height: 100vh;
}
.st0 {
  fill: #FCBF24;
}
.st1 {
  fill: #494442;
}
.st2 {
  fill: none;
  stroke: #494442;
  stroke-width: 2.2219;
}
.st3 {
  fill: #FFFFFF;
  stroke: #FFFFFF;
  stroke-width: 0.195;
  stroke-miterlimit: 10;
}
header.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .06);
  z-index: 99;
}
.site-header .navbar {
  min-height: 92px;
  margin: 0;
  padding: 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  padding: .35rem 0;
}
.navbar-brand svg {
  width: 210px;
  max-width: 42vw;
  background: #fff;
}
#primaryNav {
  justify-content: flex-end;
}
#primaryNav .navbar-nav {
  align-items: center;
  gap: 1.25rem;
}
#primaryNav .menu-item {
  position: relative;
}
#primaryNav .menu-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .65rem 0;
  color: var(--second);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
#primaryNav .menu-item > a:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .28rem;
  width: 0;
  height: 3px;
  background: var(--main);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width .25s ease;
}
#primaryNav .menu-item > a:hover:after, #primaryNav .current-menu-item > a:after, #primaryNav .current-menu-ancestor > a:after, #primaryNav .menu-item.is-open > a:after {
  width: 100%;
}
#primaryNav .menu-item-has-children > a {
  gap: .35rem;
}
#primaryNav .menu-item-has-children > a:before {
  content: "";
  order: 2;
  width: .45rem;
  height: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
  transition: transform .25s ease;
}
#primaryNav .menu-item-has-children.is-open > a:before {
  transform: rotate(-135deg) translateY(-1px);
}
#primaryNav .sub-menu {
  position: absolute;
  top: calc(100% + .8rem);
  left: 50%;
  min-width: 260px;
  padding: .9rem;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: .35rem;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .14);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
#primaryNav .sub-menu:before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 42px;
  height: 4px;
  background: var(--main);
  border-radius: 999px;
  transform: translateX(-50%);
}
#primaryNav .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
#primaryNav .sub-menu .menu-item > a {
  width: 100%;
  padding: .75rem .85rem;
  font-size: .76rem;
  letter-spacing: .055em;
  border-radius: .25rem;
  transition: .3s;
}
#primaryNav .sub-menu .menu-item > a:after {
  display: none;
}
#primaryNav .sub-menu .menu-item > a:hover, #primaryNav .sub-menu .menu-item.current-menu-item {
  background: rgba(252, 191, 36, .16);
  color: #1f1d1c;
}
#primaryNav .menu-main-menu-container {
  margin-left: auto;
}
.tp-header-social {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(73, 68, 66, .18);
}
.tp-header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--second);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  transition: .25s ease;
}
.tp-header-social a:hover {
  color: var(--main);
}
.bg-main {
  background: var(--main);
}
.bg-light-dark {
  background: #444;
}
.bt-main {
  border-top: 2px solid var(--main);
}
.b-main {
  border: 2px solid var(--main);
}
.text-main {
  color: var(--main);
}
.topbar {
  background: var(--main);
  color: #fff;
}
.topbar p {
  margin: 0;
  font-size: .725rem
}
.topbar a {
  font-size: .725rem;
}
.hero-video, .hero-bg {
  position: relative;
  overflow: hidden;
}
.video-ajax, .hero-bg-wrap {
  position: relative;
  height: 80vh;
  background: #000;
}
.video-ajax:before, .hero-bg-wrap:before, .hero-bg-wrap .carousel-inner:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000000a1;
  z-index: +1
}
.video-ajax video, .hero-bg-wrap figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  padding-top: 0;
}
.video-overlay, .bg-overlay {
  position: absolute;
  z-index: 2;
  color: #fff;
  padding: 4rem 0;
  inset: 55% 0 auto 0;
  text-align: center;
  transform: translateY(-50%);
}
.tips {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 1.125rem;
  opacity: 0;
  transition: .3s ease-in-out;
}
.tips p {
  margin: 0;
}
.tips-logo img {
  height: 48px;
  width: auto;
}
.heading-box h1 {
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
}
.heading-box h1 span {
  font-weight: 900;
  letter-spacing: .05em;
  font-size: .9em;
  display: block;
}
.heading-box .h2 {
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  text-transform: none;
  opacity: .9;
  margin: 1rem 0 2rem;
}
.hover-zoom {
  transition: transform 0.4s ease;
}
.hover-zoom:hover {
  transform: scale(1.05);
}
/* Stile base per la timeline */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
/* Quando entra nella schermata */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.philosophy-card {
  background-color: var(--bs-light);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  border: 0;
}
.card-number-bg {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--main);
  opacity: 0.25;
  z-index: -1;
  line-height: 1;
  user-select: none;
}
.philosophy-card h3 {
  color: var(--main);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}
/* Box Premium per la Citazione di Joseph Pilates */
.quote-box-premium {
  position: relative;
  padding: 3rem;
  background-color: var(--bs-light);
  border-radius: 1rem;
  border: 0;
}
/* Virgoletta decorativa di sfondo */
.quote-svg-bg {
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  margin-left: 3rem;
  width: 70px;
  height: 70px;
  color: var(--main);
}
/* Spaziatura lettere per le firme degli autori */
.tracking-wide {
  letter-spacing: 2px;
}
/* Box Tecnico Scuro della Powerhouse */
.powerhouse-box {
  padding: 3rem;
  background-color: var(--main);
  border: 0;
  position: relative;
  overflow: hidden;
}
section[aria-labelledby="gallery-sabina-title"] .col-6:first-of-type .gallery-thumb-img, section[aria-labelledby="gallery-sabina-title"] .col-6:nth-child(3) .gallery-thumb-img {
  object-position: 20% 50%;
}
/* Altezze geometriche per le miniature e la modale */
.gallery-thumb-img {
  height: 450px;
  object-fit: cover;
}
.modal-carousel-img {
  max-height: 85vh;
  object-fit: cover;
}
/* Ritardi a cascata per l'animazione di apparizione */
.delay-1 {
  transition-delay: 0.15s;
}
.delay-2 {
  transition-delay: 0.3s;
}
.delay-3 {
  transition-delay: 0.45s;
}
.delay-4 {
  transition-delay: 0.6s;
}
.delay-5 {
  transition-delay: 0.75s;
}
.delay-6 {
  transition-delay: 0.9s;
}
.badge {
  background: var(--main);
  color: var(--second);
}
.v-hr {
  background-color: var(--main);
  width: 2px;
  top: 0;
  bottom: 0;
  opacity: .5;
}
.accordion-flush > .accordion-item > .accordion-header .accordion-button, .accordion-flush > .accordion-item > .accordion-header .accordion-button:after {
  transition: .3s;
}
.accordion-flush > .accordion-item > .accordion-header .accordion-button[aria-expanded="true"], .accordion-flush > .accordion-item > .accordion-header .accordion-button:hover {
  color: var(--main) !important;
}
.accordion-flush > .accordion-item > .accordion-header .accordion-button[aria-expanded="true"]:after, .accordion-flush > .accordion-item > .accordion-header .accordion-button:hover:after {
  filter: invert(82%) sepia(71%) saturate(3631%) hue-rotate(338deg) brightness(103%) contrast(98%);
}
.kicker-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: var(--main);
  vertical-align: middle;
  margin-right: 15px;
}
.trust-strip {
  position: relative;
}
.trust-card {
  background: var(--bs-light);
  border-radius: 1rem;
}
.trust-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--main);
  box-shadow: 0 1rem 2.25rem rgba(0, 0, 0, .09);
}
.trust-number {
  display: block;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: .6rem;
}
.trust-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(73, 68, 66, .68);
}
.badge-brand {
  background: var(--main);
  border-radius: var(--bs-border-radius-pill);
  color: #000;
  display: inline-flex;
}
.tp-event-summary-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 2rem;
  align-items: stretch;
  border-radius: 1.35rem;
}
.tp-event-summary-intro {
  position: relative;
}
.tp-event-summary-intro h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
}
.tp-event-summary-intro p {
  color: rgba(73, 68, 66, .78);
}
.tp-event-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.tp-event-summary-list div {
  padding: 1.15rem 1.2rem;
  background: #f8f8f8;
  border: 1px solid rgba(73, 68, 66, .07);
  border-radius: 1rem;
}
.tp-event-summary-list dt {
  margin-bottom: .45rem;
  color: var(--main);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.tp-event-summary-list dd {
  color: var(--second);
  font-size: 1rem;
}
/* ==========================================================
   Single post / news True Pilates
   ========================================================== */
/* Base pagina articolo */
.single-post {
  background:
    linear-gradient(180deg, #f7f7f7 0%, #ffffff 420px);
}
/* Utility utile nei template Bootstrap */
.fw-black {
  font-weight: 900 !important;
}
/* Hero articolo: compatibile con diverse classi del single.php */
.single-post .tp-single-article > header, .single-post .single-article-header, .single-post .post-hero, .single-post .tp-post-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(252, 191, 36, .22), transparent 32%), linear-gradient(135deg, #f6f6f6 0%, #ffffff 68%);
  border-bottom: 1px solid rgba(73, 68, 66, .08);
}
.single-post .tp-single-article > header:after, .single-post .single-article-header:after, .single-post .post-hero:after, .single-post .tp-post-hero:after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(252, 191, 36, .18);
  pointer-events: none;
}
.single-post h1 {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
/* Metadati articolo */
.single-post .post-meta, .single-post .article-meta, .single-post .entry-meta, .single-post .tp-post-meta {
  color: rgba(73, 68, 66, .62);
  font-size: .78rem;
}
.single-post .tp-post-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem .7rem;
  align-items: center;
}
.single-post .badge, .single-post .badge-brand {
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 .35rem .9rem rgba(252, 191, 36, .28);
}
/* Corpo articolo */
.single-post .post-content {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.single-post p {
  margin-bottom: 1.25rem;
}
/* Liste generiche del corpo articolo, escluse liste custom */
.single-post article ul:not(.tp-info-list) {
  padding: 1.35rem 1.5rem;
  margin: 1rem 0 2rem;
  list-style: none;
  background: #f8f8f8;
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: 1.1rem;
}
.single-post article ul:not(.tp-info-list) li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .65rem;
}
.single-post article ul:not(.tp-info-list) li:last-child {
  margin-bottom: 0;
}
.single-post article ul:not(.tp-info-list) li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--main);
  box-shadow: 0 0 0 4px rgba(252, 191, 36, .18);
}
/* Sezioni interne del post */
.tp-post-intro, .tp-post-section, .tp-post-program, .tp-post-info, .tp-post-contact, .tp-archive-note {
  position: relative;
}
/* Evidenza editoriale iniziale */
.tp-editorial-highlight {
  position: relative;
  margin: 1.25rem 0 2rem;
  padding: 1.5rem 1.75rem;
  background:
    linear-gradient(135deg, rgba(252, 191, 36, .16), rgba(252, 191, 36, .04));
  border-left: 5px solid var(--main);
  border-radius: 0 1.25rem 1.25rem 0;
}
.tp-editorial-highlight p {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.75;
}
/* Immagini articolo */
.tp-post-figure, .single-post figure {
  margin: 2rem 0 2.4rem;
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, .07);
}
.tp-post-figure figcaption, .single-post figcaption {
  margin-top: .65rem;
  font-size: .82rem;
  color: rgba(73, 68, 66, .65);
  text-align: center;
  padding: 0 5rem .75rem;
}
.tp-fact-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: 1.1rem;
  box-shadow: 0 .65rem 1.5rem rgba(0, 0, 0, .045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tp-fact-card:after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(252, 191, 36, .18);
}
.tp-fact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 191, 36, .7);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .075);
}
.tp-fact-card span {
  display: block;
  margin-bottom: .45rem;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(73, 68, 66, .62);
}
.tp-fact-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--second);
}
/* Heading sezione con stile master */
.tp-section-heading {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.tp-section-heading .kicker-line {
  margin-right: .75rem;
}
.tp-section-heading h2 {
  margin-top: .85rem;
  margin-bottom: .75rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #292625;
}
.tp-section-heading p {
  color: rgba(73, 68, 66, .72);
}
/* Box informazioni evento */
.tp-info-box {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: 1.35rem;
  box-shadow: 0 1rem 2.3rem rgba(0, 0, 0, .06);
}
.tp-info-box:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--main);
}
.tp-info-box h2 {
  margin-bottom: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}
.tp-info-list {
  display: grid;
  gap: .85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tp-info-list.history li a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .95rem 1rem;
  background: #f8f8f8;
  border-radius: .9rem;
  transition: .3s;
}
.tp-info-list.history li a:hover {
  background: rgba(252, 191, 36, .16);
}
.tp-info-list span {
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(73, 68, 66, .62);
}
.tp-info-list strong {
  color: var(--second);
}
/* Box contatti */
.tp-contact-box {
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(252, 191, 36, .22), transparent 36%), #292625;
  border-radius: 1.35rem;
  color: #fff;
  text-align: center;
}
.tp-contact-box h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 850;
  letter-spacing: -0.025em;
}
.tp-contact-box p {
  color: rgba(255, 255, 255, .82);
}
.tp-contact-box a {
  color: var(--main) !important;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.tp-contact-box a:hover {
  color: #fff;
}
/* Nota archivio */
.tp-archive-note {
  padding: 1.75rem 2rem;
  background: #fff8e7;
  border: 1px solid rgba(252, 191, 36, .38);
  border-radius: 1.25rem;
}
.tp-archive-note h2 {
  margin-bottom: .75rem;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--second);
}
.tp-archive-note p {
  margin-bottom: 0;
  color: rgba(73, 68, 66, .78);
}
/* Spaziatura coerente tra blocchi articolo */
.single-post .tp-post-intro h2, .single-post .tp-post-section h2, .single-post .tp-post-info h2, .single-post .tp-post-contact h2, .single-post .tp-archive-note h2 {
  line-height: 1.15;
}
/* Link nel corpo articolo */
.single-post .tp-single-content a, .single-post .entry-content a, .single-post .post-content a {
  color: #1f1d1c;
  font-weight: 750;
  text-decoration-color: var(--main);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: .3s;
}
.single-post .tp-single-content a:hover, .single-post .entry-content a:hover, .single-post .post-content a:hover {
  color: var(--main);
}
/* Tag, share e navigazione articolo */
.single-post .post-navigation a {
  border: 1px solid rgba(73, 68, 66, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.single-post .post-navigation a:hover {
  transform: translateY(-3px);
  border-color: rgba(252, 191, 36, .65);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .08);
}
.single-post .post-navigation, .single-post .navigation.post-navigation {
  margin-top: 2.5rem;
}
.single-post .nav-links {
  gap: 1rem;
}
.single-post .nav-links > div, .single-post .nav-links a {
  border-radius: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.single-post .nav-links > div:hover, .single-post .nav-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .08);
  border-color: rgba(252, 191, 36, .65);
}
/* Articoli correlati */
.single-post .related-posts, .single-post .tp-related-posts {
  background:
    radial-gradient(circle at top center, rgba(252, 191, 36, .16), transparent 28%), #f5f5f5;
}
.single-post .related-posts .card, .single-post .tp-related-posts .card {
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: 1.15rem;
  box-shadow: 0 .8rem 1.8rem rgba(0, 0, 0, .055);
  transition: transform .25s ease, box-shadow .25s ease;
}
.single-post .related-posts .card:hover, .single-post .tp-related-posts .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, .09);
}
/* CTA finale articolo */
.tp-post-cta {
  position: relative;
  overflow: hidden;
}
.tp-post-cta:after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  pointer-events: none;
}
.tp-post-cta h2, .tp-post-cta p, .tp-post-cta a {
  position: relative;
  z-index: 1;
}
.tp-featured-media {
  --tp-featured-radius: 1.25rem;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--tp-featured-radius);
  background: #f4f1ea;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, .07);
}
.tp-featured-media-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--tp-featured-bg);
  background-position: center;
  background-size: cover;
  filter: blur(10px);
  transform: scale(1.08);
  opacity: .8;
}
.tp-featured-media:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .4));
}
.tp-featured-media-img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: calc(var(--tp-featured-radius) - .25rem);
}
/* Editoriale verticale: foto storiche, ritratti, immagini non panoramiche */
.tp-featured-media.is-editorial-portrait {
  min-height: clamp(420px, 50vh, 560px);
}
.tp-featured-media.is-editorial-portrait .tp-featured-media-img {
  max-width: min(100%, 620px);
  max-height: clamp(400px, 54vh, 540px);
  box-shadow: 0 .75rem 1.8rem rgba(0, 0, 0, .12);
}
/* Editoriale orizzontale: foto piÃ¹ classiche */
.tp-featured-media.is-editorial-landscape {
  background: #f8f8f8;
}
.tp-featured-media.is-editorial-landscape .tp-featured-media-backdrop, .tp-featured-media.is-editorial-landscape:after {
  display: none;
}
.tp-featured-media.is-editorial-landscape .tp-featured-media-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
/* Eventi / workshop: locandine verticali */
.tp-featured-media.is-poster {
  min-height: clamp(560px, 74vh, 780px);
  padding: clamp(1rem, 2vw, 1.5rem);
}
.tp-featured-media.is-poster .tp-featured-media-img {
  max-width: min(100%, 560px);
  max-height: min(78vh, 780px);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .16);
}
.tp-post-gallery-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.tp-post-gallery-duo figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, .07);
}
.tp-post-gallery-duo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.tp-post-gallery-duo figcaption {
  padding: .85rem 1rem 1rem;
  color: rgba(73, 68, 66, .72);
  font-size: .86rem;
  line-height: 1.35;
  text-align: center;
}
.tp-post-gallery-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 1rem;
}
.tp-post-gallery-featured figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, .07);
}
.tp-post-gallery-featured img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.tp-post-gallery-featured-main img {
  aspect-ratio: 1 / 1;
}
.tp-post-gallery-featured-side {
  display: grid;
  gap: 1rem;
}
.tp-post-gallery-featured-side img {
  aspect-ratio: 1 / 1;
}
.tp-post-gallery-featured figcaption {
  padding: .85rem 1rem 1rem;
  color: rgba(73, 68, 66, .72);
  font-size: .86rem;
  line-height: 1.35;
  text-align: center;
}
.tp-post-gallery-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  grid-auto-flow: dense;
}
.tp-post-gallery-mosaic-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(73, 68, 66, .08);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, .07);
}
.tp-post-gallery-mosaic-grid figure.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}
.tp-post-gallery-mosaic-grid img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}
.tp-post-gallery-mosaic-grid figure:hover img {
  transform: scale(1.035);
}
.heading-box li {
    font-size: .725rem;
    background: transparent;
    color: var(--main)!important;
    padding: 0!important;
    border-radius: 0!important;
}
.heading-box li:not(:last-of-type) {
    border-right: 1px solid var(--main)!important;
    padding-right: 1rem!important
}
#apbct-check_email_exist-block {
  display: none!important;
}
@media (max-width: 767.98px) {
  .tp-post-gallery-featured {
    grid-template-columns: 1fr;
  }
  .tp-post-gallery-featured-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .tp-post-gallery-featured-side {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .tp-post-gallery-duo {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .animate-on-scroll.visible {
    opacity: 1;
    transform: none;
  }
  .tp-fact-card, .card-hover-animated, .single-post .nav-links > div, .single-post .nav-links a, .single-post .related-posts .card, .single-post .tp-related-posts .card {
    transition: none;
  }
}
@media(max-width: 1280px) {
  :root {
    font-size: 14px;
  }
  .break {
    display: none;
  }
}
@media (max-width: 1199.98px) {
  .navbar-brand svg {
    width: 185px;
  }
  #primaryNav .navbar-nav {
    gap: .85rem;
  }
  #primaryNav .menu-item > a {
    font-size: .72rem;
    letter-spacing: .06em;
  }
  .tp-header-social {
    gap: .35rem;
    padding-left: .9rem;
  }
  .tp-header-social a {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 991.98px) {
  .trust-intro {
    text-align: center;
  }
  .site-header .navbar {
    min-height: 76px;
  }
  .navbar-brand svg {
    width: 170px;
  }
  #primaryNav {
    margin-top: .75rem;
    padding: 1rem;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12);
  }
  #primaryNav .navbar-nav {
    align-items: stretch;
    gap: .4rem;
  }
  #primaryNav .nav-link, #primaryNav .menu-item > a {
    width: 100%;
    justify-content: center;
    padding: .85rem 1rem;
    background: #f7f7f7;
  }
  #primaryNav .dropdown-menu, #primaryNav .sub-menu {
    position: static;
    box-shadow: none;
    margin-top: .4rem;
    background: #f7f7f7;
  }
  html, body {
    max-width: 100%;
    overflow-x: clip;
  }
  header.site-header, .site-header .navbar, .site-header .container-fluid {
    max-width: 100vw;
    overflow-x: clip;
  }
  header.site-header {
    background: #fff;
  }
  .site-header .navbar {
    min-height: 76px;
  }
  .navbar-brand svg {
    width: 165px;
    max-width: 62vw;
  }
  .navbar-toggler {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main);
    border-radius: 999px;
  }
  #primaryNav {
    left: .75rem;
    right: auto;
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    box-sizing: border-box;
  }
  #primaryNav *, #primaryNav *:before, #primaryNav *:after {
    box-sizing: border-box;
  }
  #primaryNav .menu-main-menu-container {
    width: 100%;
    margin-left: 0;
  }
  #primaryNav .navbar-nav {
    align-items: stretch;
    gap: 0;
  }
  #primaryNav .menu-item > a {
    width: 100%;
    justify-content: space-between;
    padding: .9rem .85rem;
    background: transparent;
    border-bottom: 1px solid rgba(73, 68, 66, .08);
    font-size: .78rem;
  }
  #primaryNav .menu-item > a:after {
    display: none;
  }
  #primaryNav .menu-item-has-children > a:before {
    margin-left: auto;
  }
  #primaryNav .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: .35rem 0 .35rem .75rem;
    margin: 0;
    background: #f7f7f7;
    border: 0;
    border-radius: .75rem;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  #primaryNav .sub-menu:before {
    display: none;
  }
  #primaryNav .menu-item-has-children.is-open > .sub-menu {
    display: block;
    transform: none;
  }
  #primaryNav .sub-menu .menu-item > a {
    padding: .75rem .85rem;
    border-bottom: 0;
    font-size: .72rem;
  }
  .tp-header-social {
    justify-content: center;
    gap: .85rem;
    padding: .85rem 0 0;
    border-left: 0;
  }
  .tp-header-social a {
    width: 38px;
    height: 38px;
  }
  #primaryNav .menu-item > a, #primaryNav .sub-menu, .tp-header-social {
    max-width: 100%;
  }
  #primaryNav.collapse, #primaryNav.collapsing, #primaryNav.collapse.show {
    position: absolute;
    top: 100%;
    left: .75rem;
    right: auto;
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    margin-top: .5rem;
    padding: .75rem;
    box-sizing: border-box;
  }
  #primaryNav.collapsing {
    height: auto !important;
    overflow: hidden;
    transition: opacity .18s ease, transform .18s ease;
  }
  #primaryNav.collapse:not(.show) {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
  }
  #primaryNav.collapse.show, #primaryNav.collapsing {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .hamburger-box {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--second);
    border-radius: 999px;
    transition: transform .22s ease, opacity .22s ease;
  }
  .navbar-toggler:not(.collapsed) .line-1 {
    transform: translateY(7px) rotate(45deg);
  }
  .navbar-toggler:not(.collapsed) .line-2 {
    opacity: 0;
  }
  .navbar-toggler:not(.collapsed) .line-3 {
    transform: translateY(-7px) rotate(-45deg);
  }
  .tp-post-gallery-mosaic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tp-post-gallery-mosaic-grid figure.is-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (max-width: 767.98px) {
  .tp-event-summary-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .tp-event-summary-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .video-ajax, .hero-bg-wrap {
    min-height: 80vh;
  }
  .heading-box {
    max-width: 90%;
  }
}
@media (max-width: 575.98px) {
  .container-fluid.px-3 {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }
  .navbar-brand svg {
    width: 145px;
  }
  #primaryNav {
    left: .5rem;
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
  }
  #primaryNav .menu-item > a {
    padding: .85rem .75rem;
    font-size: .72rem;
    letter-spacing: .055em;
  }
  #primaryNav.collapse, #primaryNav.collapsing, #primaryNav.collapse.show {
    left: .5rem;
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
  }
  .tp-featured-media {
    --tp-featured-radius: 1rem;
  }
  .tp-featured-media.is-editorial-portrait {
    min-height: auto;
    padding: .75rem;
  }
  .tp-featured-media.is-editorial-portrait .tp-featured-media-img {
    max-height: 62vh;
  }
  .tp-featured-media.is-poster {
    min-height: auto;
    padding: .75rem;
  }
  .tp-featured-media.is-poster .tp-featured-media-img {
    max-height: 72vh;
  }
  .tp-post-gallery-mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }
  .tp-post-gallery-mosaic-grid figure.is-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}