body[data-neutral-studio] {
  --atlas-home-gutter: max(5vw, calc((100vw - 1280px) / 2));
}
.atlas-partner-trip {
  --partner-fade-width: clamp(250px, 34vw, 520px);
  --partner-image-overlap: calc(var(--partner-fade-width) * .52);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 410px;
  margin: clamp(26px, 5vw, 60px) calc(0px - var(--atlas-home-gutter, 5vw));
  scroll-margin-top: 120px;
  overflow: hidden;
  isolation: isolate;
  background: #252019;
  color: #fffaf4;
}
.atlas-partner-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(30px, 5vw, 70px) clamp(24px, 4.2vw, 68px)
    clamp(30px, 5vw, 70px) var(--atlas-home-gutter, 5vw);
}
.atlas-partner-copy .atlas-partner-logo {
  display: block;
  width: clamp(92px, 8vw, 124px);
  height: auto;
  margin: 0 0 14px;
}
.atlas-partner-trip h3 {
  margin: 0 0 19px;
  color: inherit;
  font-size: clamp(2.25rem, 5.05vw, 5rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.atlas-partner-walking {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-inline-start: 2px solid #d3ef42;
  background: #fff9ed0e;
}
.atlas-partner-walking svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: #d3ef42;
}
.atlas-partner-walking strong {
  display: block;
  margin-bottom: 3px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.25;
}
.atlas-partner-trip :is(.atlas-partner-route, .atlas-partner-role) {
  margin: 0;
  color: #eee2d5;
  line-height: 1.5;
}
.atlas-partner-trip .atlas-partner-role { margin-bottom: 16px; font-size: .82rem; }
.atlas-partner-trip .atlas-partner-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  padding: 14px 0;
  margin: 15px 0 11px;
  border-block: 1px solid #fff3;
  list-style: none;
}
.atlas-partner-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(.77rem, 1.25vw, 1rem);
  line-height: 1.3;
}
.atlas-partner-facts svg {
  flex: none;
  width: 19px;
  height: 19px;
  color: #d3ef42;
}
.atlas-partner-image {
  display: block;
  position: relative;
  min-height: 100%;
  margin-inline-start: calc(0px - var(--partner-image-overlap));
  mask-image: linear-gradient(to right,
    transparent,
    rgb(0 0 0 / 8%) calc(var(--partner-fade-width) * .22),
    rgb(0 0 0 / 36%) calc(var(--partner-fade-width) * .43),
    rgb(0 0 0 / 70%) calc(var(--partner-fade-width) * .66),
    rgb(0 0 0 / 94%) calc(var(--partner-fade-width) * .85),
    #000 var(--partner-fade-width));
}
.atlas-partner-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.atlas-partner-trip a,
.atlas-binocular button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 20px;
  border: 0;
  border-radius: 100px;
  color: #181814;
  background: #d3ef42;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.atlas-partner-trip a:hover,
.atlas-binocular button:hover { background: #e5ff65; }
#come-organizziamo .service-device-card-3 .service-contact-inside {
  display: flex;
  justify-content: center;
  align-items: end;
  align-self: stretch;
  grid-column: 1 / -1;
  margin: auto 0 0;
  padding: 8px 16px 24px;
}
#come-organizziamo .service-contact-inside .service-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 22px;
  border-radius: 999px;
  border: 0;
  background: #d3ef42;
  color: #151716;
  text-decoration: none;
}
#come-organizziamo .service-contact-inside .service-contact-cta:hover { background: #c7e336; }
#come-organizziamo .service-contact-inside svg { width: 22px; height: 22px; }
html body.cinema.editorial-pass.refined #proposte #myredland-2027 {
  overflow: hidden;
}
html body.cinema.editorial-pass.refined #proposte #myredland-2027 > summary {
  background: transparent !important;
}
#myredland-2027 > summary > .atlas-app-disclosure {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  margin-inline-start: auto;
  background: none;
  font: 400 13px/1.2 Atlas, sans-serif;
  white-space: nowrap;
}
#myredland-2027 .atlas-app-disclosure b {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 400 22px/1 Atlas, sans-serif;
}
#myredland-2027[open] .atlas-app-disclosure b { transform: rotate(45deg); }
@layer atlas-neutral-studio {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    @media not (prefers-reduced-transparency: reduce) {
      body[data-neutral-studio] #main #proposte #myredland-2027 {
        background: rgb(255 255 255 / 50%) !important;
        backdrop-filter: blur(8px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(8px) saturate(1.2) !important;
      }
    }
  }
  [data-neutral-studio] #proposte #myredland-2027 > summary :is(.atlas-app-disclosure, .atlas-app-disclosure b) {
    color: #a93617 !important;
  }
  body[data-neutral-studio] #main > :is(#atlas-binocular,#proposte) {
    padding-inline: var(--atlas-home-gutter) !important;
  }
  body[data-neutral-studio] #main > #atlas-binocular {
    margin: clamp(52px, 8vw, 108px) 0 !important;
  }
}
.atlas-review-photo-credit {
  display: block;
  width: fit-content;
  margin: 6px 0 0 auto;
  color: #fff;
  font-size: .72rem;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@layer redland-editorial-nov8 {
  #recensioni .editorial-section-photo > img { object-position: center 57%; }
  #recensioni.google-reviews::before {
    background: linear-gradient(180deg, #181c1bbb, #171a1770 45%, #171a17a8) !important;
  }
}
.atlas-binocular-frame {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  padding: clamp(22px, 5vw, 72px);
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 86% 47%, #2b3023 0%, #111310 63%);
}
.atlas-binocular-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.05rem, 5vw, 4.4rem);
  letter-spacing: -.055em;
  line-height: 1;
}
.atlas-binocular-copy p { margin: 0 0 24px; color: #d8d9d2; line-height: 1.55; }
.atlas-binocular-optics {
  position: relative;
  margin: 0;
  aspect-ratio: 1.94;
  isolation: isolate;
}
.atlas-binocular-window {
  position: absolute;
  inset: 0;
  mask-image: radial-gradient(ellipse closest-side, #000 96%, transparent 100%),
              radial-gradient(ellipse closest-side, #000 96%, transparent 100%);
  mask-size: 57% 100%;
  mask-position: left center, right center;
  mask-repeat: no-repeat;
}
.atlas-binocular-optics img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 88%;
  transform: scale(1.14);
  transform-origin: 52% 75%;
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-atlas-motion="reduced"]) .atlas-binocular-optics.is-scanning img {
    animation: atlas-binocular-scan 7s ease-in-out both;
  }
}
@keyframes atlas-binocular-scan {
  0%, 100% { transform: scale(1.14); }
  32% { transform: translate(4%, -2%) scale(1.16); }
  68% { transform: translate(-3%, 2%) scale(1.20); }
}
.atlas-binocular-optics::before,
.atlas-binocular-optics::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 1;
  top: 0;
  height: 100%;
  width: 57%;
  box-sizing: border-box;
  border-radius: 50%;
  box-shadow: inset 0 0 32px 10px #0008, inset 0 0 0 1px #fff3;
}
.atlas-binocular-optics::before { left: 0; }
.atlas-binocular-optics::after { right: 0; }
.atlas-field-gallery {
  width: min(960px, calc(100% - 32px));
  max-height: 86dvh;
  max-width: none;
  padding: 0;
  border: 1px solid #f8f6ef38;
  border-radius: 24px;
  color: #fff;
  background: #151714;
}
.atlas-field-gallery::backdrop { background: #060906c9; }
.atlas-field-gallery header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px clamp(16px, 4vw, 32px);
}
.atlas-field-gallery h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 2rem); }
.atlas-field-gallery-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  color: #fff;
  background: #222720;
  font-size: 1.5rem;
  cursor: pointer;
}
.atlas-field-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 32px) 26px;
}
.atlas-field-gallery figure { margin: 0; min-width: 0; }
.atlas-field-gallery figure:last-child { grid-column: 1 / -1; }
.atlas-field-gallery :is(img,video) {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #252823;
}
.atlas-field-gallery figcaption { padding-top: 8px; color: #dedfd8; font-size: .92rem; }
#atlas #atlas-stage .map-dot-menu { position: relative; }
#atlas #atlas-stage .map-dot-menu summary {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  list-style: none;
  color: #151716;
  cursor: pointer;
}
.map-dot-menu summary::-webkit-details-marker { display: none; }
.map-dot-menu summary:hover, .map-dot-menu[open] summary { background: #d3ef42; }
.map-dot-icon {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -5px -5px currentColor, 0 -5px currentColor, 5px -5px currentColor,
              -5px 0 currentColor, 5px 0 currentColor,
              -5px 5px currentColor, 0 5px currentColor, 5px 5px currentColor;
}
#atlas #atlas-stage .map-dot-panel {
  position: absolute;
  z-index: 20;
  left: 0;
  bottom: calc(100% + 10px);
  width: min(290px, calc(100vw - 52px));
  max-height: min(290px, 42dvh);
  overflow: auto;
  padding: 10px;
  border: 1px solid #d4d9cd;
  border-radius: 16px;
  background: #fcfcf8;
  color: #151716;
  box-shadow: 0 8px 26px #0003;
}
#atlas #atlas-stage .map-dot-panel p { margin: 4px 8px 6px; font-weight: 650; }
#atlas #atlas-stage.is-minimal .map-dot-panel button {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 44px !important;
  height: auto !important;
  border-radius: 8px !important;
  padding: 8px !important;
  text-align: start !important;
  line-height: 1.3 !important;
}
#atlas #atlas-stage .map-dot-panel button:hover { background: #eef3df; }
@media (max-width: 800px) {
  body[data-neutral-studio] { --atlas-home-gutter: 20px; }
  .atlas-binocular-frame { grid-template-columns: 1fr; }
  .atlas-partner-copy { padding: 23px; }
  .atlas-binocular-optics { grid-row: 1; }
  .atlas-binocular-frame { padding: 20px; border-radius: 22px; }
  html body.cinema #atlas #atlas-stage.is-minimal .map-controls > #atlas-map-dots {
    display: block !important;
  }
  #atlas #atlas-stage .map-dot-panel { left: -40px; }
}
@media (max-width: 620px) {
  .atlas-partner-trip { grid-template-columns: minmax(0, 1fr); }
  .atlas-partner-image {
    grid-row: 1;
    min-height: 0;
    margin-inline-start: 0;
    aspect-ratio: 2.05;
    mask-image: linear-gradient(to bottom, #000 32%, rgb(0 0 0 / 86%) 58%,
      rgb(0 0 0 / 42%) 77%, rgb(0 0 0 / 7%) 92%, transparent);
  }
}
@media (max-width: 800px) {
  #myredland-2027 > summary > .atlas-app-disclosure {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
    margin-top: 4px;
  }
  #myredland-2027 .atlas-app-disclosure b {
    width: 26px;
    height: 26px;
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .atlas-field-gallery-grid { grid-template-columns: 1fr; }
}

