/*
Theme Name: Studio Tabanella
Theme URI: https://www.studiotabanella.it/
Description: Blocksy Child theme
Author: Luca Scarpellini
Author URI: https://www.lucascarpellini.it/
Template: blocksy
Version: 1.0.0
Text Domain: blocksy
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Update URI: false
*/


/* ==========================================================================
   1. VARIABILI E IMPOSTAZIONI GLOBALI
   ========================================================================== */

/* ----- Transizioni globali ----- */
*,
*::before,
*::after {
  transition-duration: 0.5s !important;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}


/* ==========================================================================
   2. TIPOGRAFIA
   ========================================================================== */

/* ----- Link animati — main ----- */
main
  a:not(.wp-element-button):not(.gspb-buttonbox):not(.ct-icon-container):not(:is(h1, h2, h3, h4, h5, h6) a):not(.cf7-privacy a) {
  font-weight: 500;
  color: var(--theme-palette-color-3);
  line-height: 1.3em !important;
  text-decoration: none;
  display: inline;
  background-repeat: no-repeat;
  background-image: linear-gradient(
    transparent calc(100% - 1px),
    currentColor 1px
  );
  background-size: 0 95%;
  transition:
    background-size 0.7s ease,
    color 0.7s ease;
}
main
  a:not(.wp-element-button):not(.gspb-buttonbox):not(.ct-icon-container):not(:is(h1, h2, h3, h4, h5, h6) a):not(.cf7-privacy a):hover {
  color: var(--theme-palette-color-5);
  background-size: 100% 95%;
}

/* ----- Link animati — footer ----- */
footer {
  font-size: 16px;
}

footer a:not(.wp-element-button):not(.gspb-buttonbox):not(.ct-icon-container) {
  line-height: 1.3em !important;
  text-decoration: none;
  display: inline;
  background-repeat: no-repeat;
  background-image: linear-gradient(
    transparent calc(100% - 1px),
    currentColor 1px
  );
  background-size: 0 95%;
  transition:
    background-size 0.7s ease,
    color 0.7s ease;
}
footer
  a:not(.wp-element-button):not(.gspb-buttonbox):not(.ct-icon-container):hover {
  color: var(--theme-palette-color-1);
  background-size: 100% 95%;
}

/* ----- Titoli ----- */
h1 {
  text-wrap: balance!important;
}

.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6 {
    margin-top: 1em;
}

.wp-block-post-content h2 {
	font-size: 40px;
}


/* ==========================================================================
   3. HEADER
   ========================================================================== */

/* ----- Toggle dropdown ----- */
body .ct-toggle-dropdown-desktop {
  --theme-icon-size: 11px;
  --toggle-button-size: 24px;
  --toggle-button-margin-end: 0px;
  --toggle-button-margin-start: 0px;
}

/* ----- Voci di menu "light" con separatore ----- */
body .item-light a.ct-menu-link {
  font-weight: 100;
}

@media (min-width: 1001px) {
  body li:not(.item-light) + li.item-light {
    position: relative;
    margin-left: 30px;
  }

  body li:not(.item-light) + li.item-light::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 43px;
    background-color: var(--theme-text-color);
    pointer-events: none;
  }
}

/* ----- Sub-menu ----- */
body .sub-menu .ct-menu-link:not(:empty) {
  padding: 8px 0;
  line-height: 1.3em;
}

body ul.sub-menu {
  padding: 10px 15px;
}

/* ----- Logo stretto: da 1230 a 1101px ----- */
@media (max-width: 1230px) and (min-width: 1101px) {
  .site-logo-container .default-logo {
    content: url("/wp-content/uploads/2026/06/logo-studio-tabanella-v.svg");
    width: auto;
    height: 43px;
    max-width: 174.2px;
  }
}

/* ----- Logo pittogramma: 1001–1100px e sotto i 380px ----- */
@media (max-width: 1100px) and (min-width: 1001px), (max-width: 380px) {
  .site-logo-container .default-logo {
    content: url("/wp-content/uploads/2026/06/logo-studio-tabanella-p.svg");
    width: auto;
    height: 43px;
    max-width: 43px;
  }
}

/* ----- Sub-menu mobile: triangolino e chiusura ----- */
@media (max-width: 1000px) {
  ul.sub-menu li a.ct-menu-link {
    position: relative;
  }

  ul.sub-menu li a.ct-menu-link:not(:empty)::before {
    content: "";
    position: absolute;
    top: calc(50% - 3px);
    inset-inline-start: -15px;
    width: 6px;
    height: 6px;
    opacity: 0.3;
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
  }

  .ct-toggle-close .ct-icon {
    width: 16px;
    height: 16px;
  }
}


/* ==========================================================================
   4. DECORAZIONI GRAFICHE
   ========================================================================== */

/* ----- Triangolo nei container titolo ----- */
.container-titolo-verde::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 0;
  width: 37px;
  height: 37px;
  background-color: var(--theme-palette-color-1);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.container-titolo-blu::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 0;
  width: 37px;
  height: 37px;
  background-color: var(--theme-palette-color-5);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

/* ----- Occhielli (regola condivisa con i breadcrumb RankMath:
   non separabile senza modificare il codice) ----- */
.occhiello-blu::before,
.rank-math-breadcrumb p::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 14px;
  background-color: var(--theme-palette-color-5);
  clip-path: polygon(0 0, 59.48% 0, 100% 100%, 0 100%);
  margin-right: 8px;
  margin-left: 2px;
  margin-bottom: 0.2em;
  vertical-align: middle;
}

.rank-math-breadcrumb p {
  margin-bottom: 10px !important;
}

.occhiello-verde::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 14px;
  background-color: var(--theme-palette-color-1);
  clip-path: polygon(0 0, 59.48% 0, 100% 100%, 0 100%);
  margin-right: 8px;
  margin-left: 2px;
  margin-bottom: 0.2em;
  vertical-align: middle;
}

