:root {
  /* --primary: #4A0E0E;
	--primary-hover: #6A2121; */
	/* --secondary: #FFDEA5;
  --secondary-hover: #D8AF6A; */
  --primary: #3E4E3A;
  --primary-hover: #5C6E56;
  --secondary: #B8935E;
  --secondary-hover: #D4B383;
  --text-color: #444;
  --bg: #F9F8F5;
  --font-title: 'Playfair Display', serif;
  --font-text: 'Inter', sans-serif;
}

html, body {
  scroll-behavior: auto;
}

body {
	overflow-x: clip;
  position: relative;
  font-family: var(--font-text);
	font-variation-settings:
	"wdth" 100,
	"YTLC" 500;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--text-color);
  margin: 0;
  -webkit-animation: caricamento 1s ease-in 1 forwards;
  -moz-animation: caricamento 1s ease-in 1 forwards;
  -o-animation: caricamento 1s ease-in 1 forwards;
  animation: caricamento 1s ease-in 1 forwards;
}

@keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  } 
}

p {
  font-family: var(--font-text);
}

*:focus, *:hover {
  outline: none;
  outline-offset: unset;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

a:hover {
  text-decoration: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-title);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
  position: relative;
  color: var(--text-color);
  margin: 0;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}

img {
  max-width: 100%;
  object-fit: cover;
}

.abslink {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.absimg {
  position: absolute;
  pointer-events: none;
}

.container {
  position: relative;
  width: 1400px;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.flex {
  display: flex;
}

@media (max-width: 767px) {

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

}

.cta-primary {
  position: relative;
  display: block;
  overflow: hidden;
  text-align: center;
  background: var(--secondary);
  color: #fff;
  padding: 6px 26px;
  border-radius: 4px;
  width: fit-content;
  text-wrap: nowrap;
  font-size: 18px;
  font-weight: 300;
  font-family: var(--font-text);
  cursor: pointer;
  letter-spacing: 1px;
  transition: all .3s ease-in-out;
}

.cta-primary:hover {
  background: var(--secondary-hover);
  color: #fff;
}

/* Inizio Header */

#header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 10;
  transition: position .3s ease-in-out;
}

.scrolled #header {
  position: fixed;
  background: #fff;
  box-shadow: 0 6px 10px 0px #00000030;
}

.scrolled #header .nav .menu li a {
  color: var(--primary);
}

.scrolled #header .nav .menu li.menu-item-has-children:before {
  background: var(--primary);
}

.scrolled #header .nav .menu li.menu-item-has-children:hover > a {
  color: var(--secondary-hover);
}

.scrolled #header .nav .menu li.menu-item-has-children:hover:before {
  background: var(--secondary-hover);
}

#header:has(~ .page-standard), #header:has(~ .page-contatti) {
  position: relative;
}

.scrolled #header:has(~ .page-standard), .scrolled #header:has(~ .page-contatti) {
  position: fixed;
}

.scrolled #header .nav .menu li:hover > a {
  color: var(--secondary);
}

.site-header {
  padding: 24px 0;
}

.site-header .flex {
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

.intro-logo .logo {
  position: relative;
}

/* Fine Header */

/* Inizio Nav */

.desktop-nav {
  display: block;
}

.mobile-nav {
  display: none;
}

.hamburger {
  display: none;
}

.site-header .intro-logo {
  width: 160px;
}

.site-header .header-tools {
  width: 160px;
}

.site-header .nav {
  flex-grow: 2;
}

.nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.nav .menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav .menu li {
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-weight: 400;
  font-size: 18px;
  height: 46px;
  cursor: pointer;
}

.nav .menu li a {
  color: #fff;
  transition: all .3s ease-in-out;
}

.nav .menu li:hover a {
  color: var(--secondary-hover);
}

#header:has(~ .page-standard) .nav .menu li a, #header:has(~ .page-contatti) .nav .menu li a {
  color: var(--primary);
}

#header:has(~ .page-standard) .nav .menu li:hover a, #header:has(~ .page-contatti) .nav .menu li:hover a {
  color: var(--primary-hover);
}

.nav .menu > li ul {
  top: 46px;
  width: 400px;
  position: absolute;
  border-radius: 4px;
  opacity: 0;
  background: #fff;
  pointer-events: none;
  transition: all .3s ease-in-out
}

.menu-item-has-children:hover .sub-menu {
  box-shadow: 0 6px 10px 0px #00000030;
  pointer-events: initial;
  opacity: 1;
  z-index: 1;
}

.nav .menu > li ul > li {
  font-weight: 400;
}

.nav .menu li:not(.shop-menu) {
  position: relative;
}

.nav .menu > li ul.sub-menu li:first-child {
  margin-top: 2px;
  border-top: none;
}

.nav .menu > li ul.sub-menu li:last-child {
  margin-bottom: 2px;
}

.nav .menu li ul.sub-menu li {
  padding: 0;
  height: initial;
  font-size: 20px;
  border-top: 1px solid #eee;
}

.nav .menu li ul.sub-menu li a {
  position: relative;
  color: var(--text-color);
  padding: 6px 8px;
  transition: all .3s ease-in-out;
  font-size: 16px;
}

.nav .menu li ul.sub-menu li:hover a {
  margin-left: 8px;
  color: var(--secondary);
}

.nav .menu li ul.sub-menu li a:before {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 100px;
  background: var(--secondary-hover);
  transform: translateY(-50%);
  opacity: 0;
  transition: all .3s ease-in-out;
}

.nav .menu li ul.sub-menu li:hover a:before {
  opacity: 1;
}

.menu-item-has-children:before {
  content: '';
  position: absolute;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: #fff;
  transition: all .3s ease-in-out;
}

#header:has(~ .page-standard) .menu-item-has-children:before {
  background: var(--primary);
}