#viaggiare .journey-choice-symbol {
  display: grid;
  place-items: center;
  color: #a4351c;
  background: #f7e8e0;
  border: 1px solid currentColor;
  border-color: rgb(164 53 28 / 15%);
}
#viaggiare [data-travel-choice="shared"] .journey-choice-symbol {
  color: #335845;
  background: #e6efe7;
  border-color: rgb(51 88 69 / 15%);
}
#viaggiare [data-travel-choice="passion"] .journey-choice-symbol {
  color: #2b535f;
  background: #e5eef1;
  border-color: rgb(43 83 95 / 15%);
}
#viaggiare .journey-choice-symbol svg {
  display: block;
  inline-size: 36px;
  block-size: 36px;
  max-inline-size: 74%;
}

#persone .people-name > span > .people-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
#persone .people-card-flag {
  display: block;
  flex: none;
  width: clamp(20px, 2.2vw, 27px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgb(19 29 25 / 16%);
  border-radius: 50%;
  overflow: hidden;
}
#persone .people-card-languages {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: #34483e;
  font-size: .8rem;
  line-height: 1.4;
}
#persone .people-card-languages svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.people-card-language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@layer atlas-map-actions-nov7 {
  #atlas #atlas-stage.is-minimal .map-controls > #atlas-map-dots {
    display: block !important;
  }
  #atlas #atlas-stage.is-minimal .map-controls .map-dot-list > button {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 8px !important;
    line-height: 1.3 !important;
    text-align: start !important;
    white-space: normal !important;
  }
  @media (min-width: 801px) {
    #atlas #atlas-stage.is-minimal .map-controls:has(.map-dot-menu[open]) {
      z-index: 40 !important;
    }
  }
}

