/*
Theme Name: BMT 2026
Author: Mutart
Author URI: https://mutart.it/
Text Domain: bmt2026
*/

@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  --primary: #0D294B;
  --secondary: #D3AE5B;
  --terziary: #F3F7FB;
  --accent-blue: #1C5C8C;
  --text-color: #110E0D;
  --body-bg: #FFFEFD;
  --br: 8px;
  --font-body: "Mulish", sans-serif;
  --font-accent: "Mulish", sans-serif;
  --font-heading: "Mulish", 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%;
}

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */

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

h1 {
  font-size: clamp(32px, 5vw, 38px);
}

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

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

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

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

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;
}

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

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

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

.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;
}

.eyebrow {
  display: block;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

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

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

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

.flex {
  display: flex;
}



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

.relative {
  position: relative;
}

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

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

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

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

.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); }

.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-50 { gap: 50px; }
.gap-100 { gap: 100px; }

.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-65 { width: 65%; }
.w-66 { width: 66.6667%; }
.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) {
  .flex {
    flex-direction: column;
  }

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

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

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

  .gap-100 {
    gap: 50px;
  }

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

@media (max-width: 768px) {
  [class^="w-"],
  [class*=" w-"] {
    width: 100%;
  }

  [class^="w-"]:not(:is([class^="w-"], [class*=" w-"]) *),
  [class*=" w-"]:not(:is([class^="w-"], [class*=" w-"]) *) {
    padding-left: 15px !important;
    padding-right: 15px !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; }

  h6 {
    font-size: 17px;
  }

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

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

button {
  border: 0;
}

.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;
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-position 0.5s ease,
    color 0.3s ease;
}

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

/* Riflesso di luce */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
}

.btn:hover::after {
  left: 125%;
  transition: left 0.7s ease;
}

.btn:active {
  transform: translateY(0);
}

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

.btn:hover i {
  transform: translateX(5px);
}

