.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-sostienici,
.btn-color--orang {
  background-color: #F07000;
  border-radius: 22.5px;
  padding: 5px 22.5px !important;
  display: inline-block;
  margin-left: 15px !important;
}
.btn-sostienici .elementor-item-active::after,
.btn-color--orang .elementor-item-active::after {
  display: none !important;
}
.btn-sostienici .elementor-item,
.btn-color--orang .elementor-item {
  color: white !important;
  margin: 0 !important;
  padding: 0 !important;
}
.btn-sostienici .elementor-item:hover::after,
.btn-color--orang .elementor-item:hover::after {
  display: none !important;
}
@media (max-width: 1024px) {
  .btn-sostienici,
  .btn-color--orang {
    margin-left: 0 !important;
  }
}

.btn-color--light {
  background-color: white;
  border-radius: 22.5px;
  border: 1px solid #F07000 !important;
  padding: 5px 22.5px !important;
  display: inline-block;
  margin-left: 15px !important;
}
.btn-color--light .elementor-item {
  color: #F07000 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.btn-color--light .elementor-item:hover::after {
  display: none !important;
}
@media (max-width: 1024px) {
  .btn-color--light {
    margin-left: 0 !important;
  }
}

@media (max-width: 1024px) {
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: white !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
    padding-left: 2rem !important;
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
    margin: 0 !important;
    border-left: 10px solid #0846AA;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container a {
    font-size: 18px !important;
    padding: 12px 0 !important;
    color: #1B1B1B !important;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container a:hover {
    background-color: transparent !important;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container a.elementor-item-active {
    background: transparent !important;
    text-decoration: underline !important;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container li {
    margin-bottom: 20px;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container li.current-menu-item a {
    background: transparent !important;
    text-decoration: underline !important;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-sub-item {
    font-size: 16px !important;
    padding: 6px 0 !important;
    color: #0846AA !important;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container li:has(> .elementor-sub-item) {
    margin-bottom: 8px;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container .btn-sostienici {
    margin-left: 0 !important;
    padding: 10px 25px !important;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container .sub-menu.elementor-nav-menu--dropdown {
    background-color: transparent;
  }
  [data-elementor-type=header] .elementor-nav-menu--dropdown.elementor-nav-menu__container .sub-menu.elementor-nav-menu--dropdown li a {
    color: #1B1B1B !important;
  }
  [data-elementor-type=header] .elementor-nav-menu--toggle .elementor-menu-toggle:not(.elementor-active) + .elementor-nav-menu__container.elementor-nav-menu--dropdown {
    max-height: 100vh !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
  }
  [data-elementor-type=header] .elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container.elementor-nav-menu--dropdown {
    max-height: 100vh !important;
    transform: translateX(0) !important;
    transition: transform 0.3s ease !important;
  }
  [data-elementor-type=header] .elementor-element .elementor-menu-toggle {
    z-index: 90909;
  }
}
.elementor-element-b687e21 .elementor-element-e3b6623 h1::after {
  content: "";
  display: block;
  width: 9rem;
  height: 3rem;
  position: absolute;
  background-image: url(img/vector-y.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  top: -3rem;
  right: -1rem;
}

.elementor-element-ed35960.e-grid .elementor-element h3::after {
  content: "";
  display: block;
  width: 9rem;
  height: 3rem;
  position: absolute;
  background-image: url(img/vector-y.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  top: 1rem;
  right: -1rem;
}
.elementor-element-ed35960.e-grid .elementor-element:nth-child(1) h3::after {
  background-image: url(img/vector-a.svg);
}
.elementor-element-ed35960.e-grid .elementor-element:nth-child(2) h3::after {
  background-image: url(img/vector-o.svg);
}
.elementor-element-ed35960.e-grid .elementor-element:nth-child(3) h3::after {
  background-image: url(img/vector-b.svg);
}
.elementor-element-ed35960.e-grid .elementor-element:nth-child(4) h3::after {
  background-image: url(img/vector-y.svg);
}

.elementor-element-284b44c .swiper-slide-inner .swiper-slide-contents {
  border: 1px solid #2FA4DB;
  padding: 30px;
  border-radius: 40px;
}
.elementor-element-284b44c .swiper-slide-inner .swiper-slide-contents .elementor-slide-heading {
  margin-bottom: 20px;
}
.elementor-element-284b44c .swiper-slide-inner .swiper-slide-contents .elementor-slide-button {
  color: white !important;
}
.elementor-element-284b44c .elementor-element .swiper .elementor-swiper-button-prev {
  background-color: #0846AA;
  top: unset;
  left: calc(50% - 2rem);
  border-radius: 5px;
  padding: 3px;
}
.elementor-element-284b44c .elementor-element .swiper .elementor-swiper-button-prev svg {
  fill: white;
  height: 0.9em;
  width: 0.9em;
}
.elementor-element-284b44c .elementor-element .swiper .elementor-swiper-button-next {
  background-color: #0846AA;
  top: unset;
  right: calc(50% - 2rem);
  border-radius: 5px;
  padding: 3px;
}
.elementor-element-284b44c .elementor-element .swiper .elementor-swiper-button-next svg {
  fill: white;
  height: 0.9em;
  width: 0.9em;
}

.type-servizio .e-con-inner:has(.elementor-heading-title) {
  position: relative;
}
.type-servizio .e-con-inner:has(.elementor-heading-title)::after {
  content: "";
  display: block;
  width: 9rem;
  height: 3.5rem;
  position: absolute;
  background-image: url(img/vector-y.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 2rem;
  right: 2rem;
}

.type-servizio.area-socialita-e-tempo-libero .e-con-inner:has(.elementor-heading-title)::after {
  background-image: url("img/vector-y.svg");
}
.type-servizio.area-socialita-e-tempo-libero .linea-area {
  background-color: #F0AA00;
}

.type-servizio.area-salute-benessere .e-con-inner:has(.elementor-heading-title)::after {
  background-image: url("img/vector-b.svg");
}
.type-servizio.area-salute-benessere .linea-area {
  background-color: #002053;
}

.type-servizio.area-formazione-occupabilita .e-con-inner:has(.elementor-heading-title)::after {
  background-image: url("img/vector-o.svg");
}
.type-servizio.area-formazione-occupabilita .linea-area {
  background-color: #F07000;
}

.type-servizio.area-autonomia-e-abitazione .e-con-inner:has(.elementor-heading-title)::after {
  background-image: url("img/vector-a.svg");
}
.type-servizio.area-autonomia-e-abitazione .linea-area {
  background-color: #2FA4DB;
}

.soms-repeater-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.soms-repeater-buttons .soms-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  background-color: #0846AA;
  color: white !important;
  font-size: 16px;
  font-weight: 400;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.mappa-wrapper #soms-map {
  width: 100%;
  height: 770px;
  border-radius: 40px;
}

.soms-map-card {
  position: relative;
  z-index: 1;
}

.soms-repeater-buttons .soms-btn-pill.soms-cta {
  background-color: #002053;
}
.soms-repeater-buttons .soms-btn-pill.soms-cta::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  background-image: url(img/arrow_forward.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.type-corso .e-con-inner:has(.elementor-heading-title) {
  position: relative;
}
.type-corso .e-con-inner:has(.elementor-heading-title)::after {
  content: "";
  display: block;
  width: 9rem;
  height: 3.5rem;
  position: absolute;
  background-image: url(img/vector-y.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 2rem;
  right: 2rem;
}

.type-corso.area-socialita-e-tempo-libero .e-con-inner:has(.elementor-heading-title)::after {
  background-image: url("img/vector-y.svg");
}
.type-corso.area-socialita-e-tempo-libero .linea-area {
  background-color: #F0AA00;
}

.type-corso.area-salute-benessere .e-con-inner:has(.elementor-heading-title)::after {
  background-image: url("img/vector-b.svg");
}
.type-corso.area-salute-benessere .linea-area {
  background-color: #002053;
}

.type-corso.area-formazione-occupabilita .e-con-inner:has(.elementor-heading-title)::after {
  background-image: url("img/vector-o.svg");
}
.type-corso.area-formazione-occupabilita .linea-area {
  background-color: #F07000;
}

.type-corso.area-autonomia-e-abitazione .e-con-inner:has(.elementor-heading-title)::after {
  background-image: url("img/vector-a.svg");
}
.type-corso.area-autonomia-e-abitazione .linea-area {
  background-color: #2FA4DB;
}

.archivio-categoria-title {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.archivio-categoria-title::after {
  content: "";
  display: block;
  width: 9rem;
  height: 3.5rem;
  background-image: url(img/vector-y.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 2rem;
  position: relative;
}
.archivio-categoria-title .elementor-heading-title {
  margin-bottom: 20px;
}

.term-autonomia-e-abitazione .archivio-categoria-title {
  border-bottom-color: #2FA4DB !important;
}
.term-autonomia-e-abitazione .archivio-categoria-title::after {
  background-image: url("img/vector-a.svg");
}

.term-formazione-occupabilita .archivio-categoria-title {
  border-bottom-color: #F07000 !important;
}
.term-formazione-occupabilita .archivio-categoria-title::after {
  background-image: url("img/vector-o.svg");
}

.term-salute-benessere .archivio-categoria-title {
  border-bottom-color: #002053 !important;
}
.term-salute-benessere .archivio-categoria-title::after {
  background-image: url("img/vector-b.svg");
}

.term-socialita-e-tempo-libero .archivio-categoria-title {
  border-bottom-color: #F0AA00 !important;
}
.term-socialita-e-tempo-libero .archivio-categoria-title::after {
  background-image: url("img/vector-y.svg");
}

.elementor-element:has(.archivio-categoria-title) .type-corso .elementor-heading-title a,
.elementor-element:has(.archivio-categoria-title) .type-servizio .elementor-heading-title a {
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 20px;
}

.archivio-categoria-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  margin-bottom: 8px;
  background-color: #0846AA;
  color: white !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 50px;
}

/* Rimuove sfondi e bordi bianchi di default di Google Maps */
.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

.gm-style-iw-ch {
  padding-top: 0 !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  padding: 24px !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Stile pulsante chiusura "X" */
.gm-ui-hover-effect {
  top: 0px !important;
  right: 12px !important;
  height: 25px !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

.soms-map-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: inherit;
  max-width: 260px;
}
.soms-map-card .soms-map-card__tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 30px;
}

.soms-map-card__tag {
  background-color: #e8f0fe;
  color: #1B1B1B;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 12px;
  letter-spacing: 5%;
  margin-bottom: 0;
}

.soms-map-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #4a5568;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.soms-map-card__title {
  margin: 0 0 25px 0 !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #002053 !important;
}

.soms-map-card__btn {
  display: inline-block;
  background-color: #0846AA;
  color: white !important;
  padding: 4px 25px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.soms-map-card__btn:hover {
  background-color: #0846AA;
}

/* Contenitore principale */
.soms-moduli-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Singolo Modulo */
.soms-modulo-item {
  display: flex;
  flex-direction: column;
}

/* Header con linea sottile dorata/gialla */
.soms-modulo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #F0AA00; /* Colore della linea divisoria */
  padding-bottom: 6px;
  margin-bottom: 10px;
}

/* Scritta Primo modulo / Secondo modulo */
.soms-modulo-badge {
  color: #002053; /* Blu del brand */
  font-weight: 600;
  font-size: 21px;
}

.soms-modulo-meta {
  display: flex;
  gap: 16px;
  color: #1B1B1B;
  font-size: 16px;
}

.soms-modulo-meta i {
  color: #0846AA;
  margin-right: 4px;
}

.soms-modulo-title {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #1B1B1B;
  margin: 4px 0 6px 0 !important;
}

.soms-modulo-docente {
  font-size: 16px;
  color: #1B1B1B;
  margin: 0 !important;
}