@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Jost:wght@300;400;500;600&display=swap");

:root {
  --notte: #0a0d17;
  --notte-2: #111628;
  --notte-3: #1a2038;
  --oro: #d8b46a;
  --oro-luce: #f3dca2;
  --oro-scuro: #a8853f;
  --avorio: #f4efe6;
  --testo: #c9cbd6;
  --tenue: #8a8fa3;
  --linea: rgba(216, 180, 106, .18);
  --raggio: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --alone: 0 0 40px rgba(216, 180, 106, .25);
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body,
body.home,
#page {
  background: var(--notte) !important;
  color: var(--testo) !important;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* cielo stellato leggerissimo su tutta la pagina */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 72% 9%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 62%, rgba(243,220,162,.45), transparent 60%),
    radial-gradient(1px 1px at 88% 44%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 22% 82%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(40, 52, 98, .55), transparent 60%);
}

#page a,
a { color: var(--oro); transition: color .25s, background-color .25s, border-color .25s, transform .3s, box-shadow .3s; }
#page a:hover,
a:hover { color: var(--oro-luce); }
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 2px solid var(--oro) !important; outline-offset: 3px; }

::selection { background: var(--oro); color: var(--notte); }

h1, h2, h3, h4, h5, h6,
.wc-block-grid__product-title {
  color: var(--avorio) !important;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .01em;
}

#page strong, #page b { color: var(--avorio); font-weight: 500; }

.container { max-width: 1200px; }

/* ---------- Pulsante "scopri di più" (usato ovunque) ---------- */

.btnMore {
  position: relative;
  display: inline-block;
  padding: 13px 34px;
  background: transparent;
  border: 1px solid var(--oro);
  border-radius: 999px;
  color: var(--oro) !important;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none !important;
  overflow: hidden;
}
.btnMore:hover {
  background: var(--oro);
  color: var(--notte) !important;
  box-shadow: var(--alone);
}

/* ---------- Testata ---------- */

#masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(10, 13, 23, .78) !important;
  border-bottom: 1px solid var(--linea) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
#masthead .rowFlex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
#masthead .logoTop img {
  display: block;
  height: 46px;
  width: auto;
  transition: filter .3s;
}
#masthead .logoTop:hover img { filter: drop-shadow(0 0 10px rgba(216, 180, 106, .5)); }

#masthead .storefront-primary-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
  background: none;
}

#masthead .main-navigation ul li a,
#masthead ul.menu li a {
  color: var(--testo) !important;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
#masthead .main-navigation ul li a:hover,
#masthead .main-navigation ul li:hover > a,
#masthead ul.menu li.current-menu-item > a {
  color: var(--oro-luce) !important;
}

@media (min-width: 768px) {
  #masthead .main-navigation ul.menu > li > a {
    position: relative;
    padding: 10px 14px;
  }
  #masthead .main-navigation ul.menu > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--oro);
    box-shadow: 0 0 8px var(--oro);
    opacity: 0;
    transition: opacity .25s;
  }
  #masthead .main-navigation ul.menu > li > a:hover::after,
  #masthead .main-navigation ul.menu > li.current-menu-item:not(.menu-item-770) > a::after { opacity: 1; }

  /* "Account" come pulsante */
  #masthead .main-navigation ul.menu > li.menuAccount > a {
    margin-left: 6px;
    padding: 8px 18px;
    border: 1px solid var(--linea);
    border-radius: 999px;
  }
  #masthead .main-navigation ul.menu > li.menuAccount > a:hover {
    border-color: var(--oro);
  }
  #masthead .main-navigation ul.menu > li.menuAccount > a::after { display: none; }

  .main-navigation ul.menu ul.sub-menu {
    background: var(--notte-2) !important;
    border: 1px solid var(--linea);
    border-radius: 0 0 10px 10px;
  }
}

/* pulsante menu mobile (Storefront) */
#masthead button.menu-toggle {
  background: transparent !important;
  border: 1px solid var(--oro) !important;
  border-radius: 999px;
  color: var(--oro) !important;
  font-family: var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}