.menu-item-has-children:hover:before, #header:has(~ .page-standard) .menu-item-has-children:hover:before {
  background: var(--secondary-hover);
}

.nav .menu li.menu-item-has-children, .menu-item-has-children:before {
  cursor: default;
}

/* Fine Nav */

/* Inizio Cerca */

.search-icon-wrapper {
  position: relative;
  display: inline-block;
}

#search-icon {
  cursor: pointer;
  width: 24px;
}

#search-icon img {
  display: block;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#search-icon img:hover {
  filter: brightness(5);
}

:not(.home) #search-icon img:hover {
  filter: brightness(1.5);
}

.fullscreen-search {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #354493ee;
  z-index: -100;
  transition: all 0.3s ease-in-out;
}

.search-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  text-align: center;
  padding: 0 10px;
}

.search-container input[type="text"] {
  width: 80%;
  padding: 10px;
  font-size: 26px;
  border: none;
  border-radius: 0px;
  border-bottom: 1px solid #fff;
  background: transparent;
  color: #fff;
}

.search-container input[type="text"]::placeholder {
  color: #fff;
}

.search-container button {
  background: none;
  border: none;
  cursor: pointer;
  background-color: transparent !important;
}

.search-container img {
  width: 35px;
  position: relative;
  top: 16px;
  filter: brightness(10);
}

.close-btn {
  position: absolute;
  top: calc(50% + -80px);
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.risultati {
  padding: 30px 15px;
  border-bottom: 1px solid var(--giallo);
}

.risultati h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.risultati a {
  color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}

.risultati a:hover {
  border-bottom: 1px solid var(--primary);
}

/* Fine Cerca */

/* Inizio Home */

.main-home {
  position: relative;
  padding: 140px 0 100px;
  height: 800px;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  align-items: center;
}

.main-home:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(90deg, rgba(74, 14, 14, 0.4) 0%, rgba(74, 14, 14, 0.2) 50%, rgba(74, 14, 14, 0.2) 100%); */
  background: #00000050;
  pointer-events: none;
}

.main-home:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 10%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 0%;
  left: 50%;
  width: 100%;
  height: 800px;
  object-fit: cover;
  transform: translateX(-50%);
  z-index: -1;
}

.img-hero {
  position: absolute;
  top: 0%;
  left: 50%;
  width: 100%;
  height: 800px;
  object-fit: cover;
  transform: translateX(-50%);
  z-index: -1;
}

.hero-desc {
  width: fit-content;
  color: #fff;
}

.hero-desc h1 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-desc h3 {
  color: var(--secondary-hover);
  font-family: var(--font-text);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.info-bar {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 500;
  background: #545738DD;
  padding: 20px 10px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.info-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.info-bar .icon-info-bar {
  position: relative;
  right: 10px;
  top: 4px;
}

.info-bar:before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% - 200px);
  transform: translate(-50%, -50%);
  background: var(--bg);
  height: 20px;
  width: 1px;
}

.info-bar:after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% + 280px);
  transform: translate(-50%, -50%);
  background: var(--bg);
  height: 20px;
  width: 1px;
}

.ospedali-home {
  padding: 100px 0;
}

h2.section-title {
  position: relative;
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
}

.ospedali-info {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.ospedali-info .section-title:before {
  content: '';
  position: absolute;
  top: 110px;
  left: 50%;
  background: var(--secondary-hover);
  width: 100px;
  height: 2px;
  transform: translateX(-50%);
}

.luoghi-loop-slider {
  width: 100%;
  min-width: 0;
  margin: 60px 0 40px;
}

.ospedali-home .container > .luoghi-loop-slider, .ospedali-info + .luoghi-loop-slider {
  align-self: stretch;
}

.luoghi-loop-slider .luogo-media-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.luoghi-loop-slider .luogo-card {
  min-height: 500px;
  position: relative;
  margin: 20px 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 6px 10px 0px #00000010;
  transition: all .3s ease-in-out;
}

.luoghi-loop-slider .luogo-card:hover {
  box-shadow: 0 6px 10px 0px #4A0E0E50;
}

.luoghi-loop-slider .luogo-media {
  height: 300px;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.luoghi-loop-slider .luogo-media img, .luoghi-loop-slider .luogo-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: transform .3s ease-in-out;
}

.luoghi-loop-slider .luogo-card:hover .luogo-media img, .luoghi-loop-slider .luogo-card:hover .luogo-media video {
  transform: scale(1.04);
}

.luoghi-loop-slider .luogo-info {
  padding: 20px 16px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.luoghi-loop-slider .luogo-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.4;
}

.luoghi-loop-slider .luogo-icon {
  margin: 8px 0 0;
}

.luoghi-loop-slider .luogo-title {
  color: var(--primary);
  font-size: 17px;
  margin: 18px 0 6px;
  font-weight: 600;
  height: 41px;
}

.luoghi-loop-slider .luogo-sottotitolo {
  font-size: 16px;
  margin: 2px 0 24px;
  color: #666;
}

.luoghi-loop-slider .slick-prev:before, .luoghi-loop-slider .slick-next:before {
  content: none;
}

.luoghi-loop-slider .slick-prev {
  left: -40px;
  z-index: 1;
}

.luoghi-loop-slider .slick-next {
  right: -20px;
  z-index: 1;
}

.luoghi-loop-slider .luogo-cta {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-color);
  border-bottom: 1px solid var(--secondary-hover);
  padding-bottom: 2px;
}

.ospedali-home .cta-luogo {
  margin: 60px auto;
  box-shadow: 0 6px 10px 0px #00000010;
}

.about-home {
  padding: 100px 0;
  background: var(--bg);
}

.about-wrap .container {
  justify-content: space-between;
}

.about-info {
  width: 40%;
}

.about-img {
  position: relative;
  width: 40%;
  max-height: 400px;
}