/* Varianti */
.btn__primary {
  background-image: linear-gradient(45deg, #065093, #55B2DF, #065093);
  color: white;
  border-radius: var(--br);
}

.btn__primary:hover {
  box-shadow: 0 10px 24px rgba(6, 80, 147, 0.3);
}

.btn__secondary {
  background-image: linear-gradient(45deg, #B78A34, #E7C977, #B78A34);
  color: white;
  border-radius: var(--br);
}

.btn__secondary:hover {
  box-shadow: 0 10px 24px rgba(183, 138, 52, 0.35);
}

.btn__accent {
  background-color: var(--accent-blue);
  color: white;
  border-radius: var(--br);
}

.btn__accent:hover {
  background-color: var(--primary);
  box-shadow: 0 10px 24px rgba(13, 41, 75, 0.3);
}

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

.btn__terziary:hover {
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(13, 41, 75, 0.12);
}

.btn__primary:hover,
.btn__secondary:hover,
.btn__accent:hover {
  color: white !important;
}

/* Outline: riempimento dal basso */
.btn__outline,
.btn__outline-dark {
  background: transparent;
  color: white;
}

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

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

.btn__outline::before,
.btn__outline-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn__outline::before { background: var(--terziary); }
.btn__outline-dark::before { background: white; }

.btn__outline:hover::before,
.btn__outline-dark:hover::before {
  transform: scaleY(1);
}

.btn__outline:hover,
.btn__outline-dark:hover {
  color: var(--primary) !important;
  border-color: white;
}

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

.home-hero__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  width: 50%;
  align-items: flex-start;
  text-align: left;
  min-width: 260px;
  padding: 22px 28px;
  border-radius: var(--br);
  text-decoration: none;
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-position 0.6s ease;
}

.home-hero__cta--gold {
  background-image: linear-gradient(45deg, #B78A34, #E7C977, #B78A34);
  color: white;
}

.home-hero__cta--blue {
  background-image: linear-gradient(45deg, #065093, #55B2DF, #065093);
  color: white;
}

/* Riflesso di luce */
.home-hero__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}

.home-hero__cta:hover {
  color: white;
  transform: translateY(-4px);
  background-position: 100% 50%;
}

.home-hero__cta--gold:hover {
  box-shadow: 0 16px 36px rgba(183, 138, 52, 0.4);
}

.home-hero__cta--blue:hover {
  box-shadow: 0 16px 36px rgba(6, 80, 147, 0.4);
}

.home-hero__cta:hover::after {
  left: 125%;
  transition: left 0.8s ease;
}

.home-hero__cta:active {
  transform: translateY(-1px);
}

/* Freccia in cerchio */
.home-hero__cta i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.home-hero__cta:hover i {
  transform: translateX(6px);
  background: white;
}

.home-hero__cta--gold:hover i { color: #B78A34; }
.home-hero__cta--blue:hover i { color: #065093; }

.home-hero__cta .cta-text {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__cta,
  .home-hero__cta::after,
  .home-hero__cta i {
    transition: none !important;
  }
}

/* ==========================================================================
   SUBMIT FORM (form standard, Ultimate Member, Contact Form 7)
   ========================================================================== */

input[type="submit"],
button[type="submit"],
.um-button,
.wpcf7-submit {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  background-image: linear-gradient(45deg, rgb(6, 80, 147), rgb(85, 178, 223));
  color: #fff !important;
  border: none;
  border-radius: var(--br);
  padding: 12px 35px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  width: fit-content;
  transition: filter 0.3s ease;
}

.um .um-form input[type=text], .um .um-form input[type=search], .um .um-form input[type=tel], .um .um-form input[type=password], .um .um-form textarea {
	border-radius: var(--br) !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.um-button:hover,
.wpcf7-submit:hover {
  filter: brightness(0.9);
  color: #fff !important;
}

.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);
	width: 50%;
}

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

 .btn-cta .fa-solid.fa-arrow-right{
	    background: #ffffff33;
    padding: 8px;
    border-radius: 100%;
}

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

i {
  transition: all 0.2s linear;
}

/* ==========================================================================
   SPLIDE
   ========================================================================== */

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

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

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

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

@media (max-width: 768px) {
  .splide__arrow--next {
    right: -1em !important;
  }
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */

.site-header {
  background: var(--primary);
  position: relative;
  z-index: 100;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo-img {
  display: block;
  height: 44px;
  margin: 0 !important;
  width: 200px !important;
}

.site-header__logo-text {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: #FFFEFD;
  letter-spacing: -1px;
}

.site-header__logo-text em {
  font-style: normal;
  color: var(--secondary);
  margin-left: 2px;
}

.site-header__divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.site-header__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.site-header__title {
  color: #FFFEFD;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.site-header__edition,
.site-header__dates {
  display: block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.site-header__dates {
  font-weight: 800;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.site-header__partners {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header__partners img {
  margin:0 !important;
}

.site-header__partner-logo {
  display: block;
  height: 26px;
  width: auto;
}

.site-header__countdown {
  color: #FFFEFD;
  font-size: 13px;
  white-space: nowrap;
}

.site-header__countdown strong {
  color: var(--secondary);
  font-size: 15px;
}

.site-header__cta.btn {
  padding: 12px 24px !important;
  border-radius: 30px;
  background: var(--secondary) !important;
  color: white !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header__nav {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  padding: 14px 0;
	justify-content: center;
	margin: 0;
}

.site-header__menu > li > a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header__menu > li:hover > a,
.site-header__menu > li.current-menu-item > a,
.site-header__menu > li.current_page_item > a {
  color: #FFFEFD;
  border-bottom-color: var(--secondary);
}

.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 101;
}

.site-header__burger .line {
  display: block;
  height: 2px;
  width: 100%;
  background: #FFFEFD;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__burger[aria-expanded="true"] .line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__burger[aria-expanded="true"] .line:nth-child(2) {
  opacity: 0;
}

.site-header__burger[aria-expanded="true"] .line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__mobile-nav {
  display: none;
}

@media (max-width: 992px) {
  .site-header__meta,
  .site-header__partners,
  .site-header__countdown,
  .site-header__nav {
    display: none;
  }

  .site-header__logo-img {
    max-width: 200px !important;
  }

  .site-header__burger {
    display: flex;
  }

  .site-header__top {
    padding: 14px 0;
  }

  .site-header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    top: 0;
    right: 0;
    min-height: 100vh;
    width: min(320px, 85vw);
    background: var(--primary);
    padding: 90px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    z-index: 99;
  }

  .site-header__mobile-nav.is-open {
    transform: translateX(0);
  }

  .site-header__mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding-left: 0;
  }

  .site-header__mobile-menu > li > a {
    display: block;
    color: #FFFEFD;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header__mobile-nav .btn {
    margin-top: 20px;
    text-transform: uppercase;
  }

  body.site-header-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .site-header__logo-img {
    height: 34px;
  }

  .site-header__logo-text {
    font-size: 26px;
  }
}

/* ==========================================================================
   SITE HEADER — SUBMENU DESKTOP
   ========================================================================== */

.site-header__menu li {
  position: relative;
}

.site-header__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--primary);
  border-radius: 0 0 var(--br) var(--br);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  list-style: none;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 10;
}

.site-header__menu li:hover > .sub-menu,
.site-header__menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header__menu .sub-menu li {
  width: 100%;
	list-style: none;
}

.sub-menu ul {
	list-style:none;
}

.sub-menu a {
	text-decoration: none;
	text-transform: uppercase;
	font-size:18px;
}

.site-header__menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
  border-bottom: none;
  white-space: nowrap;
}

.site-header__menu .sub-menu a:hover {
  color: #FFFEFD;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: none;
}

.site-header__menu .menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header__menu .menu-item-has-children > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  transition: transform 0.25s ease;
}

.site-header__menu .menu-item-has-children:hover > a::after,
.site-header__menu .menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
}

.site-header__menu .sub-menu .menu-item-has-children > a::after {
  transition: transform .2s;
}

.site-header__menu .sub-menu .menu-item-has-children:hover > a::after {
  transform: rotate(-90deg);
}

/* nested sub-menu (livello 3) */
.site-header__menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* ==========================================================================
   SITE HEADER — SUBMENU MOBILE
   ========================================================================== */

.site-header__mobile-menu li {
  width: 100%;
}

.site-header__mobile-menu .sub-menu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 16px;
  margin-bottom: 10px;
}

.site-header__mobile-menu .sub-menu.is-open {
  max-height: 600px;
}

.site-header__mobile-menu .sub-menu a {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
  .site-header__mobile-menu .sub-menu a {
    font-size: 16px;
    margin-bottom:10px;
    display:block;
  }
}

.site-header__mobile-menu .menu-item-has-children {
  position: relative;
}

.site-header__mobile-menu .menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 48px;
}

.site-header__mobile-menu .submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFEFD;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.site-header__mobile-menu .submenu-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.home .site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0px;
}

footer .menu-espositori-container {
  margin-bottom: 40px;
}

.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 70px 0 50px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__logo img {
  display: block;
  height: 65px !important;
  width: auto;
}

.site-footer__logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #FFFEFD;
}

.site-footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  max-width: 32ch;
  margin-bottom: 0px;
}

.site-footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.site-footer__social-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__social-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none !important;
}

.site-footer__social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFEFD;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-footer__social-list a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

.site-footer__social-list li {
	list-style: none !important;
}

.site-footer__social-fallback {
  font-size: 10px;
  font-weight: 700;
}

.site-footer__col .title-widget {
  color: #FFFEFD;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.site-footer__col a, .site-footer__col p {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

footer ul {
  padding-left: 0;
}

footer .date-field p{
	color: white;
}

footer .sub-menu {
	display: none;
}

.site-footer__col a:hover {
  color: var(--secondary);
}

.site-footer__col--info {
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__col--info p {
  margin-bottom: 12px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: var(--secondary);
  text-decoration: underline;
}



.site-footer__legal-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.site-footer__legal-menu a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
}

.site-footer__legal-menu a:hover {
  color: var(--secondary);
}

@media (max-width: 992px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    padding: 50px 0 30px;
  }

  .site-footer__col a, .site-footer__col p {
    font-size: 16px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   HOME — HERO
   ========================================================================== */

.home-hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  background-image: url(https://bmtnapoli.com/wp-content/themes/bmtnapoli/asset/img/bmtintro.jpg);
  background-size: cover;
  background-position: center;
  color: #FFFEFD;
  text-align: center;	

}

.cta-main-wrapper {
	position: absolute;
	bottom:-50px;
	z-index:100;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 41, 75, 0.55) 0%, rgba(13, 41, 75, 0.85) 100%);
}