/* ----- Pattern triangolini — versione sezione ----- */
.decorazione-triangolini::before {
  content: "";
  position: absolute;
  bottom: -4vw;
  left: 50%;
  transform: translateX(-50%);
  max-width: 650px;
  max-height: 650px;
  width: 48vw;
  height: 48vw;
  background-color: var(--theme-palette-color-3);
  opacity: 0.08;
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='667' height='667' viewBox='0 0 667 667' %3E%3Cpath d='M47 667L4.10887e-06 620L0 667L47 667Z' /%3E%3Cpath d='M295 667L248 620L248 667L295 667Z' /%3E%3Cpath d='M47 481L2.03695e-05 434L1.62606e-05 481L47 481Z' /%3E%3Cpath d='M295 481L248 434L248 481L295 481Z' /%3E%3Cpath d='M47 295L3.66301e-05 248L3.25213e-05 295L47 295Z' /%3E%3Cpath d='M295 295L248 248L248 295L295 295Z' /%3E%3Cpath d='M47 605L9.52908e-06 558L5.42021e-06 605L47 605Z' /%3E%3Cpath d='M295 605L248 558L248 605L295 605Z' /%3E%3Cpath d='M47 419L2.57897e-05 372L2.16808e-05 419L47 419Z' /%3E%3Cpath d='M295 419L248 372L248 419L295 419Z' /%3E%3Cpath d='M47 233L4.20504e-05 186L3.79415e-05 233L47 233Z' /%3E%3Cpath d='M47 109L5.28908e-05 61.9999L4.87819e-05 109L47 109Z' /%3E%3Cpath d='M47 543L1.49493e-05 496L1.08404e-05 543L47 543Z' /%3E%3Cpath d='M295 543L248 496L248 543L295 543Z' /%3E%3Cpath d='M47 357L3.12099e-05 310L2.71011e-05 357L47 357Z' /%3E%3Cpath d='M295 357L248 310L248 357L295 357Z' /%3E%3Cpath d='M47 171L4.74706e-05 124L4.33617e-05 171L47 171Z' /%3E%3Cpath d='M47.0001 46.9999L5.8311e-05 -5.8311e-05L5.42021e-05 46.9999L47.0001 46.9999Z' /%3E%3Cpath d='M109 667L62 620L62 667L109 667Z' /%3E%3Cpath d='M357 667L310 620L310 667L357 667Z' /%3E%3Cpath d='M543 667L496 620L496 667L543 667Z' /%3E%3Cpath d='M171 667L124 620L124 667L171 667Z' /%3E%3Cpath d='M419 667L372 620L372 667L419 667Z' /%3E%3Cpath d='M605 667L558 620L558 667L605 667Z' /%3E%3Cpath d='M233 667L186 620L186 667L233 667Z' /%3E%3Cpath d='M481 667L434 620L434 667L481 667Z' /%3E%3Cpath d='M667 667L620 620L620 667L667 667Z' /%3E%3Cpath d='M109 481L62 434L62 481L109 481Z' /%3E%3Cpath d='M357 481L310 434L310 481L357 481Z' /%3E%3Cpath d='M171 481L124 434L124 481L171 481Z' /%3E%3Cpath d='M419 481L372 434L372 481L419 481Z' /%3E%3Cpath d='M233 481L186 434L186 481L233 481Z' /%3E%3Cpath d='M481 481L434 434L434 481L481 481Z' /%3E%3Cpath d='M109 295L62 248L62 295L109 295Z' /%3E%3Cpath d='M171 295L124 248L124 295L171 295Z' /%3E%3Cpath d='M233 295L186 248L186 295L233 295Z' /%3E%3Cpath d='M109 605L62 558L62 605L109 605Z' /%3E%3Cpath d='M357 605L310 558L310 605L357 605Z' /%3E%3Cpath d='M543 605L496 558L496 605L543 605Z' /%3E%3Cpath d='M171 605L124 558L124 605L171 605Z' /%3E%3Cpath d='M419 605L372 558L372 605L419 605Z' /%3E%3Cpath d='M605 605L558 558L558 605L605 605Z' /%3E%3Cpath d='M233 605L186 558L186 605L233 605Z' /%3E%3Cpath d='M481 605L434 558L434 605L481 605Z' /%3E%3Cpath d='M109 419L62 372L62 419L109 419Z' /%3E%3Cpath d='M357 419L310 372L310 419L357 419Z' /%3E%3Cpath d='M171 419L124 372L124 419L171 419Z' /%3E%3Cpath d='M419 419L372 372L372 419L419 419Z' /%3E%3Cpath d='M233 419L186 372L186 419L233 419Z' /%3E%3Cpath d='M109 233L62 186L62 233L109 233Z' /%3E%3Cpath d='M171 233L124 186L124 233L171 233Z' /%3E%3Cpath d='M233 233L186 186L186 233L233 233Z' /%3E%3Cpath d='M109 109L62.0001 61.9999L62 109L109 109Z' /%3E%3Cpath d='M109 543L62 496L62 543L109 543Z' /%3E%3Cpath d='M357 543L310 496L310 543L357 543Z' /%3E%3Cpath d='M543 543L496 496L496 543L543 543Z' /%3E%3Cpath d='M171 543L124 496L124 543L171 543Z' /%3E%3Cpath d='M419 543L372 496L372 543L419 543Z' /%3E%3Cpath d='M233 543L186 496L186 543L233 543Z' /%3E%3Cpath d='M481 543L434 496L434 543L481 543Z' /%3E%3Cpath d='M109 357L62 310L62 357L109 357Z' /%3E%3Cpath d='M357 357L310 310L310 357L357 357Z' /%3E%3Cpath d='M171 357L124 310L124 357L171 357Z' /%3E%3Cpath d='M233 357L186 310L186 357L233 357Z' /%3E%3Cpath d='M109 171L62 124L62 171L109 171Z' /%3E%3Cpath d='M171 171L124 124L124 171L171 171Z' /%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='667' height='667' viewBox='0 0 667 667' %3E%3Cpath d='M47 667L4.10887e-06 620L0 667L47 667Z' /%3E%3Cpath d='M295 667L248 620L248 667L295 667Z' /%3E%3Cpath d='M47 481L2.03695e-05 434L1.62606e-05 481L47 481Z' /%3E%3Cpath d='M295 481L248 434L248 481L295 481Z' /%3E%3Cpath d='M47 295L3.66301e-05 248L3.25213e-05 295L47 295Z' /%3E%3Cpath d='M295 295L248 248L248 295L295 295Z' /%3E%3Cpath d='M47 605L9.52908e-06 558L5.42021e-06 605L47 605Z' /%3E%3Cpath d='M295 605L248 558L248 605L295 605Z' /%3E%3Cpath d='M47 419L2.57897e-05 372L2.16808e-05 419L47 419Z' /%3E%3Cpath d='M295 419L248 372L248 419L295 419Z' /%3E%3Cpath d='M47 233L4.20504e-05 186L3.79415e-05 233L47 233Z' /%3E%3Cpath d='M47 109L5.28908e-05 61.9999L4.87819e-05 109L47 109Z' /%3E%3Cpath d='M47 543L1.49493e-05 496L1.08404e-05 543L47 543Z' /%3E%3Cpath d='M295 543L248 496L248 543L295 543Z' /%3E%3Cpath d='M47 357L3.12099e-05 310L2.71011e-05 357L47 357Z' /%3E%3Cpath d='M295 357L248 310L248 357L295 357Z' /%3E%3Cpath d='M47 171L4.74706e-05 124L4.33617e-05 171L47 171Z' /%3E%3Cpath d='M47.0001 46.9999L5.8311e-05 -5.8311e-05L5.42021e-05 46.9999L47.0001 46.9999Z' /%3E%3Cpath d='M109 667L62 620L62 667L109 667Z' /%3E%3Cpath d='M357 667L310 620L310 667L357 667Z' /%3E%3Cpath d='M543 667L496 620L496 667L543 667Z' /%3E%3Cpath d='M171 667L124 620L124 667L171 667Z' /%3E%3Cpath d='M419 667L372 620L372 667L419 667Z' /%3E%3Cpath d='M605 667L558 620L558 667L605 667Z' /%3E%3Cpath d='M233 667L186 620L186 667L233 667Z' /%3E%3Cpath d='M481 667L434 620L434 667L481 667Z' /%3E%3Cpath d='M667 667L620 620L620 667L667 667Z' /%3E%3Cpath d='M109 481L62 434L62 481L109 481Z' /%3E%3Cpath d='M357 481L310 434L310 481L357 481Z' /%3E%3Cpath d='M171 481L124 434L124 481L171 481Z' /%3E%3Cpath d='M419 481L372 434L372 481L419 481Z' /%3E%3Cpath d='M233 481L186 434L186 481L233 481Z' /%3E%3Cpath d='M481 481L434 434L434 481L481 481Z' /%3E%3Cpath d='M109 295L62 248L62 295L109 295Z' /%3E%3Cpath d='M171 295L124 248L124 295L171 295Z' /%3E%3Cpath d='M233 295L186 248L186 295L233 295Z' /%3E%3Cpath d='M109 605L62 558L62 605L109 605Z' /%3E%3Cpath d='M357 605L310 558L310 605L357 605Z' /%3E%3Cpath d='M543 605L496 558L496 605L543 605Z' /%3E%3Cpath d='M171 605L124 558L124 605L171 605Z' /%3E%3Cpath d='M419 605L372 558L372 605L419 605Z' /%3E%3Cpath d='M605 605L558 558L558 605L605 605Z' /%3E%3Cpath d='M233 605L186 558L186 605L233 605Z' /%3E%3Cpath d='M481 605L434 558L434 605L481 605Z' /%3E%3Cpath d='M109 419L62 372L62 419L109 419Z' /%3E%3Cpath d='M357 419L310 372L310 419L357 419Z' /%3E%3Cpath d='M171 419L124 372L124 419L171 419Z' /%3E%3Cpath d='M419 419L372 372L372 419L419 419Z' /%3E%3Cpath d='M233 419L186 372L186 419L233 419Z' /%3E%3Cpath d='M109 233L62 186L62 233L109 233Z' /%3E%3Cpath d='M171 233L124 186L124 233L171 233Z' /%3E%3Cpath d='M233 233L186 186L186 233L233 233Z' /%3E%3Cpath d='M109 109L62.0001 61.9999L62 109L109 109Z' /%3E%3Cpath d='M109 543L62 496L62 543L109 543Z' /%3E%3Cpath d='M357 543L310 496L310 543L357 543Z' /%3E%3Cpath d='M543 543L496 496L496 543L543 543Z' /%3E%3Cpath d='M171 543L124 496L124 543L171 543Z' /%3E%3Cpath d='M419 543L372 496L372 543L419 543Z' /%3E%3Cpath d='M233 543L186 496L186 543L233 543Z' /%3E%3Cpath d='M481 543L434 496L434 543L481 543Z' /%3E%3Cpath d='M109 357L62 310L62 357L109 357Z' /%3E%3Cpath d='M357 357L310 310L310 357L357 357Z' /%3E%3Cpath d='M171 357L124 310L124 357L171 357Z' /%3E%3Cpath d='M233 357L186 310L186 357L233 357Z' /%3E%3Cpath d='M109 171L62 124L62 171L109 171Z' /%3E%3Cpath d='M171 171L124 124L124 171L171 171Z' /%3E%3C/svg%3E")
    center / contain no-repeat;
}

