/*
 Theme Name: Hello Elementor Child
 Theme URI: https://example.com/
 Description: Child theme per Hello Elementor con base tipografica e utility
 Author: Il Tuo Nome
 Author URI: https://example.com/
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: hello-elementor-child
*/
.admin-bar header {
  margin-top: 32px;
}
@media only screen and (max-width: 782px) {
  .admin-bar header {
    margin-top: 46px;
  }
}

header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
}
/* Rimuove outline di default */
:focus {
  outline: none;
}

/* Outline visibile solo quando focus è attivo tramite tastiera */
:focus-visible {
  outline: 1px solid #fff;
  outline-offset: -2px;
}

a:focus-visible {
  outline: 1px solid #fff;
  outline-offset: -2px;
}
/* elementor */
.e-con-boxed.e-con,
.page-content_small,
.special-hero {
  padding-left: 5vw;
  padding-right: 5vw;
}
.elementor-widget-container ul li {
  margin-bottom: 0 !important;
}
.elementor-swiper-button-next {
  transform: translate(
      var(--e-n-carousel-arrow-next-translate-x),
      var(--e-n-carousel-arrow-next-translate-y)
    )
    rotate(180deg) !important;
}
/* Template */
.special-hero {
  height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.special-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay nero con opacità */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.page-media-title {
  color: #fff !important;
}
.page-content_small {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 50px;
}
.intro-page {
  padding: 4rem 0;
  background-color: #006495;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: 5vw;
  padding-right: 5vw;
}
.hero-content,
.intro-page-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
.media-gallery {
  padding: 4rem 0;
}
.intro-page p {
  font-family: "Montserrat variable", Sans-serif;
  font-size: clamp(1.15rem, 0.9875rem + 0.75vw, 1.325rem);
  font-weight: 500;
  color: #fff;
}
.media-gallery {
  display: flex;
  flex-direction: column;
  gap: 25px 25px;
}
.media-item {
  border-bottom: 1px solid #adadad;
  padding: 8px 0 24px 0;
}
.media-item .media-content {
  display: flex;
  gap: 15px 55px;
  align-items: flex-start;
}
.media-item .media-content p,
.media-item .media-content .media-title {
  margin: 0;
  padding: 0;
  min-width: 200px;
}
.media-item .media-content .media-title,
.media-item .media-content .media-title a {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #000;
  cursor: pointer !important;
}
.media-item .media-content .media-title a:hover {
  text-decoration: underline;
}
.no-link-available {
  font-weight: 600;
  color: #006495;
  margin: 0 !important;
}
@media screen and (max-width: 768px) {
  .media-item .media-content {
    flex-direction: column;
    gap: 20px;
  }
  .media-item .media-content .media-title {
    margin-bottom: 0;
  }
}
/* !---------
! BREADCRUMBS
! ---------*/
.breadcrumbs {
  padding: 35px 0;
}
.breadcrumbs a {
  color: #999;
  text-decoration: none;
  transition: all 0.3s ease;
}
.breadcrumbs a:hover {
  color: #000;
  text-decoration: underline;
}
.breadcrumbs span {
  color: #999;
}
.breadcrumbs span.last {
  color: #000;
}
