/*
Theme Name: Gustus 2026
Author: Mutart
Author URI: https://mutart.it/
Text Domain: gustus-mutart
*/

@import url('https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&family=Kumbh+Sans:wght,YOPQ@100..900,300&display=swap');

:root {
  --primary: #E30613;
  --secondary: #F9B233;
  --terziary: #f7f7f7;
  --text-color: #110E0D;
  --body-bg: #FFFEFD;
  --br: 8px;
  --font-body: "Geist", sans-serif;
  --font-accent: "Geist", sans-serif;
  --font-heading: "Geist", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@view-transition {
  navigation: auto;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background: var(--body-bg);
  line-height: 1.6;
  scroll-behavior: smooth !important;
  font-size:18px;
  min-height: 100vh;
  max-width: 100%;
  width: 100%;
}


.splide__arrow--next {
  right: -4em !important;
}

.single-evento .splide__arrow--next {
  right: -2em !important;
}

.splide__arrow--prev {
  left: -2em !important;
}

.splide__arrow {
  height: 4em !important;
  width: 4em !important;
  background: var(--primary) !important;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.1;
}

.accent {
  color: var(--primary);
}

.accent__secondary {
    color: var(--secondary);
}

.accent-title {
  font-family: var(--font-accent);
  color:var(--primary);
  font-style: italic;
  text-transform: lowercase !important;
}

b,
strong {
  font-weight: 600;
}

a {
  transition: color 0.3s ease;
  color: var(--text-color);
}

a:hover {
  color: var(--primary);
}

img:not(.logo img) {
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  width: auto;

}

p {
  margin-bottom: 20px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.4;
}

li {
  font-weight: 400;
  color: var(--text-color);
  list-style: square;
}

li::marker {
  color: var(--primary);
}

ol,
ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.big__container {
    width: 100%;
  max-width: 1520px;
  margin: 0 auto;
}

@media (max-width: 1600px) {
  .container {
      max-width: 1280px;
  }
}

.min_container {
    width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.flex {
  display: flex;
}

.relative {
  position: relative;
}

.flex-col {
  flex-direction: column;
}

@media (max-width: 768px) {
  .flex-col-mobile {
    flex-direction: column;
  }

  .flex-row-mobile {
    flex-direction: row;
  }

  .splide__arrow--next {
    right: -1em !important;
  }

  .flex-row-mobile {
    flex-direction: row !important;
  }
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between !important;
}

h1 {
  font-size: clamp(32px, 5vw, 38px);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

h2 {
  font-size: clamp(28px, 5vw, 32px);
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(22px, 5vw, 28px);
  margin-bottom: 20px;
}

h6 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 10px;
}

@media(max-width:768px){
	h6 {
		font-size:17px;
	}
}

button {
  border: 0;
}

.btn {
  padding: 12px 35px !important;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.3s ease;
  width: fit-content;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--secondary);
  z-index: -1;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn:hover::before {
  clip-path: polygon(0 0, 100% 0, calc(100% + 40px) 100%, 0 100%);
}

.btn span,
.btn {
  position: relative;
}

.btn > * {
  position: relative;
  z-index: 1;
}


.btn-cta {
  background: #f4f4f4;
  padding: 10px 0px 10px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(3, 1, 1, 0.1);
}

.btn-cta .fa-chevron-right {
  background: var(--primary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transform: translateX(10px);
}

.btn-cta .fa-chevron-right:before {
  content: "\f054";
  color: white;
  line-height: 30px;
  margin-left: 10px;
}


i,
.featured_event__meta__buy_link {
  transition: all 0.2s linear;
}



header .btn__header:hover, .live-section__body .btn__primary:hover, .booking .btn__secondary:hover {
  background-color: var(--terziary);
  color: white !important;
}

.is-fixed .btn__header:hover {
  background-color: var(--primary) !important;
  color: white !important;
}

.btn__primary {
  background-color: var(--primary);
  color: white;
}

.btn__secondary {
  background-color: var(--secondary);
  color: white;
}

.btn__terziary {
  background-color: var(--terziary);
  color: var(--text-color);
}

.btn__outline {
  border: 1px solid var(--terziary);
  color: white;
}

.btn__outline-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
}

/* ==========================================================================
   BOTTONI
   ========================================================================== */

.btn {
  padding: 12px 35px !important;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: fit-content;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.2s ease;
}

.btn > * {
  position: relative;
  z-index: 1;
}

/* Cerchio che si espande dal centro */
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--secondary);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn:active {
  transform: scale(0.97);
}

.btn i {
  display: inline-block;
  transition: transform 0.35s ease;
}

.btn:hover i {
  transform: translateX(5px) rotate(-10deg);
}

/* Varianti */
.btn__primary {
  background-color: var(--primary);
  color: white;
}

.btn__secondary {
  background-color: var(--secondary);
  color: white;
}

.btn__terziary {
  background-color: var(--terziary);
  color: var(--text-color);
}

.btn__outline {
  border: 1px solid var(--terziary);
  color: white;
}

.btn__outline-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
}

/* Colore del cerchio per variante */
.btn__primary::before { background: var(--secondary); }
.btn__secondary::before { background: var(--primary); }
.btn__terziary::before { background: var(--primary); }
.btn__outline::before { background: var(--terziary); }
.btn__outline-dark::before { background: white; }

/* Testo + ombra in hover */
.btn__primary:hover,
.btn__secondary:hover,
.btn__terziary:hover {
  color: white !important;
}

.btn__primary:hover {
  box-shadow: 0 8px 20px rgba(249, 178, 51, 0.35);
}

.btn__secondary:hover,
.btn__terziary:hover {
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.3);
}

.btn__outline:hover,
.btn__outline-dark:hover {
  color: black !important;
}

/* ==========================================================================
   FILL-BTN SPECIAL (stesso effetto)
   ========================================================================== */

.fill-btn.special {
  isolation: isolate;
  transition: color 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
}

.fill-btn.special::before {
  top: 50%;
  left: 50%;
  inset: auto;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.fill-btn.special:hover::before {
  clip-path: none;
  transform: translate(-50%, -50%) scale(1);
}

.fill-btn.special:active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::before,
  .btn i,
  .fill-btn.special,
  .fill-btn.special::before {
    transition: none !important;
  }
}



/* Cerchio: entrata dal centro, uscita in dissolvenza */
.btn::before,
.fill-btn.special::before {
  content: "";
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
  /* Uscita: sfuma, poi il reset della scala avviene a fine dissolvenza */
  transition:
    opacity 0.4s ease,
    transform 0s linear 0.4s;
}