#masthead button.menu-toggle::before,
#masthead button.menu-toggle::after,
#masthead button.menu-toggle span::before {
  background-color: var(--oro) !important;
}
#masthead .handheld-navigation {
  background: var(--notte-2);
  border-radius: 0 0 var(--raggio) var(--raggio);
}
#masthead .handheld-navigation ul.menu li a {
  padding: 12px 18px;
  border-bottom: 1px solid var(--linea);
}

/* selettore lingua */
#masthead .lang .wpml-ls { padding: 0; border: 0; }
#masthead .lang ul {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--linea);
  border-radius: 999px;
}
#masthead .lang .wpml-ls-link {
  display: block;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--tenue);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#masthead .lang .wpml-ls-current-language .wpml-ls-link {
  background: var(--oro);
  color: var(--notte);
}

/* ---------- Hero ---------- */

.topHome {
  position: relative;
  isolation: isolate;
}
/* velo notturno sopra l'immagine/video del tema */
.topHome::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(216, 180, 106, .14), transparent 55%),
    linear-gradient(180deg, rgba(10, 13, 23, .35) 0%, rgba(10, 13, 23, .55) 60%, var(--notte) 100%);
}
.topHome .caption,
.topHome .arrow { position: relative; z-index: 1; }

.topHome .caption-box { text-align: center; }
.topHome .caption-box img {
  width: min(360px, 70vw);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(216, 180, 106, .35));
}
.topHome h1 {
  margin: 18px 0 22px;
  color: var(--avorio) !important;
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 58px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .6);
}
.topHome .desc-quando {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 26px;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
  color: var(--testo);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.topHome .desc-quando b {
  color: var(--oro-luce);
  font-weight: 500;
}
.topHome .desc-proj p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--testo);
  font-size: 18px;
}
.topHome .arrow img {
  width: 34px;
  opacity: .8;
  animation: hedone-galleggia 2.4s ease-in-out infinite;
}
@keyframes hedone-galleggia {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* ---------- Titoli di sezione ---------- */

.head {
  margin-bottom: 44px;
  text-align: center;
}
.head h3 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: .14em;
}
.head h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 1px;
  margin-left: -35px;
  background: linear-gradient(90deg, transparent, var(--oro), transparent);
}
.head h3::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: 0 0 12px var(--oro);
}

.lineProj, .lineInst, .lineNews, .lineInfo, .lineInfo1, .lineContact {
  padding: 90px 0;
  background: transparent !important;
}

/* ---------- Intro progetto ---------- */

.lineProj { text-align: center; }
.lineProj h2 { margin: 0 0 30px; }
.lineProj h2 img { opacity: .95; }
.lineProj p {
  max-width: 720px;
  margin: 0 auto 1em;
  font-size: 19px;
}
.lineProj p:last-of-type {
  color: var(--oro-luce);
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
}
.lineProj .bottom,
.lineNews .bottom { margin-top: 36px; text-align: center; }

/* ---------- Installazioni ---------- */

.lineInst .rowFlex {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.lineInst .boxInst {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.lineInst .boxInst a {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--raggio);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--linea);
}
.lineInst .boxInst img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease, filter .6s;
  filter: saturate(.9) brightness(.85);
}
.lineInst .boxInst a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 13, 23, .92) 100%);
  transition: opacity .4s;
}
.lineInst .boxInst-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 24px 22px;
  background: none !important;
}
.lineInst .boxInst-title h4 {
  margin: 0;
  color: var(--avorio) !important;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  line-height: 1.15;
  transition: color .3s, transform .4s;
}
.lineInst .boxInst-title h4::after {
  content: "\2192";
  display: inline-block;
  margin-left: 10px;
  color: var(--oro);
  font-family: var(--sans);
  font-style: normal;
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s, transform .3s;
}
.lineInst .boxInst a:hover { box-shadow: 0 0 0 1px var(--oro), var(--alone); }
.lineInst .boxInst a:hover img { transform: scale(1.06); filter: saturate(1.1) brightness(1); }
.lineInst .boxInst a:hover h4 { color: var(--oro-luce) !important; }
.lineInst .boxInst a:hover h4::after { opacity: 1; transform: translateX(0); }

/* ---------- News ---------- */