.home-hero__content {
  z-index: 1;
  padding: 100px 20px;
}

@media (max-width: 768px) {
  .home-hero__content {
    padding: 0px 0px 100px;
  }

  .cta-main-wrapper {
    bottom: -120px;
  }
}

.home-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  color: white;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.home-hero__title--gold {
  color: var(--secondary);
}

.home-hero__subtitle {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 640px;
  margin-bottom: 24px;
  opacity: 0.95;
  color: white;
}

.home-hero__venue {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: white;
}

.home-hero__dates {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-bottom: 40px;
  line-height: 1.5;
}

.home-hero__cta {
  display: flex;
  width: 50%;
  align-items: flex-start;
  text-align: left;
  min-width: 260px;
  padding: 22px 28px;
  border-radius: var(--br);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.home-hero__cta--gold {
  background-image: linear-gradient(45deg, #B78A34, #E7C977);
  color: white;
}

.home-hero__cta--blue {
  background-image: linear-gradient(45deg, #065093, #55B2DF);
  color: white;
}

.home-hero__cta-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-hero__cta-sub {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
}

@media (max-width: 768px) {
.home-hero__cta-sub {
  display: none;
}
	
	.home-hero__cta-title {
		font-size: 18px;
	}
}

/* ==========================================================================
   HOME — NUMERI
   ========================================================================== */

.home-counters {
  background: var(--terziary);
  text-align: center;
  padding: 120px 0 70px 0;
}

.home-counters h6 {
  text-transform: uppercase;
}

.home-counters__number {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: #1668AC;
}

.home-counters__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-color);
  text-transform: uppercase;
  line-height: 1.4;
}

/* ==========================================================================
   HOME — GALLERY STRIP + LIGHTBOX (Slick)
   ========================================================================== */

.home-gallery-strip {
  padding: 20px 0;
}

.home-gallery-strip .slick-list {
  margin: 0 -6px;
}

.home-gallery-strip .slick-slide {
  padding: 0 6px;
}

.home-gallery-strip .slick-slide > div {
  line-height: 0;
}

.home-gallery-strip__item {
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: block;
  width: 100%;
}

.home-gallery-strip__item img {
  display: block;
  height: 220px !important;
  width: 220px !important;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .home-gallery-strip__item img {
    width: 100% !important;
  }
	
	.home-gallery-strip {
	    padding: 20px 0;
    margin: 0 auto;
    max-width: 95% !important;
	}

  .home-evolve .gap-50 {
    gap: 20px;
  }
}

.home-gallery-strip__caption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  color: #fff;
  font-size: 12px;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

.home-gallery-strip .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.home-gallery-strip .slick-prev { left: 20px; }
.home-gallery-strip .slick-next { right: 20px; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__slider {
  width: 90vw;
  max-width: 1200px;
}

.gallery-lightbox__slide {
  position: relative;
  text-align: center;
  outline: none;
}

.gallery-lightbox__slide img {
  display: inline-block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  margin: 0;
  object-fit: contain;
}

.gallery-lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.gallery-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background: rgba(255, 255, 255, .1);
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
}

.gallery-lightbox .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.gallery-lightbox .slick-prev { left: -60px; }
.gallery-lightbox .slick-next { right: -60px; }

.home-gallery-strip .slick-arrow::before,
.gallery-lightbox .slick-arrow::before {
  content: "\f053";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
  color: #fff;
}

.home-gallery-strip .slick-next::before,
.gallery-lightbox .slick-next::before {
  content: "\f054";
}

@media (max-width: 768px) {
  .gallery-lightbox .slick-prev { left: 5px; }
  .gallery-lightbox .slick-next { right: 5px; }
}

/* ==========================================================================
   HOME — BMT EVOLVE
   ========================================================================== */

.home-evolve {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0;
}

.home-evolve__title {
  color: #FFFEFD;
  margin-bottom: 16px;
}

.home-evolve__desc {
  font-size: 15px;
  line-height: 1.7;
}

.home-evolve__desc p {
  color: white;
}

.home-evolve__media img {
  width: 100%;
  border-radius: var(--br);
  display: block;
}

.home-evolve__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  border-radius: var(--br);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.home-evolve__badge strong {
  font-size: 38px;
  font-weight: 900;
  color: var(--secondary);
}

.home-evolve__badge span {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.home-evolve h6 {
	color: var(--secondary);
}

.home-evolve__divider {
  height: 2px;
  background: var(--secondary);
  margin: 60px 0;
}

.home-evolve__pill {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  color: #FFFEFD;
}

.home-evolve__pill:last-child {
  border-color: var(--secondary) !important;
  color: var(--secondary) !important;
}

/* ==========================================================================
   HOME — PILASTRI
   ========================================================================== */

.home-pillars {
  padding: 80px 0;
  text-align: center;
}



.home-pillars__head {
  max-width: 600px;
  margin: 0 auto 50px;
}

.home-pillars__icon {
  width: auto;
  height: 40px !important;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.home-pillars__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--primary);
}

/* ==========================================================================
   HOME — PARTECIPA
   ========================================================================== */

.home-participate {
  background: var(--terziary);
  padding: 80px 0;
}

.home-participate__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.home .home-participate__card {
  background: #FFFEFD;
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.08);
}

.home-participate__body h3 {
	font-size: 18px;
}

.home-participate__media img {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
	margin: 0 !important;
	max-height: 200px;
}

.home .home-participate__body {
  padding: 24px;
}

.home-participate__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 24px;
  padding-left: 0;
}

.home-participate__checklist li {
  font-size: 14px;
  padding-left: 26px;
  position: relative;
  list-style: none;
}

.home-participate__checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
}

.home-participate__card--visitatore .home-participate__checklist li::before {
  background: var(--accent-blue);
}

.sidebar > .widget {
  background: #FFFEFD;
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.08);
	margin-bottom:20px;
}

/* .home-participate__card--visitatore li:last-child{
	margin-bottom: 22px;
} */

/* ==========================================================================
   HOME — PARTNER
   ========================================================================== */

.home-partners {
  padding: 70px 0;
  text-align: center;
}

.home-partners__title {
  margin-bottom: 30px;
}

.home-partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.home-partners__row img {
  height: 64px !important;
  width: auto;
  object-fit: contain;
}