@media (max-width: 689px) {
  .decorazione-triangolini::before {
    left: 48%;
  }
}

.decorazione-triangolini.variante-sinistra::before {
  transform: scaleX(-1);
  left: auto;
  right: 24%;
}

@media (max-width: 689px) {
  .decorazione-triangolini.variante-sinistra::before {
    left: auto;
    right: 20%;
  }
}

/* ----- Pattern triangolini — versione immagine ----- */
.decorazione-triangolini-immagine {
  position: relative;
  z-index: 1; /* oppure: isolation: isolate; */
}

.decorazione-triangolini-immagine::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  max-width: 650px;
  max-height: 650px;
  width: 33vw;
  height: 33vw;
  background-color: var(--theme-palette-color-3);
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='667' height='667' viewBox='0 0 667 667' %3E%3Cpath d='M620 0L667 47V0H620Z' /%3E%3Cpath d='M372 0L419 47V0H372Z' /%3E%3Cpath d='M620 186L667 233V186H620Z' /%3E%3Cpath d='M372 186L419 233V186H372Z' /%3E%3Cpath d='M620 372L667 419V372H620Z' /%3E%3Cpath d='M372 372L419 419V372H372Z' /%3E%3Cpath d='M620 62L667 109V62H620Z' /%3E%3Cpath d='M372 62L419 109V62H372Z' /%3E%3Cpath d='M620 248L667 295V248H620Z' /%3E%3Cpath d='M372 248L419 295V248H372Z' /%3E%3Cpath d='M620 434L667 481V434H620Z' /%3E%3Cpath d='M620 558L667 605V558H620Z' /%3E%3Cpath d='M620 124L667 171V124H620Z' /%3E%3Cpath d='M372 124L419 171V124H372Z' /%3E%3Cpath d='M620 310L667 357V310H620Z' /%3E%3Cpath d='M372 310L419 357V310H372Z' /%3E%3Cpath d='M620 496L667 543V496H620Z' /%3E%3Cpath d='M620 620L667 667V620H620Z' /%3E%3Cpath d='M558 0L605 47V0H558Z' /%3E%3Cpath d='M310 0L357 47V0H310Z' /%3E%3Cpath d='M124 0L171 47V0H124Z' /%3E%3Cpath d='M496 0L543 47V0H496Z' /%3E%3Cpath d='M248 0L295 47V0H248Z' /%3E%3Cpath d='M62 0L109 47V0H62Z' /%3E%3Cpath d='M434 0L481 47V0H434Z' /%3E%3Cpath d='M186 0L233 47V0H186Z' /%3E%3Cpath d='M0 0L47 47V0H0Z' /%3E%3Cpath d='M558 186L605 233V186H558Z' /%3E%3Cpath d='M310 186L357 233V186H310Z' /%3E%3Cpath d='M496 186L543 233V186H496Z' /%3E%3Cpath d='M248 186L295 233V186H248Z' /%3E%3Cpath d='M434 186L481 233V186H434Z' /%3E%3Cpath d='M186 186L233 233V186H186Z' /%3E%3Cpath d='M558 372L605 419V372H558Z' /%3E%3Cpath d='M496 372L543 419V372H496Z' /%3E%3Cpath d='M434 372L481 419V372H434Z' /%3E%3Cpath d='M558 62L605 109V62H558Z' /%3E%3Cpath d='M310 62L357 109V62H310Z' /%3E%3Cpath d='M124 62L171 109V62H124Z' /%3E%3Cpath d='M496 62L543 109V62H496Z' /%3E%3Cpath d='M248 62L295 109V62H248Z' /%3E%3Cpath d='M62 62L109 109V62H62Z' /%3E%3Cpath d='M434 62L481 109V62H434Z' /%3E%3Cpath d='M186 62L233 109V62H186Z' /%3E%3Cpath d='M558 248L605 295V248H558Z' /%3E%3Cpath d='M310 248L357 295V248H310Z' /%3E%3Cpath d='M496 248L543 295V248H496Z' /%3E%3Cpath d='M248 248L295 295V248H248Z' /%3E%3Cpath d='M434 248L481 295V248H434Z' /%3E%3Cpath d='M558 434L605 481V434H558Z' /%3E%3Cpath d='M496 434L543 481V434H496Z' /%3E%3Cpath d='M434 434L481 481V434H434Z' /%3E%3Cpath d='M558 558L605 605V558H558Z' /%3E%3Cpath d='M558 124L605 171V124H558Z' /%3E%3Cpath d='M310 124L357 171V124H310Z' /%3E%3Cpath d='M124 124L171 171V124H124Z' /%3E%3Cpath d='M496 124L543 171V124H496Z' /%3E%3Cpath d='M248 124L295 171V124H248Z' /%3E%3Cpath d='M434 124L481 171V124H434Z' /%3E%3Cpath d='M186 124L233 171V124H186Z' /%3E%3Cpath d='M558 310L605 357V310H558Z' /%3E%3Cpath d='M310 310L357 357V310H310Z' /%3E%3Cpath d='M496 310L543 357V310H496Z' /%3E%3Cpath d='M434 310L481 357V310H434Z' /%3E%3Cpath d='M558 496L605 543V496H558Z' /%3E%3Cpath d='M496 496L543 543V496H496Z' /%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='667' height='667' viewBox='0 0 667 667' %3E%3Cpath d='M620 0L667 47V0H620Z' /%3E%3Cpath d='M372 0L419 47V0H372Z' /%3E%3Cpath d='M620 186L667 233V186H620Z' /%3E%3Cpath d='M372 186L419 233V186H372Z' /%3E%3Cpath d='M620 372L667 419V372H620Z' /%3E%3Cpath d='M372 372L419 419V372H372Z' /%3E%3Cpath d='M620 62L667 109V62H620Z' /%3E%3Cpath d='M372 62L419 109V62H372Z' /%3E%3Cpath d='M620 248L667 295V248H620Z' /%3E%3Cpath d='M372 248L419 295V248H372Z' /%3E%3Cpath d='M620 434L667 481V434H620Z' /%3E%3Cpath d='M620 558L667 605V558H620Z' /%3E%3Cpath d='M620 124L667 171V124H620Z' /%3E%3Cpath d='M372 124L419 171V124H372Z' /%3E%3Cpath d='M620 310L667 357V310H620Z' /%3E%3Cpath d='M372 310L419 357V310H372Z' /%3E%3Cpath d='M620 496L667 543V496H620Z' /%3E%3Cpath d='M620 620L667 667V620H620Z' /%3E%3Cpath d='M558 0L605 47V0H558Z' /%3E%3Cpath d='M310 0L357 47V0H310Z' /%3E%3Cpath d='M124 0L171 47V0H124Z' /%3E%3Cpath d='M496 0L543 47V0H496Z' /%3E%3Cpath d='M248 0L295 47V0H248Z' /%3E%3Cpath d='M62 0L109 47V0H62Z' /%3E%3Cpath d='M434 0L481 47V0H434Z' /%3E%3Cpath d='M186 0L233 47V0H186Z' /%3E%3Cpath d='M0 0L47 47V0H0Z' /%3E%3Cpath d='M558 186L605 233V186H558Z' /%3E%3Cpath d='M310 186L357 233V186H310Z' /%3E%3Cpath d='M496 186L543 233V186H496Z' /%3E%3Cpath d='M248 186L295 233V186H248Z' /%3E%3Cpath d='M434 186L481 233V186H434Z' /%3E%3Cpath d='M186 186L233 233V186H186Z' /%3E%3Cpath d='M558 372L605 419V372H558Z' /%3E%3Cpath d='M496 372L543 419V372H496Z' /%3E%3Cpath d='M434 372L481 419V372H434Z' /%3E%3Cpath d='M558 62L605 109V62H558Z' /%3E%3Cpath d='M310 62L357 109V62H310Z' /%3E%3Cpath d='M124 62L171 109V62H124Z' /%3E%3Cpath d='M496 62L543 109V62H496Z' /%3E%3Cpath d='M248 62L295 109V62H248Z' /%3E%3Cpath d='M62 62L109 109V62H62Z' /%3E%3Cpath d='M434 62L481 109V62H434Z' /%3E%3Cpath d='M186 62L233 109V62H186Z' /%3E%3Cpath d='M558 248L605 295V248H558Z' /%3E%3Cpath d='M310 248L357 295V248H310Z' /%3E%3Cpath d='M496 248L543 295V248H496Z' /%3E%3Cpath d='M248 248L295 295V248H248Z' /%3E%3Cpath d='M434 248L481 295V248H434Z' /%3E%3Cpath d='M558 434L605 481V434H558Z' /%3E%3Cpath d='M496 434L543 481V434H496Z' /%3E%3Cpath d='M434 434L481 481V434H434Z' /%3E%3Cpath d='M558 558L605 605V558H558Z' /%3E%3Cpath d='M558 124L605 171V124H558Z' /%3E%3Cpath d='M310 124L357 171V124H310Z' /%3E%3Cpath d='M124 124L171 171V124H124Z' /%3E%3Cpath d='M496 124L543 171V124H496Z' /%3E%3Cpath d='M248 124L295 171V124H248Z' /%3E%3Cpath d='M434 124L481 171V124H434Z' /%3E%3Cpath d='M186 124L233 171V124H186Z' /%3E%3Cpath d='M558 310L605 357V310H558Z' /%3E%3Cpath d='M310 310L357 357V310H310Z' /%3E%3Cpath d='M496 310L543 357V310H496Z' /%3E%3Cpath d='M434 310L481 357V310H434Z' /%3E%3Cpath d='M558 496L605 543V496H558Z' /%3E%3Cpath d='M496 496L543 543V496H496Z' /%3E%3C/svg%3E")
    center / contain no-repeat;
}