.lineNews .container > div.boxNews {
  max-width: 900px;
  margin: 0 auto 16px;
}
.lineNews a.boxNews {
  display: grid;
  grid-template-columns: 110px 74px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 16px;
  background: var(--notte-2);
  border: 1px solid var(--linea);
  border-radius: var(--raggio);
  color: var(--testo) !important;
  text-decoration: none;
}
.lineNews a.boxNews:hover {
  border-color: var(--oro);
  background: var(--notte-3);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}
.lineNews .boxNews-img img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}
.lineNews .boxNews-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 74px;
  border: 1px solid var(--linea);
  border-radius: 50%;
  background: none !important;
}
.lineNews .data-day {
  color: var(--oro-luce);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.lineNews .data-month {
  color: var(--tenue);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lineNews .boxNews-txt h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
}
.lineNews .boxNews-txt .txt {
  color: var(--tenue);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Banner TICKETS ---------- */

.lineTicket {
  position: relative;
  isolation: isolate;
  padding: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
}
.lineTicket::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 13, 23, .85), rgba(10, 13, 23, .35), rgba(10, 13, 23, .85));
}
.lineTicket .container { text-align: center; }
.lineTicket a {
  display: inline-block;
  margin: 110px 0;
  padding: 22px 64px;
  background: var(--oro);
  border-radius: 999px;
  color: var(--notte) !important;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: .3em;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 0 0 8px rgba(216, 180, 106, .15), 0 0 60px rgba(216, 180, 106, .45);
}
.lineTicket a:hover {
  background: var(--oro-luce);
  transform: scale(1.04);
  box-shadow: 0 0 0 12px rgba(216, 180, 106, .18), 0 0 90px rgba(216, 180, 106, .6);
}

/* ---------- Info utili ---------- */

.lineInfo > .container > p {
  max-width: 760px;
  margin: 0 auto 1em;
  text-align: center;
  font-size: 18px;
}
.lineInfo .rowFlex {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 50px;
}
.lineInfo .boxInfo1 {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.lineInfo .boxInfo1 a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  height: 100%;
  min-height: 420px;
  background-size: cover !important;
  background-position: center !important;
  border-radius: var(--raggio);
  overflow: hidden;
  color: var(--testo) !important;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--linea);
}
.lineInfo .boxInfo1 a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 13, 23, .2) 0%, rgba(10, 13, 23, .95) 70%);
  transition: background .4s;
}
.lineInfo .boxInfo1 a:hover { box-shadow: 0 0 0 1px var(--oro), var(--alone); transform: translateY(-4px); }
.lineInfo .boxInfo1-txt {
  padding: 28px;
  background: none !important;
}
.lineInfo .boxInfo1-txt h4 {
  margin: 0 0 10px;
  color: var(--oro-luce) !important;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: .08em;
}
.lineInfo .boxInfo1-txt p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.lineInfo .boxInfo1-txt .btnMore {
  margin-top: 18px;
  padding: 10px 22px;
  font-size: 11px;
}
.lineInfo .boxInfo1 a:hover .btnMore {
  background: var(--oro);
  color: var(--notte) !important;
}

/* ---------- Aperitivo di benvenuto ---------- */

.lineInfo1 {
  text-align: center;
  background: linear-gradient(180deg, transparent, var(--notte-2) 30%, var(--notte-2) 70%, transparent) !important;
}
.lineInfo1 .container > p:first-child img {
  max-height: 90px;
  width: auto;
  padding: 10px 18px;
  background: var(--avorio);
  border-radius: 10px;
}
.lineInfo1 h3 {
  margin: 20px 0 14px;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: .12em;
}
.lineInfo1 .container > p {
  max-width: 760px;
  margin: 0 auto 1em;
}
.lineInfo1 .envira-gallery-wrap {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 10px;
}
.lineInfo1 .envira-gallery-item img {
  border-radius: 8px;
  filter: brightness(.85);
  transition: filter .4s;
}
.lineInfo1 .envira-gallery-item a:hover img { filter: brightness(1.05); }

/* ---------- Contatti ---------- */

.lineContact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  background: var(--notte-2);
  border: 1px solid var(--linea);
  border-radius: var(--raggio);
}
.lineContact .formFlex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.lineContact .form2Col,
.lineContact .form1Col { width: auto !important; float: none !important; }
.lineContact p { margin: 0 0 16px; }