.home-partners__cols {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(13, 41, 75, 0.1);
}

.home-partners__col-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ==========================================================================
   HOME — CTA BANNER
   ========================================================================== */

.home-cta-banner {
  background: var(--terziary);
  padding: 50px 0;
}

.home-cta-banner .btns-wrapper {
	align-items:flex-end;
}

.home-cta-banner .btns-wrapper a{
	width: 300px;
    text-align: center;
}

.home-cta-banner p {
	color:#ededed;
}

.home-cta-banner h6 {
	color:var(--secondary) !important;
}

.home-cta-banner .container {
	background: var(--primary);
	    padding: 40px;
    border-radius: 8px;
}

.home-cta-banner h2 {
  color: #FFFEFD;
  margin-bottom: 0;
}

/* ==========================================================================
   HOME — RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
  .home-counters .grid-5,
  .home-pillars .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .home-counters .grid-5,
  .home-pillars .grid-5 {
    grid-template-columns: repeat(2, 1fr);
	  margin-bottom: 25px;
  }
}

@media (max-width: 600px) {
  .home-hero {
    min-height: 90dvh;
  }

  .site-header__cta.btn {
    display: none;
  }

  .home-hero__cta {
    min-width: 100%;
  }
}

/* ==========================================================================
   PAGE — HERO
   ========================================================================== */

.home-cta-banner .w-70 h1 {
  color: #FFFEFD;
  margin-bottom: 0;
}



/* ==========================================================================
   PAGE — CONTENUTO
   ========================================================================== */

.page-content {
  font-size: 16px;
  line-height: 1.7;
}

.page-content-wrapper {
  margin-bottom: 80px;
}

.page-content h2 {
  margin-top: 40px;
  position: relative;
  padding-left: 20px;
}

.page-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: var(--secondary);
}

.page-content h3 {

  color: var(--primary);
}

.page-content p {
  color: rgba(17, 14, 13, 0.85);
}

.page-content a:not(.btn),
.page-content p a:not(.btn) {
  color: var(--accent-blue);
  text-decoration: underline;
  text-decoration-color: rgba(28, 92, 140, 0.3);
  text-underline-offset: 3px;
}

.page-content .custom-cta :not(.btn) {
    color: white;
    background: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(28, 92, 140, 0.3);
    text-underline-offset: 3px;

    padding: 10px 18px !important;
    border-radius: var(--br);
}

.page-content .custom-cta a:not(.btn):hover {
  color: var(--secondary);
}

.page-content img {
  border-radius: var(--br);
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.1);
}

.page-content blockquote {
  border-left: 3px solid var(--secondary);
  background: var(--terziary);
  padding: 20px 24px;
  border-radius: 0 var(--br) var(--br) 0;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--primary);
}

.page-content ul li::marker,
.page-content ol li::marker {
  color: var(--secondary);
}

/* ==========================================================================
   PAGE — SIDEBAR / CTA CARD
   ========================================================================== */

.sidebar > .widget {
  background: #FFFEFD;
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.08);
  padding: 28px;

}

.sidebar {
    position: sticky;
  top: 20px;
}

.sidebar ul, .sidebar li{
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 14px;
}


.sidebar li a, .sidebar p{
    font-size: 16px;
    margin:0 !important;
}

.sidebar h6 {
  color: var(--secondary);
}

.sidebar h4 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.home .home-pillars .home-participate__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13, 41, 75, 0.14);
}

.home-pillars .home-participate__card .home-participate__body h6 {
  color: var(--secondary);
}

.home-pillars .home-participate__card .home-participate__body h3 {
  margin-bottom: 8px;
}

.home-pillars .home-participate__card .home-participate__body p {
  font-size: 14px;
  color: rgba(17, 14, 13, 0.7);
  margin-bottom: 20px;
}

.home-pillars .home-participate__card .btn {
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   PAGE — RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
  .home-pillars .home-participate__card {
    position: static;
  }
}

@media (max-width: 768px) {
  .page-content h2 {
    padding-left: 16px;
  }
}


/* PAGE FAQ */

/* ==========================================================================
   FAQ — ACCORDION
   ========================================================================== */

.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;

}

.faq-item {
  background: #FFFEFD;
  border: 1px solid rgba(13, 41, 75, 0.08);
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 16px 40px rgba(13, 41, 75, 0.1);
}

.faq-item[open] {
  border-color: var(--secondary);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  user-select: none;
}

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

.faq-item__question i {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--terziary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-item__question i {
  transform: rotate(180deg);
  background: var(--secondary);
  color: white;
}

.faq-item__inner {
  padding: 0 26px 24px;
  color: rgba(17, 14, 13, 0.8);
  font-size: 15px;
}

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

@media (max-width: 768px) {
  .faq-item__question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-item__inner {
    padding: 0 20px 20px;
  }
}

.faq-page {
  padding-bottom: 80px;
}


/* ==========================================================================
   ARCHIVE — TABELLA ESPOSITORI
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
}

.elenco-table {
  width: 100%;
  border-collapse: collapse;
}

.elenco-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--primary);
  padding: 12px 16px;
  border-bottom: 2px solid var(--terziary);
}

.elenco-table td{
  position: relative;
  padding: 14px 16px;
  border-bottom: 1px solid var(--terziary);
  font-size: 15px;
  text-align: left;
}

.elenco-table tbody tr:nth-child(even) {
  background: var(--terziary);
}

.elenco-table tbody tr:hover {
  background: rgba(13, 41, 75, 0.08);
}

.elenco-table tbody tr:hover {
  background: var(--terziary);
}

.elenco-table .abslink {
  position: absolute;
  inset: 0;
  z-index: 1;
}



/* ==========================================================================
   FORM
   ========================================================================== */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px !important;
}

.form-group .required {
  color: var(--secondary);
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-color);
  background: #FFFEFD;
  border: 1px solid rgba(13, 41, 75, 0.15);
  border-radius: var(--br);
  padding: 12px 16px;
  margin: 8px 0 15px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 41, 75, 0.1);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(17, 14, 13, 0.4);
}

textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D294B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Stato errore/successo */
.form-control.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #d64545;
}

.form-control.is-valid,
input.is-valid,
select.is-valid,
textarea.is-valid {
  border-color: #3a9d5d;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #d64545;
  margin-top: 6px;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: rgba(17, 14, 13, 0.5);
  margin-top: 6px;
}