.btn:hover::before,
.fill-btn.special:hover::before {
  clip-path: none;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  /* Entrata: il cerchio si espande */
  transition:
    opacity 0s,
    transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Freccia: avanti in hover, rientro con piccolo rimbalzo */
.btn i {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover i {
  transform: translateX(5px) rotate(-10deg);
  transition: transform 0.35s ease;
}

/* Width utility classes */
.w-5 {
  width: 5%;
}

.w-10 {
  width: 10%;
}

.w-15 {
  width: 15%;
}

.w-20 {
  width: 20%;
}

.w-25 {
  width: 25%;
}

.w-30 {
  width: 30%;
}

.w-33 {
  width: 33.3333%;
}

.w-35 {
  width: 35%;
}

.w-40 {
  width: 40%;
}

.w-45 {
  width: 45%;
}

.w-50 {
  width: 50%;
}

.w-55 {
  width: 55%;
}

.w-60 {
  width: 60%;
}

.w-66 {
  width: 66.6667%;
}

.w-65 {
  width: 65%;
}

.w-70 {
  width: 70%;
}

.w-75 {
  width: 75%;
}

.w-80 {
  width: 80%;
}

.w-85 {
  width: 85%;
}

.w-90 {
  width: 90%;
}

.w-95 {
  width: 95%;
}

.w-100 {
  width: 100%;
}

@media (max-width: 768px) {
  .w-5,
  .w-10,
  .w-15,
  .w-20,
  .w-25,
  .w-30,
  .w-33,
  .w-35,
  .w-40,
  .w-45,
  .w-50,
  .w-55,
  .w-60,
  .w-65,
  .w-66,
  .w-70,
  .w-75,
  .w-80,
  .w-85,
  .w-90,
  .w-95,
  .w-100 {
    width: 100%;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Rimuovi padding dai children con w-* se parent ha w-* */
  .flex > [class*="w-"],
  .grid > [class*="w-"],
  [class*="w-"] > [class*="w-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .btn {
    width: 100% !important;
    text-align: center !important;
  }

  .px-mobile-15[class] { padding-left: 15px !important; padding-right: 15px !important; }
  .px-mobile-20[class] { padding-left: 20px !important; padding-right: 20px !important; }
  .px-mobile-25[class] { padding-left: 25px !important; padding-right: 25px !important; }
  .px-mobile-30[class] { padding-left: 30px !important; padding-right: 30px !important; }
  .px-mobile-35[class] { padding-left: 35px !important; padding-right: 35px !important; }
}

.grid {
  display: grid;
  gap: 20px;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-50 {
  gap: 50px;
}

.gap-100 {
  gap: 100px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 768px) {
  .flex {
    flex-direction: column;
  }

  .flex-reverse {
    flex-direction: column-reverse;
  }

  .gap-100 {
    gap: 50px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* HEADER */

.header-mobile {
  display: none;
}

header .btn {
  padding: 5px 20px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  background: var(--primary) !important;
  text-transform: uppercase !important;
  text-align: center;
}


.is-fixed {
    background: white !important;
    top: 0;
    position: fixed !important;
    width: 100% !important;
    left: 0;
    z-index: 999 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) !important;
}

.is-fixed .top-bar {
    display: none !important;
}

.home .is-fixed {
    background: white !important;
}

.home .is-fixed a {
  color: var(--text-color) !important;
}


.home .is-fixed .btn {
  color: white !important;
}

.home header {
    position: absolute;
    transition: 0.25s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    width: 100%;
    z-index: 150;
    background: transparent !important;
}

header {
  background: white;
  padding: 8px 0 !important;
}

.home .top-bar {
  font-size: 12px;
  color:white;
  font-weight: 500;
}

.top-bar {
  color: var(--text-color);
    font-size: 12px;
  font-weight: 500;
  margin-bottom: 15px;
}

.header-desk {
  padding: 0;
}

.header-desk a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.header-desk .btn {
  color: white !important;
  border-radius:8px;
}

.home .header-desk a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}


.header-desk #menu-main a::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease;
}

.header-desk #menu-main a:hover::before {
  transform: scaleX(1);
}

.current-menu-item > a::before {
  transform: scaleX(1) !important;
}

.logo h4,
header h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 !important;
}



.logo-site {
  max-width: 250px !important;
  margin:0 !important;
  transition: all 0.3s ease;
}

.logo img {
  max-width: 140px;
}

.is-fixed .logo-site {
  max-width: 150px !important;
}

.home .payoff {
  color: white;
  font-weight: 600;
  font-size: 17px;
  max-width:150px;
    margin-top: -8px !important;
}

.is-fixed .payoff {
  max-width: 180px !important;
  font-size: 14px !important;
  color: var(--primary) !important;
}

.home .is-fixed .payoff {
  margin-top:0px !important;
}

.is-fixed .btn__primary {
  background-color: var(--secondary) !important;
}

.payoff {
  margin:0;
  color: var(--primary);
  font-weight: 600;
  font-size: 17px;
  max-width:150px;
  line-height: 1;

}

header .btn__primary {
  color: white !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  font-size:14px !important;
  text-align: center;
}

header svg {
  transition: all 0.3s ease;
}


header h4 span {
  color: var(--secondary) !important;
}

.header-mobile a {
  text-decoration: none !important;
}

nav {
  justify-content: flex-end;
  gap:40px !important;
}

.nav ul {
  list-style: none !important;
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 10;
  margin: 0;
  text-transform: uppercase;
}

nav ul li{
  list-style: none !important;
}

/* SUBMENU DESKTOP */
.header-desk .nav > ul {
  margin: 0;
  padding: 0;
}

.header-desk .nav li {
  position: relative;
}

/* Dropdown submenu */
.header-desk .nav .sub-menu {
  position: absolute;
  top: 130%;
  left: 0;

  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  padding: 0px 0;
  margin-top: 0px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header-desk .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

.header-desk .nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-desk .nav .sub-menu li {
  width: 100%;
  padding: 0;
  min-width: 210px;
}

.header-desk .nav .sub-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  text-transform: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 400;
}

.header-desk .nav .sub-menu a:hover {
  background-color: rgb(226 0 26 / 10%);
  color: var(--primary);
  padding-left: 25px;
}

.header-desk .megamenu-parent .sub-menu a:hover {
  color: var(--primary);
  font-weight: 600;
  padding-left: 25px !important;
}

.header-desk .nav .sub-menu a::after {
  display: none;
}

/* Indicatore per menu con sottomenu */
.header-desk .nav .menu-item-has-children > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.header-desk .nav .sub-menu .menu-item-has-children > a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 5px;
  font-size: 12px;
}

.header-desk .nav .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.header-desk .nav .sub-menu .menu-item-has-children > a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .header-desk {
    display: none;
  }

  .payoff, .home .payoff{
    font-size:14px;
    margin-top: 0 !important;
	  max-width: 140px !important;
  }
	
	.is-fixed .payoff {
		max-width: 140px !important;
	}

  .search_wrapper .fa {
    font-size: 14px;
    color: var(--primary);
    letter-spacing: 1px;
  }

  .actions {
    padding: 18px 25px;
  }


}

.header-desk .nav li::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease;
}