.lineContact input[type="text"],
.lineContact input[type="email"],
.lineContact textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--notte) !important;
  border: 1px solid var(--linea) !important;
  border-radius: 10px;
  color: var(--avorio) !important;
  font: 300 16px var(--sans);
  box-shadow: none !important;
  transition: border-color .25s, box-shadow .25s;
}
.lineContact textarea { min-height: 170px; resize: vertical; }
.lineContact input:focus,
.lineContact textarea:focus {
  outline: 0;
  border-color: var(--oro) !important;
  box-shadow: 0 0 0 3px rgba(216, 180, 106, .15) !important;
}
.lineContact ::placeholder { color: var(--tenue); opacity: 1; }

.lineContact .formPrivacy a { font-size: 14px; }
.lineContact .wpcf7-list-item { margin: 0; }
.lineContact .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--tenue);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.lineContact input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--oro);
}

.lineContact .formSub { text-align: center; }
.lineContact input[type="submit"],
.wpcf7-submit {
  padding: 14px 52px !important;
  background: var(--oro) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--notte) !important;
  font: 500 14px var(--sans) !important;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, box-shadow .25s, transform .25s;
}
.lineContact input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--oro-luce) !important;
  box-shadow: var(--alone);
  transform: translateY(-2px);
}
.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--avorio);
  text-align: center;
}
.wpcf7-not-valid-tip { color: #ff8f8f; font-size: 13px; }

/* ---------- Partner (fondo avorio: i loghi sono su bianco) ---------- */

.footer-partner {
  padding: 60px 0 40px;
  background: var(--avorio) !important;
  color: #3a3a46;
}
.footer-partner .line2,
.footer-partner .line3,
.footer-partner .line4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 26px 50px;
  margin: 0 0 34px;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(10, 13, 23, .08);
}
.footer-partner .line2 { border-bottom: 0; margin-bottom: 0; }
.footer-partner .colPrtn {
  width: auto !important;
  float: none !important;
  text-align: center;
}
.footer-partner h5 {
  margin: 0 0 14px;
  color: var(--oro-scuro) !important;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.footer-partner .colPrtnIns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
}
.footer-partner img {
  max-height: 64px;
  width: auto;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .3s, opacity .3s;
}
.footer-partner img:hover { filter: none; opacity: 1; }

/* ---------- Social, footer, copyright ---------- */

.footer-social {
  padding: 34px 0;
  background: var(--notte) !important;
  border-top: 1px solid var(--linea);
}
.footer-social .contact-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-social .contact-social li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--linea);
  border-radius: 50%;
  color: var(--oro);
  font-size: 18px;
  transition: background .25s, color .25s, box-shadow .25s;
}
.footer-social .contact-social li:hover {
  background: var(--oro);
  color: var(--notte);
  box-shadow: var(--alone);
}
.footer-social .contact-social li a { color: inherit; }

#colophon.footer,
.site-footer {
  padding: 40px 0 30px;
  background: var(--notte) !important;
  color: var(--tenue) !important;
}
#colophon .rowFlex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 40px;
  text-align: center;
}
#colophon .widget-logo img { opacity: .9; }
#colophon .custom-html-widget {
  color: var(--tenue);
  font-size: 14px;
  letter-spacing: .06em;
}
#colophon .custom-html-widget br + br { display: none; }

.footer-copy {
  padding: 18px 0;
  background: #06080f !important;
  color: #6c7186;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-align: center;
}
.footer-copy a { color: var(--tenue) !important; }
.footer-copy a:hover { color: var(--oro) !important; }

/* torna su */
.hc_scrollup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px !important;
  height: 46px !important;
  background: var(--oro) !important;
  border-radius: 50% !important;
  color: var(--notte) !important;
  box-shadow: var(--alone);
}
.hc_scrollup:hover { background: var(--oro-luce) !important; }

/* ---------- Banner cookie (GDPR) ---------- */

#moove_gdpr_cookie_info_bar {
  background-color: rgba(17, 22, 40, .97) !important;
  border-top: 1px solid var(--linea) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-content p { color: var(--testo) !important; }