/* ==========================================================================
   ALERT / MESSAGGI DI STATO
   ========================================================================== */

.alert {
  padding: 14px 18px;
  border-radius: var(--br);
  font-size: 14px;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(58, 157, 93, 0.1);
  border: 1px solid rgba(58, 157, 93, 0.3);
  color: #3a9d5d;
}

.alert-danger {
  background: rgba(214, 69, 69, 0.1);
  border: 1px solid rgba(214, 69, 69, 0.3);
  color: #d64545;
}

.alert-warning {
  background: rgba(183, 138, 52, 0.1);
  border: 1px solid rgba(183, 138, 52, 0.3);
  color: #b78a34;
}

/* ==========================================================================
   FORM — CHECKBOX / RADIO
   ========================================================================== */

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(13, 41, 75, 0.25);
  background: #FFFEFD;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-check input[type="checkbox"] {
  border-radius: 4px;
}

.form-check input[type="radio"] {
  border-radius: 50%;
}

.form-check input[type="checkbox"]:checked,
.form-check input[type="radio"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.form-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: white;
}

.form-check input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 41, 75, 0.1);
}

.form-check label {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  color: var(--text-color);
  cursor: pointer;
}

/* ==========================================================================
   FORM — TOGGLE (switch)
   ========================================================================== */

.form-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-switch input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 24px;
  border-radius: 30px;
  background: rgba(13, 41, 75, 0.15);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-switch input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s ease;
}

.form-switch input[type="checkbox"]:checked {
  background: var(--primary);
}

.form-switch input[type="checkbox"]:checked::after {
  transform: translateX(18px);
}

/* ==========================================================================
   FORM — FILE UPLOAD
   ========================================================================== */

.form-file {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed rgba(13, 41, 75, 0.25);
  border-radius: var(--br);
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-file:hover {
  border-color: var(--primary);
  background: var(--terziary);
}

.form-file input[type="file"] {
  display: none;
}

.form-file__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   FORM — GRID / ROW
   ========================================================================== */

.form-row {
  display: flex;
  gap: 20px;
}

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

.form-row .form-group {
  flex: 1;
}

/* ==========================================================================
   FORM — FIELDSET
   ========================================================================== */

fieldset {
  border: 1px solid rgba(13, 41, 75, 0.1);
  border-radius: var(--br);
  padding: 24px;
  margin-bottom: 20px;
}

legend {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--primary);
  padding: 0 10px;
}

form p, form label {
  text-align: left;
  margin: 10px 0 !important;
}

/* ==========================================================================
   FORM — SUBMIT / FEEDBACK
   ========================================================================== */

.form-submit {
  margin-top: 30px;
}

.form-success {
  background: rgba(58, 157, 93, 0.1);
  border: 1px solid #3a9d5d;
  color: #2c7847;
  border-radius: var(--br);
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.form-error-box {
  background: rgba(214, 69, 69, 0.1);
  border: 1px solid #d64545;
  color: #a83232;
  border-radius: var(--br);
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* ==========================================================================
   PAGE — HERO
   ========================================================================== */

/* ==========================================================================
   PAGE — HERO (versione incisiva)
   ========================================================================== */

.page-hero {
  position: relative;
  background: var(--terziary);
  padding: 50px 0 50px;
  overflow: hidden;
  margin-bottom: 60px;
}


.page-hero .container {
  position: relative;
  z-index: 1;
}


.page-title {
  color: var(--primary);
  font-size: clamp(42px, 5vw, 54px);
  font-weight: 800;
  margin-bottom: 18px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb i {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb span {
  color: var(--secondary);
  font-weight: 700;
}

@media (max-width: 600px) {
  .page-hero {
    padding: 50px 0 35px;
  }
}

/* ==========================================================================
   BLOG — GRID
   ========================================================================== */

.blog-grid {
  margin: 60px 0;
}

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

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

/* ==========================================================================
   BLOG — CARD (estende .home-participate__card)
   ========================================================================== */

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

.blog-card__thumb-link {
  display: block;
  text-decoration: none;
}

.blog-card__thumb {
  margin-bottom: 20px;
  border-radius: var(--br);
  overflow: hidden;
}

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

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

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

.blog-card__meta {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(17, 14, 13, 0.5);
}

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

.blog-card__body h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.blog-card__body h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__body h3 a:hover {
  color: var(--primary);
}

.blog-card__excerpt {
  font-size: 14px;
  color: rgba(17, 14, 13, 0.7);
  line-height: 1.6;
  margin-bottom: 10px;
}

.blog-card__body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.blog-card__body .btn i {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

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

/* ==========================================================================
   BLOG — PAGINATION / EMPTY
   ========================================================================== */

.blog-pagination {
  display: flex;
  justify-content: center;
  margin: 50px 0;
}

.blog-empty {
  text-align: center;
  padding: 80px 0;
  color: rgba(17, 14, 13, 0.5);
}


/* ==========================================================================
   WOOCOMMERCE — ARCHIVIO PRODOTTI
   ========================================================================== */

main:has(.woocommerce-products-header) {
  padding: 50px 0 80px;
}

.woocommerce-breadcrumb {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(17, 14, 13, 0.5);
  margin-bottom: 20px;
}

.woocommerce-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
  color: var(--secondary);
}

.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
  content: none;
}

.woocommerce-products-header .page-title {
  margin-bottom: 0;
}

.archive #sidebar {
  display: none;
}

ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  list-style: none;
  margin: 0 !important;
  padding: 0;
}

.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 41, 75, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.15);
}

.products li.product .woocommerce-loop-product__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.products li.product img {
  width: 100% !important;
  height: 240px;
  object-fit: cover;
  margin: 0 !important;
  display: block;
  transition: transform 0.4s ease;
}

.products li.product:hover img {
  transform: scale(1.05);
}

.products li.product .woocommerce-loop-product__title {
  margin: 18px 20px 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
}

.products li.product .price {
  display: block;
  margin: 0 20px 20px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.products li.product .price del {
  margin-right: 8px;
  color: rgba(17, 14, 13, 0.4);
  font-weight: 500;
}

.products li.product .price ins {
  color: var(--primary);
  text-decoration: none;
}

.products li.product .onsale {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--secondary);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
}

