/* ! Base System */
/* ----------------------------------------------------------------------------------- */
body,
html {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  font-optical-sizing: auto;
  background: #f5f3fc;
  color: oklch(0.35 0.2 301.68);
  /* border: 3px solid rgb(66, 121, 198); */
}

/* OTTIMIZZAZIONE RESA FONTS UTILE X FONTS CARICATI DA HOST INTERNO, 
(LA MEDESIMA CHE VIENE APPLICATA DA GOOGLE DI DEFAULT se i fonts vengono CARICATI DA GOOGLE-FONTS) */
html,
body {
  /* Migliora la resa dei caratteri su tutti i browser */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004); /* Trucco extra per la nitidezza */
}

/* FALLBACK */
html,
body {
  /* Applichiamo l'Open Sans a tutto il sito con le sue riserve */
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Ricordati l'ottimizzazione per non vederli "grassi" che abbiamo detto prima */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ------------fine OTTIMIZZAZIONE FONTS---------------------------------------- */

a {
  text-decoration: none;
  color: oklch(0.45 0.195 300.39);
}
p {
  line-height: 1.5;
  font-optical-sizing: auto;
  word-spacing: -1px;
}
.inter {
  line-height: 1.6;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #f8f3f3;
  width: 100%;
  height: 4px;
}
.progress-bar::-webkit-progress-value {
  background: #e9e9ff;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/* ! Title System */
/* ----------------------------------------------------------------------------------- */
.text-0 {
  font-size: 5rem;
  line-height: 1;
}
h1,
.text-1 {
  font-size: 3.4rem;
}
h2,
.text-2 {
  font-size: 2.2rem;
}
h3,
.text-3 {
  font-size: 1.5rem;
}
h4,
p,
.text-4 {
  font-size: 1.3rem;
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin-bottom: 1rem;
}

/* h1, h2, h3, h4, h5, h6 { font-family: "Staatliches", sans-serif;
                         font-weight: normal; 
                        } */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* FALLBACK e OTTIMIZZAZIONE TITOLI*/

h1,
h2,
h3,
h4,
h5,
h6 {
  /* Sovrascriviamo solo per i titoli usando il Work Sans */
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}
/* Opzionale: un leggerissimo distanziamento tra le lettere per i titoli */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.01em; /* Rende il Work Sans molto più "high-end" */
  font-feature-settings: "kern" 1, "liga" 1; /* Forza la spaziatura perfetta tra le lettere */
  font-variant-ligatures: common-ligatures;
}
/* --------------------fine ottimizzazione */

@media (max-width: 768px) {
  p {
    font-size: 1.1rem;
  }
  .text-1 {
    font-size: 2.2rem;
  }
  .text-0 {
    font-size: 3rem;
    line-height: 1;
  }
}
@media (max-width: 365px) {
  p {
    font-size: 1.1rem;
  }
  .text-1 {
    font-size: 2.1rem;
  }
  .text-0 {
    font-size: 2.8rem;
    line-height: 1;
  }
}

@media only screen and (max-device-width: 950px) and (orientation: landscape) {
  p {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .h4-piccolo {
    font-size: 1.1rem;
  }
}

/* ! Button system */
/* ----------------------------------------------------------------------------------- */
/* .button,
.wp-block-button__link {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  background: oklch(0.6 0.17 294.31 / 0.3);
  color: #e9e9ff;
  border: 2px solid #ddd;
  padding: 8px 25px;
  display: inline-block;
  border-radius: 50px;
}
.button:hover,
.wp-block-button__link:hover {
  background: oklch(0.75 0.14 291.8785);
} */

/* => Glowing Button Base Style */
/* 
.button,
.wp-block-button__link {
  --glow-color: rgb(217, 188, 248);
  --glow-size: 12px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  color: #fff;
  background: linear-gradient(90deg, rgb(169, 105, 247), rgb(138, 50, 247));
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 var(--glow-size) rgba(107, 8, 207, 0.6);
  transition: transform 200ms ease, box-shadow 200ms ease;
} */

.button,
.wp-block-button__link {
  --glow-color: hsl(270, 80%, 95%);
  --glow-size: 30px;
  --bg-saturation: 70%; /* Saturazione */
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  color: #fff;
  background: linear-gradient(
    90deg,
    hsl(270 var(--bg-saturation) 80%),
    hsl(270 var(--bg-saturation) 60%)
  );
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 var(--glow-size) rgba(107, 8, 207, 0.6);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.button-ticket {
  padding: 0.2rem 0.4rem;
}

/* soft lift + stronger glow on hover */
.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  transform: translateY(-3px);
  box-shadow: 0 0 calc(var(--glow-size) * 1.6) rgba(165, 83, 247, 0.9);
  /* background: linear-gradient(90deg, rgb(169, 105, 247), rgb(138, 50, 247)); */
  background: linear-gradient(
    90deg,
    hsl(270 var(--bg-saturation) 80%),
    hsl(270 var(--bg-saturation) 60%)
  );
  transform: scale(1.05);
}

/* decorative blurred glow layer */
.button::before,
.wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    var(--glow-color),
    transparent 35%
  );
  filter: blur(10px);
  opacity: 0.6;
  z-index: -1;
  transition: transform 300ms ease, opacity 200ms ease;
}

.button:hover::before,
.wp-block-button__link:hover::before {
  transform: scale(1.05);
  opacity: 1;
}

/* accessible focus style */
.button:focus,
.wp-block-button__link:focus {
  outline: 3px solid rgba(255, 255, 255, 0.06);
  outline-offset: 2px;
}

/* reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .button,
  .wp-block-button__link {
    transition: none;
  }
  .button::before,
  .wp-block-button__link::before {
    transition: none;
    transform: none;
  }
}

/* BREADCRUMBS------------- */

.rank-math-breadcrumb {
  /* border: 1px solid red; */
  z-index: 99;
  position: relative;
  height: 40px;
}
.rank-math-breadcrumb p {
  /* border: 1px solid rgb(55, 0, 255); */
  margin-left: 3%;
  margin-bottom: 0px;
  font-size: 0.8rem;
  z-index: 99;
}
.rank-math-breadcrumb span {
  /* border: 1px solid rgb(0, 255, 166); */
  z-index: 99;
}
.custom-seo-breadcrumbs {
  /* border: 1px solid rgb(142, 169, 43); */
  clear: both; /* Impedisce a elementi precedenti di sovrapporsi */
  display: block; /* Forza il contenitore a occupare lo spazio */
  min-height: 60px; /* Meglio di height: fissa, così se il testo va a capo il box si adatta */
  margin-bottom: 20px;
}

/* ! Blocks  System */
/* ----------------------------------------------------------------------------------- */

/* MENU-HEADER OVERLAY  ----------------------------------------------------- */

.transparent-bar {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100vw;
  height: 120px;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  overflow: hidden;
  /*border: 2px solid red;*/
}
@media (max-width: 499px) {
  .transparent-bar {
    height: 100px;
    top: 5px;
    z-index: 98;
  }
}

@media (min-width: 500px) and (max-width: 1200px) {
  .transparent-bar {
    height: 100px;
    top: 30px;
    z-index: 98;
  }
}
@media (min-width: 1680px) {
  .transparent-bar {
    height: 150px;
  }
}
.home-link {
  /* border: 2px solid rgb(255, 255, 0); */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: auto;
}
@media (max-width: 1200px) {
  .home-link {
    width: 60%;
  }
}
@media (max-width: 450px) {
  .home-link {
    width: 70%;
  }
}

.transparent-bar svg {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  margin-left: 25px;
  /* border: 2px solid green; */
}

.transparent-bar svg:hover {
  transform: scale(1.1);
}

/* cambia il colore di riempimento */
/* .transparent-bar svg path {
  fill: #ff0000; 
  stroke-width: 2;
  stroke: #000;
} */

/* ====================================
=> Navigation 
==================================== */

.overlay-navigation {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 100%, 0.2);
  display: none;
  /* opacity: 0; */
  /* border: 3px solid rgb(246, 255, 0); */
}

nav,
nav ul {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

nav ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
}

nav ul li {
  -webkit-flex-basis: 20%;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  display: none;
  /* border: 3px solid rgb(0, 255, 8); */
}

/* nav li a {
  position: relative;
  top: 46%;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Work sans', sans-serif;
  font-weight: 300;
  letter-spacing: 4px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0;
} */

/* overlay-nav-link corrisponde agli "a" generati "automaticamente" dal menu di WP 
nella NAV in base alle pagine create quindi sostituisce: a, nav ui li a, nav li a. */

.overlay-nav-link {
  position: relative;
  display: block;
  text-align: center;
  top: 86%;
  left: 35%;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 8px;
  text-decoration: none;
  color: #fff;
  padding-bottom: 3px;
  /* border-bottom: 1px solid #c905eb;  */
  /* border: 2px solid rgb(255, 0, 217);  */
  opacity: 0;
  z-index: 10;
}