.header-desk .nav li:not(.current-menu-item, .sub-menu li):hover::after {
  transform: scaleX(1);
}

.header-desk .nav .current-menu-item:not(.sub-menu li)::after {
  transform: scaleX(1);
}

/* ==================== MENU MOBILE ==================== */
@media (max-width: 768px) {
  .header-desk {
    display: none;
  }

  .nav ul {
    gap: 0;
  }

  .slider.container {
    padding: 80px 0;
  }

  .header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px !important;
    background: white;
    border-bottom: 1px solid #0000001a;
    position: sticky;
    top: 0px;
    z-index: 1000;
    width: 100%;
    margin: 0 auto;
    border-radius: 0px;
    transition: 0.25s ease-in-out;
  }

  .header-mobile.is-fixed {
    position: fixed;
    top: 0px;
    left:0;
    background: white !important;
  }

  .header-mobile .logo img {
    height: auto !important;
    width: 150px !important;
    margin: 0;
  }

  .is-fixed .logo img {
    height: auto !important;
  }

  /* Hamburger Icon */
  .menu-icon {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    gap: 5px;
    position: relative;
    top: 5px;
	  right: 10px;
  }

  .menu-icon .line {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Animazione hamburger a X */
  .menu-icon.active .line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-icon.active .line:nth-child(2) {
    opacity: 0;
  }

  .menu-icon.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -5px);
  }

  /* Menu mobile overlay */
  .outside-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: right 0.4s ease;
  }

  .outside-menu.active {
    right: 0;
  }

  .menu-mobile-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 85%;
    max-width: 400px;
    height: 100dvh;
    background: var(--primary);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 100px 0 20px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .outside-menu.active .menu-mobile-wrapper {
    transform: translateX(0);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	  overflow-y:scroll;
  }

  /* Menu mobile navigation */
  .header-mobile .nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .header-mobile .nav > ul > li {
    border-bottom: 1px solid #f0f0f0;
  }

  .header-mobile .nav a {
    display: block;
    padding: 18px 25px;
    color: white !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }

  .header-mobile .nav a:hover {
    background-color:white !important;
    color: var(--primary) !important;
    padding-left: 30px;
  }

  .header-mobile .nav .current-menu-item > a {
    color: white !important;
    background-color: var(--primary) !important;
  }

  /* Submenu mobile */
  .header-mobile .nav .sub-menu {
    max-height: 0;
    overflow: hidden;

    transition: max-height 0.4s ease;
  }

  .header-mobile .nav .sub-menu.active {
    max-height: 1200px;
  }

  .header-mobile .nav .sub-menu li {
    border-bottom: 1px solid #d60202 !important;
  }

  .header-mobile .nav .sub-menu li:last-child {
    border-bottom: none;
  }

  .header-mobile .nav .sub-menu a {
    padding: 15px 25px 15px 25px;
    font-size: 16px;
    text-transform: none;
    font-weight: 400;
  }

  .header-mobile .nav .sub-menu a:hover {
    padding-left: 50px;
  }

  /* Indicatore submenu mobile */
  .header-mobile .nav .menu-item-has-children {
    position: relative;
  }

  .header-mobile .nav .menu-item-has-children > a {
    padding-right: 50px;
  }

  .header-mobile .nav .menu-item-has-children > a {
    position: relative;
    padding-right: 50px;
	  font-size: 18px;
  }

  .header-mobile .nav .menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .header-mobile .nav .menu-item-has-children.active > a::after {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Previene lo scroll del body quando il menu è aperto */
  body.menu-open {
    overflow: hidden;
  }
}


/* slider hero */

.intro-home {
  position: relative;
  min-height: 100vh;
}

.video-desktop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-video {
  position: absolute;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.15);
}

.hero-intro {
  position: relative;
  z-index: 100;
  min-height: 100vh;
  justify-content: flex-end;
  gap: 25px;
  padding-bottom: 80px;
}

.hero-meta {
  align-items: center;
}

.intro-home h1 {
  color: white;
  font-weight: 800;
  font-size: clamp(28px, 5.5vw, 62px);
  margin: 0 0 20px 0 !important;
}

.intro-home .accent {
  color: var(--primary);
}

.days-wrap,
.place-wrap {
	margin-top:20px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  /* padding-left: 18px; */
  line-height: 1.2;
}


.hero-cta span{
  font-size:14px !important;
  font-weight: 400 !important;
  display: block;

}

.hero-cta a{
  font-size: 22px !important;
  font-weight: 600;
  display: block;

  border-radius: 20px;
}

.dates{
  font-size: 42px;
  font-weight: 800;
}

.place {
   font-size: 54px;
   font-weight: 300;
}

.month {
   font-size: 24px;
   font-weight: 400;
}

@media(max-width:768px){
	.hero-meta {
		align-items: flex-start;
	}
	
	.hero-cta span {
		font-size: 16px !important;
	}
	
	.hero-cta .btn {
		text-align: left !important;
	}
	
	.intro-home h1 {
		margin:0 !important;
	}
	
	.hero-intro {
		padding-bottom:80px;
	}
	
	.days-wrap, .place-wrap {
		padding-left:0;
	}
}

@media(max-width:450px){

	.hero-intro {
		padding-bottom:20px;
	}

}


/* SEZIONE NUMERI */
.numbers-section {
  padding: 90px 20px;
  background: var(--body-bg);
}

.numbers-section h6 {
  font-weight: 700;
}

.numbers-intro {
  max-width: 720px;
}

.numbers-cta {
  border-radius: 50px;
  margin: 10px 0 60px;
}

.numbers-cta i {
  margin-left: 8px;
}

@media(max-width:768px){
	.numbers-cta {
		margin: 10px 0 0px;
	}
}

/* griglia sinistra */
.numbers-grid {
  gap: 50px 30px;
  align-content: start;
	margin-top:30px;
}

.numbers-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.numbers-grid__icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 10px !important;
}