.products li.product a.button,
.products li.product .added_to_cart {
  align-self: flex-start;
  margin: auto 20px 20px;
  background-image: linear-gradient(45deg, rgb(6, 80, 147), rgb(85, 178, 223));
  color: #fff !important;
  border: none;
  border-radius: var(--br);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: filter 0.3s ease;
}

.products li.product a.button:hover,
.products li.product .added_to_cart:hover {
  filter: brightness(0.9);
}

.woocommerce-info {
  text-align: center;
  padding: 60px 0;
  color: rgba(17, 14, 13, 0.5);
  font-size: 16px;
}

.woocommerce-pagination {
  margin: 50px 0 0;
  text-align: center;
}

.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--br);
  background: var(--terziary);
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 992px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  ul.products {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .woocommerce-products-header {
    padding: 30px 25px;
  }
}

@media (max-width: 768px) {
  .container:has(> .woocommerce-breadcrumb),
  .container:has(> .product) {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ==========================================================================
   WOOCOMMERCE — SINGOLO PRODOTTO
   ========================================================================== */

#main > .product {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 60px;
  padding: 50px 0 40px;
}

.woocommerce-product-gallery {
  position: relative;
  flex: 1 1 420px;
  max-width: 500px;
}

.woocommerce-product-gallery img {
  display: block;
  width: 100%;
  border-radius: var(--br);
}

.woocommerce-product-gallery .onsale {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--secondary);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 12px;
  list-style: none;
  margin-top: 16px;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  width: 80px;
}

.woocommerce-product-gallery .flex-control-thumbs img {
  border-radius: var(--br);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  opacity: 1;
}

.summary.entry-summary {
  flex: 1 1 420px;
}

.summary .product_title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 14px;
}

.summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.summary .star-rating {
  color: var(--secondary);
}

.summary p.price {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.summary p.price del {
  margin-right: 10px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(17, 14, 13, 0.4);
}

.summary p.price ins {
  color: var(--primary);
  text-decoration: none;
}

.woocommerce-product-details__short-description {
  margin-bottom: 24px;
  color: rgba(17, 14, 13, 0.75);
  line-height: 1.7;
}

.summary form.cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.summary .quantity {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--terziary);
  border-radius: var(--br);
}

.summary .quantity .qty {
  width: 50px;
  padding: 10px 0;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  -moz-appearance: textfield;
}

.summary .quantity .qty::-webkit-outer-spin-button,
.summary .quantity .qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.summary .quantity .minus,
.summary .quantity .plus {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--terziary);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.summary .quantity .minus:hover,
.summary .quantity .plus:hover {
  background: var(--secondary);
  color: #fff;
}

.single_add_to_cart_button.btn_cart_disabled {
  background-image: none !important;
  background: rgba(17, 14, 13, 0.15) !important;
  color: rgba(17, 14, 13, 0.5) !important;
  font-size: 13px;
  line-height: 1.4;
  padding: 12px 20px;
  cursor: not-allowed;
}

.participant-block {
  padding: 20px;
  border: 1px solid rgba(13, 41, 75, 0.15);
  border-radius: var(--br);
}

.participant-block .single-person-data {
  margin: 0 0 10px;
  color: var(--primary);
}

.summary .product_meta {
  padding-top: 18px;
  border-top: 1px solid var(--terziary);
  font-size: 13px;
  color: rgba(17, 14, 13, 0.6);
}

.summary .product_meta > span {
  display: block;
  margin-bottom: 6px;
}

.summary .product_meta a {
  color: var(--primary);
  text-decoration: none;
}

.summary .product_meta a:hover {
  color: var(--secondary);
}

.woocommerce-tabs {
  margin-top: 40px;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--terziary);
}

.woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 12px 24px;
  transform: translateY(2px);
  border-bottom: 3px solid transparent;
  color: rgba(17, 14, 13, 0.6);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.woocommerce-tabs .woocommerce-Tabs-panel {
  color: rgba(17, 14, 13, 0.8);
  line-height: 1.7;
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-color);
}

.related.products,
.upsells.products {
  margin-top: 70px;
}

.related.products > h2,
.upsells.products > h2 {
  margin-bottom: 30px;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-color);
}

@media (max-width: 768px) {
  #main > .product {
    flex-direction: column;
    padding: 30px 0 40px;
  }

  .woocommerce-product-gallery {
    max-width: 100%;
  }

  .woocommerce-tabs ul.tabs {
    gap: 4px;
  }

  .woocommerce-tabs ul.tabs li a {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* ==========================================================================
   SINGLE — HERO
   ========================================================================== */

.single-hero {
  text-align: left;
}

.single-hero h6 {
  color: var(--secondary);
}

.single-hero h1 {
  margin-bottom: 20px;
}

.single-meta {
  font-size: 16px;
  font-weight: 600;
  color: rgba(17, 14, 13, 0.55);
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .single-meta, .single-share {
    font-size: 14px;
    flex-direction: row;
  }
}

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

/* ==========================================================================
   SINGLE — FEATURED IMAGE
   ========================================================================== */

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

.single-featured__img {
border-radius: var(--br);
    box-shadow: 0 10px 30px rgba(13, 41, 75, 0.1);

    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    margin-top: 40px !important;
}

/* ==========================================================================
   SINGLE — CONTENT
   ========================================================================== */

.single-content {
  padding-bottom: 60px;
}

.page-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
  font-size: 14px;
  font-weight: 600;
}

.page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--br);
  background: var(--terziary);
  color: var(--primary);
  text-decoration: none;
}

.page-links a:hover {
  background: var(--primary);
  color: white;
}

/* ==========================================================================
   SINGLE — SHARE
   ========================================================================== */

.single-share {
  margin: 40px 0;
  padding-top: 30px;
  border-top: 1px solid rgba(13, 41, 75, 0.1);
}

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

.single-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terziary);
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

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

/* ==========================================================================
   SINGLE — AUTHOR BOX
   ========================================================================== */

.single-author {
  background: var(--terziary);
  border-radius: var(--br);
  padding: 24px;
  margin-bottom: 50px;
}

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

.single-author__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(17, 14, 13, 0.5);
  margin-bottom: 2px;
}

.single-author__name {
  margin-bottom: 0;
}

/* ==========================================================================
   SINGLE — PREV/NEXT NAV
   ========================================================================== */

.single-nav {
  margin-bottom: 50px;
}