.overlay-nav-link:before {
  content: "";
  width: 70px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 100;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  opacity: 0;
  -webkit-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.overlay-nav-link:after {
  content: attr(data-content);
  font-size: 0.7rem;
  -webkit-transition: all 0.1s linear;
  transition: all 0.1s linear;
  opacity: 0;
  position: absolute;
  z-index: 100;
  color: #fff;
  display: block;
  margin-right: auto;
  margin-left: auto;
  left: 0;
  right: 0;
  bottom: -50px;
  text-transform: none;
  font-family: "Open sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0;
}

.overlay-nav-link:hover:before {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

.overlay-nav-link:hover:after {
  -webkit-transform: translateY(15px);
  -ms-transform: translateY(15px);
  transform: translateY(15px);
  opacity: 1;
}

/* Aggiungi questo CSS per ruotare il testo DELLA NAV orizzontale di 90 gradi in senso antiorario  (renderlo verticale) */

.rotate-90-anticlockwise {
  display: inline-block; /* necessario per applicare la trasformazione */
  transform: rotate(-90deg);
  transform-origin: left top; /* punto di origine della rotazione, puoi regolare se serve */
  white-space: nowrap; /* evita interruzioni di riga */
}

nav li:nth-of-type(1) {
  background-color: oklch(0.35 0.2 301.68);
}

nav li:nth-of-type(2) {
  background-color: oklch(0.4 0.2 301.46);
}

nav li:nth-of-type(3) {
  background-color: oklch(0.45 0.195 300.39);
}

nav li:nth-of-type(4) {
  background-color: oklch(0.5 0.19 298.57);
}

nav li:nth-of-type(5) {
  background-color: oklch(0.55 0.18 296.56);
}
nav li:nth-of-type(6) {
  background-color: oklch(0.6 0.17 294.31);
}

nav li:nth-of-type(7) {
  background-color: oklch(0.65 0.16 293.37);
}

nav li:nth-of-type(8) {
  background-color: oklch(0.7 0.15 293.34);
}

nav li:nth-of-type(9) {
  background-color: oklch(0.75 0.14 291.8785);
}

nav li:nth-of-type(10) {
  background-color: oklch(0.8 0.13 291.8785);
}
nav li:nth-of-type(11) {
  background-color: oklch(0.85 0.12 291.8785);
}

nav li:nth-of-type(12) {
  background-color: oklch(0.9 0.11 291.8785);
}

/* ====================================
=> Menu Burger king
==================================== */

.open-overlay {
  width: 50px;
  height: 50px;
  margin: 50px;
  padding: 4px;
  display: flex; /* use flex to center spans */
  flex-direction: column;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  /* background: oklch(0.9 0.11 291.8785 / 0.7);
  border: 2px solid #ddd; */
  border-radius: 50%;
}

.open-overlay span {
  display: block;
  width: 60%;
  height: 2px;
  background-color: #fff;
  cursor: pointer;
  margin: 2px 0;
}

@media (max-width: 768px) {
  .open-overlay {
    width: 40px;
    height: 40px;
    margin: 30px;
  }
}

.animate-top-bar {
  -webkit-animation: animate-top-bar 0.3s linear 1 both;
  animation: animate-top-bar 0.3s linear 1 both;
}

.animate-bottom-bar {
  -webkit-animation: animate-bottom-bar 0.3s linear 1 both;
  animation: animate-bottom-bar 0.3s linear 1 both;
}

.animate-middle-bar {
  -webkit-animation: animate-middle-bar 0.3s linear 1 both;
  animation: animate-middle-bar 0.3s linear 1 both;
}

.animate-out-top-bar {
  -webkit-animation: animate-out-top-bar 0.3s linear 1 both;
  animation: animate-out-top-bar 0.3s linear 1 both;
}

.animate-out-bottom-bar {
  -webkit-animation: animate-out-bottom-bar 0.3s linear 1 both;
  animation: animate-out-bottom-bar 0.3s linear 1 both;
}

.animate-out-middle-bar {
  -webkit-animation: animate-out-middle-bar 0.3s linear 1 both;
  animation: animate-out-middle-bar 0.3s linear 1 both;
}

/* ====================================
=> Animation keyframes
==================================== */

@keyframes animate-top-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px);
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #fff;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #29363b;
  }
}

@keyframes animate-bottom-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px);
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #fff;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #29363b;
  }
}

@keyframes animate-middle-bar {
  0% {
    background-color: #fff;
  }
  80% {
    background-color: #fff;
  }
  100% {
    background-color: #29363b;
  }
}

@keyframes animate-out-top-bar {
  0% {
    background-color: #29363b;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px);
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #29363b;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #fff;
  }
}

@keyframes animate-out-bottom-bar {
  0% {
    background-color: #29363b;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px);
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #29363b;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #fff;
  }
}

@keyframes animate-out-middle-bar {
  0% {
    background-color: #29363b;
  }
  80% {
    background-color: #29363b;
  }
  100% {
    background-color: #fff;
  }
}

@media (max-width: 640px) {
  nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  nav ul li {
    height: 20%;
  }
  .overlay-nav-link {
    font-size: 20px;
    top: 40%;
    left: 0%;
    letter-spacing: 4px;
    /* border: 1px solid rgb(0, 255, 208); */
  }
  .overlay-nav-link:after {
    font-size: 0.6rem;
    bottom: -25px;
  }
  .overlay-nav-link:hover:after {
    transform: translateY(0);
  }
  .overlay-nav-link:before {
    width: 25px;
  }
}
@media (max-width: 335px) {
  .overlay-nav-link {
    top: 30%;
    left: 0%;
  }
}
/* FINE HEADER OVERLAY--------------------------- */

/* ----------------------------------------------- */
/*COVER HOME -------------------------------------------------*/
/* ----------------------------------------------- */
.cover {
  /* background: oklch(0.96 0.11 287); */
  background: oklch(0.7 0.15 293.34);
  padding: 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /*border: 5px solid rgb(255, 213, 0);*/
}

.cover__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 4px solid red; */
}

/* ELGLOWLAB  VIDEO-COVER (senza patterns) simple */
.cover__bg video {
  /* border: 5px solid rgb(0, 255, 4); */
  /* max-width: 100%; */
  height: auto;
  display: block;
  position: absolute;
  top: 35%;
  scale: 140%;
}
@media (min-width: 556px) and (max-width: 1000px) {
  .cover__bg video {
    height: 100vh;
    display: block;
    position: absolute;
    top: 15%;
    scale: 140%;
  }
}
@media (max-width: 555px) {
  .cover__bg video {
    top: 0;
    scale: 100%;
    width: auto;
    height: 100vh;
  }
}
/* ------------------------------------------------------------------ */
/* ---------------------------------------------------------------- */
/* CSS x c-eva-1.jpg */
/* .cover__bg img{
        border: 5px solid rgb(149, 255, 0);
        max-width: 100%;  
        height: auto;     
        display: block;   
        position: absolute;
        top: 20%;
        scale: 150%;
    } */
/* ---------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* COVER X PATTERNS */
/* Mantieni sempre position absolute e top: 0 sul contenitore */

/* .cover__bg {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

/* Stile base per i video */
/* .cover__bg video {
  max-width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0; /* default top */
/* left: 0;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1);
} */

/* Per dispositivi medi (450px - 999px) sposta verticalmente il video */
/* @media (min-width: 450px) and (max-width: 999px) {
  .cover__bg video {
    top: 0% !important; 
  } 
}*/

/* Per dispositivi grandi (>= 1000px) con video replicati, puoi specificare top via JS o CSS */
/* @media (min-width: 1000px) {
  .cover__bg video {
    top: 0% !important; 
  }
} */

/* @media (max-width: 449px) {
  .cover__bg video {
    top: 0% !important; 
  }
  
} */
/* ----------------------------------------------- */
/* FINE PATTERNS */
/* ----------------------------------------------- */
.cover:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(19, 19, 19, 0.4) 100%
  );
  background-size: cover;
}

.cover__bg-filter {
  display: none;
}

.cover__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  margin-top: 60vh;
  position: relative;
  width: 100%;
  z-index: 2;
  border: 1px solid rgba(144, 26, 255, 0.38);
}

.cover__content {
  border-radius: 8px;
  backdrop-filter: blur(5px);
  background-color: rgba(193, 178, 255, 0.261);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.089);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.cover-whatsapp {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.button-whatsapp {
  /* background: oklch(0.6 0.17 294.31 / 0.7); */
  padding: 10px 10px 5px 10px;
  display: inline-block;
  border-radius: 4px;
  margin-left: 15px;
  /* background: transparent; */
}

.buttons {
  display: flex;
  /* justify-content: center; */
  align-items: center;
}

/* .available{width: 300px; height: 300px; position:absolute; top:25%; right:10%; z-index:2;} */

/* TITOLO-SUBTITOLO-EXCERPT SITO COVER HOME */
.titolo {
  font-size: calc(5em + 0.001vw);
  margin-bottom: 0;
  font-weight: 600;
}
@media (max-width: 550px) {
  .titolo {
    font-size: calc(2.8em + 0.001vw);
    margin-bottom: 0;
  }
}

.home-cover-subtitle {
  margin-bottom: 0;
  padding: 0.5% 0;
  font-size: calc(1em + 0.5vw);
}

.home-cover-subtitle-2 {
  font-size: calc(1em + 0.3vw);
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 500px) {
  .cover__content {
    padding: 20px;
    /* margin-top: 30vh; */
  }
}

@media (max-width: 1000px) {
  .cover:after {
    display: none;
  }
  .cover__bg-filter {
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(0, 0, 0, 0.3) 100%
    );
    background-size: cover;
  }
}

@media only screen and (max-device-width: 900px) and (orientation: landscape) {
  .cover__content {
    padding: 0 20px;
    margin-top: 30vh;
  }

  .titolo {
    font-size: calc(4em + 0.001vw);
    margin-bottom: 0;
  }
  .home-cover-subtitle {
    margin-bottom: 0;
    padding: 0.5% 0;
    font-size: calc (1em + 0.5vw);
  }
  .home-cover-excerpt {
    font-size: calc(1em + 0.5vw);
  }
}

/* BORDO EX-CARD ORA SEZIONI IN PAGINA */