.numbers-grid__value {
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.numbers-grid__label {
  font-size: 18px;
  margin-top: 8px;
  line-height: 1.3;
	max-width:150px;
}

/* lista destra */
.numbers-list__item {
  padding: 25px 0;
  border-bottom: 1px solid #ddd;
  flex-direction: row;
}

.numbers-list__item:first-child {
  padding-top: 0;
}

.numbers-list__item:last-child {
  border-bottom: none;
}

.numbers-list__value {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  min-width: 90px;
}

.numbers-list__content h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.numbers-list__content p {
  margin-bottom: 0;
  font-size: 17px;
}

.numbers-body {
	margin-top:80px;
}

@media (max-width: 768px) {
  .numbers-section {
    padding: 60px 0;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .numbers-body {
    gap: 50px;
  }

  .numbers-list__item {
    flex-direction: column !important;
  }

  .numbers-list__value {
    min-width: 70px;
    font-size: 34px;
  }
}


/* SEZIONE STAND */
.stands-section {
  padding: 90px 20px;
  background: var(--terziary);
}

.stands-section h6 {
  font-weight: 700;
}

.stands-intro {
  max-width: 900px;
  margin-bottom: 50px;
}

.stand-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stand-card__title {
  font-size: 26px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 30px;
}

.stand-card__title strong {
  font-weight: 800;
}

.stand-card__img {
  max-height: 380px;
  object-fit: contain;
  margin-bottom: 30px !important;
  flex: 1;
}

.stand-card__cta {
  border-radius: 50px;
  width: 100% !important;
  text-align: center;
}

.stand-card__cta i {
  margin-left: 8px;
}

/* frecce slider stand */
.stands-slider .splide__arrow {
  height: 3.5em !important;
  width: 3.5em !important;
  border-radius: 50%;
  opacity: 1;
}


.stands-slider .splide__arrow svg {
  fill: white;
}

.stands-slider .splide__arrow--prev {
  left: -5em !important;
}

.stands-slider .splide__arrow--next {
  right: -5em !important;
}

@media (max-width: 768px) {
  .stands-section {
    padding: 60px 0;
  }

  .stands-slider .splide__arrow--prev {
    left: 0 !important;
  }

  .stands-slider .splide__arrow--next {
    right: 0 !important;
  }

  .stand-card__img {
    max-height: 300px;
  }
}


/* SEZIONE HUB B2B */
.hub-section {
  padding: 90px 20px;
  background: var(--body-bg);
}

.hub-section h6 {
  font-weight: 700;
}

.hub-head {
  margin-bottom: 60px;
  align-items: flex-start;
}

.hub-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 0;
}

/* colonna immagine */
.hub-media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0 !important;
}

/* card rossa/gialla */
.hub-card {
  border-radius: 16px;
  padding: 35px 30px;
  color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hub-card--red {
  background: var(--primary);
}

.hub-card--yellow {
  background: var(--secondary);
}

.hub-card__eyebrow {
  font-size: 15px;
  margin-bottom: 5px;
}

.hub-card h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 25px;
}

.hub-card p {
  color: white;
  flex: 1;
}

.hub-card__link {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.hub-card__link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.hub-card__link i {
  margin-left: 5px;
  font-size: 13px;
}

/* card motivi */
.hub-motivi {
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
}

.hub-motivi__eyebrow {
  font-family: monospace;
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 5px;
  display: block;
}

.hub-motivi h3 {
  font-size: 22px;
  font-weight: 700;
}

.hub-motivi__list {
  flex: 1;
}

.hub-motivi__list ul {
  padding-left: 18px;
  margin-bottom: 25px;
}

.hub-motivi__list li {
  list-style: disc;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.4;
}

.hub-motivi__list li::marker {
  color: var(--text-color);
}

.hub-motivi__links {
  flex-direction: row;
  flex-wrap: wrap;
}

.hub-motivi__link {
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

.hub-motivi__link i {
  margin-left: 5px;
  font-size: 13px;
}

.hub-cta {
  border-radius: 50px;
  margin-top: 50px;
}

.hub-cta i {
  margin-left: 8px;
}

@media (max-width: 768px) {
  .hub-section {
    padding: 60px 0;
  }
	
	.hub-motivi:nth-child(3){
		padding: 15px 25px !important;
	}

  .hub-head {
    gap: 20px;
    margin-bottom: 40px;
  }

  .hub-media img {
    height: auto;
  }

  .hub-motivi__links {
    flex-direction: column;
    gap: 10px;
  }
}

/* SEZIONE ATTIVITÀ / GALLERY */
.activities-section {
  padding: 90px 20px;
  background: var(--body-bg);
}

.activities-section h6 {
  font-weight: 700;
}

.activities-head {
  margin-bottom: 50px;
}

.activities-head h2 {
  font-weight: 800;
}

.activities-slider__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 0 !important;
  display: block;
}

/* frecce */
.activities-slider .splide__arrow {
  height: 3.5em !important;
  width: 3.5em !important;
  border-radius: 50%;
  opacity: 1;
}

.activities-slider .splide__arrow svg {
  fill: white;
}

.activities-slider .splide__arrow--prev {
  left: -1.5em !important;
}

.activities-slider .splide__arrow--next {
  right: -1.5em !important;
}

@media (max-width: 768px) {
  .activities-section {
    padding: 60px 0;
  }

  .activities-slider .splide__arrow--prev {
    left: 0.5em !important;
  }

  .activities-slider .splide__arrow--next {
    right: 0.5em !important;
  }
}

/* SEZIONE MERCATO B2B */
.market-section {
  padding: 90px 20px;
  background: var(--body-bg);
}

.market-section h6 {
  font-weight: 700;
}

.market-head {
  margin-bottom: 40px;
}

.market-head h2 {
  font-weight: 800;
  margin-bottom: 0;
}

.market-card {
  border-radius: 12px;
  padding: 40px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.market-card--red {
  background: var(--primary);
  color: white;
}

.market-card--gray {
  background: var(--terziary);
  color: var(--text-color);
}

.market-card__eyebrow {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.market-card__text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.market-card__text li {
  list-style: none;
  color: inherit;
  font-size: 18px;
  margin-bottom: 16px;
}

.market-card__text p {
  color: inherit;
  margin-bottom: 0px;
}

.market-card__text strong {
  font-weight: 700;
}

.market-card--red .market-card__eyebrow {
  color: white;
}

.market-card__title {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 400;
  margin-bottom: 0;
  color: inherit;
}

.market-card__badge {
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.7;
  white-space: nowrap;
  padding-top: 10px;
}

.market-card__top {
  padding-bottom: 20px;
  border-bottom: 1px solid currentColor;
  margin-bottom: 30px;
}

.market-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.market-card__list li {
  list-style: none;
  color: inherit;
  font-size: 18px;
  margin-bottom: 16px;
}

.market-card__list li:last-child {
  margin-bottom: 0;
}

.market-card__cta {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.market-card__cta i {
  margin-left: 6px;
  font-size: 16px;
}

.market-card--red .market-card__cta:hover {
  color: rgba(255, 255, 255, 0.7);
}

.market-card--gray .market-card__cta:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .market-section {
    padding: 60px 0;
  }

  .market-card {
    padding: 30px 25px;
  }

  .market-card__bottom {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 25px;
  }
}

/* SEZIONE PARTNER */
.partners-section {
  padding: 90px 20px;
  background: var(--terziary);
}

.partners-section h6 {
  font-weight: 700;
}

.partners-head {
  margin-bottom: 40px;
}

.partners-head h2 {
  font-weight: 800;
  margin-bottom: 0;
}

.grid-7 {
  grid-template-columns: repeat(7, 1fr);
}

.partners-grid {
  align-items: center;
  row-gap: 50px;
}

.partners-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-grid__item img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0 !important;

  transition: all 0.3s ease;
}

.partners-grid__item a:hover img,
.partners-grid__item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partners-cta {
  border-radius: 50px;
  border-color: var(--text-color) !important;
  color: var(--text-color) !important;
  margin: 50px 0 70px;
}

.partners-cta::before {
  background: var(--text-color);
}

.partners-cta:hover {
  color: white !important;
}

.partners-cta i {
  margin-left: 8px;
}

.partners-associato h2 {
  font-weight: 800;
}

.partners-associato p {
  margin-bottom: 30px;
}

.partners-associato .partners-grid__item img {
  filter: none;
  opacity: 1;
  max-height: 130px;
}

@media (max-width: 768px) {
  .partners-section {
    padding: 60px 0;
  }

  .grid-7 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* FOOTER */

/* ===== FASCIA BIANCA ===== */
.footer-white {
  background: var(--body-bg);
  padding: 80px 20px;
}

footer .sub-menu {
	display: none !important;
}

.footer-title {
  color: white;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
}

.footer-title--dark {
  color: var(--text-color);
}

.footer-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.footer-text--dark {
  color: var(--text-color);
}

/* social icone brand */
.footer-social__icon {
  font-size: 38px;
  color: var(--primary);
  text-decoration: none;
  line-height: 1;
  transition: all 0.3s ease;
}

.footer-social__icon:hover {
  color: var(--text-color);
  transform: translateY(-3px);
}

.footer-social__icon--white {
  color: white;
  font-size: 28px;
}

.footer-social__icon--white:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social__list {
  flex-direction: row;
}

/* newsletter card rossa */
.footer-newsletter {
  background: var(--primary);
  border-radius: 24px;
  padding: 40px 45px;
  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.25);
}

.footer-newsletter__label {
  display: block;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.footer-newsletter__form {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
}

.footer-newsletter__form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  background: transparent;
}

.footer-newsletter__form button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-newsletter__form button:hover {
  background: var(--text-color);
}

/* ===== FASCIA ROSSA ===== */
.footer-red {
  background: var(--primary);
  color: white;
  padding: 70px 20px 30px;
}

.footer-red p,
.footer-red a {
  color: white;
}

.footer-red a {
  text-decoration: none;
}

.footer-red a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-info {
  padding-bottom: 50px;
}

.footer-info__col p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  margin-bottom: 5px;
}

.footer-info__title {
  color: white;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-info__title i {
  margin-right: 8px;
  font-size: 20px;
}

.footer-org__logo img {
  max-width: 180px;
  margin-bottom: 15px;
}

.footer-org__phone {
  color: white;
  font-size: 16px;
}

/* menu colonne */
.footer-menu-cols {
  padding-bottom: 50px;
}

.footer-menu-cols .title-widget {
  color: white;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid white;
  display: inline-block;
}

.footer-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height:1;
}

.footer-menu-col li {
  list-style: none;
  margin-bottom: 14px;
}

.footer-menu-col a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-menu-col a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* copyright */
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 25px;
}

