html body.home-page #guide .section-heading > .home-guide-intro {
  margin-inline: 0 !important;
  text-align: left !important;
}

/* Preserve every part of the supplied cover, including titles at the edges. */
html body.home-page #community .media-stories__featured-media {
  aspect-ratio: 9 / 16 !important;
  background: #071126;
}
html body.home-page #community .media-stories__featured-reel .media-stories__featured-media > img {
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

/* Slightly smaller on wide screens; retain complete covers and mobile readability. */
@media (min-width: 901px) {
  html body.home-page #community .media-stories__featured-reels {
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
  }
}

/* Give the path introduction its full desktop container width. */
@media (min-width: 1024px) {
  html body.home-page #percorsi #scegli-percorso > p {
    width: 100% !important;
    max-width: none !important;
    text-wrap: wrap !important;
  }
}

/* Approved uniform Home overlay. */
@media(min-width:761px){
 html body.home-page main#main section#home.hero--cove-background.hero--dark-fade::after{background:linear-gradient(90deg,rgba(7,17,38,.96) 0%,rgba(7,17,38,.93) 5%,rgba(7,17,38,.88) 10%,rgba(7,17,38,.8) 18%,rgba(7,17,38,.7) 28%,rgba(7,17,38,.62) 36%,rgba(7,17,38,.55) 49%,rgba(7,17,38,.44) 58%,rgba(7,17,38,.28) 67%,rgba(7,17,38,.12) 75%,rgba(7,17,38,0) 84%)!important}
}
@media(max-width:760px){
 html body.home-page[data-mobile-layout] main#main section#home.hero--cove-background.hero--dark-fade::after{background:linear-gradient(180deg,rgba(7,17,38,.02) 0%,rgba(7,17,38,.02) 45%,rgba(7,17,38,.25) 68%,rgba(7,17,38,.72) 84%,#071126 100%)!important}
}

/* A single photograph fills the desktop hero with its original aspect ratio.
   Cover crops excess edges; it never stretches the coastline or duplicates a layer. */
@media(min-width:761px){
 html body.home-page main#main section#home.hero--cove-background.hero--dark-fade .hero-cove-background img{object-fit:cover!important;object-position:50% 35%!important;mask-image:none!important;-webkit-mask-image:none!important}
}

html body.home-page #home.hero--cove-background .hero-cove-background--scenery {
  display: none;
}

@media (min-width: 1100px) {
  html body.home-page main#main section#home.hero--cove-background.hero--dark-fade {
    min-height: calc(86px + 42.75vw);
  }

  /* Keep the right side in its original proportions. Extend the scenery behind
     the copy to the left edge, joining both renderings at 34% of the source. */
  html body.home-page main#main section#home.hero--cove-background.hero--dark-fade .hero-cove-background img {
    width: 76% !important;
    margin-left: 24%;
    object-fit: fill !important;
  }

  html body.home-page main#main section#home.hero--cove-background.hero--dark-fade .hero-cove-background--scenery {
    display: block;
    background: transparent;
    mask-image: linear-gradient(to right, #000 49.4%, transparent 50.3%);
  }

  html body.home-page main#main section#home.hero--cove-background.hero--dark-fade .hero-cove-background--scenery img {
    width: 146.58824% !important;
    max-width: none;
    margin-left: 0;
  }

  html body.home-page main#main section#home.hero--cove-background.hero--dark-fade::after {
    background: linear-gradient(90deg, #0a1428 0%, rgba(7, 17, 38, .9) 12%, rgba(7, 17, 38, .69) 32%, rgba(7, 17, 38, .42) 48%, rgba(7, 17, 38, .10) 65%, transparent 76%) !important;
  }
}