.border {
  border-left: 5px solid oklch(0.8 0.13 291.8785);
  padding-left: 6px;
}
.border-2 {
  border-right: 5px solid oklch(0.8 0.13 291.8785);
  padding-right: 6px;
}

.wp-block-cover {
  outline: 7px solid oklch(0.8 0.13 291.8785);
  position: relative !important;
}
.wp-block-cover__inner-container.is-layout-flow.wp-block-cover-is-layout-flow {
  /* border: 2px solid rgb(0, 255, 119); */
  position: absolute !important;
  bottom: 10px;
}
.text-section {
  /* border: 1px solid red; */
}
@media (max-width: 768px) {
  .wp-block-cover__inner-container.is-layout-flow.wp-block-cover-is-layout-flow {
    margin-top: 60%;
  }
}
@media (max-width: 500px) {
  .wp-block-cover__inner-container.is-layout-flow.wp-block-cover-is-layout-flow {
    margin-top: 75%;
  }
}
/* .wp-block-media-text{ border: 1px solid #8F66DE;border-radius: 20px;overflow: hidden;} */

/* COVER x blog nella index --------------------------------------------------------------*/

.cover-x {
  width: 100vw;
  height: auto;

  /* border: 3px solid rgb(0, 85, 255);  */
  margin: 0 auto 0 auto;
  /* overflow: hidden; */
}

.cover-x:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  background-size: cover;
}

.cover-x-img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .cover-x {
    margin: 60px auto 0 auto;
  }
  .cover-x:after {
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }
}

/* BLOG --------------------------*/

.blog-article img {
  border-radius: 15px;
  overflow: hidden;
  /* border: 1px solid red; */
}

.rounded-img {
  border-radius: 15px;
  /* border: 1px solid red; */
}

.paginazione {
  margin-left: 2%;
  padding: 2%;
}

/* COVER pagine interne MakeUp Cerimonia, Sposa, Pubblicitario Self-makeup TEATRALE TELEVISIVO BIO     ---------------------------------------*/

.wp-block-cover.cover-int {
  /* border: 5px solid rgb(221, 0, 255); */
  position: relative !important;
}

.wp-block-cover__inner-container.is-layout-constrained.wp-block-cover-is-layout-constrained {
  /* border: 2px solid rgb(255, 162, 2); */
  position: absolute !important;
  bottom: 10px;
}
.wp-block-heading.cover-int-text {
  /* border: 1px solid red; */
  font-size: calc(3em + 2vw) !important;
  font-weight: 400;
}

@media (max-width: 768px) {
  .wp-block-heading.cover-int-text {
    font-size: calc(2.6em + 0.8vw) !important;
  }
}
@media (max-width: 550px) {
  .wp-block-heading.cover-int-text {
    font-size: calc(2.6em + 0.3vw) !important;
  }
}
@media (max-width: 340px) {
  .wp-block-heading.cover-int-text {
    font-size: calc(1.6em + 0.3vw) !important;
  }
}

//-------------------------------------------------------------------------------------------------------------
//BIO PAGINA

.pippi img {
  border-radius: 20px;
}
img.wp-image-2204 {
  border-radius: 20px;
}
img.wp-image-2190 {
  border-radius: 20px;
}
img.wp-image-2191 {
  border-radius: 20px;
}
img.wp-image-2189 {
  border-radius: 20px;
}
img.wp-image-2188 {
  border-radius: 20px;
}
img.wp-image-2192 {
  border-radius: 20px;
}
img.wp-image-2194 {
  border-radius: 20px;
}
img.wp-image-2193 {
  border-radius: 20px;
}
img.wp-image-2207 {
  border-radius: 20px;
}
img.wp-image-2206 {
  border-radius: 20px;
}
img.wp-image-2209 {
  border-radius: 20px;
}
img.wp-image-2208 {
  border-radius: 20px;
}
img.wp-image-2205 {
  border-radius: 20px;
}
img.wp-image-2195 {
  border-radius: 20px;
}
img.wp-image-2198 {
  border-radius: 20px;
}
img.wp-image-2197 {
  border-radius: 20px;
}
img.wp-image-2196 {
  border-radius: 20px;
}
img.wp-image-2202 {
  border-radius: 20px;
}
img.wp-image-2203 {
  border-radius: 20px;
}
img.wp-image-2201 {
  border-radius: 20px;
}
img.wp-image-2200 {
  border-radius: 20px;
}
img.wp-image-2199 {
  border-radius: 20px;
}

/* CONTATTI pag  (MAP) ---------------------------------------------------------------*/

/* .wpgmza_map {
  left: 50%;
  transform: translateX(-50%);
} */

img.wp-image-2231 {
  border-radius: 20px;
}
img.wp-image-2201 {
  border-radius: 20px;
}

/* Pagina SPOSA --------------------------*/

.vox-elenco {
  margin-bottom: 20px;
  list-style: none;
}

/*  FINAL- CTA----------------- */

@media (max-width: 768px) {
  .final-cta-space {
    height: 70px !important ;
  }
}

.final-cta {
  font-weight: 700;
}

/* FOOTER -------------------------------------------------------------*/

.footer {
  border-radius: 8px;
  background-color: oklch(0.96 0.11 287);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.089);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer {
  width: 98vw;
  margin: 0 auto;
}
/* #ancora{ padding-top: 1rem;} */

.logo-footer {
  padding: 1%;
  /* border: 5px solid red; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0%;
  /* border: 1px solid rgb(0, 255, 217); */
}

.cbs_footer {
  width: 60%;
  height: auto;
  margin: 0 auto;
  /* border: 1px solid rgb(221, 255, 0); */
}
.p-footer {
  padding: 1rem 2rem;
}
.titoletti {
  font-weight: 500;
}
@media (max-width: 768px) {
  .cbs_footer {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }
}
.cbs_footer img {
  width: 100%;
  height: auto;
  border-radius: 70px;
  overflow: hidden;
  margin: 0px auto;
  /* border: 1px solid rgb(255, 0, 212);  */
}

.top {
  display: block;
  margin-top: 1rem;
  padding: 3% 0;
  text-align: start;
}

.footer p {
  color: oklch(0.4 0.2 301.46);
}
.footer h3 {
  color: oklch(0.4 0.2 301.46);
}
.footer .den-color {
  color: oklch(0.4 0.2 301.46);
}
.footer h4 {
  margin: 0;
}

/* .container-policy{
                  border: 1px solid rgb(0, 119, 255); 
} */

.policy {
  /* border: 1px solid red; */
  display: flex;
  justify-content: end;
  border-top: 1px solid oklch(0.55 0.18 296.56);
}
.policy a {
  /* border: 1px solid rgb(255, 179, 0); */
  display: block;
  padding: 2% 2%;
}

.copy {
  text-align: center;
}

.den-poli {
  margin: 0;
  /* border: 1px solid red; */
}

.den-color {
  margin: 0;
}

.den-color p {
  font-size: 0.9rem;
}

/* .dove-siamo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
} */

.dove-siamo p {
  font-size: 1.1rem;
}
.orari {
  font-size: 1.1rem;
}

.social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 0px 20% 0px 0px;
}
@media (max-width: 1200px) {
  .social {
    margin-top: 60px;
    padding: 0px 0% 0px 0px;
  }
}
@media (max-width: 768px) {
  .social {
    margin-top: 60px;
    padding: 0px 55% 0px 0px;
  }
}
@media (max-width: 500px) {
  .social {
    margin-top: 60px;
    padding: 0px 25% 0px 0px;
  }
}
@media (max-width: 420px) {
  .social {
    margin-top: 60px;
    padding: 0px 15% 0px 0px;
  }
}

@media (max-width: 950px) {
  .policy {
    justify-content: center;
  }

  /* .logo-footer, .orari, .dove-siamo, .den-poli{ width: 50%;} */
}
/* .orari, .dove-siamo, .info{ border-top: 1px solid #594D43;} */

@media (max-width: 768px) {
  .cbs_footer {
    margin: 0 auto;
  }
  .logo-footer,
  .orari,
  .dove-siamo,
  .den-poli {
    width: 100%;
  }
}

/* ! Animations */
/* ----------------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(1rem);
}
.text-reveal {
  transform: translateY(1rem);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}
.fade-up {
  opacity: 0;
  transform: translateY(5rem);
}

.rotate {
  animation: rotation 20s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* SITE MAP   Page */

.rank-math-html-sitemap__link {
  font-size: 1rem;
}
.rank-math-html-sitemap__date {
  font-size: 0.8rem;
}

/* ------------------------------------------------------ */
/* PACKARY VERSIONE HOME PAGE in esecuzione */
/* --------------------------------------------------------- */

* {
  box-sizing: border-box;
}

/* force scrollbar, prevents initial gap  */
html {
  overflow-y: scroll;
}

/* .packery-div-esteso { */
/* width: 100vw; */
/* border: 4px solid rgb(0, 255, 60);
  min-width: 100vw; */
/* justify-content: center;
align-items: center; */
/* position: relative; */
/* display: flex;  */
/* left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
} */

.packery-div-esteso {
  /* width: 100vw; */
  /* outline: 5px solid rgb(0, 255, 60); */
  min-width: 100vw;
  position: relative;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  /* outline-offset: 5px;
  border-radius: 25px; */
}

/* il riferimento è a questo elemento: <main class="grid grid--center p-1" id="content"> */
#content {
  padding: 0 0 0 0;
}

.wp-block-columns.packery-div-esteso.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex {
  margin: 0;
}

/* ---- grid ---- */

.grid-p {
  background: #ddd;
  width: 100%;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  overflow: hidden;
  /* border: 2px solid rgb(247, 169, 24); */
}