@media (max-width: 1230px) {
  .decorazione-triangolini-immagine::before {
    top: -20px;
    right: -20px;
  }
}

@media (max-width: 689px) {
  .decorazione-triangolini-immagine::before {
    width: 90vw;
    height: 90vw;
  }
}

/* ----- Barra loghi certificazioni ----- */
.barra-loghi-certificazioni {
  position: relative;
  padding: 20px 0;
  background-color: var(--theme-palette-color-4);
  margin-bottom: 0px !important;
}

.barra-loghi-certificazioni::before,
.barra-loghi-certificazioni::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0; /* stessa altezza dell'elemento */
  width: 50vw;
  background-color: inherit; /* eredita il colore dell'elemento */
}

.barra-loghi-certificazioni::before {
  right: 100%; /* attaccato al bordo sinistro */
}

.barra-loghi-certificazioni::after {
  left: 100%; /* attaccato al bordo destro */
}


/* ==========================================================================
   5. COMPONENTI
   ========================================================================== */

/* ----- Box sede ----- */
.titolo-sede {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 600;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.box-sede .titolo-sede ~ * {
  padding-left: 51px;
}

.titolo-sede::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41' height='39' viewBox='0 0 41 39' fill='none'%3E%3Cpath d='M41 0H40.468V39H41V0Z' fill='%23819A9F'/%3E%3Cpath d='M20.3497 5.00545L28.596 13.3434V5.00545H20.3497Z' fill='%23819A9F'/%3E%3Cpath d='M20.3497 13.3434L12.1034 5.00545H0V13.3434H20.3497Z' fill='%23013540'/%3E%3Cpath d='M20.3497 13.3434L12.1034 21.6813V33.9192H20.3497V13.3434Z' fill='%23013540'/%3E%3C/svg%3E");
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}