.single-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--br);
  background: #FFFEFD;
  border: 1px solid rgba(13, 41, 75, 0.08);
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.single-nav__item:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.08);
}

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

.single-nav__dir {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--secondary);
}

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

.avatar{
  max-width: 80px !important;
  border-radius: 50% !important;
  border: 2px solid var(--secondary) !important;
}

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

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

/* ==========================================================================
   SINGLE — RELATED
   ========================================================================== */

.single-related {
  margin-bottom: 50px;
}

.single-related h3 {
  margin-bottom: 30px;
}

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

/* ==========================================================================
   SINGLE — COMMENTS
   ========================================================================== */

.single-comments {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(13, 41, 75, 0.1);
}

.single-comments .comment-form input,
.single-comments .comment-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid rgba(13, 41, 75, 0.15);
  border-radius: var(--br);
  padding: 12px 16px;
  margin-bottom: 14px !important;
}

.single-comments .comment-form textarea {
  min-height: 120px;
  resize: vertical;
}


/* ==========================================================================
   SINGLE — HERO
   ========================================================================== */

.single-hero {
  text-align: left;
}

.single-hero h6 {
  color: var(--secondary);
}

.single-hero h1 {
  margin-bottom: 20px;
}

.single-meta {
  font-size: 13px;
  font-weight: 600;
  color: rgba(17, 14, 13, 0.55);
  flex-wrap: wrap;
}

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

/* ==========================================================================
   SINGLE — FEATURED IMAGE
   ========================================================================== */

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


/* ==========================================================================
   SINGLE — CONTENT
   ========================================================================== */

.single-content {
  padding-bottom: 60px;
}

.page-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
  font-size: 14px;
  font-weight: 600;
}

.page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--br);
  background: var(--terziary);
  color: var(--primary);
  text-decoration: none;
}

.page-links a:hover {
  background: var(--primary);
  color: white;
}

/* ==========================================================================
   SINGLE — SHARE
   ========================================================================== */

.single-share {
  margin: 40px 0;
  padding-top: 30px;
  border-top: 1px solid rgba(13, 41, 75, 0.1);
}

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

.single-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terziary);
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

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

/* ==========================================================================
   SINGLE — AUTHOR BOX
   ========================================================================== */

.single-author {
  background: var(--terziary);
  border-radius: var(--br);
  padding: 24px;
  margin-bottom: 50px;
}

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

.single-author__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(17, 14, 13, 0.5);
  margin-bottom: 2px;
}

.single-author__name {
  margin-bottom: 0;
}

/* ==========================================================================
   SINGLE — PREV/NEXT NAV
   ========================================================================== */

.single-nav {
  margin-bottom: 50px;
}

.single-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--br);
  background: #FFFEFD;
  border: 1px solid rgba(13, 41, 75, 0.08);
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.single-nav__item:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.08);
}

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

.single-nav__dir {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--secondary);
}

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

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

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

/* ==========================================================================
   SINGLE — RELATED
   ========================================================================== */

.single-related {
  margin-bottom: 50px;
}

.single-related h3 {
  margin-bottom: 30px;
}

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

/* ==========================================================================
   SINGLE — COMMENTS
   ========================================================================== */

.single-comments {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(13, 41, 75, 0.1);
}

.single-comments .comment-form input,
.single-comments .comment-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid rgba(13, 41, 75, 0.15);
  border-radius: var(--br);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.single-comments .comment-form textarea {
  min-height: 120px;
  resize: vertical;
}


/* ==========================================================================
   CATEGORY — GRID 2 COLONNE
   ========================================================================== */

@media (max-width: 992px) {
  .blog-grid.grid-2.w-70 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ==========================================================================
   CATEGORY — SIDEBAR (#sidebar, figli diretti)
   ========================================================================== */

#sidebar > * {
  background: #FFFEFD;
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.08);
  position: sticky;
  top: 20px;
}

#sidebar .home-participate__card {
  padding: 0;
}

#sidebar .home-participate__body {
  padding: 28px;
}

@media (max-width: 992px) {
  #sidebar > * {
    position: static;
  }
}

/* ==========================================================================
   CUSTOM CTA
   ========================================================================== */

.custom-cta {
background: var(--terziary);
    border-radius: var(--br);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white !important;
    margin-bottom: 25px;
}

.custom-cta a {
  text-decoration: none !important;
}

.custom-cta__body {
  max-width: 600px;
}

.custom-cta span {
  color: var(--primary) !important;
  font-weight: 700;
  background: transparent !important;
}

.custom-cta h6 {
  color: var(--secondary) !important;
}

.custom-cta h2,
.custom-cta h3 {
  color: #FFFEFD;
  margin-bottom: 10px;
}

.custom-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.custom-cta__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.custom-cta__actions .btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .custom-cta {
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding: 30px;
        gap: 5px;
  }

  .custom-cta__actions {
    width: 100%;
  }

  .custom-cta__actions .btn {
    width: 100%;
    text-align: center;
  }
}


/* ==========================================================================
   GALLERY / VIDEO — TABS (condiviso)
   ========================================================================== */