/* clear fix */
.grid-p:after {
  content: "";
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-item-p {
  /* float: left; */
  display: flex;
  width: 25%;
  height: 300px;
  background: oklch(0.96 0.11 287);
  border: 1px solid hsla(0, 0%, 0%, 0.5);
}

/* .grid-item-p:hover {
  background: rgb(204, 153, 0);
  cursor: pointer;
} */

.grid-item-p--width2 {
  width: 25%;
}
.grid-item-p--height2 {
  height: 300px;
}

/* .grid-item-p--large {
  width: 600px;
  height: 600px;
  background: #0C9;
} */

/* grid.items-p     con immagini di BG packery home page---------------------------------------------------------------- */

.grid-item-p {
  /* Imposta l'immagine di background */
  background-size: cover; /* Copre l'intera area */
  background-position: center; /* Centra l'immagine */
  background-repeat: no-repeat; /* Evita ripetizione */
  /* Colore di fallback se l'immagine non carica */
  /* background-color: #e2e8e3; */
  border: 2px solid hsla(0, 0%, 0%, 0.1); /* Bordo sottile */
  transition: background-size 0.3s ease; /* Animazione su hover */
}

.grid-item-p {
  position: relative; /* Per posizionare l'overlay */
  overflow: hidden; /* Per evitare fuoriuscite dell'overlay */
}

.y-custom {
  background-position-x: center;
  background-position-y: 20%;
}

/* Overlay all'hover */

/* .grid-item-p::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(248, 187, 3, 0.2); 
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1; 
} */

/* Effetto all'hover */

/* .grid-item-p:hover::before {
  opacity: 1;
} */

/* Opzionale: Effetto hover per ingrandire leggermente l'immagine */
.grid-item-p:hover {
  background-size: 110%;
  background-repeat: no-repeat;
}

/* NB Controlla il rapporto d'aspetto delle immagini
Se le immagini hanno un rapporto d'aspetto molto diverso da .grid-item-p, potrebbero essere tagliate. In questo caso, usa background-size: contain invece di cover. */

/* tablet */

@media (max-width: 1500px) {
  .grid-item-p {
    width: 25%;
    height: 200px;
  }
  .grid-item-p--width2 {
    width: 25%;
  }
  .grid-item-p--height2 {
    height: 200px;
  }

  .grid-item-p--large {
    width: 450px;
    height: 450px;
  }
}

/* cell */

@media (max-width: 768px) {
  .grid-item-p {
    width: 25%;
    height: 100px;
  }
  .grid-item-p--width2 {
    width: 25%;
  }
  .grid-item-p--height2 {
    height: 100px;
  }

  .grid-item-p--large {
    width: 300px;
    height: 300px;
  }
}

/* --- => overlay e bottoni x packery HOME PAGE*/

/* Container trasparente sopra l'immagine */

.grid-item-p {
  position: relative; /* Per posizionare l'overlay */
  overflow: hidden; /* Per evitare fuoriuscite */
}

.grid-item-p .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.5);  */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.grid-item-p:hover .overlay {
  opacity: 1;
}

.grid-item-p .overlay .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  text-align: center;
  border: 2px solid rgb(34, 0, 255);
}