/* ----- Contact info (Blocksy) ----- */
@media (min-width: 271px) {
  .contact-info {
    flex-direction: row !important;
    gap: 5px;
    align-items: baseline;
  }
}

.ct-contact-info-block li {
  column-gap: 0 !important;
}

/* ----- Icone link nascoste ----- */
a.ct-icon-container {
    display: none;
}

/* ----- Card servizi ----- */
.titolo-card-servizio {
  text-wrap: balance;
}

.titolo-card-servizio a {
  color: var(--theme-palette-color-8) !important;
}

.card-servizio {
  position: relative;
  z-index: 0; /* crea un contesto di impilamento per i contenuti */
}

.card-servizio::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  width: 186px;
  height: 100%;
  background: #20444D;
  clip-path: polygon(
    0 37.29%, /* era 0 164.432px */
    87.26% 0, /* era 162.31px 0 */
    100% 0,
    100% 100%,
    0 100%
  );
  transition: all 0.3s ease;
}

.card-servizio:hover::after {
  width: 37px;
  height: 37px;
  top: 10px;
  right: 10px;
  background: var(--theme-palette-color-1);
  clip-path: polygon(0 0, 0 0, 100% 0, 100% 100%, 0 0);
}

/* ----- Card articoli ----- */
.card-articolo-container {
    flex-grow: 1;
}

.card-articolo-container::after {
  content: "";
  position: absolute;
  top: calc(100% - 47px); /* 100% - height(37) - margine(10) = parte in basso */
  right: 10px;
  width: 37px;
  height: 37px;
  background-color: var(--theme-palette-color-3);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  transition:
    top 0.35s ease,
    transform 0.35s ease;
}

.card-articolo-container:hover::after {
  top: 10px; /* sale all'angolo alto */
  transform: rotate(-90deg);
}