.about-info .about-pretitolo {
  color: var(--secondary-hover);
  font-family: var(--font-text);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.about-info h2 {
  width: 440px;
  margin-bottom: 10px;
  font-weight: 700;
}

.about-info h2:before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  background: var(--secondary-hover);
  width: 100px;
  height: 2px;
}

.about-info .about-desc {
  margin-top: 50px;
}

.about-info .about-desc-2 {
  font-size: 15px;
  color: #666;
  margin: 20px 0 30px;
}

.about-info .cta-primary {
  background: var(--primary);
}

.about-info .cta-primary:hover {
  background: var(--primary-hover);
}

.about-img img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.about-img .img-alt {
  position: absolute;
  bottom: -10px;
  left: -10px;
  background: var(--secondary);
  padding: 12px 20px;
  font-size: 16px;
  color: #fff;
  font-style: italic;
  font-weight: 400;
  width: 220px;
  border-radius: 4px;
  box-shadow: 0 6px 10px 0px #00000030;
  z-index: 2;
}

.bento-home {
  padding: 100px 0;
}

.bento-info {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bento-info .bento-pretitolo {
  color: var(--secondary-hover);
  font-family: var(--font-text);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.bento-info h2 {
  width: 440px;
  margin-bottom: 10px;
  font-weight: 700;
}

.bento-info h2:before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-hover);
  width: 100px;
  height: 2px;
}

.bento-gallery {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.8fr 1.1fr;
  grid-template-rows: 400px 400px;
  gap: 10px;
  margin: 80px 0 40px;
}

.bento-gallery .bento-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.bento-gallery .bento-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease-in-out;
}

.bento-gallery .bento-item:hover img {
  transform: scale(1.04);
}

.bento-gallery .bento-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.bento-gallery .bento-item:nth-child(2) {
  grid-column: 2 / span 2;
  grid-row: 1;
}

.bento-gallery .bento-item:nth-child(3) {
  grid-column: 4;
  grid-row: 1 / span 2;
}

.bento-gallery .bento-item:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.bento-gallery .bento-item:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.bento-gallery .bento-item:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}

.cta-bento {
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px 0;
}

.cta-bento a {
  color: #fff;
  padding: 12px 20px;
  background: var(--primary);
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 400;
  transition: all .3s ease-in-out;
}

.cta-bento a:hover {
  background: var(--primary-hover);
}

.percorsi-home {
  padding: 100px 0;
  background: var(--bg);
}

.percorsi-info {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.percorsi-info .percorsi-pretitolo {
  color: var(--secondary-hover);
  font-family: var(--font-text);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.percorsi-info h2 {
  width: 440px;
  margin-bottom: 10px;
  font-weight: 700;
}

.percorsi-info h2:before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-hover);
  width: 100px;
  height: 2px;
}