.grid-item-p .overlay .button-0,
.grid-item-p .overlay .button-2,
.grid-item-p .overlay .button-3,
.grid-item-p .overlay .button-4,
.grid-item-p .overlay .button-5,
.grid-item-p .overlay .button-6,
.grid-item-p .overlay .button-7 {
  padding: 5%;
  background-color: rgba(160, 127, 245, 0.5);
  border: none;
  color: white;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 10px 20px;
  text-align: center;
  transition: background-color 0.3s ease;
  /* x ingrandire il pulsante e fargli occupare l'intera area dell'overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grid-item-p .overlay .button-2 {
  background-color: rgba(109, 51, 176, 0.5);
}
.grid-item-p .overlay .button-3 {
  background-color: rgba(126, 77, 199, 0.5);
}
.grid-item-p .overlay .button-4 {
  background-color: rgba(177, 153, 255, 0.5);
}
.grid-item-p .overlay .button-5 {
  background-color: rgba(211, 203, 255, 0.5);
}
.grid-item-p .overlay .button-6 {
  background-color: rgba(193, 178, 255, 0.5);
}
.grid-item-p .overlay .button-7 {
  background-color: rgba(144, 102, 222, 0.5);
}

/* .grid-item-p .overlay .wrap .button:hover {
  background-color: rgba(109, 51, 176, 0.350); 
} */

/* Stile del testo */
.grid-item-p .overlay h3 {
  margin: 0;
  font-size: 16px;
  text-align: center;
}
@media (max-width: 768px) {
  .grid-item-p .overlay .button-0,
  .grid-item-p .overlay .button-2,
  .grid-item-p .overlay .button-3,
  .grid-item-p .overlay .button-4,
  .grid-item-p .overlay .button-5,
  .grid-item-p .overlay .button-6,
  .grid-item-p .overlay .button-7 {
    font-size: 10px;
    padding: 3%;
  }
}

/* ---------------------------------------------------------------------------- */
/* ----------------PACKERY  MAKEUP FOTOGRAFICO PAGE--------------------------------------- */
/* ---------------------------------------------------------------------------- */

/* Contenitore griglia base */
.grid-p-makeup-fotografico-page {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  /* border: 2px solid rgb(0, 132, 255); */
}

/* Elementi di misurazione per il layout Packery */

/* .grid-p-makeup-page-sizer {
  width: 100px; 
  height: 100px;
} */

/* .gutter-sizer {
  width: 10px; 
  
} */

/* Stili base per gli elementi della griglia */
.grid-item-p-makeup-fotografico-page {
  /* width: 100px; 
  height: 100px; */
  display: flex;
  width: 25%;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid oklch(0.75 0.14 291.8785);
}

/* Elemento doppia larghezza */
.grid-item-p-makeup-fotografico-page--width2 {
  width: 25%;
}

/* Elemento doppia altezza */
.grid-item-p-makeup-fotografico-page--height2 {
  height: 170px;
}

/* Effetti interattivi */
.grid-item-p-makeup-fotografico-page:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.grid-item-p-makeup-fotografico-page.highlighted {
  outline: 3px solid rgb(193, 37, 245);
  /* transform: scale(1.05); */
  z-index: 10;
}

.grid-item-p-makeup-fotografico-page.highlighted::after {
  content: "\1F49C";
  position: absolute;
  top: 5px;
  left: 10px;
  pointer-events: none;
  z-index: 10;
}

/* Responsive per schermi piccoli */

@media (max-width: 500px) {
  .grid-item-p-makeup-fotografico-page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-makeup-fotografico-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-fotografico-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-fotografico-page.highlighted::after {
    font-size: 24px;
    top: 2px;
    left: 5px;
  }
}
@media (min-width: 501px) {
  .grid-item-p-makeup-fotografico-page {
    width: 25%;
    height: 100px;
  }
  .grid-item-p-makeup-fotografico-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-fotografico-page--height2 {
    height: 100px;
  }
  .grid-item-p-makeup-fotografico-page.highlighted::after {
    font-size: 28px;
    top: 3px;
    left: 7px;
  }
}
@media (min-width: 651px) {
  .grid-item-p-makeup-fotografico-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-makeup-fotografico-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-fotografico-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-fotografico-page.highlighted::after {
    font-size: 30px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 780px) {
  .grid-item-p-makeup-fotografico-page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-makeup-fotografico-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-fotografico-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-fotografico-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1000px) {
  .grid-item-p-makeup-fotografico-page {
    width: 25%;
    height: 110px;
  }
  .grid-item-p-makeup-fotografico-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-fotografico-page--height2 {
    height: 110px;
  }
  .grid-item-p-makeup-fotografico-page.highlighted::after {
    font-size: 34px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1200px) {
  .grid-item-p-makeup-fotografico-page {
    width: 23%;
    height: 130px;
  }
  .grid-item-p-makeup-fotografico-page--width2 {
    width: 23%;
  }
  .grid-item-p-makeup-fotografico-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-fotografico-page.highlighted::after {
    font-size: 36px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1500px) {
  .grid-item-p-makeup-fotografico-page {
    width: 25%;
    height: 150px;
  }
  .grid-item-p-makeup-fotografico-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-fotografico-page--height2 {
    height: 150px;
  }
  .grid-item-p-makeup-fotografico-page.highlighted::after {
    font-size: 38px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1700px) {
  .grid-item-p-makeup-fotografico-page {
    width: 25%;
    height: 170px;
  }
  .grid-item-p-makeup-fotografico-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-fotografico-page--height2 {
    height: 170px;
  }
  .grid-item-p-makeup-fotografico-page.highlighted::after {
    font-size: 40px;
    top: 5px;
    left: 10px;
  }
}

/* ------------------------------------------------------------------------------------*/
/* Stile x FLICKITY  IN CUSTOM TEMPLATE SLIDE SHOW 1 associato a MakeUp FOTOGRAFICO   
(+ 2 cerimonia + 3 sposa + 4 pubblicitario + 5 televisivo + 6 teatrale + 7 self-makeup)   */
/* --------------------------------------------------------------------------------*/

.carousel {
  /* background: #fafafa; */
  width: 80vw;
  height: 60vh;
  margin: 15vh auto;
  padding: 0px;
  /* border: 4px solid red; */
}

.carousel-cell {
  width: 30%;
  height: 60vh;
  margin: 3px auto;
  /* background: #f0bfe8;
  border: 4px solid rgb(0, 229, 255); */
}

.carousel-cell img {
  display: block;
  object-fit: contain;
  height: 100%;
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
  padding: 1vw;
  /* border: 5px solid rgb(112, 161, 118); */
}

.flickity-viewport {
  overflow: visible;
  /* border: 7px solid rgb(162, 255, 0); */
}

/* fade in lazy loaded image */

.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
  opacity: 1;
}

/* BOTTONI SLIDESHOW-1 */

/* .contenitore-bottoni {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid red;
} */

.contenitore-bottoni {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* ensure it stays on top */
  /* border: 1px solid red; */
}

.button.button--toggle {
  font-size: 12px;
  border-radius: 30px;
  margin: 1%;
}
.button.button--resize {
  font-size: 12px;
  border-radius: 30px;
  margin: 1%;
}

/* Style and position previous & next buttons with CSS. SLIDESHOW-1 */

/* big buttons, no circle */
.flickity-prev-next-button {
  width: 100px;
  height: 100px;
  background: transparent;
}
/* arrow color */
.flickity-prev-next-button .arrow {
  fill: hsl(270, 70%, 80%);
}

.flickity-prev-next-button:hover {
  background: transparent;
}
/* hide disabled button */
.flickity-prev-next-button:disabled {
  display: none;
}
.flickity-button:focus {
  outline: 0;
  /* box-shadow: 0 0 0 5px #19f; */
  box-shadow: none;
}
.flickity-page-dots {
  display: none;
}
.flickity-page-dot.is-selected {
  background: oklch(0.75 0.14 291.8785);
}

@media (max-width: 768px) {
  .flickity-prev-next-button .arrow {
    fill: none;
  }
}

/* ------------RESIZE METHOD-------------- */

.carousel.is-expanded {
  width: 100vw;
  height: 90vh;
  margin: 1vh auto;
}

.carousel.is-expanded .carousel-cell {
  width: 45%;
  height: 90vh;
}

.flickity-viewport.is-expanded {
  height: 90vh !important;
  /* border: 7px solid rgb(68, 0, 255); */
}

@media (max-width: 768px) {
  .carousel {
    /* background: #fafafa; */
    width: 90vw;
    height: 90vh;
    margin: 2% auto;
    padding: 0px;
    /* border: 4px solid red; */
  }

  .carousel-cell {
    width: 90%;
    height: 90vh;
    margin: 10px auto;
    /* background: #dd06b9;
    border: 4px solid rgb(0, 229, 255); */
  }
  .carousel.is-expanded .carousel-cell {
    width: 100%;
  }
  .button.button--resize {
    font-size: 14px;
    border-radius: 30px;
  }

  .button.button--toggle {
    font-size: 14px;
    border-radius: 30px;
  }
}

/* ------------------------------------------------------------ */
/* full screen mode carousel flickit */

/* .carousel.is-fullscreen {
  height: 100vh;margin: 0;
}
.flickity-enabled.is-fullscreen{
  position: fixed;
  z-index: 0 !important;
  background-color: #C09;
}
.carousel.is-fullscreen .carousel-cell {
  height: 100vh;
}   
.carousel.is-fullscreen .carousel-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}    */
/* ------------------------------------------------------------------ */

/*  --------------------------------------------------------------------------*/
/* ----------------PACKERY  MAKEUP cerimonia PAGE--------------------------------------- */
/* ---------------------------------------------------------------------------- */

/* Contenitore griglia base */
.grid-p-makeup-cerimonia-page {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

/* Elementi di misurazione per il layout Packery */

/* .grid-p-makeup-page-sizer {
  width: 100px; 
  height: 100px;
} */

/* .gutter-sizer {
  width: 10px; 
  height: 10px;
} */

/* Stili base per gli elementi della griglia */
.grid-item-p-makeup-cerimonia-page {
  /* width: 100px; 
  height: 100px; */
  display: flex;
  width: 25%;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid oklch(0.75 0.14 291.8785);
}

/* Elemento doppia larghezza */
.grid-item-p-makeup-cerimonia-page--width2 {
  width: 25%;
}

/* Elemento doppia altezza */
.grid-item-p-makeup-cerimonia-page--height2 {
  height: 170px;
}

/* Effetti interattivi */
.grid-item-p-makeup-cerimonia-page:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.grid-item-p-makeup-cerimonia-page.highlighted {
  outline: 3px solid rgb(193, 37, 245);
  transform: scale(1.05);
  z-index: 10;
}

.grid-item-p-makeup-cerimonia-page.highlighted::after {
  content: "\1F49C";
  position: absolute;
  top: 5px;
  left: 10px;
  pointer-events: none;
  z-index: 10;
}

/* Responsive per schermi piccoli */

@media (max-width: 500px) {
  .grid-item-p-makeup-cerimonia-page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-makeup-cerimonia-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-cerimonia-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-cerimonia-page.highlighted::after {
    font-size: 24px;
    top: 2px;
    left: 5px;
  }
}
@media (min-width: 501px) {
  .grid-item-p-makeup-cerimonia-page {
    width: 25%;
    height: 100px;
  }
  .grid-item-p-makeup-cerimonia-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-cerimonia-page--height2 {
    height: 100px;
  }
  .grid-item-p-makeup-cerimonia-page.highlighted::after {
    font-size: 28px;
    top: 3px;
    left: 7px;
  }
}
@media (min-width: 651px) {
  .grid-item-p-makeup-cerimonia-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-makeup-cerimonia-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-cerimonia-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-cerimonia-page.highlighted::after {
    font-size: 30px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 780px) {
  .grid-item-p-makeup-cerimonia--page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-makeup-cerimonia--page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-cerimonia--page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-cerimonia-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1000px) {
  .grid-item-p-makeup-cerimonia--page {
    width: 25%;
    height: 110px;
  }
  .grid-item-p-makeup-cerimonia--page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-cerimonia-page--height2 {
    height: 110px;
  }
  .grid-item-p-makeup-cerimonia-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1200px) {
  .grid-item-p-makeup-cerimonia-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-makeup-cerimonia-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-cerimonia-pagecerimonia {
    height: 130px;
  }
  .grid-item-p-makeup-cerimonia-page.highlighted::after {
    font-size: 36px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1500px) {
  .grid-item-p-makeup-cerimonia-page {
    width: 25%;
    height: 150px;
  }
  .grid-item-p-makeup-cerimonia-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-cerimonia-page--height2 {
    height: 150px;
  }
  .grid-item-p-makeup-cerimonia-page.highlighted::after {
    font-size: 38px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1700px) {
  .grid-item-p-makeup-cerimonia-page {
    width: 25%;
    height: 170px;
  }
  .grid-item-p-makeup-cerimonia-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-cerimonia-page--height2 {
    height: 170px;
  }
  .grid-item-p-makeup-cerimonia-page.highlighted::after {
    font-size: 40px;
    top: 5px;
    left: 10px;
  }
}

/*  --------------------------------------------------------------------------*/
/* ----------------PACKERY  MAKEUP sposa PAGE--------------------------------------- */
/* ---------------------------------------------------------------------------- */

/* Contenitore griglia base */
.grid-p-makeup-sposa-page {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

/* Elementi di misurazione per il layout Packery */

/* .grid-p-makeup-page-sizer {
  width: 100px; 
  height: 100px;
} */

/* .gutter-sizer {
  width: 10px; 
  height: 10px;
} */

/* Stili base per gli elementi della griglia */
.grid-item-p-makeup-sposa-page {
  /* width: 100px; 
  height: 100px; */
  display: flex;
  width: 25%;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid oklch(0.75 0.14 291.8785);
}

/* Elemento doppia larghezza */
.grid-item-p-makeup-sposa-page--width2 {
  width: 25%;
}

/* Elemento doppia altezza */
.grid-item-p-makeup-sposa-page--height2 {
  height: 170px;
}

/* Effetti interattivi */
.grid-item-p-makeup-sposa-page:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.grid-item-p-makeup-sposa-page.highlighted {
  outline: 3px solid rgb(193, 37, 245);
  /* transform: scale(1.05); */
  z-index: 10;
}

.grid-item-p-makeup-sposa-page.highlighted::after {
  content: "\1F49C";
  position: absolute;
  top: 5px;
  left: 10px;
  pointer-events: none;
  z-index: 10;
}

/* Responsive per schermi piccoli */

@media (max-width: 500px) {
  .grid-item-p-makeup-sposa-page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-makeup-sposa-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-sposa-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-sposa-page.highlighted::after {
    font-size: 24px;
    top: 2px;
    left: 5px;
  }
}
@media (min-width: 501px) {
  .grid-item-p-makeup-sposa-page {
    width: 25%;
    height: 100px;
  }
  .grid-item-p-makeup-sposa-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-sposa-page--height2 {
    height: 100px;
  }
  .grid-item-p-makeup-sposa-page.highlighted::after {
    font-size: 28px;
    top: 3px;
    left: 7px;
  }
}
@media (min-width: 651px) {
  .grid-item-p-makeup-sposa-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-makeup-sposa-page--width2 {
    height: 130px;
  }
  .grid-item-p-makeup-sposa-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-sposa-page.highlighted::after {
    font-size: 30px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 780px) {
  .grid-item-p-makeup-sposa--page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-sposa--page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-sposa-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1000px) {
  .grid-item-p-makeup-sposa--page {
    width: 25%;
    height: 110px;
  }
  .grid-item-p-makeup-sposa--page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-sposa-page--height2 {
    height: 110px;
  }

  .grid-item-p-makeup-sposa-page.highlighted::after {
    font-size: 34px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1200px) {
  .grid-item-p-makeup-sposa-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-makeup-sposa-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-sposa-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-sposa-page.highlighted::after {
    font-size: 36px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1500px) {
  .grid-item-p-makeup-sposa-page {
    width: 25%;
    height: 150px;
  }
  .grid-item-p-makeup-sposa-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-sposa-page--height2 {
    height: 150px;
  }
  .grid-item-p-makeup-sposa-page.highlighted::after {
    font-size: 38px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1700px) {
  .grid-item-p-makeup-sposa-page {
    width: 25%;
    height: 170px;
  }
  .grid-item-p-makeup-sposa-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-sposa-page--height2 {
    height: 170px;
  }
  .grid-item-p-makeup-sposa-page.highlighted::after {
    font-size: 40px;
    top: 5px;
    left: 10px;
  }
}

/*  --------------------------------------------------------------------------*/
/* ----------------PACKERY  MAKEUP pubblicitario PAGE--------------------------------------- */
/* ---------------------------------------------------------------------------- */

/* Contenitore griglia base */
.grid-p-makeup-pubblicitario-page {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

/* Elementi di misurazione per il layout Packery */

/* .grid-p-makeup-page-sizer {
  width: 100px; 
  height: 100px;
} */

/* .gutter-sizer {
  width: 10px; 
  height: 10px;
} */

/* Stili base per gli elementi della griglia */
.grid-item-p-makeup-pubblicitario-page {
  /* width: 100px; 
  height: 100px; */
  display: flex;
  width: 25%;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid oklch(0.75 0.14 291.8785);
}

/* Elemento doppia larghezza */
.grid-item-p-makeup-pubblicitario-page--width2 {
  width: 25%;
}

/* Elemento doppia altezza */
.grid-item-p-makeup-pubblicitario-page--height2 {
  height: 170px;
}

/* Effetti interattivi */
.grid-item-p-makeup-pubblicitario-page:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.grid-item-p-makeup-pubblicitario-page.highlighted {
  outline: 3px solid rgb(193, 37, 245);
  /* transform: scale(1.05); */
  z-index: 10;
}

.grid-item-p-makeup-pubblicitario-page.highlighted::after {
  content: "\1F49C";
  position: absolute;
  top: 5px;
  left: 10px;
  pointer-events: none;
  z-index: 10;
}

/* Responsive per schermi piccoli */

@media (max-width: 500px) {
  .grid-item-p-makeup-pubblicitario-page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-makeup-pubblicitario-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-pubblicitario-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-pubblicitario-page.highlighted::after {
    font-size: 24px;
    top: 2px;
    left: 5px;
  }
}
@media (min-width: 501px) {
  .grid-item-p-makeup-pubblicitario-page {
    width: 25%;
    height: 100px;
  }
  .grid-item-p-makeup-pubblicitario-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-pubblicitario-page--height2 {
    height: 100px;
  }
  .grid-item-p-makeup-pubblicitario-page.highlighted::after {
    font-size: 28px;
    top: 3px;
    left: 7px;
  }
}
@media (min-width: 651px) {
  .grid-item-p-makeup-pubblicitario-page--width2 {
    height: 130px;
  }
  .grid-item-p-makeup-pubblicitario-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-pubblicitario-page.highlighted::after {
    font-size: 30px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 780px) {
  .grid-item-p-makeup-pubblicitario-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-pubblicitario-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1000px) {
  .grid-item-p-makeup-pubblicitario--page {
    width: 25%;
    height: 110px;
  }
  .grid-item-p-makeup-pubblicitario--page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-pubblicitario-page--height2 {
    height: 110px;
  }
  .grid-item-p-makeup-pubblicitario-page.highlighted::after {
    font-size: 34px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1200px) {
  .grid-item-p-makeup-pubblicitario-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-makeup-pubblicitario-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-pubblicitario-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-pubblicitario-page.highlighted::after {
    font-size: 36px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1500px) {
  .grid-item-p-makeup-pubblicitario-page {
    width: 25%;
    height: 150px;
  }
  .grid-item-p-makeup-pubblicitario-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-pubblicitario-page--height2 {
    height: 150px;
  }
  .grid-item-p-makeup-pubblicitario-page.highlighted::after {
    font-size: 38px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1700px) {
  .grid-item-p-makeup-pubblicitario-page {
    width: 25%;
    height: 170px;
  }
  .grid-item-p-makeup-pubblicitario-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-pubblicitario-page--height2 {
    height: 170px;
  }
  .grid-item-p-makeup-pubblicitario-page.highlighted::after {
    font-size: 40px;
    top: 5px;
    left: 10px;
  }
}

/*  --------------------------------------------------------------------------*/
/* ----------------PACKERY  MAKEUP SELF MAKEUP PAGE--------------------------------------- */
/* ---------------------------------------------------------------------------- */

/* Contenitore griglia base */
.grid-p-self-makeup-page {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

/* Elementi di misurazione per il layout Packery */

/* .grid-p-makeup-page-sizer {
  width: 100px; 
  height: 100px;
} */

/* .gutter-sizer {
  width: 10px; 
  height: 10px;
} */

/* Stili base per gli elementi della griglia */
.grid-item-p-self-makeup-page {
  /* width: 100px; 
  height: 100px; */
  display: flex;
  width: 25%;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid oklch(0.75 0.14 291.8785);
}

/* Elemento doppia larghezza */
.griself-makeup-page--width2 {
  width: 25%;
}

/* Elemento doppia altezza */
.grid-item-p-self-makeup-page--height2 {
  height: 170px;
}

/* Effetti interattivi */
.grid-item-p-self-makeup-page:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.grid-item-p-self-makeup-page.highlighted {
  outline: 3px solid rgb(193, 37, 245);
  transform: scale(1.05);
  z-index: 10;
}

.grid-item-p-self-makeup-page.highlighted::after {
  content: "\1F49C";
  position: absolute;
  top: 5px;
  left: 10px;
  pointer-events: none;
  z-index: 10;
}

/* Responsive per schermi piccoli */

@media (max-width: 500px) {
  .grid-item-p-self-makeup-page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-self-makeup-page--width2 {
    width: 25%;
  }
  .grid-item-p-self-makeup-page--height2 {
    height: 80px;
  }
  .grid-item-p-self-makeup-page.highlighted::after {
    font-size: 24px;
    top: 2px;
    left: 5px;
  }
}
@media (min-width: 501px) {
  .grid-item-p-self-makeup-page {
    width: 25%;
    height: 100px;
  }
  .grid-item-p-self-makeup-page--width2 {
    width: 25%;
  }
  .grid-item-p-self-makeup-page--height2 {
    height: 100px;
  }
  .grid-item-p-self-makeup-page.highlighted::after {
    font-size: 28px;
    top: 3px;
    left: 7px;
  }
}
@media (min-width: 651px) {
  .grid-item-p-self-makeup-page--width2 {
    height: 130px;
  }
  .self-makeup-page--height2 {
    height: 130px;
  }
  .grid-item-p-self-makeup-page.highlighted::after {
    font-size: 30px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 780px) {
  .grid-item-p-self-makeup-page--height2 {
    height: 80px;
  }
  .grid-item-p-self-makeup-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1000px) {
  .grid-item-p-self-makeup--page {
    width: 25%;
    height: 110px;
  }
  .grid-item-p-self-makeup--page--width2 {
    width: 25%;
  }
  .grid-item-p-self-makeup-page--height2 {
    height: 110px;
  }
  .grid-item-p-self-makeup-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1200px) {
  .grid-item-p-self-makeup-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-self-makeup-page--width2 {
    width: 25%;
  }
  .grid-item-p-self-makeup-page--height2 {
    height: 130px;
  }
  .grid-item-p-self-makeup-page.highlighted::after {
    font-size: 36px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1500px) {
  .grid-item-p-self-makeup-page {
    width: 25%;
    height: 150px;
  }
  .grid-item-p-self-makeup-page--width2 {
    width: 25%;
  }
  .grid-item-p-self-makeup-page--height2 {
    height: 150px;
  }
  .grid-item-p-self-makeup-page.highlighted::after {
    font-size: 38px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1700px) {
  .grid-item-p-self-makeup-page {
    width: 25%;
    height: 170px;
  }
  .grid-item-p-self-makeup-page--width2 {
    width: 25%;
  }
  .grid-item-p-self-makeup-page--height2 {
    height: 170px;
  }
  .grid-item-p-self-makeup-page.highlighted::after {
    font-size: 40px;
    top: 5px;
    left: 10px;
  }
}

/*  --------------------------------------------------------------------------*/
/* ----------------PACKERY  MAKEUP televisivo PAGE--------------------------------------- */
/* ---------------------------------------------------------------------------- */

/* Contenitore griglia base */
.grid-p-makeup-televisivo-page {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

/* Elementi di misurazione per il layout Packery */

/* .grid-p-makeup-page-sizer {
  width: 100px; 
  height: 100px;
} */

/* .gutter-sizer {
  width: 10px; 
  height: 10px;
} */

/* Stili base per gli elementi della griglia */
.grid-item-p-makeup-televisivo-page {
  /* width: 100px; 
  height: 100px; */
  display: flex;
  width: 25%;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid oklch(0.75 0.14 291.8785);
}

/* Elemento doppia larghezza */
.grid-item-p-makeup-televisivo-page--width2 {
  width: 25%;
}

/* Elemento doppia altezza */
.grid-item-p-makeup-televisivo-page--height2 {
  height: 170px;
}

/* Effetti interattivi */
.grid-item-p-makeup-televisivo-page:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.grid-item-p-makeup-televisivo-page.highlighted {
  outline: 3px solid rgb(193, 37, 245);
  /* transform: scale(1.05); */
  z-index: 10;
}

.grid-item-p-makeup-televisivo-page.highlighted::after {
  content: "\1F49C";
  position: absolute;
  top: 5px;
  left: 10px;
  pointer-events: none;
  z-index: 10;
}

/* Responsive per schermi piccoli */

@media (max-width: 500px) {
  .grid-item-p-makeup-televisivo-page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-makeup-televisivo-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-televisivo-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-televisivo-page.highlighted::after {
    font-size: 24px;
    top: 2px;
    left: 5px;
  }
}
@media (min-width: 501px) {
  .grid-item-p-makeup-televisivo-page {
    width: 25%;
    height: 100px;
  }
  .grid-item-p-makeup-televisivo-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-televisivo-page--height2 {
    height: 100px;
  }
  .grid-item-p-makeup-televisivo-page.highlighted::after {
    font-size: 28px;
    top: 3px;
    left: 7px;
  }
}
@media (min-width: 651px) {
  .grid-item-p-makeup-televisivo-page--width2 {
    height: 130px;
  }
  .grid-item-p-makeup-televisivo-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-televisivo-page.highlighted::after {
    font-size: 30px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 780px) {
  .grid-item-p-makeup-televisivo-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-televisivo-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1000px) {
  .grid-item-p-makeup-televisivo--page {
    width: 25%;
    height: 110px;
  }
  .grid-item-p-makeup-televisivo--page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-televisivo-page--height2 {
    height: 110px;
  }
  .grid-item-p-makeup-televisivo-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1200px) {
  .grid-item-p-makeup-televisivo-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-makeup-televisivo-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-televisivo-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-televisivo-page.highlighted::after {
    font-size: 36px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1500px) {
  .grid-item-p-makeup-televisivo-page {
    width: 25%;
    height: 150px;
  }
  .grid-item-p-makeup-televisivo-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-televisivo-page--height2 {
    height: 150px;
  }
  .grid-item-p-makeup-televisivo-page.highlighted::after {
    font-size: 38px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1700px) {
  .grid-item-p-makeup-televisivo-page {
    width: 25%;
    height: 170px;
  }
  .grid-item-p-makeup-televisivo-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-televisivo-page--height2 {
    height: 170px;
  }
  .grid-item-p-makeup-televisivo-page.highlighted::after {
    font-size: 40px;
    top: 5px;
    left: 10px;
  }
}

/*  --------------------------------------------------------------------------*/
/* ----------------PACKERY  MAKEUP TEATRALE PAGE--------------------------------------- */
/* ---------------------------------------------------------------------------- */

/* Contenitore griglia base */
.grid-p-makeup-teatrale-page {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

/* Elementi di misurazione per il layout Packery */

/* .grid-p-makeup-page-sizer {
  width: 100px; 
  height: 100px;
} */

/* .gutter-sizer {
  width: 10px; 
  height: 10px;
} */

/* Stili base per gli elementi della griglia */
.grid-item-p-makeup-teatrale-page {
  /* width: 100px; 
  height: 100px; */
  display: flex;
  width: 25%;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid oklch(0.75 0.14 291.8785);
}

/* Elemento doppia larghezza */
.grid-item-p-makeup-teatrale-page--width2 {
  width: 25%;
}

/* Elemento doppia altezza */
.grid-item-p-makeup-teatrale-page--height2 {
  height: 170px;
}

/* Effetti interattivi */
.grid-item-p-makeup-teatrale-page:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.grid-item-p-makeup-teatrale-page.highlighted {
  outline: 3px solid rgb(193, 37, 245);
  /* transform: scale(1.05); */
  z-index: 10;
}

.grid-item-p-makeup-teatrale-page.highlighted::after {
  content: "\1F49C";
  position: absolute;
  top: 5px;
  left: 10px;
  pointer-events: none;
  z-index: 10;
}

/* Responsive per schermi piccoli */

@media (max-width: 500px) {
  .grid-item-p-makeup-teatrale-page {
    width: 25%;
    height: 80px;
  }
  .grid-item-p-makeup-teatrale-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-teatrale-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-teatrale-page.highlighted::after {
    font-size: 24px;
    top: 2px;
    left: 5px;
  }
}
@media (min-width: 501px) {
  .grid-item-p-makeup-teatrale-page {
    width: 25%;
    height: 100px;
  }
  .grid-item-p-makeup-teatrale-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-teatrale-page--height2 {
    height: 100px;
  }
  .grid-item-p-makeup-teatrale-page.highlighted::after {
    font-size: 28px;
    top: 3px;
    left: 7px;
  }
}
@media (min-width: 651px) {
  .grid-item-p-makeup-teatrale-page--width2 {
    height: 130px;
  }
  .grid-item-p-makeup-teatrale-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-teatrale-page.highlighted::after {
    font-size: 30px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 780px) {
  .grid-item-p-makeup-teatrale-page--height2 {
    height: 80px;
  }
  .grid-item-p-makeup-teatrale-page.highlighted::after {
    font-size: 32px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1000px) {
  .grid-item-p-makeup-teatrale--page {
    width: 25%;
    height: 110px;
  }
  .grid-item-p-makeup-teatrale--page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-teatrale-page--height2 {
    height: 110px;
  }
  .grid-item-p-makeup-teatrale-page.highlighted::after {
    font-size: 34px;
    top: 3px;
    left: 8px;
  }
}
@media (min-width: 1200px) {
  .grid-item-p-makeup-teatrale-page {
    width: 25%;
    height: 130px;
  }
  .grid-item-p-makeup-teatrale-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-teatrale-page--height2 {
    height: 130px;
  }
  .grid-item-p-makeup-teatrale-page.highlighted::after {
    font-size: 36px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1500px) {
  .grid-item-p-makeup-teatrale-page {
    width: 25%;
    height: 150px;
  }
  .grid-item-p-makeup-teatrale-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-teatrale-page--height2 {
    height: 150px;
  }
  .grid-item-p-makeup-teatrale-page.highlighted::after {
    font-size: 38px;
    top: 5px;
    left: 10px;
  }
}
@media (min-width: 1700px) {
  .grid-item-p-makeup-teatrale-page {
    width: 25%;
    height: 170px;
  }
  .grid-item-p-makeup-teatrale-page--width2 {
    width: 25%;
  }
  .grid-item-p-makeup-teatrale-page--height2 {
    height: 170px;
  }
  .grid-item-p-makeup-teatrale-page.highlighted::after {
    font-size: 40px;
    top: 5px;
    left: 10px;
  }
}

/*  --------------------------------------------------------------------------*/
/* ACCORDION HOME PAGE TESTIMONIANZE (marittimo) */
/*  --------------------------------------------------------------------------*/

/* body {
  margin: 0;
  font-family: system-ui;
  font-size: 1.125rem;
  line-height: 1.6;
} */

/* Applica color-scheme: dark solo agli elementi di testo h e p dentro l'accordion */
/* Per il paragrafo dentro .accordion-content (che contiene il testo) */

.accordion .accordion-title,
.accordion .accordion-content {
  color: #ffffff; /* colore bianco o altro adatto a tema scuro */
}

img {
  max-width: 100%;
  display: block;
}

.wrapper {
  max-width: 50rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* VARIABILI-ACCORDION */
.accordion {
  --_button-size: 3rem;
  --_panel-padding: 0.75rem;
  --_panel-gap: 0.3rem;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  contain: content;
  /* added padding to prevent issue with outlines */
  padding: 0.5rem;

  /* demo only */
  /* margin-top: 20rem; */
}

@media (min-width: 45em) {
  .accordion {
    flex-direction: row;
    height: 30rem;
  }
}

.accordion * {
  margin: 0;
}

.accordion-panel {
  position: relative;
  isolation: isolate;
  flex-basis: calc((var(--_panel-padding) * 2) + var(--_button-size));
  overflow: hidden;
  padding: var(--_panel-padding);
  padding-right: calc(var(--_panel-padding) * 4);
  border-radius: calc(((var(--_panel-padding) * 2) + var(--_button-size)) / 2);
}

@media (prefers-reduced-motion: no-preference) {
  .accordion-panel {
    transition: flex-basis 500ms, flex-grow 500ms;
  }
}

.accordion-panel:nth-of-type(1) {
  --_panel-color: hsl(273, 100%, 80%);
}
.accordion-panel:nth-of-type(2) {
  --_panel-color: hsl(273, 100%, 70%);
}
.accordion-panel:nth-of-type(3) {
  --_panel-color: hsl(273, 100%, 60%);
}
.accordion-panel:nth-of-type(4) {
  --_panel-color: hsl(273, 100%, 50%);
}
.accordion-panel:nth-of-type(5) {
  --_panel-color: hsl(273, 100%, 40%);
}

.accordion-panel:has([aria-expanded="true"]) {
  flex-basis: clamp(15rem, 40vh, 20rem);
  flex-grow: 1;
}

.accordion-trigger {
  outline: 0;
}
/* Per far sì che l'outline si attivi sul div genitore (.accordion-panel) 
   anche quando si clicca su di esso (non solo sui figli),
   aggiungiamo la regola per :focus oltre a :focus-within */

.accordion-panel:focus,
.accordion-panel:focus-within {
  outline: 3px solid var(--_panel-color);
  outline-offset: 4px;
}

.accordion-content {
  max-height: 40vh !important;
  overflow-y: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.accordion-content::-webkit-scrollbar {
  display: none !important;
}
/* Fix per quando passa in orizzontale */
.accordion-panel {
  display: flex;
  flex-direction: column;
}

.accordion-content > p {
  transform: translateY(2rem);
  opacity: 0;
  margin-left: calc(var(--_button-size) + var(--_panel-gap));
  /* border: 1px solid red; */
  font-size: 1rem;
  line-height: 1.4rem;
  padding-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion-panel:has([aria-expanded="true"]) p {
    transition: transform 500ms 500ms, opacity 500ms 500ms;
  }
}

.accordion-panel:has([aria-expanded="true"]) p {
  transform: translateY(0);
  opacity: 1;
}

.accordion-title {
  font-size: 1.5rem;
  font-weight: 700;

  position: relative;
  isolation: isolate;

  display: grid;
  align-items: center;
}

@media (max-width: 44.999em) {
  .accordion-title::after {
    content: "";
    position: absolute;
    left: calc((var(--_panel-gap) + var(--_button-size)) * -1);
    width: calc(100% + (var(--_button-size) * 2));
    height: var(--_button-size);
    background: hsl(273.01deg 80.84% 88.27% / 50%);
    z-index: -1;
    border-radius: 100vw;
  }
}

.accordion-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;

  transition: filter 500ms;
}

.accordion-panel:has([aria-expanded="true"]) .accordion-image {
  filter: brightness(0.5);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: var(--_panel-gap);
  flex-direction: row-reverse;
  background: transparent;
  border: 0;
  padding: 0;
}

.accordion-icon {
  fill: var(--_panel-color);
  background: hsl(275deg 46.15% 94.9% / 74%);
  width: var(--_button-size);
  aspect-ratio: 1 / 1;
  padding: 0.75rem;
  border-radius: 50%;
  z-index: 10;
}

/* CSS X TICKET PRESENTAZIONE EVA */

.ticket-bg {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-size: cover;
  background-position: center;
  max-width: 70%;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
  gap: 20px;
  z-index: 0;
  color: #7f039b;
  /* border: 3px solid #ff2f00; */
  height: auto;
  overflow: hidden; /* importante per contenere il pseudo-elemento */
  /* ... ombra di fondo:
  Cambia il quarto valore (0.5) per regolare l'opacità (da 0 a 1)
  Cambia il terzo valore (30px) per regolare la diffusione (più alto = ombra più morbida e grande)
  Cambia il primo e secondo valore per spostare l'ombra orizzontalmente e verticalmente... */

  /* box-shadow: 0 8px 30px rgba(127, 3, 155, 0.5); più dura */
  box-shadow: 0 10px 50px rgba(127, 3, 155, 0.2);
}

/* Overlay semi-trasparente x controllare opacità immagine:
Più basso (es. 0.1) = meno opaco, immagine più visibile.
Più alto (es. 0.7) = più opaco, immagine più coperta.
 */
.ticket-bg::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background-color: rgba(255, 255, 255, 0.3); /* bianco con trasparenza 30% */
  z-index: 0;
}

/* Contenuto interno sopra l'overlay */
.ticket-bg > * {
  position: relative;
  z-index: 1;
}

/* superamento WEBKIT SU IOS  */
@media (max-width: 1370px) {
  .ticket-bg {
    aspect-ratio: auto !important;
    /* Assicuriamoci che l'altezza sia libera di crescere */
    height: auto;
    max-width: 70%;
    padding: 35px;
    gap: 15px;
  }
}
/* FINE superamento WEBKIT*/

@media (max-width: 900px) {
  .ticket-bg {
    max-width: 90%;
    padding: 20px;
  }
}

.ticket-bg > .eva {
  flex: 0 0 35%; /* larghezza fissa 45%, non si riduce */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  /* border: 3px solid #95ff00; */
  mix-blend-mode: normal;
  filter: saturate(
    0.7
  ); /* 0 = completamente desaturato (bianco e nero), 1 = saturazione originale */
}

/* superamento WEBKIT SU IOS  */
@media (max-width: 1370px) {
  .ticket-bg > .eva {
    height: 250px;
  }
}
/* FINE superamento WEBKIT*/

.ticket-bg > .presentazione {
  flex: 1; /* occupa lo spazio rimanente */
  display: flex;
  align-items: center;
  font-style: italic;
  /* border: 3px solid #0062ff; */
}

.cta-bio {
  font-family: "Work Sans", sans-serif;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #7f039b;
  /*margin-block-end: 0 !important;*/
}
@media (max-width: 990px) {
  .cta-bio {
    font-size: 1.2rem;
    line-height: 1.3;
  }
}
@media (max-width: 560px) {
  .cta-bio {
    font-size: 1rem;
    line-height: 1.3;
  }
}

/* => EFFETTO GLOW sulla parola BIO in TICKET cta-bio */

.cta-bio .glow-link {
  color: #b806ff; /* colore viola */
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.cta-bio .glow-link::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 6px;
  /* box-shadow più sfumato e meno netto: valori 15px (blur) e 6px (spread) e l'rgba alpha (0.5) */
  box-shadow: 0 0 15px 6px rgba(155, 89, 182, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.cta-bio .glow-link:hover::before,
.cta-bio .glow-link:focus::before {
  opacity: 1;
}

/* Stile per il div timbro posizionato in basso a destra del ticket, inclinato e sbordante */
.ticket-bg {
  position: relative; /* necessario per posizionare assolutamente il timbro */
  overflow: visible; /* permetti allo sbordamento di essere visibile */
}

/* Calcolo percentuale basato su larghezza base ticket-bg */
/* Supponiamo larghezza base ticket-bg = 1200px (esempio) */
/* timbro 300px / 1200px = 25% */

.ticket-bg .timbro {
  position: absolute;
  bottom: 80px;
  right: 30px;
  width: 35%; /* Formula x rendere proporzionalmente devices-responsive le grandezze di div ticket-bg in relazione a div timbro:
  Percentuale larghezza timbro = (L_timbro ÷ L_ticket) × 100 */
  height: auto; /* mantiene proporzioni */
  aspect-ratio: 1 / 1; /* quadrato */
  /* background-image: url("http://elglowlab2.local/wp-content/themes/EL_GLOWLAB_1/custom/img/7.2-montaggio-3.png"); */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7; /* regola il valore da 0 (trasparente) a 1 (opaco) */
  transform-origin: center center;
  transform: translate(50%, 50%) rotate(-23deg);
}
@media (max-width: 768px) {
  .ticket-bg .timbro {
    bottom: 60px;
    right: 30px;
    width: 40%;
    opacity: 0.6;
  }
}
@media (max-width: 480px) {
  .ticket-bg .timbro {
    bottom: 30px;
    right: 40px;
    width: 65%;
    opacity: 0.5;
  }
}

@media (max-width: 560px) {
  .ticket-bg {
    display: block;
  }
  .ticket-bg > .presentazione {
    margin-top: 20px;
  }
}

//-------------------------------------------------------------------------------------------------------------------------------
//  CSS PACKERY grid SOCIAL MEDIA INSTAGRAM  IN MAKEUP TELEVISIVO senza reel-list con embed diretti in pagina nello shortcode
//----------------------------------------------------------------------------------------------------------------------------------

.social-embed-grid.grid {
  position: relative;
}

.social-embed-grid .grid-sizer {
  width: 320px;
}

.social-embed-grid .gutter-sizer {
  width: 20px;
}

.social-embed-grid .grid-item {
  width: 320px;
  max-width: 540px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

// -------------------------------------------------------------
// CSS reel-list array  SOCIAL MEDIA  INSTAGRAM IN MAKEUP TELEVISIVO + wrapper PACKERY
//--------------------------------------------------------------------------

/* .rp-main-grid {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.rp-grid-item {
  float: left;
  width: 33, 33% !important;
  padding: 1px;
  box-sizing: border-box;
  margin-left: 3px !important;
  margin-bottom: 3px !important;
}
@media (max-width: 768px) {
  .rp-grid-item {
    width: 50% !important;
  }
}
.rp-reel-inner {
  width: 100%;
  position: relative;
  display: block;
}
.rp-reel-inner iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: none !important;
  aspect-ratio: 9 / 16;
}
.rp-reel-inner blockquote {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
} */

//------------------------------------------------------------------------------------------
// reel-list array  SOCIAL MEDIA  INSTAGRAM IN MAKEUP TELEVISIVO + wrapper PACKERY + SPLIDE CAROUSEL +
// list e slugs personalizzati da mostrare + classe CSS personalizzata.
// Lo shortcode diviene: [mostra_reel_packery_splide_unito slugs="reel-estate,reel-prodotto" class="custom-style-1"]
// nel CSS le classi divengono: .custom-style-1 .rp-grid-item { Stili personalizzati per questa istanza } e slug, list e class nella funzione
// non  vanno compilati sono place-holders
//------------------------------------------------------------------------------------------

/* Nascondi entrambi di default, JS mostra solo uno */
#rp-grid-context,
.responsive-splide {
  display: none;
}

/* Stili Packery */
.rp-grid-item {
  width: 33.33% !important;
  padding: 5px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .rp-grid-item {
    width: 50% !important;
  }
}
.rp-reel-inner iframe,
.rp-reel-inner blockquote {
  width: 100% !important;
  height: auto !important;
  border: none !important;
  aspect-ratio: 9 / 16;
  display: block;
}

/* Stili Splide */
.splide {
  width: 70%;
  margin: 0 auto;
}
.splide__slide {
  padding: 5px;
}
.splide-reel-inner iframe,
.splide-reel-inner blockquote {
  width: 100% !important;
  height: auto !important;
  border: none !important;
  aspect-ratio: 9 / 16;
  display: block;
}
@media (max-width: 450px) {
  .splide {
    width: 90%;
  }
}