/* ----- Card recensioni ----- */
.card-testimonial .autore-recensione {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.card-testimonial .autore-recensione::before {
  content: "";
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  background-color: var(--theme-palette-color-6);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Testo recensione in corsivo */
.card-testimonial .testo-recensione {
  font-style: italic !important;
}

/* ----- Paginazione ----- */
.ct-pagination .page-numbers {
    font-size: 16px;
    font-weight: 400!important;
    border-radius: 0!important;
	border: none!important;
}

.ct-pagination .page-numbers.current,
.ct-pagination .page-numbers {
    flex: 0 0 30px!important;
    width: 30px!important;
    height: 30px!important;
}

a.next.page-numbers, a.prev.page-numbers {
    display: none!important;
}

.ct-pagination a.page-numbers {
    color: inherit!important;
    background-image: none!important;
    line-height: normal!important;
}

/* ----- Bottoni: base ----- */
/* Wrapper posizionato per contenere lo ::after */
.ct-header-cta,
.wp-block-button,
.gspb_button_wrapper,
.cf7-submit {
  position: relative;
  display: inline-flex !important;
}
/* Clip-path per il taglio angolato in alto a destra */
.ct-header-cta .ct-button,
.wp-block-button .wp-element-button,
.gspb_button_wrapper .wp-element-button,
.cf7-submit .wpcf7-submit {
  clip-path: polygon(
    0% 0%,
    calc(100% - 16px) 0%,
    100% 16px,
    100% 100%,
    0% 100%
  );
}
/* Triangolino decorativo in alto a destra (standard) */
.ct-header-cta::after,
.wp-block-button::after,
.gspb_button_wrapper::after,
.cf7-submit::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background-color: var(--theme-palette-color-2);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
  /* Transizione per l'animazione hover */
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
/* Animazione del triangolino standard sull'hover */
.ct-header-cta:hover::after,
.wp-block-button:hover::after,
.gspb_button_wrapper:hover::after,
.cf7-submit:hover::after {
  transform: scale(1.25);
  opacity: 1;
}

/* ----- Bottoni: variante green
   Classe .green-button applicata sull'elemento <a>
   generato da Greenshift (gspb_button_wrapper)
   oppure sull'<input> submit di CF7 (.cf7-submit) ----- */
/* Triangolino decorativo - colore variante */
.gspb_button_wrapper:has(.green-button)::after,
.cf7-submit:has(.green-button)::after {
  background-color: var(--theme-palette-color-8);
}
/* Animazione del triangolino variante sull'hover
   (sovrascrive il transform della regola base) */
.gspb_button_wrapper:has(.green-button):hover::after,
.cf7-submit:has(.green-button):hover::after {
  transform: scale(1.25);
  opacity: 1;
}
/* Bottone - stato normale */
.gspb_button_wrapper .green-button,
.cf7-submit .green-button {
  color: var(--theme-palette-color-2);
  background-color: var(--theme-palette-color-1);
}
/* Bottone - stato hover */
.gspb_button_wrapper .green-button:hover,
.cf7-submit .green-button:hover {
  color: var(--theme-palette-color-2);
  background-color: #8DD400;
}

/* ----- Form di contatto (CF7): normalizzazione submit ----- */
/* Spinner fuori dal flusso: non gonfia il wrapper,
   così il triangolino resta sull'angolo del bottone */
.cf7-submit .wpcf7-spinner {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
}
/* Reset dell'aspetto di default dell'input submit */
.cf7-submit .green-button {
  border: none;
  cursor: pointer;
  padding: var(--theme-button-padding);
  font-family: var(--theme-button-font-family, var(--theme-font-family));
  font-size: var(--theme-button-font-size);
  font-weight: var(--theme-button-font-weight);
  font-style: var(--theme-button-font-style);
  line-height: var(--theme-button-line-height);
  letter-spacing: var(--theme-button-letter-spacing);
  text-transform: var(--theme-button-text-transform);
  -webkit-text-decoration: var(--theme-button-text-decoration);
  text-decoration: var(--theme-button-text-decoration);
}

/* ----- Form di contatto (CF7): layout righe e colonne ----- */
.cf7-row-double {
  display: flex;
  gap: 2rem; /* spazio orizzontale tra Nome e Cognome su desktop */
}

.cf7-row-double .cf7-col {
  flex: 1 1 0;
  min-width: 0; /* evita overflow dei campi in flex */
}

/* I campi occupano tutta la larghezza della colonna */
.form-contatti-cf7 .cf7-field {
  width: 100%;
  box-sizing: border-box;
  border: none !important;
}

@media (max-width: 1000px) {
  .cf7-row-double {
    flex-direction: column;
    gap: 20px; /* preserva i 20px tra i campi impilati */
  }
}

/* Azzera i margini di default dei p (righe e colonne) */
.form-contatti-cf7 p {
  margin: 0;
}

/* 20px tra una riga e l'altra */
.form-contatti-cf7 > .cf7-row {
  margin-bottom: 20px;
}

/* Nessuno spazio extra sotto l'ultima riga */
.form-contatti-cf7 > .cf7-row:last-child {
  margin-bottom: 0;
}

/* ----- Form di contatto (CF7): label e privacy ----- */
/* Colore di tutte le label, inclusa quella della privacy */
.form-contatti-cf7 label {
  color: var(--theme-palette-color-8);
}

/* Label dei campi: corpo 16 — specificità (0,3,1) */
.form-contatti-cf7 .cf7-row:not(.cf7-privacy) label {
  font-size: 16px;
  font-weight: 500;
}

/* Testo/label della privacy: corpo 11 — specificità (0,3,1) */
.form-contatti-cf7 .cf7-row.cf7-privacy label {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* Link dentro il testo della privacy */
.form-contatti-cf7 .cf7-privacy a {
  color: var(--theme-palette-color-8);
  text-decoration: underline;
}

/* Hover del link */
.form-contatti-cf7 .cf7-privacy a:hover {
  color: var(--theme-palette-color-1);
}

/* ----- Form di contatto (CF7): validazione e messaggi ----- */
.form-contatti-cf7 span.wpcf7-not-valid-tip {
  color: var(--theme-palette-color-1);
  font-size: 14px !important;
  font-style: normal !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 2em 0 0 0;
  padding: 0.2em 1em;
  border: none;
  background-color: var(--theme-palette-color-7);
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
}

/* Nasconde il messaggio di successo (box verde) di CF7 */
.wpcf7 form.sent .wpcf7-response-output {
  display: none !important;
}

/* ----- Form di contatto (CF7): override solo per il form .form-light ----- */

/* 1 + 2. Label dei campi + testo privacy → color-4
   (.cf7-row label = specificità 0,3,1: vince su base e privacy) */
.form-light .form-contatti-cf7 .cf7-row label {
  color: var(--theme-palette-color-4);
}

/* 3. Link privacy → color-4, hover → color-5 */
.form-light .form-contatti-cf7 .cf7-privacy a {
  color: var(--theme-palette-color-4);
}
.form-light .form-contatti-cf7 .cf7-privacy a:hover {
  color: var(--theme-palette-color-5);
}

/* 4. Bottone: dalla variante verde al blu standard */

/* Triangolino: torna al colore standard */
.form-light .cf7-submit:has(.green-button)::after {
  background-color: var(--theme-palette-color-2);
}

/* Stato normale: fondo blu, testo color-8 */
.form-light .cf7-submit .green-button {
  color: var(--theme-palette-color-8);
  background-color: var(--theme-palette-color-5);
}

/* Stato hover: fondo color-2, testo color-8 */
.form-light .cf7-submit .green-button:hover {
  color: var(--theme-palette-color-8);
  background-color: var(--theme-palette-color-3);
}

/* 5. Colore dei campi (testo digitato) → color-6 */
.form-light .form-contatti-cf7 .cf7-field {
  background-color: var(--theme-palette-color-6);
}

/* 6. Sfondo messaggio di esito/errore → color-7 */
.form-light .wpcf7 form .wpcf7-response-output {
  background-color: var(--theme-palette-color-1);
}

/* 7. Note di errore sotto i campi → color-5 */
.form-light .form-contatti-cf7 span.wpcf7-not-valid-tip {
  color: var(--theme-palette-color-2);
}

/* ----- Form di contatto (CF7): checkbox privacy — allineata ai campi.
   Vale per entrambi i form (.form-contatti-cf7 è
   presente sia sullo standard che sul light).
   Include flex-shrink + margin-top per allinearla
   alla prima riga di testo. ----- */

.form-contatti-cf7 .cf7-privacy .cf7-ct-checkbox {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  cursor: pointer;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 0.3em; /* nudge ottico sulla prima riga */
  border: none; /* = bordo campi  */
  background-color: var(--theme-palette-color-8); /* = sfondo campi */
  border-radius: 0; /* = raggio campi */
  position: relative;
}

.form-light .form-contatti-cf7 .cf7-privacy .cf7-ct-checkbox {
  background-color: var(--theme-palette-color-6); /* = sfondo campi */
}

/* Spunta: appare SOLO da flaggata, senza toccare
   sfondo né bordo della casella.
   currentColor = segue il colore della label
   → color-4 nel light, color-8 nello standard */
.form-contatti-cf7 .cf7-privacy .cf7-ct-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 5px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Focus da tastiera (accessibilità) */
.form-contatti-cf7 .cf7-privacy .cf7-ct-checkbox:focus-visible {
  outline: 2px solid var(--theme-palette-color-5);
  outline-offset: 2px;
}

/* ----- Form di contatto (CF7): pattern triangolini decorativo ----- */
@media (min-width: 690px) {
  .triangolo-form-contatto {
    position: relative;
  }

  .triangolo-form-contatto::after {
    content: "";
    position: absolute;
    top: 70px;
    right: 0;
    max-width: 650px;
    max-height: 650px;
    width: 40vw;
    height: 40vw;
    background-color: var(--theme-palette-color-8);
    opacity: 0.08;
    pointer-events: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='667' height='667' viewBox='0 0 667 667' %3E%3Cpath d='M620 0L667 47V0H620Z' /%3E%3Cpath d='M372 0L419 47V0H372Z' /%3E%3Cpath d='M620 186L667 233V186H620Z' /%3E%3Cpath d='M372 186L419 233V186H372Z' /%3E%3Cpath d='M620 372L667 419V372H620Z' /%3E%3Cpath d='M372 372L419 419V372H372Z' /%3E%3Cpath d='M620 62L667 109V62H620Z' /%3E%3Cpath d='M372 62L419 109V62H372Z' /%3E%3Cpath d='M620 248L667 295V248H620Z' /%3E%3Cpath d='M372 248L419 295V248H372Z' /%3E%3Cpath d='M620 434L667 481V434H620Z' /%3E%3Cpath d='M620 558L667 605V558H620Z' /%3E%3Cpath d='M620 124L667 171V124H620Z' /%3E%3Cpath d='M372 124L419 171V124H372Z' /%3E%3Cpath d='M620 310L667 357V310H620Z' /%3E%3Cpath d='M372 310L419 357V310H372Z' /%3E%3Cpath d='M620 496L667 543V496H620Z' /%3E%3Cpath d='M620 620L667 667V620H620Z' /%3E%3Cpath d='M558 0L605 47V0H558Z' /%3E%3Cpath d='M310 0L357 47V0H310Z' /%3E%3Cpath d='M124 0L171 47V0H124Z' /%3E%3Cpath d='M496 0L543 47V0H496Z' /%3E%3Cpath d='M248 0L295 47V0H248Z' /%3E%3Cpath d='M62 0L109 47V0H62Z' /%3E%3Cpath d='M434 0L481 47V0H434Z' /%3E%3Cpath d='M186 0L233 47V0H186Z' /%3E%3Cpath d='M0 0L47 47V0H0Z' /%3E%3Cpath d='M558 186L605 233V186H558Z' /%3E%3Cpath d='M310 186L357 233V186H310Z' /%3E%3Cpath d='M496 186L543 233V186H496Z' /%3E%3Cpath d='M248 186L295 233V186H248Z' /%3E%3Cpath d='M434 186L481 233V186H434Z' /%3E%3Cpath d='M186 186L233 233V186H186Z' /%3E%3Cpath d='M558 372L605 419V372H558Z' /%3E%3Cpath d='M496 372L543 419V372H496Z' /%3E%3Cpath d='M434 372L481 419V372H434Z' /%3E%3Cpath d='M558 62L605 109V62H558Z' /%3E%3Cpath d='M310 62L357 109V62H310Z' /%3E%3Cpath d='M124 62L171 109V62H124Z' /%3E%3Cpath d='M496 62L543 109V62H496Z' /%3E%3Cpath d='M248 62L295 109V62H248Z' /%3E%3Cpath d='M62 62L109 109V62H62Z' /%3E%3Cpath d='M434 62L481 109V62H434Z' /%3E%3Cpath d='M186 62L233 109V62H186Z' /%3E%3Cpath d='M558 248L605 295V248H558Z' /%3E%3Cpath d='M310 248L357 295V248H310Z' /%3E%3Cpath d='M496 248L543 295V248H496Z' /%3E%3Cpath d='M248 248L295 295V248H248Z' /%3E%3Cpath d='M434 248L481 295V248H434Z' /%3E%3Cpath d='M558 434L605 481V434H558Z' /%3E%3Cpath d='M496 434L543 481V434H496Z' /%3E%3Cpath d='M434 434L481 481V434H434Z' /%3E%3Cpath d='M558 558L605 605V558H558Z' /%3E%3Cpath d='M558 124L605 171V124H558Z' /%3E%3Cpath d='M310 124L357 171V124H310Z' /%3E%3Cpath d='M124 124L171 171V124H124Z' /%3E%3Cpath d='M496 124L543 171V124H496Z' /%3E%3Cpath d='M248 124L295 171V124H248Z' /%3E%3Cpath d='M434 124L481 171V124H434Z' /%3E%3Cpath d='M186 124L233 171V124H186Z' /%3E%3Cpath d='M558 310L605 357V310H558Z' /%3E%3Cpath d='M310 310L357 357V310H310Z' /%3E%3Cpath d='M496 310L543 357V310H496Z' /%3E%3Cpath d='M434 310L481 357V310H434Z' /%3E%3Cpath d='M558 496L605 543V496H558Z' /%3E%3Cpath d='M496 496L543 543V496H496Z' /%3E%3C/svg%3E")
      center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='667' height='667' viewBox='0 0 667 667' %3E%3Cpath d='M620 0L667 47V0H620Z' /%3E%3Cpath d='M372 0L419 47V0H372Z' /%3E%3Cpath d='M620 186L667 233V186H620Z' /%3E%3Cpath d='M372 186L419 233V186H372Z' /%3E%3Cpath d='M620 372L667 419V372H620Z' /%3E%3Cpath d='M372 372L419 419V372H372Z' /%3E%3Cpath d='M620 62L667 109V62H620Z' /%3E%3Cpath d='M372 62L419 109V62H372Z' /%3E%3Cpath d='M620 248L667 295V248H620Z' /%3E%3Cpath d='M372 248L419 295V248H372Z' /%3E%3Cpath d='M620 434L667 481V434H620Z' /%3E%3Cpath d='M620 558L667 605V558H620Z' /%3E%3Cpath d='M620 124L667 171V124H620Z' /%3E%3Cpath d='M372 124L419 171V124H372Z' /%3E%3Cpath d='M620 310L667 357V310H620Z' /%3E%3Cpath d='M372 310L419 357V310H372Z' /%3E%3Cpath d='M620 496L667 543V496H620Z' /%3E%3Cpath d='M620 620L667 667V620H620Z' /%3E%3Cpath d='M558 0L605 47V0H558Z' /%3E%3Cpath d='M310 0L357 47V0H310Z' /%3E%3Cpath d='M124 0L171 47V0H124Z' /%3E%3Cpath d='M496 0L543 47V0H496Z' /%3E%3Cpath d='M248 0L295 47V0H248Z' /%3E%3Cpath d='M62 0L109 47V0H62Z' /%3E%3Cpath d='M434 0L481 47V0H434Z' /%3E%3Cpath d='M186 0L233 47V0H186Z' /%3E%3Cpath d='M0 0L47 47V0H0Z' /%3E%3Cpath d='M558 186L605 233V186H558Z' /%3E%3Cpath d='M310 186L357 233V186H310Z' /%3E%3Cpath d='M496 186L543 233V186H496Z' /%3E%3Cpath d='M248 186L295 233V186H248Z' /%3E%3Cpath d='M434 186L481 233V186H434Z' /%3E%3Cpath d='M186 186L233 233V186H186Z' /%3E%3Cpath d='M558 372L605 419V372H558Z' /%3E%3Cpath d='M496 372L543 419V372H496Z' /%3E%3Cpath d='M434 372L481 419V372H434Z' /%3E%3Cpath d='M558 62L605 109V62H558Z' /%3E%3Cpath d='M310 62L357 109V62H310Z' /%3E%3Cpath d='M124 62L171 109V62H124Z' /%3E%3Cpath d='M496 62L543 109V62H496Z' /%3E%3Cpath d='M248 62L295 109V62H248Z' /%3E%3Cpath d='M62 62L109 109V62H62Z' /%3E%3Cpath d='M434 62L481 109V62H434Z' /%3E%3Cpath d='M186 62L233 109V62H186Z' /%3E%3Cpath d='M558 248L605 295V248H558Z' /%3E%3Cpath d='M310 248L357 295V248H310Z' /%3E%3Cpath d='M496 248L543 295V248H496Z' /%3E%3Cpath d='M248 248L295 295V248H248Z' /%3E%3Cpath d='M434 248L481 295V248H434Z' /%3E%3Cpath d='M558 434L605 481V434H558Z' /%3E%3Cpath d='M496 434L543 481V434H496Z' /%3E%3Cpath d='M434 434L481 481V434H434Z' /%3E%3Cpath d='M558 558L605 605V558H558Z' /%3E%3Cpath d='M558 124L605 171V124H558Z' /%3E%3Cpath d='M310 124L357 171V124H310Z' /%3E%3Cpath d='M124 124L171 171V124H124Z' /%3E%3Cpath d='M496 124L543 171V124H496Z' /%3E%3Cpath d='M248 124L295 171V124H248Z' /%3E%3Cpath d='M434 124L481 171V124H434Z' /%3E%3Cpath d='M186 124L233 171V124H186Z' /%3E%3Cpath d='M558 310L605 357V310H558Z' /%3E%3Cpath d='M310 310L357 357V310H310Z' /%3E%3Cpath d='M496 310L543 357V310H496Z' /%3E%3Cpath d='M434 310L481 357V310H434Z' /%3E%3Cpath d='M558 496L605 543V496H558Z' /%3E%3Cpath d='M496 496L543 543V496H496Z' /%3E%3C/svg%3E")
      center / contain no-repeat;
  }
}


/* ==========================================================================
   6. FOOTER
   ========================================================================== */

footer .triangolino-footer {
  display: flex;
  justify-content: flex-end;
}

footer .titolo-sede {
  color: var(--theme-palette-color-8);
}

footer .titolo-sede::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41' height='39' viewBox='0 0 41 39' fill='none'%3E%3Cpath d='M41 0H40.468V39H41V0Z' fill='%23EBEBED'/%3E%3Cpath d='M20.3497 5.00545L28.596 13.3434V5.00545H20.3497Z' fill='%23EBEBED'/%3E%3Cpath d='M20.3497 13.3434L12.1034 5.00545H0V13.3434H20.3497Z' fill='%23819A9F'/%3E%3Cpath d='M20.3497 13.3434L12.1034 21.6813V33.9192H20.3497V13.3434Z' fill='%23819A9F'/%3E%3C/svg%3E");
}

@media (min-width: 400px) {
  .footer-col1::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 0;
    width: 37px;
    height: 37px;
    background-color: var(--theme-palette-color-5);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
  }
}

.indirizzo-footer {
  margin-bottom: 16px;
}


/* ==========================================================================
   7. PAGINE
   ========================================================================== */

/* ----- Galleria OREC: colonne ----- */
/* prima colonna */
.riga-orec .wp-block-greenshift-blocks-row-column:first-child {
  width: calc(40% - 55px) !important;
}

/* seconda colonna */
.riga-orec .wp-block-greenshift-blocks-row-column:last-child {
  width: calc(60% + 55px) !important;
  z-index: 3;
}

/* sotto i 1000px */
@media (max-width: 999px) {
  .riga-orec .wp-block-greenshift-blocks-row-column:first-child,
  .riga-orec .wp-block-greenshift-blocks-row-column:last-child {
    width: 100% !important;
  }
  .container-galleria-orec-s {
    display: none;
  }
}

/* sopra i 1000px */
@media (min-width: 1000px) {
  .container-galleria-orec-l {
    display: none;
  }
}

/* ----- Pagina Sitemap (RankMath) ----- */
h2.rank-math-html-sitemap__title {
  font-size: 30px;
  font-weight: 500 !important;
}

a.rank-math-html-sitemap__link {
  font-size: 18px;
}

@media (min-width: 1001px) {
  .rank-math-html-sitemap {
    column-count: 2;
    column-gap: 40px;
    column-fill: balance;
  }

  .rank-math-html-sitemap__section {
    display: inline-block;
    width: 100%;
    margin: 0 0 32px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
  }
}

ul.rank-math-html-sitemap__list {
  margin-left: calc(-2.5em + 13px);
}