.percorsi-lista {
  margin: 100px 0 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.percorso-item {
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.percorso-item:nth-child(even) {
  flex-direction: row-reverse;
}

.percorso-img {
  width: 550px;
  box-shadow: 0 6px 10px 0px #00000030;
  border-radius: 8px;
}

.percorsi-lista .percorso-item:nth-child(odd) .percorso-img {
  margin-left: -40px;
}

.percorsi-lista .percorso-item:nth-child(even) .percorso-img {
  margin-right: -40px;
}

.percorso-img img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.percorso-info {
  width: 550px;
}

.percorso-titolo {
  font-family: var(--font-title);
  color: var(--primary);
  font-size: 28px;
  font-weight: 600;
}

.percorso-sottotitolo {
  font-size: 16px;
  color: #666;
  margin-bottom: 26px;
  line-height: 1.6;
}

.percorso-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all .3s ease-in-out;
}

.percorso-cta:hover {
  background: var(--primary-hover);
  color: #fff;
}

.percorso-img video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.recensioni-dona-home {
  background: var(--primary);
  color: #fff;
  padding: 40px 0;
}

.rd-wrap .container {
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.recensioni-content, .donation-wrap {
  position: relative;
  width: 50%;
}

.recensioni-content {
  display: flex;
  flex-direction: column;
}

/* Fine Home */

/* Inizio Recensioni */

.recensioni-wrap {
  color: #fff;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}

.recensioni-wrap h3 {
  background: var(--primary);
  position: relative;
  font-family: var(--font-title);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

.recensioni-wrap h3:before {
  content: '';
  position: absolute;
  top: calc(50% + 3px);
  right: 0;
  transform: translateY(-50%);
  width: 75%;
  height: 1px;
  background: #ffffff20;
}

.recensioni-list {
  height: 420px;
  overflow-y: scroll;
  padding-right: 10px;
  padding-bottom: 20px;
}

.recensioni-list::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 8px;
}

.recensioni-list::-webkit-scrollbar-track {
  border-radius: 4px;
}

.recensioni-list::-webkit-scrollbar-thumb {
  background: var(--secondary-hover);
  border-radius: 4px;
  border: none;
}

.recensioni-list h3 {
  font-family: var(--font-title);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
}

.recensione-item {
  padding: 20px 0;
  border-bottom: 1px solid #ffffff20;
}

.recensione-item:last-child {
  border-bottom: none;
}

.recensione-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
}

.recensione-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recensione-content:before {
  content: '“';
  display: block;
  font-family: var(--font-title);
  color: var(--secondary-hover);
  font-size: 60px;
  line-height: 0.5;
  margin-bottom: 0px;
}

.recensione-testo {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 14px;
  color: #ffffffcc;
}

.recensione-autore {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recensione-nome {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--secondary-hover);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.recensione-professione {
  font-size: 12px;
  color: #ffffff80;
}

/* Fine Recensioni */

/* Inizio Donazione */

.donation-wrap:before {
  content: url('/wp-content/themes/mas/assets/img/donation.svg');
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--secondary-hover);
  padding: 10px;
  border-radius: 4px;
}

.donazione {
  background: #F9F7F210;
  color: #fff;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  box-shadow: 0 6px 10px 0px #00000030;
}

.donazione .pretitolo {
  color: var(--secondary-hover);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.donazione .titolo {
  font-family: var(--font-title);
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

.donazione .desc_dona {
  font-size: 14px;
  line-height: 1.7;
  color: #ffffffcc;
  margin-bottom: 30px;
}

.donazione-cf {
  background: #fff;
  border-radius: 4px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 300px;
  margin: 0 auto;
}

.cf-label {
  color: var(--text-color);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.cf-code {
  color: var(--primary);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
}

/* Fine Donazione */

/* Inizio Amministrazione Trasparente */

.content-page .documenti-list {
  list-style: none;
  padding-left: 0;
}

.documenti-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: 1fr;
  gap: 20px;
}

.documenti-list li {
  background: var(--bg);
  border-left: 3px solid var(--secondary-hover);
  border-radius: 4px;
  transition: all .3s ease-in-out;
}

.documenti-list li:hover {
  border-left-color: var(--primary);
}

.documenti-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  color: var(--text-color);
  font-size: 16px;
  transition: all .3s ease-in-out;
}

.documenti-list li a:before {
  content: '📄';
  font-size: 18px;
}

.documenti-list li a:hover {
  color: var(--primary);
  padding-left: 26px;
}

/* Fine Amministrazione Trasparente */

/* Inizio Luogo */

.hero-luogo {
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-luogo:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(216, 175, 106, 0.2) 0%, rgba(216, 175, 106, 0.2) 50%, rgba(216, 175, 106, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-luogo:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 10%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.hero-luogo .hero-video {
  height: 700px;
}

.hero-luogo .main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.hero-luogo .title-page {
  position: relative;
  background: initial;
  padding: initial;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.hero-luogo span.intro {
  color: #fff;
  font-family: var(--font-text);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.hero-luogo h1.title {
  color: #fff;
  font-size: 44px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-luogo .info-bar {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 500;
  background: #D8AF6ADD;
  padding: 20px 10px;
  text-transform: initial;
  font-size: 14px;
  letter-spacing: 1px;
}

.hero-luogo .info-bar-vuota:before, .hero-luogo .info-bar-vuota:after {
  display: none;
}

.hero-luogo .stato-luogo {
  margin-bottom: 10px;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-luogo .stato-in-restauro { background: #F59E0B; }
.hero-luogo .stato-in-allestimento { background: #EAB308; color: var(--text-color); }
.hero-luogo .stato-temporaneamente-non-visibile { background: #EF4444; }
.hero-luogo .stato-sede-non-visitabile { background: #991B1B; }
.hero-luogo .stato-aperto { background: #22C55E; }
.hero-luogo .stato-visitabile-con-percorso-guidato-su-prenotazione { background: #3B82F6; }
.hero-luogo .stato-mostra-temporanea { background: #A855F7; }
.hero-luogo .stato-chiuso-per-ferie { background: #64748B; }

.info-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.luoghi-slider {
  margin: 100px 0 40px;
}

.luoghi-slide {
  margin: 0 10px;
}

.luoghi-slider .luoghi-slide .img-slide {
  position: relative;
  height: 600px;
}

.luoghi-slider .luoghi-slide .img-slide:before {
  content: 'Espandi';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #3E4E3ADD;
  width: 100%;
  height: 100%;
  color: #fff;
  text-transform: uppercase;
  font-family: var(--font-text);
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s ease-in-out;
}

.luoghi-slider .luoghi-slide .img-slide:hover:before {
  opacity: 1;
}

.luoghi-slider .luoghi-slide img {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  height: 600px;
  border-radius: 4px;
}

.luoghi-slider .title-slide {
  margin: 15px 0 0;
}

.luogo-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
}

.luogo-content .content-page {
  width: 70%;
  min-width: 0;
}

.desc-lunga-wrap {
  margin: 30px 0;
}

.desc-lunga {
  overflow: hidden;
  height: 0;
  transition: height .5s ease-in-out;
}

.desc-lunga.open {
  height: auto;
}

.desc-lunga-toggle {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--secondary-hover);
  padding: 4px 0;
  color: var(--primary);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: color .3s ease-in-out;
}

.desc-lunga-toggle:hover {
  color: var(--secondary-hover);
}

.desc-lunga-toggle .label-less {
  display: none;
}

.desc-lunga-toggle[aria-expanded="true"] .label-more {
  display: none;
}

.desc-lunga-toggle[aria-expanded="true"] .label-less {
  display: inline;
}

.luogo-content .content-page h3 {
  color: var(--primary);
  font-weight: 400;
  margin: 30px 0 0;
}

.luogo-content .content-page h3 ~ p {
  margin: 10px 0 20px;
}

.luogo-content .content-page h3:first-child {
  margin: initial;
}

.luogo-content .content-page a {
  color: var(--secondary-hover);
}

.luogo-content .content-page a:hover {
  color: var(--primary);
}

.percorso-luogo-accordion {
  margin: 60px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.percorso-luogo-accordion h3 {
  padding-bottom: 10px;
}

.percorso-luogo-item {
  border-bottom: 1px solid #e5ded1;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s ease-in-out;
}

.percorso-luogo-item:has(.percorso-luogo-toggle[aria-expanded="true"]) {
  box-shadow: 0 4px 12px 0 #00000010;
  border-color: var(--secondary-hover);
}

.percorso-luogo-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-text);
  transition: background .3s ease-in-out;
}

.percorso-luogo-toggle:hover {
  background: var(--bg);
}

.percorso-luogo-titolo {
  font-family: var(--font-title);
  color: var(--primary);
  font-size: 20px;
  font-weight: 500;
}

.percorso-luogo-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.percorso-luogo-icon:before, .percorso-luogo-icon:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary);
  transition: transform .3s ease-in-out;
}

.percorso-luogo-icon:before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.percorso-luogo-icon:after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.percorso-luogo-toggle[aria-expanded="true"] .percorso-luogo-icon:after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.percorso-luogo-desc {
  overflow: hidden;
  height: 0;
  transition: height .4s ease-in-out;
}

.percorso-luogo-desc-inner {
  padding: 22px 22px 22px;
  color: var(--text-color);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  min-width: 0;
}

.percorso-luogo-img {
  display: block;
  width: 30%;
  flex-shrink: 0;
  border-radius: 4px;
}

.percorso-luogo-img img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  object-fit: cover;
  transition: all .3s ease-in-out;
}

.percorso-luogo-img:hover img {
  transform: scale(1.04);
}

.percorso-luogo-gallery {
  width: 30%;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.content-page .percorso-luogo-gallery ul {
  padding-left: initial;
}

.percorso-luogo-gallery-slide a {
  display: block;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 4px;
}

.percorso-luogo-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  object-fit: cover;
  transition: transform .4s ease-in-out;
}

.percorso-luogo-gallery-slide a:hover img {
  transform: scale(1.04);
}

.percorso-luogo-gallery .slick-prev,
.percorso-luogo-gallery .slick-next {
  z-index: 2;
  width: 36px;
  height: 36px;
  background: #ffffffcc;
  border-radius: 100px;
  transition: all .3s ease-in-out;
}

.percorso-luogo-gallery .slick-prev {
  left: 10px;
}

.percorso-luogo-gallery .slick-next {
  right: 10px;
}

.percorso-luogo-gallery .slick-prev:hover,
.percorso-luogo-gallery .slick-next:hover {
  background: #fff;
}

.percorso-luogo-gallery .slick-prev:before,
.percorso-luogo-gallery .slick-next:before {
  content: none;
}

.percorso-luogo-gallery .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.percorso-luogo-testo p {
  font-size: 17px;
  margin: 0;
}

.percorso-luogo-accordion .percorso-luogo-gallery .slick-dots {
  bottom: -50px;
}

.percorso-luogo-accordion .percorso-luogo-gallery {
  overflow: initial;
}

.cta-luogo {
  background: var(--bg);
  width: 100%;
  max-width: 900px;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
}

.cta-luogo a {
  color: #fff;
  padding: 12px 20px;
  background: var(--primary);
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 400;
  transition: all .3s ease-in-out;
}

.cta-luogo a:hover {
  background: var(--primary-hover);
}

.luogo-content .sidebar {
  width: 30%;
}

.luogo-content .sidebar > div {
  margin: 0 0 25px;
  padding: 20px;
  background: var(--bg);
  border-radius: 4px;
}

.sidebar h3 {
  color: var(--primary);
  font-weight: 400;
  font-size: 22px;
}

.sidebar p {
  margin: 15px 0 0;
}

/* Fine Luogo */

.contacts-home {
  padding: 100px 0;
}

.contacts-info {
  justify-content: space-between;
}

.contacts-info > * {
  width: 50%;
}

.contacts-info .contacts-desc {
  width: 40%;
}

.contacts-info .section-title:before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  background: var(--primary);
  width: 108px;
  height: 4px;
}

.contacts-form {
  width: 40%;
  margin: 60px 0 0;
}

/* Fine Home */

/* Inizio Animazioni */

.animate, .animate-left, .animate-right, .animate-fade {
  will-change: opacity, transform;
}

.animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.animate-fade.is-visible {
  opacity: 1;
}

.animate-left {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

.animate-delay-5 {
  transition-delay: 0.5s;
}

/* Fine Animazioni */

/* Inizio Newsletter */



/* Fine Newsletter */

/* Inizio Pagina */

.page-standard {
  margin: 20px 0 80px;
}

.page-standard:has(.sidebar) .content-page {
  width: 70%;
}

.page-standard .sidebar {
  width: 30%;
}

.content-page {
  margin: 60px 0 0;
}

.content-page ul {
  list-style: circle;
  padding-left: 20px;
  margin: 4px 0 18px;
}

.title-page {
  background: var(--bg);
  padding: 18px 0;
}

.title-page h1 {
  font-weight: 700;
  color: var(--primary-hover);
  font-size: 34px;
}

.content-page h3 {
  color: var(--primary);
  font-weight: 400;
}

.page-policy {
  font-size: 18px;
}

.page-policy ul {
  padding-left: 20px;
}

.page-policy h1.title.title-page {
  margin-bottom: 50px;
}

.page-policy table {
  width: 100%;
  text-align: left;
}

.page-policy tr:nth-child(even) {
  background: var(--bg);
}

.page-policy thead {
  background: var(--text-color);
  color: #fff;
}

.page-policy th, .page-policy td {
  font-size: 16px;
  padding: 4px;
}

/* Fine Pagina */

/* Inizio Pagina Contatti */

.page-contatti > .container {
  gap: 80px;
}

.page-contatti .content-page, .page-contatti .form {
  width: 50%;
}

.maps-contatti {
  margin: 140px 0 -7px;
}

.page-contatti .form {
  margin: 60px 0 0;
  background: var(--bg);
  padding: 30px;
  box-shadow: 0 6px 10px 0px #00000030;
}

.page-contatti .content-page a:hover {
  color: var(--secondary-hover);
}

.page-contatti .content-page strong {
  color: var(--primary);
  font-weight: 600;
}

/* Fine Pagina Contatti */

/* Inizio Policy */

.policy-wrap {
  margin-bottom: 60px;
}

.info-box {
  background: #eee;
  border-left: 4px solid var(--primary);
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.info-box strong {
  color: var(--primary);
}

.privacy-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.privacy-container th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.privacy-container th, .privacy-container td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.page-policy .content-page h2 {
  position: relative;
  color: var(--primary);
  font-size: 30px;
  margin-bottom: 0;
}

.page-policy .content-page h4 {
  font-size: 24px;
  margin: 40px 0 10px;
}

.page-policy .content-page p, .page-policy .content-page ul {
  margin: 0;
}

.page-policy .content-page a {
  color: var(--primary);
  transition: all .3s ease-in-out;
}

.page-policy .content-page a:hover {
  margin-left: 4px;
}

/* Fine Policy */

/* Inizio Sidebar */

.sidebar {
  margin: 60px 0 0;
}

.sidebar .sidebar-wrap > div {
  margin: 0 0 25px;
  padding: 20px;
  background: var(--bg);
}

.sidebar .sidebar-wrap > div:has(.custom-html-widget) {
  background: none;
}

.sidebar ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.sidebar ul li::marker {
  color: var(--primar y);
}

.sidebar ul li a {
  font-size: 17px;
  transition: all .3s ease-in-out;
}

.sidebar ul li a:hover {
  margin-left: 4px;
  color: var(--primary);
}

.sidebar h4 {
  font-size: 24px;
  border-bottom: 1px solid var(--text-color);
  padding: 0 0 6px 0;
}

.sidebar .cta-sidebar {
  position: relative;
  background: var(--secondary);
  border: 4px solid #fff;
  box-shadow: 0 0 0px 2px var(--secondary);
  text-align: center;
  padding: 20px 10px;
  border-radius: 8px;
  transition: all .3s ease-in-out;
}

.sidebar .cta-sidebar span {
  color: var(--text-color);
  transition: all .3s ease-in-out;
}

.sidebar .cta-sidebar:hover {
  background: var(--tertiary-hover);
  box-shadow: 0 0 0px 2px var(--tertiary-hover);
}

.sidebar .cta-sidebar:hover span {
  color: var(--text-color);
}

.cta-sidebar strong {
  font-size: 20px;
}

.sidebar a {
  font-size: 17px;
  transition: all .3s ease-in-out;
}

.sidebar a:hover {
  margin-left: 4px;
  color: var(--primary);
}

/* Fine Sidebar */

/* Inizio Footer */

footer {
  color: #888;
  padding: 80px 0 0;
  background: #1C1C1B;
  font-size: 15px;
}

footer > .flex {
  gap: 60px;
  border-bottom: 1px solid #444;
  margin-bottom: 30px;
}

footer > div {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.widget-footer > .container > div {
  width: 25%;
  margin-bottom: 50px;
}

.widget-footer > .container > div {
  margin-bottom: 80px;
}

.last-widget-footer {
  gap: 80px;
}

footer .title-widget {
  color: var(--secondary-hover);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-text);
}

.title-widget {
  color: #fff;
  font-weight: 400;
  font-size: 22px;
}

.widget-footer ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.6;
}

.widget-footer ul li a {
  font-size: 15px;
  transition: all .3s ease-in-out;
}

.widget-footer ul li a:hover {
  color: #fff;
}

.widget-footer p, .widget-footer .contatti-footer a {
  font-size: 15px;
  line-height: 1.7;
}

.widget-footer p strong {
  color: #fff;
}

.widget-footer p a, .widget-footer .contatti-footer a {
  transition: all .3s ease-in-out;
}

.widget-footer p a:hover, .widget-footer .contatti-footer a:hover {
  margin-left: 4px;
  color: var(--primary);
}

.contatti-footer {
  margin: 15px 0;
}

.widget-footer .contatti-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
  transition: all .3s ease-in-out;
}

.widget-footer .contatti-footer a:hover {
  color: #fff;
  margin-left: initial;
}

.widget-footer .contatti-footer img {
  width: 16px;
  height: 16px;
}

.copyright {
  background: #1C1C1B;
  padding: 12px 0;
  color: var(--text);
  font-size: 12px;
}

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

.copyright .copy-policy {
  text-align: right;
}

.copy-policy a {
  transition: all .3s ease-in-out;
}

.copy-policy a:hover {
  color: #fff;
}

a.wa-widget-button {
  position: fixed;
  right: 15px;
  bottom: 20px;
  background: #3fd83a;
  z-index: 7;
  width: 50px;
  height: 50px;
  padding: 4px 4px 4px 4px;
  border-radius: 50%;
  box-shadow: 0 2px 14px -3px #000000a3;
  transition: all .3s ease-in-out;
}

a.wa-widget-button.at-bottom {
  bottom: 40px;
}

svg.wa-messenger-svg-whatsapp.wa-svg-icon * {
  fill: #FFF;
}

.widget-footer img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  display: block;
}

.design-lab-footer {
  text-transform: uppercase;
  font-size: 22px;
  margin-left: -2px;
}

.widget-footer .footer-widget p:has(img) {
  margin: 0;
}

.social-list, .social-list-footer {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 30px 0 0;
}

.social-list img {
  position: relative;
  top: 0;
  width: 28px;
  height: 28px;
  transition: all .3s ease-in-out;
}

.social-list > a:hover img {
  top: -4px;
}

.social-list-footer img {
  position: relative;
  top: 0;
  width: 24px;
  height: 24px;
  opacity: 0.4;
  transition: all .3s ease-in-out;
}

.social-list-footer > a:hover img {
  opacity: 1;
}

/* Fine Footer */

/* Inizio Cursore */



/* Fine Cursore */

@media (max-width: 1200px) {

  

}

@media (max-width: 992px) {

  html:has(.admin-bar) {
    margin-top: 0 !important;
  }

}

@media (max-width: 767px) {

  /* Inizio mobile nav */

  .desktop-nav {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }

  .hamburger {
    display: block;
  }

  html:has(body.menu-open) {
    overflow: hidden;
  }

  .border {
    display: none;
  }

  .social-info {
    display: none;
  }

  .menu-open .social-info {
    display: flex;
    top: 100%;
    transform: translateY(-100%);
    gap: 10px;
    padding: 10px 0;
    z-index: 11;
  }

  .hamburger {
    position: relative;
    top: -4px;
    width: 36px;
    height: 19px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100;
  }

  .hamburger span {
    display: block;
    height: 1px;
    border-radius: 100px;
    width: 100%;
    background: var(--primary);
    transition: all 0.3s ease-in-out;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #fff;
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #fff;
  }

  .home .hamburger span, .home .hamburger.open span:nth-child(1), .home .hamburger.open span:nth-child(3), .single-luoghi .hamburger span, .single-luoghi .hamburger.open span:nth-child(1), .single-luoghi .hamburger.open span:nth-child(3) {
    background: #fff;
  }

  .scrolled.home .hamburger span, .scrolled.single-luoghi .hamburger span {
    background: var(--primary);
  }

  .scrolled.home .hamburger.open span:nth-child(1), .scrolled.home .hamburger.open span:nth-child(3), .scrolled.single-luoghi .hamburger.open span:nth-child(1), .scrolled.single-luoghi .hamburger.open span:nth-child(3) {
    background: #fff;
  }

  .scrolled #header .nav .menu li a {
    color: #fff;
  }

  .scrolled #header .nav .menu li.menu-item-has-children ul li a {
    color: var(--primary);
  }
  
  .nav {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100vw;
    background: var(--primary);
    transform: translateX(100%);
    transition: transform .3s ease-in-out;
    z-index: 100;
    overflow-y: auto;
  }

  .admin-bar .nav {
    height: calc(100% - 130px);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav .menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 20px 0 14px;
  }

  .nav .menu > .menu-item {
    width: 100%;
    text-align: left;
    margin-bottom: 0px;
    padding: 12px;
    line-height: 1.2;
  }

  .nav.mobile-nav .menu > .menu-item {
    border-bottom: 1px solid var(--primary-hover);
    padding: 10px 0;
    font-weight: 500;
    font-size: 18px;
    font-weight: 400;
    height: 50px;
  }

  .nav.mobile-nav .menu > .menu-item:last-child {
    border-bottom: none;
  }

  .nav .menu a {
    position: relative;
    top: 1px;
    width: 100%;
    display: block;
    color: var(--text-color);
  }

  #header:has(~ .page-standard) .nav .menu li a, #header:has(~ .page-contatti) .nav .menu li a {
    color: #fff;
  }

  #header:has(~ .page-standard) .nav .menu li a:hover, #header:has(~ .page-contatti) .nav .menu li:hover {
    color: var(--secondary);
  }

  .sub-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding-left: 0;
    background: transparent;
    border: none;
    border-left: 1px solid var(--marrone);
    opacity: 0;
    transition: max-height .3s ease-in;
  }

  .sub-menu.open {
    display: block;
    position: initial;
    width: 100%;
    max-height: 300px;
    margin: 6px 0px;
    background: transparent;
    opacity: 1;
  }

  .menu-item-has-children > a {
    position: relative;
  }

  .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
  }

  .menu-item-has-children > a::after {
    content: "+";
    position: absolute;
    top: -3px;
    right: 10px;
    font-size: 22px;
    cursor: pointer;
    transition: all .3s ease-in-out;
  }

  .menu-item-has-children.open > a::after {
    content: '-';
  }

  .nav .menu a:hover {
    color: var(--marrone);
  }

  .nav .sub-menu li a {
    padding: 6px 10px;
  }

  .nav.mobile-nav .menu > .icon.menu-item:before {
    content: '';
    position: relative;
    width: 50px;
    height: 50px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: 0px 8px;
  }

  .mobile-nav .menu-menu-principale-container, .mobile-nav .menu-menu-mobile-container {
    margin-top: 50px;
  }

  .mobile-nav .menu-item-has-children:before {
    display: none;
  }

  /* Fine mobile nav */

  html {
    overflow-x: hidden;
  }

  body {
    font-size: 17px;
  }

  body:has(.page-standard).scrolled, #body:has(.page-contatti).scrolled {
    margin-top: 71px;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav.desktop-nav {
    display: none;
  }

  .cta-primary {
    padding: 6px 20px;
    z-index: 1;
  }

  .menu-open .cta-primary {
    opacity: 0;
  }

  .home #header {
    height: auto;
    z-index: 99;
  }

  #header {
    height: auto;
    margin-bottom: 10px;
  }

  .menu-open #header {
    height: 100dvh;
  }

  body.admin-bar #header {
    padding-top: 46px;
  }

  .site-header .header-tools {
    display: none;
  }

  .site-header {
    padding: 12px 0 10px;
  }
  
  .site-header .flex {
    justify-content: space-between;
  }
  
  .site-header .intro-logo {
    flex-grow: initial;
    width: 220px;
  }

  .hero-video {
    height: 600px;
  }

  .img-hero {
    height: 600px;
  }

  .main-home {
    height: 600px;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
  }

  .hero-wrap {
    width: 100%;
  }

  .hero-desc {
    width: 100%;
    font-size: 16px;
  }

  .hero-desc h3 {
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }

  .hero-desc h1 {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .info-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .info-bar {
    padding: 10px;
  }

  .info-bar:before {
    content: none;
  }

  .ospedali-home {
    padding: 40px 0;
  }

  .ospedali-info > * {
    width: 100%;
  }

  h2.section-title {
    font-size: 24px;
  }

  h2.section-title br {
    display: none;
  }

  .ospedali-info .section-title:before {
    top: 110px;
  }

  .luoghi-loop-slider {
    width: 90%;
    margin: 40px auto 20px;
  }

  .luoghi-loop-slider .slick-prev {
    left: -30px;
  }

  .luoghi-loop-slider .slick-next {
    right: -10px;
  }

  .luoghi-slider {
    margin: 30px 0 20px;
  }

  .luoghi-loop-slider .luogo-media {
    height: 220px;
  }

  .luoghi-loop-slider .luogo-sottotitolo {
    font-size: 15px;
    margin: 2px 0 20px;
  }

  .luoghi-loop-slider .luogo-card {
    min-height: auto;
  }

  .ospedali-home .cta-luogo {
    width: 90%;
    margin: 20px auto 0;
    padding: 20px;
    text-align: center;
  }

  .cta-luogo a {
    padding: 10px 20px;
  }

  .about-wrap .container {
    gap: 60px;
  }

  .about-home {
    padding: 40px 0;
  }

  .about-info {
    width: 100%;
  }

  .about-info h2 {
    width: 100%;
  }

  .about-info .about-pretitolo {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .about-info .about-desc {
    font-size: 16px;
  }

  .about-info .about-desc-2 {
    font-size: 14px;
  }

  .about-img {
    width: 90%;
    margin: 0 auto;
  }

  .about-img .img-alt {
    padding: 12px 14px;
    font-size: 16px;
    width: 200px;
  }

  .bento-home {
    padding: 60px 0;
  }

  .bento-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 8px;
    margin: 60px 0 40px;
  }

  .bento-gallery .bento-item {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 4 / 3;
  }

  .cta-bento {
    text-align: center;
    margin: 20px auto 0;
    padding: 20px 20px 0;
  }

  .percorsi-home {
    padding: 40px 0;
  }

  .percorsi-lista {
    margin: 60px 0 0;
    gap: 50px;
  }

  .percorso-titolo {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .percorso-sottotitolo {
    margin-bottom: 18px;
  }

  .percorso-item, .percorso-item:nth-child(even) {
    flex-direction: column;
    gap: 24px;
  }

  .percorso-img, .percorso-info {
    width: 100%;
  }

  .percorso-item:nth-child(odd) .percorso-img, .percorso-item:nth-child(even) .percorso-img {
    margin: 0;
  }

  .percorso-luogo-toggle {
    padding: 12px 6px;
  }

  .percorso-luogo-gallery {
    width: 100%;
  }

  .percorso-luogo-titolo {
    font-size: 18px;
  }

  .percorso-luogo-desc-inner {
    padding: 10px;
    flex-direction: column;
  }

  .percorso-luogo-img {
    width: 100%;
  }

  .percorso-cta {
    padding: 12px 20px;
  }

  .rd-wrap .container {
    gap: 40px;
  }

  .recensioni-dona-home {
    padding: 30px 0;
  }

  .recensioni-content {
    width: 100%;
  }

  .donation-wrap {
    width: 90%;
  }

  .donazione {
    padding: 30px 20px;
  }

  .donazione .pretitolo {
    margin-bottom: 16px;
  }
  
  .donazione .titolo {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .donazione-cf {
    width: 100%;
  }
  
  .recensioni-wrap {
    padding: 10px 14px;
  }

  .hero-luogo {
    height: 600px;
    text-align: left;
  }

  .hero-luogo .main-img {
    height: 600px;
  }

  .hero-luogo .hero-video {
    height: 600px;
  }

  .luogo-content .content-page {
    width: 100%;
    margin: 30px 0 0;
  }

  .luogo-content {
    gap: 0px;
  }

  .luogo-content .sidebar {
    width: 100%;
  }

  .luoghi-slider .luoghi-slide img {
    height: 400px;
  }

  .cta-luogo {
    margin: 40px auto;
    padding: 20px;
    text-align: center;
  }

  .luoghi-slider button {
    display: none;
  }

  .documenti-list {
    grid-template-columns: 1fr;
  }

  .contacts-info > * {
    width: 100%;
  }

  .contacts-home {
    padding: 40px 0;
  }

  .contacts-info .section-title:before {
    top: 44px;
  }
 
  .contacts-info .contacts-desc {
    width: 100%;
    margin: 40px 0 20px;
  }

  .contacts-form {
    width: 100%;
    margin: 0 0 20px;
  }

  .page-standard {
    margin: 10px 0 40px;
  }

  .page-standard:has(.sidebar) .content-page {
    width: 100%;
  }

  .content-page {
    margin: 30px 0 0;
  }

  .title-page {
    padding: 10px 0;
  }

  .title-page h1 {
    font-size: 26px;
  }

  .single-luoghi .title-page h1 {
    font-size: 28px;
  }

  .content-page h3 {
    font-size: 24px;
  }

  .page-contatti .content-page, .page-contatti .form {
    width: 100%;
  }

  .page-contatti > .container {
    gap: 0px;
  }

  .page-contatti .form {
    padding: 20px;
  }

  .maps-contatti {
    margin: 100px 0 -7px;
  }

  .page-standard .sidebar {
    width: 100%;
    margin: 20px 0 0;
  }

  .sidebar {
    margin: 20px 0 0;
  }

  .sidebar .cta-sidebar {
    padding: 20px 6px;
  }

  .sidebar .sidebar-wrap > div:has(.custom-html-widget) {
    padding: 10px;
  }

  footer {
    padding: 50px 0 0;
  }

  .widget-footer > .container.flex {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 20px;
  }

  .widget-footer > .container > div {
    width: 100%;
    margin-bottom: 0px;
  }

  .title-widget {
    font-size: 24px;
  }

  .widget-footer ul, .widget-footer p {
    margin: 4px 0 18px;
  }

  .widget-footer img {
    width: 80%;
    margin: 0;
  }

  .widget-footer > .container > div:first-child {
    width: 100%;
    margin-bottom: 20px;
  }

  .last-widget-footer {
    gap: 40px;
  }

  .social-list, .social-list-footer {
    margin: 20px 0 0;
  }

  .copyright {
    padding: 0px 0 20px;
  }

  .copyright .flex {
    gap: 20px;
  }

  a.wa-widget-button.at-bottom {
    bottom: 10px;
  }

}

@media (max-width: 576px) {



}