.gallery-tabs__radio,
.video-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gallery-tabs__nav,
.video-tabs__nav {
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-tabs__label,
.video-tabs__label {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--terziary);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-tabs__label:hover,
.video-tabs__label:hover {
  background: rgba(13, 41, 75, 0.1);
}

.gallery-tabs__panel,
.video-tabs__panel {
  display: none;
}

.gallery-tabs__panel.is-active,
.video-tabs__panel.is-active {
  display: block;
}

@media (max-width: 992px) {
  .gallery-tabs__grid.grid-4 { grid-template-columns: repeat(3, 1fr); }
  .video-tabs__grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}

.gallery-tabs__label, .video-tabs__label {
  font-size: 16px;
  text-align: center;
}

.video-tabs__nav, .gallery-tabs__nav {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .gallery-tabs__grid.grid-4 { grid-template-columns: repeat(3, 1fr); }
  .video-tabs__grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
}


@media (max-width: 480px) {
  .gallery-tabs__grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
  .video-tabs__grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   GALLERY — ITEM
   ========================================================================== */

.gallery-tabs__item {
  display: block;
  border-radius: var(--br);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-tabs__item img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  transition: transform 0.3s ease;
}

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

.gallery-tabs__label.is-active, .video-tabs__label.is-active {
  background: var(--primary);
  color: var(--terziary);
}

/* ==========================================================================
   VIDEO — CARD
   ========================================================================== */

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

.video-card__thumb {
  position: relative;
  border-radius: var(--br);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
}

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

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

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__play i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(13, 41, 75, 0.85);
  color: white;
  font-size: 18px;
  padding-left: 3px;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.video-card__title {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 0;
}




/* ==========================================================================
   FOOTER — WIDGET INFORMAZIONI
   ========================================================================== */

.footer-info__title {
  color: #FFFEFD;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-info__date {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-info__date i {
  font-size: 18px;
}

.footer-info__schedule {
  list-style: none;
  margin-bottom: 24px;
}

.footer-info__schedule li {
  display: flex;
  color:white;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-info__schedule li:first-child {
  padding-top: 0;
}

.footer-info__schedule span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.footer-info__schedule strong {
  color: #FFFEFD;
  font-size: 16px;
  font-weight: 500;
}

.footer-info__venue {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.footer-info__org {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-info__label {
  display: block;
  color: #FFFEFD;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-info__logo {
  display: block;
  height: 50px;
  width: auto;
  margin-bottom: 20px !important;
}

.footer-info__address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-info__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFEFD;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-info__phone:hover {
  color: var(--secondary);
}

.footer-info__phone i {
  color: var(--secondary);
}

.page-id-5986 .flex form, .page-id-829 .flex form{
  width: 100% !important;
}


/* ==========================================================================
   PROPOSTE ESPOSITIVE — BOX
   ========================================================================== */

.box-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.box {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #FFFEFD;
  border: 1px solid rgba(13, 41, 75, 0.08);
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 41, 75, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.box:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: 0 16px 40px rgba(13, 41, 75, 0.14);
}

.box > img {
  order: -1;
  width: calc(100% + 48px) !important;
  max-width: none;
  height: 200px !important;
  margin: -24px -24px 20px !important;
  object-fit: cover;
}

.box .title-box {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.box .title-box span {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
}

.box > strong,
.box .wrap-box > strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.box .comprende {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  margin-bottom: 24px;
}

.box .comprende li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.4;
  list-style: none;
}

.box .comprende li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: var(--secondary);
}

.box p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17, 14, 13, 0.75);
}

.box .price {
  margin: auto -24px -24px !important;
  padding: 16px 24px;
  background: var(--primary);
  color: #FFFEFD !important;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

/* HIGHLIGHT (stand personalizzato / superficie libera) */

.highlight-box {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  border-color: rgba(211, 174, 91, 0.4);
}

.highlight-box > img {
  order: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 300px;
  margin: 0 !important;
}

.highlight-box .wrap-box {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.highlight-box .title-box {
  font-size: 22px;
}

.highlight-box .price {
  margin: auto -30px -30px !important;
  padding: 18px 30px;
  background-image: linear-gradient(45deg, #B78A34, #E7C977);
  font-size: 20px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .box-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .box-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlight-box {
    grid-template-columns: 1fr;
  }

  .highlight-box > img {
    height: 220px !important;
    min-height: 0;
  }

  .highlight-box .wrap-box {
    padding: 24px;
  }

  .highlight-box .price {
    margin: auto -24px -24px !important;
  }
}


/* ==========================================================================
   CUSTOM CTA — HOVER
   ========================================================================== */

.custom-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.custom-cta:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: 0 10px 24px rgba(13, 41, 75, 0.12);
}

/* Link interni stile btn__primary */
.page-content .custom-cta a:not(.btn) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-block;
  padding: 10px 18px !important;
  border-radius: var(--br);
  color: white !important;
  text-decoration: none;
  background-image: linear-gradient(45deg, #065093, #55B2DF, #065093);
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-position 0.5s ease;
}

/* Riflesso di luce */
.page-content .custom-cta a:not(.btn)::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.page-content .custom-cta a:not(.btn):hover {
  color: white !important;
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 10px 24px rgba(6, 80, 147, 0.3);
}

.page-content .custom-cta a:not(.btn):hover::after {
  left: 125%;
  transition: left 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
  .custom-cta,
  .page-content .custom-cta a:not(.btn),
  .page-content .custom-cta a:not(.btn)::after {
    transition: none !important;
  }
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
	padding: 1em !important;
}

.breadcrumb i {
    font-size: 9px;
    color: var(--primary);
    font-weight: 900;
}


@media (max-width: 992px) {
  .site-header__mobile-nav {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

.site-header__mobile-menu .sub-menu.is-open {
  max-height: 2000px;
  margin-bottom: 0px;
}


/* ==========================================================================
   SINGLE NEWS — META LINK
   ========================================================================== */

.single-meta a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
}

.single-meta a:hover {
  color: #FFFEFD;
}

/* ==========================================================================
   SINGLE NEWS — GALLERIA
   ========================================================================== */

.single-gallery {
  margin-top: 40px;
}

.single-gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--br);
  overflow: hidden;
}

.single-gallery__item img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  transition: transform 0.3s ease;
}

.single-gallery__item:hover img {
  transform: scale(1.06);
}

.single-gallery__item.has-more::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 41, 75, 0.75);
  color: #FFFEFD;
  font-size: 28px;
  font-weight: 800;
}

.single-gallery__hidden {
  display: none;
}

@media (max-width: 768px) {
  .single-gallery.grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   SINGLE NEWS — CORRELATI
   ========================================================================== */

.single-related-section {
  background: var(--terziary);
  padding: 70px 0;
}

.single-related-section h2 {
  margin-bottom: 40px;
}

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

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


/* ==========================================================================
   NEWS ESPOSITORI — FILTRO EDIZIONI
   ========================================================================== */

.edition-filter {
  flex-wrap: wrap;
  justify-content: center;
  margin: 50px 0 10px;
}

.edition-filter__item {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--terziary);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.edition-filter__item:hover {
  background: rgba(13, 41, 75, 0.1);
}

.edition-filter__item.is-active {
  background: var(--primary);
  color: #FFFEFD;
}


.blog-card__thumb:has(.blog-card__img--placeholder) {
  background: var(--terziary);
}

.blog-card__img--placeholder {
  object-fit: contain !important;
  padding: 0 20px;
}

.blog-card:hover .blog-card__img--placeholder {
  transform: none;
}