.footer-copy,
.footer-copy div,
.footer-copy a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy a:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-white {
    padding: 50px 0;
  }

  .footer-newsletter {
    padding: 35px 25px;
  }

  .footer-red {
    padding: 50px 0 30px;
	  margin-top:80px;
  }

  .footer-info {
    gap: 30px;
    padding-bottom: 40px;
  }

  .footer-copy {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
}



/* PAGINA CONTATTI */


.contact-page__head {
  margin-bottom: 50px;
}

.contact-page__head h6 {
  font-weight: 700;
}

.title-page {
  font-weight: 800;
  margin-bottom: 0;
}

.contact-page__body {
  align-items: flex-start;
}

.contact-page__sidebar .title-sidebar {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-page__sidebar > div {
  margin-bottom: 30px;
}

@media (max-width: 768px) {


  .contact-page__head {
    margin-bottom: 30px;
  }
}

/* PAGINA FAQ */




.faq-page__content {
  margin-bottom: 40px;
}

.faq-wrap {
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-item__question {
  list-style: none;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.faq-item-1 .faq-item__question {
  padding: 0 0 25px !important;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question:hover {
  color: var(--primary);
}

.faq-item__question i {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__question i {
  transform: rotate(180deg);
}

.faq-item__inner {
  padding: 0 0 25px;
  font-size: 17px;
  line-height: 1.5;
}

.faq-item__inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {


  .faq-item__question {
    font-size: 17px;
  }
}


/* PAGINA GALLERY */


.gallery-page__head {
  margin-bottom: 40px;
}

.gallery-page__head h6 {
  font-weight: 700;
}

.gallery-page__content {

  margin-bottom: 40px;
}

/* radio nascosti */
.gallery-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* nav */
.gallery-tabs__nav {
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid #ddd;
}

.gallery-tabs__label {
  padding: 12px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s ease;
}

.gallery-tabs__label:hover {
  color: var(--primary);
}

/* pannelli: nascosti di default */
.gallery-tabs__panel {
  display: none;
}

.gallery-tabs__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0 !important;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-tabs__item {
  overflow: hidden;
  border-radius: 12px;
  display: block;
}

.gallery-tabs__item:hover img {
  transform: scale(1.05);
}

/*
  Collega radio → label attiva + pannello visibile.
  Ripeti i blocchi per quante tab (fino a 6 qui).
*/
#tab-0:checked ~ .gallery-tabs__nav label[for="tab-0"] { color: var(--primary); border-bottom-color: var(--primary); }

.gallery-tabs__radio:nth-of-type(1):checked ~ .gallery-tabs__panels .gallery-tabs__panel:nth-of-type(1),
.gallery-tabs__radio:nth-of-type(2):checked ~ .gallery-tabs__panels .gallery-tabs__panel:nth-of-type(2),
.gallery-tabs__radio:nth-of-type(3):checked ~ .gallery-tabs__panels .gallery-tabs__panel:nth-of-type(3),
.gallery-tabs__radio:nth-of-type(4):checked ~ .gallery-tabs__panels .gallery-tabs__panel:nth-of-type(4),
.gallery-tabs__radio:nth-of-type(5):checked ~ .gallery-tabs__panels .gallery-tabs__panel:nth-of-type(5),
.gallery-tabs__radio:nth-of-type(6):checked ~ .gallery-tabs__panels .gallery-tabs__panel:nth-of-type(6) {
  display: block;
}

.gallery-tabs__radio:nth-of-type(1):checked ~ .gallery-tabs__nav label:nth-of-type(1),
.gallery-tabs__radio:nth-of-type(2):checked ~ .gallery-tabs__nav label:nth-of-type(2),
.gallery-tabs__radio:nth-of-type(3):checked ~ .gallery-tabs__nav label:nth-of-type(3),
.gallery-tabs__radio:nth-of-type(4):checked ~ .gallery-tabs__nav label:nth-of-type(4),
.gallery-tabs__radio:nth-of-type(5):checked ~ .gallery-tabs__nav label:nth-of-type(5),
.gallery-tabs__radio:nth-of-type(6):checked ~ .gallery-tabs__nav label:nth-of-type(6) {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 768px) {


  .gallery-tabs__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .gallery-tabs__label {
    padding: 10px 18px;
    font-size: 14px;
  }
}


/* PAGINA INFO UTILI */


.info-page__body {
  align-items: flex-start;
}

.info-page__content h6 {
  font-weight: 700;
}

.info-page__content .title-page {
  margin-bottom: 30px;
}

.info-page__sidebar > div{
  background: var(--terziary);
  border-radius: 16px;
  padding: 35px 30px;
  margin-bottom: 25px;
}

.info-page__sidebar .title-sidebar {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.info-page__sidebar > div {
  margin-bottom: 25px;
}

.info-page__sidebar > div:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {

}

/* PAGINA MAGAZINE */


.magazine-page__head {
  margin-bottom: 40px;
}

.magazine-page__head h6 {
  font-weight: 700;
}

.magazine-page__content {
  
  margin-bottom: 50px;
}

.magazine-card {
  display: flex;
  flex-direction: column;
}

.magazine-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.magazine-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.magazine-card__cover {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.magazine-card:hover .magazine-card__cover {
  transform: translateY(-5px);
}

.magazine-card__cover img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0 !important;
}

/* box media kit */
.magazine-mediakit {
  background: var(--terziary);
  border-radius: 12px;
  padding: 40px 30px;
  min-height: 100%;
  text-align: center;
	margin-top:60px;
}

.magazine-mediakit__btn {
  border-radius: 50px;
  text-align: center;
}

.magazine-mediakit__btn i {
  margin-left: 8px;
}

@media (max-width: 768px) {

}

/* PAGINA OFFERTA PERSONALIZZATA */


.offerta-page__body {
  align-items: flex-start;
  justify-content: space-between;
}

.offerta-page__content h6 {
  font-weight: 700;
}

.offerta-page__content .title-page {
  margin-bottom: 30px;
}

.offerta-page__sidebar {
  background: var(--terziary);
  border-radius: 16px;
  padding: 35px 30px;
}

.offerta-page__sidebar .title-sidebar {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.offerta-page__sidebar > div {
  margin-bottom: 25px;
}

.offerta-page__sidebar > div:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {


  .offerta-page__body {
    flex-direction: column;
  }
}

/* PAGINA PLANIMETRIA */

.planimetria-intro {
  margin: 0 0 40px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary, #555);
}

.planimetria-page__head {
  margin-bottom: 40px;
}

.planimetria-page__head h6 {
  font-weight: 700;
}

.planimetria-item__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #eee;
  background: var(--terziary);
}

.planimetria-item__link img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0 !important;
  transition: transform 0.4s ease;
}

.planimetria-item__link:hover img {
  transform: scale(1.03);
}

.planimetria-item__zoom {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.planimetria-item__link:hover .planimetria-item__zoom {
  opacity: 1;
  transform: scale(1);
}

.planimetria-item__title {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 0;
}



/* PAGINA RASSEGNA STAMPA */


.rassegna-page__body {
  align-items: flex-start;
}

.rassegna-page__head {
  margin-bottom: 30px;
}

.rassegna-page__head h6 {
  font-weight: 700;
}

.rassegna-page__content {
  margin-bottom: 40px;
}

/* radio nascosti */
.press-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* nav */
.press-tabs__nav {
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid #ddd;
}

.press-tabs__label {
  padding: 12px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s ease;
}

.press-tabs__label:hover {
  color: var(--primary);
}

/* pannelli nascosti di default */
.press-tabs__panel {
  display: none;
}

/* collega radio → pannello + label attiva (fino a 8 anni) */
.press-tabs__radio:nth-of-type(1):checked ~ .press-tabs__panels .press-tabs__panel:nth-of-type(1),
.press-tabs__radio:nth-of-type(2):checked ~ .press-tabs__panels .press-tabs__panel:nth-of-type(2),
.press-tabs__radio:nth-of-type(3):checked ~ .press-tabs__panels .press-tabs__panel:nth-of-type(3),
.press-tabs__radio:nth-of-type(4):checked ~ .press-tabs__panels .press-tabs__panel:nth-of-type(4),
.press-tabs__radio:nth-of-type(5):checked ~ .press-tabs__panels .press-tabs__panel:nth-of-type(5),
.press-tabs__radio:nth-of-type(6):checked ~ .press-tabs__panels .press-tabs__panel:nth-of-type(6),
.press-tabs__radio:nth-of-type(7):checked ~ .press-tabs__panels .press-tabs__panel:nth-of-type(7),
.press-tabs__radio:nth-of-type(8):checked ~ .press-tabs__panels .press-tabs__panel:nth-of-type(8) {
  display: block;
}

.press-tabs__radio:nth-of-type(1):checked ~ .press-tabs__nav label:nth-of-type(1),
.press-tabs__radio:nth-of-type(2):checked ~ .press-tabs__nav label:nth-of-type(2),
.press-tabs__radio:nth-of-type(3):checked ~ .press-tabs__nav label:nth-of-type(3),
.press-tabs__radio:nth-of-type(4):checked ~ .press-tabs__nav label:nth-of-type(4),
.press-tabs__radio:nth-of-type(5):checked ~ .press-tabs__nav label:nth-of-type(5),
.press-tabs__radio:nth-of-type(6):checked ~ .press-tabs__nav label:nth-of-type(6),
.press-tabs__radio:nth-of-type(7):checked ~ .press-tabs__nav label:nth-of-type(7),
.press-tabs__radio:nth-of-type(8):checked ~ .press-tabs__nav label:nth-of-type(8) {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* sidebar */
.rassegna-page__sidebar {
  background: var(--terziary);
  border-radius: 16px;
  padding: 35px 30px;
}

.rassegna-page__sidebar .title-sidebar {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

@media (max-width: 768px) {

  .rassegna-page__body {
    flex-direction: column;
  }

  .press-tabs__label {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* PAGINA VIDEO */


.video-page__head {
  margin-bottom: 40px;
}

.video-page__head h6 {
  font-weight: 700;
}

.video-page__content {

  margin-bottom: 40px;
}

/* radio nascosti */
.video-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* nav */
.video-tabs__nav {
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid #ddd;
}

.video-tabs__label {
  padding: 12px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s ease;
}

.video-tabs__label:hover {
  color: var(--primary);
}

/* pannelli nascosti di default */
.video-tabs__panel {
  display: none;
}

/* collega radio → pannello + label attiva (fino a 8 tab) */
.video-tabs__radio:nth-of-type(1):checked ~ .video-tabs__panels .video-tabs__panel:nth-of-type(1),
.video-tabs__radio:nth-of-type(2):checked ~ .video-tabs__panels .video-tabs__panel:nth-of-type(2),
.video-tabs__radio:nth-of-type(3):checked ~ .video-tabs__panels .video-tabs__panel:nth-of-type(3),
.video-tabs__radio:nth-of-type(4):checked ~ .video-tabs__panels .video-tabs__panel:nth-of-type(4),
.video-tabs__radio:nth-of-type(5):checked ~ .video-tabs__panels .video-tabs__panel:nth-of-type(5),
.video-tabs__radio:nth-of-type(6):checked ~ .video-tabs__panels .video-tabs__panel:nth-of-type(6),
.video-tabs__radio:nth-of-type(7):checked ~ .video-tabs__panels .video-tabs__panel:nth-of-type(7),
.video-tabs__radio:nth-of-type(8):checked ~ .video-tabs__panels .video-tabs__panel:nth-of-type(8) {
  display: block;
}

.video-tabs__radio:nth-of-type(1):checked ~ .video-tabs__nav label:nth-of-type(1),
.video-tabs__radio:nth-of-type(2):checked ~ .video-tabs__nav label:nth-of-type(2),
.video-tabs__radio:nth-of-type(3):checked ~ .video-tabs__nav label:nth-of-type(3),
.video-tabs__radio:nth-of-type(4):checked ~ .video-tabs__nav label:nth-of-type(4),
.video-tabs__radio:nth-of-type(5):checked ~ .video-tabs__nav label:nth-of-type(5),
.video-tabs__radio:nth-of-type(6):checked ~ .video-tabs__nav label:nth-of-type(6),
.video-tabs__radio:nth-of-type(7):checked ~ .video-tabs__nav label:nth-of-type(7),
.video-tabs__radio:nth-of-type(8):checked ~ .video-tabs__nav label:nth-of-type(8) {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* card video */
.video-card {
  text-decoration: none;
  display: block;
}

.video-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0 !important;
  display: block;
  transition: transform 0.4s ease;
}

.video-card:hover .video-card__thumb img {
  transform: scale(1.05);
}

.video-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 3px;
  transition: all 0.3s ease;
}

.video-card:hover .video-card__play {
  transform: scale(1.1);
  background: var(--secondary);
}

.video-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 15px 0 0;
  transition: color 0.3s ease;
}

.video-card:hover .video-card__title {
  color: var(--primary);
}

@media (max-width: 768px) {


  .video-tabs__label {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* ARCHIVE */


.archive-page__body {
  align-items: flex-start;
}

.archive-page__head {
  margin-bottom: 40px;
}

.archive-page__head h6 {
  font-weight: 700;
}

/* articolo */
.archive-article {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 30px 35px;
  margin-bottom: 20px;
  background: var(--terziary);
  transition: all 0.3s ease;
}

.archive-article:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.archive-article__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.archive-article__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.archive-article:hover .archive-article__title {
  color: var(--primary);
}

.archive-article__excerpt p {
  margin-bottom: 15px;
}

.archive-article__more {
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
}

.archive-article__more i {
  margin-left: 5px;
  font-size: 13px;
  transition: transform 0.3s ease;
}

.archive-article:hover .archive-article__more i {
  transform: translateX(4px);
}

/* sidebar */
/* SIDEBAR GENERICA — riusa .sidebar > div già esistente nel CSS base */

.sidebar > div:last-child {
  margin-bottom: 0;
}

/* blocco date/orari */
.sidebar-dates__item {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid #e2e2e2;
}

.sidebar-dates__item:first-child {
  padding-top: 0;
}

.sidebar-dates__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-dates__day {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-color);
}

.sidebar-dates__time {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 3px;
}

/* blocco CTA doppio — non ha bisogno dello sfondo .sidebar > div */
.sidebar-cta {
  background: transparent !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-cta__btn {
  width: 100%;
  text-align: center;
  border-radius: 50px;
}

/* outline-dark leggibile su sfondo chiaro .sidebar > div */
.sidebar .btn__outline-dark {
  border: 1px solid var(--text-color);
  color: var(--text-color) !important;
}

.sidebar .btn__outline-dark:hover {
  color: var(--text-color) !important;
}

/* lista link con freccia */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  list-style: none;
  border-bottom: 1px solid #e2e2e2;
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-links a i {
  font-size: 13px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.sidebar-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.sidebar-links a:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .sidebar > div {
    margin-bottom: 20px;
  }
}

/* paginazione */
.pagination-archive ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  flex-wrap: wrap;
}

.pagination-archive li {
  list-style: none;
}

.pagination-archive li a,
.pagination-archive li.active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--terziary);
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination-archive li a:hover {
  background: var(--primary);
  color: white;
}

.pagination-archive li.active {
  background: var(--primary);
  color: white;
}

@media (max-width: 768px) {

  .archive-page__body {
    flex-direction: column;
  }

  .archive-article {
    padding: 25px;
  }
}

/* CONTACT FORM 7 */
.wpcf7 {
  max-width: 700px;
}

.wpcf7 form > p {
  margin-bottom: 0;
}

.wpcf7 label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-color);
 
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

/* input, textarea, select */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-color);
  background: white;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #999;
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7 select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23E30613' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
  cursor: pointer;
}

/* checkbox e radio */
.wpcf7 .wpcf7-checkbox .wpcf7-list-item,
.wpcf7 .wpcf7-radio .wpcf7-list-item {
  display: block;
  margin: 0 0 10px;
}

.wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* acceptance (privacy) */
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.wpcf7 .wpcf7-acceptance a {
  color: var(--primary);
  text-decoration: underline;
}

/* submit — riusa lo stile .btn del tema */
.wpcf7 input[type="submit"] {
  padding: 14px 40px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* spinner */
.wpcf7 .wpcf7-spinner {
  margin-left: 12px;
}

/* messaggi di risposta */
.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 15px 20px !important;
  border-radius: 10px;
  border: none !important;
  font-size: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(40, 167, 69, 0.1);
  color: #1e7e34;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: rgba(227, 6, 19, 0.1);
  color: var(--primary);
}

/* errori sui singoli campi */
.wpcf7 .wpcf7-not-valid {
  border-color: var(--primary) !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

/* PAGE.PHP */

/* .gustus-page-wrapper {
	padding:80px 0;
} */

.page-hero__eyebrow {
	color: var(--primary);
	font-size: 14px;
	    margin-bottom: 10px;
	font-weight: 700;
  display: none;
}

.page-hero {
    	padding: 0px 0 60px 0;
}

.breadcrumb {
    font-size:14px;
    font-style: italic;
    color: rgba(0,0,0,0.65);
}

.sidebar > div {
	    background: var(--terziary);
    border-radius: 16px;
    padding: 15px 20px;
	margin-bottom: 25px;
}

.sidebar p {
	margin-bottom: 5px;
}


/* ELENCO ESPOSITORI */

.um.um-register {
  max-width: 100% !important;
}


.elenco-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 780px !important;
}

.elenco-table th {
  text-align: left;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  padding: 15px 20px;
  border-bottom: 2px solid var(--primary);
}

.elenco-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
}

.elenco-table tr:hover td {
  background: #f7f7f7;
}

.elenco-table td:first-child span {
  font-weight: 700;
  transition: color 0.2s ease;
}

.elenco-table tr:hover td:first-child span {
  color: var(--primary);
}

.elenco-table tbody tr:nth-child(even) {
  background:#1717160a;
}

.language .transposh_flags,
.language span:not(select) {
  display: none;
}


/* BLOG HOME - GRID ARTICOLI */
.blog-grid {
  margin-bottom: 60px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-card__thumb-link {
  display: block;
}

.blog-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0 !important;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.06);
}

.blog-card__category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 50px;
}

.blog-card__body {
  padding: 25px 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-card__meta-sep {
  margin: 0 6px;
}

.blog-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card__title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title a {
  color: var(--primary);
}

.blog-card__excerpt {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 20px;
  flex: 1;
}

.blog-card__more {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;

}

.blog-card__title {
	margin-top: 0 !important;
}

.blog-card__more i {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.blog-card__more:hover i {
  transform: translateX(4px);
}

.blog-empty {
  padding: 80px 0;
  text-align: center;
  color: #999;
  font-size: 18px;
}

/* Responsive: 3 -> 2 -> 1 colonne */
@media (max-width: 1024px) {
  .blog-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid.grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
	
	.blog-card__title {
		margin-top: 0 !important;
	}

  .blog-card__body {
    padding: 0 20px 20px;
  }
}

/* SINGLE POST */
.single-hero {
  padding-bottom: 30px;
}

.single-meta {
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: #999;
  font-weight: 500;
  margin-bottom: 15px;
}

.single-meta i {
  color: var(--primary);
  margin-right: 5px;
}

.single-featured {
  margin-bottom: 60px;
}

.single-featured__img {
  width: 100% !important;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 0 !important;
  display: block;
}

.single-content {
  font-size: 18px;
  line-height: 1.7;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  margin-top: 40px;
}

.single-content img {
  border-radius: 12px;
}

.single-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 10px 0 10px 25px;
  margin: 30px 0;
  font-style: italic;
  font-size: 20px;
  color: var(--text-color);
}

.page-links {
  margin: 30px 0;
  font-weight: 600;
}

/* condivisione social */
.single-share {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 30px 0;
  margin: 40px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.single-share__label {
  font-weight: 700;
  font-size: 15px;
}

.single-share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terziary);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.single-share a:hover {
  background: var(--primary);
  color: white;
}

/* box autore */
.single-author {
  align-items: center;
  background: var(--terziary);
  border-radius: 16px;
  padding: 25px 30px;
  margin-bottom: 40px;
}

.single-author__avatar {
  border-radius: 50%;
  flex-shrink: 0;
}

.single-author .avatar {
	  max-width: 50px;
  width: 50px !important;
  height: auto;
  display: block;
  margin-bottom: 0 !important;
}

.single-author__label {
  font-size: 13px;
  color: #999;
  display: block;
  margin-bottom: 4px;
}

.single-author__name {
  font-size: 18px;
  margin: 0 !important;
}

/* nav prev/next */
.single-nav {
  margin-bottom: 60px;
}

.single-nav__item {
  flex: 1;
  padding: 20px 25px;
  border: 1px solid #eee;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}

.single-nav__item:hover {
  border-color: var(--primary);
  background: var(--terziary);
}

.single-nav__next {
  text-align: right;
  align-items: flex-end;
}

.single-nav__dir {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-nav__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
}

/* correlati */
.single-related {
  margin-bottom: 60px;
}

.single-related__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
}

.single-related .blog-grid {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .single-related .blog-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .single-featured__img {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
	
	.single-featured {
		margin-bottom: 20px !important;
	}

  .single-content {
    font-size: 17px;
  }

  .single-meta {
    gap: 12px !important;
    font-size: 13px;
  }

  .single-author {
    padding: 20px;
  }

  .single-nav {
    flex-direction: column !important;
  }

  .single-nav__next {
    text-align: left;
    align-items: flex-start;
  }

  .single-related .blog-grid.grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* DOUBLE CTA - coppia bottoni affiancati */
.double-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fill-btn.special {
  padding: 12px 35px !important;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  width: 100%;
  border-radius: 50px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color 0.3s ease;
  background: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
}

.fill-btn.special::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text-color);
  z-index: -1;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.fill-btn.special:hover::before {
  clip-path: polygon(0 0, 100% 0, calc(100% + 40px) 100%, 0 100%);
}

.fill-btn.special:hover {
  color: white !important;
}

/* variante piena (rossa) */
.fill-btn.special.special-two {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.fill-btn.special.special-two::before {
  background: var(--secondary);
}

.fill-btn.special.special-two:hover {
  color: white !important;
}

.textwidget p {
  margin-bottom: 5px;
}



.page-hero { padding: 55px 0 40px; border-bottom: 1px solid #ececec; margin-bottom: 40px; }
.page-hero .container {
  padding-left: 20px;
  border-left: 4px solid var(--primary);
}
.page-hero__eyebrow { margin-bottom: 8px; }
.breadcrumb { margin-top: 12px; }


.breadcrumb {
  font-style: normal;
  font-size: 13px;
  background: var(--terziary);
  padding: 6px 14px;
  border-radius: 50px;
  width: fit-content;
}

.category .blog-card__thumb {
  display: none;
}

.customform p {
	margin-bottom: 0 !important;
}
@media(max-width:768px){
.customform .gap-20 {
	gap: 0 !important;
}
	
	.single-meta {
		flex-direction: row !important;
	}
}




/* ULTIMATE MEMBER: submit colore primario */
.um input[type="submit"].um-button,
.um input[type="submit"].um-button:focus,
.um a.um-button {
  background: var(--primary) !important;
  color: #fff !important;
}

.um input[type="submit"].um-button:hover,
.um a.um-button:hover {
  background: var(--secondary) !important;
  color: #fff !important;
}

/* I pulsanti secondari (um-alt) restano neutri */
.um input[type="submit"].um-button.um-alt,
.um a.um-button.um-alt {
  background: #eee !important;
  color: #666 !important;
}


.um-field-checkbox.um-field-half {
	width: 100% !important;
}

a.iubenda-tp-btn.iubenda-cs-preferences-link {
	display: none !important;
}

button.iubenda-tp-btn.iubenda-cs-preferences-link {
	display: none !important;
}


/* Paginazione archivio: riga intera, in fondo alla griglia, centrata */
body[class*="category-comunicati-stampa-"] .pagination-archive {
  display: none !important;
}


.iubenda-tp-alert-btn[data-tp-icon=data-tp-icon], .iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-icon=data-tp-icon], .iubenda-uspr-btn[data-tp-icon=data-tp-icon] {
  display: none !important;
	opacity:0 !important;
}