/* Trip cards: keep practical information visible and secondary detail expandable. */
html body.cinema.editorial-pass.refined.atlas-premium #proposte .proposal-card.proposal-refined > figure { aspect-ratio: 16 / 10 !important; }
#proposte .proposal-refined .proposal-services { display: none !important; }
#proposte .proposal-refined .proposal-copy { padding: 20px 22px 12px !important; }
#proposte .proposal-refined .proposal-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
  margin: 0 0 10px; font-size: 12px; line-height: 1.4;
}
#proposte .proposal-refined .proposal-meta > svg { width: 16px; height: 16px; flex: 0 0 16px; }
#proposte .proposal-refined h3 { margin: 0 0 8px !important; font-size: clamp(25px, 1.85vw, 30px) !important; line-height: 1.12 !important; letter-spacing: -.045em; }
#proposte .proposal-refined .proposal-type { margin: 0 0 16px !important; min-height: 0 !important; color: #b63816; font-size: 12px; line-height: 1.5; }
#proposte .proposal-refined .proposal-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
  margin: 0; padding: 16px 0; border-block: 1px solid rgb(24 31 27 / 12%);
}
#proposte .proposal-refined .proposal-fact { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 8px; row-gap: 3px; align-content: start; }
#proposte .proposal-refined .proposal-fact > svg { grid-row: 1 / 3; width: 20px; height: 20px; color: #ff4800; }
#proposte .proposal-refined .proposal-fact dt { font-size: 11px; color: #5b655f; line-height: 1.3; }
#proposte .proposal-refined .proposal-fact dd { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.4; color: #171b19; }
#proposte .proposal-refined .proposal-fact-stays { grid-column: 1 / -1; }
#proposte .proposal-refined .proposal-price { border-top: 0; margin-top: 0; padding: 15px 0 5px !important; }
#proposte .proposal-refined .proposal-price strong { font-size: 30px !important; line-height: 1.1; }
#proposte .proposal-refined .proposal-price-state { margin: 0 0 12px; }
#proposte .proposal-refined .proposal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch; margin: 0 0 14px; }
html body.cinema.editorial-pass.refined.atlas-premium #proposte .proposal-refined .proposal-actions > a {
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  width: auto !important; min-width: 0; min-height: 44px !important; padding: 10px 12px !important;
  margin: 0 !important; border: 1px solid #171b19; border-radius: 999px;
  font-size: 12px !important; line-height: 1.3; text-align: center; text-decoration: none;
}
#proposte .proposal-refined .proposal-actions .trip-page-link { color: #171b19; background: transparent; border-color: rgb(24 31 27 / 30%); }
#proposte .proposal-refined .proposal-actions > a:hover { box-shadow: inset 0 0 0 1px currentColor; }
#proposte .proposal-refined .proposal-profile > summary,
#proposte .proposal-refined .proposal-details > summary { min-height: 44px; padding-block: 12px !important; font-size: 12px; }
#proposte .proposal-refined .proposal-profile-body > .trip-ratings { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgb(24 31 27 / 12%); }
#viaggiare .journey-choice-symbol,
#viaggiare [data-travel-choice] .journey-choice-symbol { color: #ff4800 !important; background: rgb(255 255 255 / 70%); border-color: rgb(255 72 0 / 18%); }
@media (max-width: 600px) {
  #inizia .orientation-questions a {
    min-height: 54px !important; height: auto !important; padding: 6px 4px !important;
    gap: 4px !important; border-radius: 15px !important; font-size: 11px !important; line-height: 1.2 !important;
  }
  #inizia .orientation-questions .orientation-action-icon { width: 18px !important; height: 18px !important; }
  #inizia .orientation-questions .compact-short-label { font-size: 11px !important; line-height: 1.2 !important; }
  #proposte .proposal-refined .proposal-copy { padding: 18px 18px 10px !important; }
  #proposte .proposal-refined .proposal-facts { gap: 12px; }
  #proposte .proposal-refined .proposal-actions { grid-template-columns: 1fr; }
}

/* Important mobile rules must share the existing action layer. */
@layer atlas-light-actions {
  @media (max-width: 600px) {
    html:not(#atlas-mobile-palette):not(#atlas-action-reference):not(#atlas-map-entry):not(#atlas-destination-review) body[data-destination-review] #inizia#inizia .orientation-questions > a {
      min-height: 54px !important; height: auto !important;
      padding: 6px 4px !important; gap: 4px !important; border-radius: 15px !important;
    }
  }
}