#moove_gdpr_cookie_info_bar .mgbutton,
#moove_gdpr_cookie_modal .mgbutton {
  background-color: var(--oro) !important;
  border-color: var(--oro) !important;
  border-radius: 999px !important;
  color: var(--notte) !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-reject-btn,
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-settings-btn {
  background: transparent !important;
  color: var(--oro) !important;
  border: 1px solid var(--oro) !important;
}
#moove_gdpr_cookie_info_bar .change-settings-button { color: var(--oro) !important; }

/* ---------- Pagine interne (articoli, pagine, shop) ---------- */

.hentry .entry-title,
.page-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
}
.hentry .entry-content { color: var(--testo); }
.hentry .entry-content blockquote,
.wp-block-quote {
  margin: 2em 0;
  padding: 6px 0 6px 26px;
  border-left: 1px solid var(--oro) !important;
  color: var(--avorio);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}
.wp-block-image figcaption { color: var(--tenue) !important; }

table:not(.has-background) th { background-color: var(--notte-3) !important; color: var(--avorio); }
table:not(.has-background) tbody td,
table:not(.has-background) tbody tr:nth-child(2n) td { background-color: var(--notte-2) !important; }
table th, table td { border-color: var(--linea) !important; }

/* pulsanti WooCommerce / generali */
button:not(.menu-toggle):not(.mgbutton):not(.change-settings-button):not(.moove-gdpr-modal-close):not(.moove-gdpr-tab-nav),
input[type="button"], input[type="reset"],
.button, .wp-block-button__link, .added_to_cart {
  background-color: var(--oro) !important;
  border-color: var(--oro) !important;
  border-radius: 999px;
  color: var(--notte) !important;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .1em;
}
button.alt, .button.alt, input[type="submit"].alt {
  background-color: var(--avorio) !important;
  border-color: var(--avorio) !important;
  color: var(--notte) !important;
}
.button:hover, .wp-block-button__link:hover, button.alt:hover, .button.alt:hover {
  background-color: var(--oro-luce) !important;
}

/* campi generali (checkout, account) */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], textarea, select {
  background-color: var(--notte-2);
  border: 1px solid var(--linea);
  border-radius: 8px;
  color: var(--avorio);
  box-shadow: none;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--notte-3) !important;
  border-left: 3px solid var(--oro);
  color: var(--avorio) !important;
}
#order_review, #payment, #payment .payment_methods > li,
#payment .payment_methods > li .payment_box, #payment .place-order {
  background-color: var(--notte-2) !important;
  color: var(--testo);
}
ul.products li.product .price,
.single-product div.product p.price { color: var(--oro) !important; }

/* ---------- Tablet / mobile ---------- */

@media (max-width: 1000px) {
  .lineInst .rowFlex,
  .lineInfo .rowFlex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineTicket { background-attachment: scroll; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  #masthead { padding: 10px 0; }
  #masthead .logoTop img { height: 36px; }

  .lineProj, .lineInst, .lineNews, .lineInfo, .lineInfo1, .lineContact { padding: 64px 0; }
  .head { margin-bottom: 30px; }

  .lineNews a.boxNews {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
  }
  .lineNews .boxNews-img img { width: 84px; height: 84px; }
  .lineNews .boxNews-data {
    grid-column: 2;
    grid-row: 1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 6px;
    height: auto;
    border: 0;
    border-radius: 0;
  }
  .lineNews .boxNews-img { grid-row: 1 / span 2; }
  .lineNews .data-day { font-size: 18px; }
  .lineNews .boxNews-txt { grid-column: 2; }
  .lineNews .boxNews-txt h3 { font-size: 18px; }
  .lineNews .boxNews-txt .txt { display: none; }

  .lineTicket a {
    margin: 70px 0;
    padding: 18px 40px;
    letter-spacing: .22em;
  }

  .lineContact-form { padding: 24px 18px; }
  .lineContact .formFlex { grid-template-columns: 1fr; }

  .footer-partner img { max-height: 48px; }
}

@media (max-width: 560px) {
  .lineInst .rowFlex,
  .lineInfo .rowFlex { grid-template-columns: minmax(0, 1fr); }
  .lineInfo .boxInfo1 a { min-height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lineTicket { background-attachment: scroll; }
}