/* Bring the homepage headline and search together as one clear start point. */
.home-page .hero .hero-entry-panel {
  --site-title-surface: none;
  --site-title-ink: #1b3229;
  width: min(100%, 880px);
  margin-inline: auto;
  padding: clamp(22px, 3.2vw, 38px);
  border-color: transparent !important;
  box-shadow: none !important;
}
.home-page .hero .hero-entry-copy {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-inline-size: 42rem;
}
.home-page .hero .hero-entry-copy::before {
  content: "";
  position: absolute;
  inset: -3rem -4rem -2rem;
  z-index: -1;
  pointer-events: none;
  --hero-copy-edge: clamp(20px, 5vw, 60px);
  --hero-copy-mask:
    linear-gradient(90deg, transparent, black var(--hero-copy-edge), black calc(100% - var(--hero-copy-edge)), transparent),
    linear-gradient(180deg, transparent, black 32px, black calc(100% - 28px), transparent);
  -webkit-mask-image: var(--hero-copy-mask);
  -webkit-mask-composite: source-in;
  mask-image: var(--hero-copy-mask);
  mask-composite: intersect;
  background: radial-gradient(ellipse at center,
    rgb(255 253 248 / .85) 0 43%,
    rgb(255 253 248 / .74) 59%,
    rgb(255 253 248 / .30) 79%,
    transparent 100%);
}
.home-page .hero .hero-entry-copy > p {
  margin-bottom: 24px;
  color: #182b23 !important;
}
.home-page .hero .hero-entry-panel .search {
  width: min(100%, 720px);
  min-height: 62px;
  margin: 0 auto;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(4, 17, 25, .2);
}
.home-page .hero .hero-entry-panel .search input {
  min-height: 46px;
  padding-inline: 16px;
}
.home-page .hero .hero-entry-panel .search button {
  min-height: 48px;
  padding-inline: 22px;
  border: 0;
  border-radius: 11px;
  background: #f2c36d;
  color: #24372f;
  font-weight: 750;
  box-shadow: 0 3px 10px rgba(5, 21, 30, .16);
}
.home-page .hero .hero-entry-panel .search button:hover {
  background: #ffda8b;
  color: #20332b;
}
.home-page .hero .hero-entry-panel :is(a, button, input):focus-visible {
  outline: 3px solid #f2c36d;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .home-page .hero .hero-entry-panel {
    padding: 20px 16px;
  }
  .home-page .hero .hero-entry-copy > p { margin-bottom: 18px; }
  .home-page .hero .hero-entry-panel .search { min-height: 56px; border-radius: 13px; }
  .home-page .hero .hero-entry-panel .search input { padding-inline: 10px; }
  .home-page .hero .hero-entry-panel .search button { min-height: 44px; padding-inline: 14px; }
}

.home-page .home-journey {
  margin: 14px 0 clamp(28px, 4vw, 48px);
}
.home-page .home-journey-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 12px;
  background: #f2c36d;
  color: #24372f;
  font-weight: 750;
}
.home-page .home-journey-primary:hover {
  background: #ffda8b;
  color: #20332b;
}
.home-page .home-journey-choices {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.home-page .home-journey-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-page .home-journey-choices a {
  display: grid;
  align-content: center;
  gap: 3px;
  height: 100%;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid #cddad4;
  border-radius: 12px;
  background: #f7faf7;
  color: #24372f;
  line-height: 1.4;
}
.home-page .home-journey-choices a:hover {
  border-color: #567366;
  background: #eff5f0;
}
.home-page .home-journey-choices a span {
  font-size: .92rem;
}
.home-page .home-journey a:focus-visible {
  outline: 3px solid #285167;
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .home-page .home-journey-choices { grid-template-columns: 1fr; gap: 8px; }
  .home-page .home-journey-choices a { min-height: 58px; }
  .home-page .home-journey-primary { width: 100%; }
}

.home-page .source-check {
  font-size: .86rem;
  line-height: 1.4;
  margin: .3rem 0;
  font-variant-numeric: tabular-nums;
}
.home-page .source-check:not(:has(:not([hidden]))) {
  display: none;
}
.home-page .hero .home-journey-primary {
  margin: 12px auto 14px;
  width: fit-content;
  max-width: 100%;
  min-height: 54px;
  font-size: 1.1rem;
}
.home-page .hero .hero-entry-panel .search button {
  background: #eef4f2;
  box-shadow: none;
}
.home-page .home-feedback a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 10px;
}
.home-page .home-map-feature { display: block; }
.home-page .home-map-feature .button { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 700px) {
  .home-page #start.hero {
    min-height: 0;
    background: linear-gradient(180deg, transparent 25%, #102f4030 65%, #102f4080),
      linear-gradient(rgb(24 61 75 / .5), rgb(24 61 75 / .5)),
      url('/images/formentor-hero-mobile.webp') center 43% / cover no-repeat #183d4b;
  }
  .home-page #start.hero .heroinner {
    min-height: 0;
    padding: clamp(8.25rem, 37vw, 12.5rem) 1rem;
  }
  .home-page #start.hero .herobottom,
  .home-page .desktop-nav-symbol {
    display: none;
  }
  .home-page #start.hero .hero-entry-panel {
    width: 100%;
    text-align: start;
  }
  .home-page #start .hero-entry-copy::before {
    inset: -1.75rem -1.9rem -1.65rem;
    background: radial-gradient(ellipse at center,
      rgb(255 253 248 / .88) 0 52%,
      rgb(255 253 248 / .76) 67%,
      rgb(255 253 248 / .32) 85%,
      transparent 100%);
  }
  .home-page #start .hero-entry-panel .site-title-heading.site-title-heading {
    width: auto;
    padding-inline-start: 0;
    font-size: clamp(2rem, 8.5vw, 3rem) !important;
    line-height: 1.07 !important;
    letter-spacing: -.04em;
    text-align: start;
  }
  .home-page #start .hero-entry-panel .site-title-heading br {
    display: none;
  }
  .home-page #start .hero-entry-panel .site-title-heading::before {
    position: static;
    width: 27px;
    margin-bottom: .55rem;
  }
  .home-page #start .hero-entry-copy > p {
    margin: 0 0 .9rem;
    font-size: .97rem !important;
    line-height: 1.55 !important;
    text-align: start;
  }
  .home-page #start .home-journey-primary,
  .home-page .home-feedback a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 44px;
    font-size: .95rem;
    font-weight: 700;
  }
  .home-page #start .home-journey-primary {
    margin: .95rem 0 .8rem;
    width: 100%;
    padding: .65rem 1rem;
  }
  .home-page .home-feedback a {
    width: fit-content;
  }
  .home-page .home-journey-choices,
  .home-page main .cards {
    row-gap: 18px;
  }
  .home-page main .cards {
    column-gap: clamp(12px, 4vw, 18px);
  }
  .home-page .home-journey {
    margin-block-end: 32px;
  }
  .home-page main .cards + h2,
  .home-page main .home-map-feature {
    margin-block-start: 32px;
  }
}
@media (max-width: 360px) {
  .home-page main .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home-page .home-mobile-accordion { display: contents; }
.home-page .home-mobile-accordion > summary { display: none; }

@media (max-width: 700px) {
  .home-page .home-mobile-accordion {
    display: block;
    border: 1px solid #cddad4;
    border-radius: 12px;
    background: #f7faf7;
  }
  .home-page .home-map-accordion { margin-block-start: 24px; }
  .home-page .home-choices-accordion { margin-block-end: 24px; }
  .home-page .home-mobile-accordion > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 48px;
    padding: .55rem .9rem;
    color: #243c33;
    font-weight: 740;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
  }
  .home-page .home-mobile-accordion > summary::-webkit-details-marker { display: none; }
  .home-page .home-mobile-accordion > summary::after {
    content: "";
    width: .5rem;
    height: .5rem;
    flex: none;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-.13rem) rotate(45deg);
  }
  .home-page .home-mobile-accordion[open] > summary::after { transform: translateY(.1rem) rotate(225deg); }
  .home-page .home-mobile-accordion > summary:focus-visible { outline: 2px solid #315c56; outline-offset: 3px; }
  .home-page .home-mobile-accordion :is(#home-choices-title, .home-map-feature h3) {
    display: none;
  }
  .home-page .home-choices-accordion .home-journey { margin: 0; padding: 0 .8rem .8rem; }
  .home-page .home-choices-accordion .home-journey-choices { margin-top: 0; }
  .home-page .home-map-accordion .home-map-feature { margin: 0 .8rem .8rem; }
  .home-page main .cards > .card {
    grid-template-rows: auto auto 1fr auto;
    gap: 5px;
    padding: 10px !important;
  }
  .home-page main .cards > .card .place-image {
    width: min(100%, 128px);
    height: auto;
  }
  .home-page main .cards > .card h3 {
    font-size: 1.04rem !important;
    line-height: 1.25 !important;
  }
  .home-page main .cards > .card p {
    font-size: .88rem !important;
    line-height: 1.42 !important;
  }
  .home-page main .regional-home-grid > .card { gap: 3px; padding: 8px !important; }
  .home-page main .regional-home-grid > .card .place-image { width: min(100%, 80px); }
  .home-page main .regional-home-grid > .card .textlink { min-height: 33px; }
  .home-page main .excursion-destination > .card { padding: 8px 10px !important; }
  .home-page main .excursion-destination > .card .place-image { width: min(100%, 72px); }
  .home-page main .excursion-destination > .card .textlink { min-height: 40px; }
}


@media (min-width: 361px) and (max-width: 700px) {
  .home-page main .excursion-destination > .card .place-image { width: min(100%, 56px); }
}
@media (max-width: 360px) {
  .home-page main .home-primary-places > .card { padding: 12px !important; }
  .home-page main .home-primary-places > .card .place-image { width: min(100%, 140px); }
}

.home-page .home-today-wrap {
  max-inline-size: 65rem;
  margin-block: clamp(.75rem, 2vw, 1.25rem) 0;
}
.home-page .home-today.panel {
  padding: clamp(.85rem, 2.2vw, 1.35rem);
  border: 1px solid #cddad4;
  border-radius: 14px;
  background: rgb(255 253 248 / .58);
  box-shadow: 0 4px 16px #23392d0b;
  color: #243c33;
}
.home-page .home-today :is(.home-today-head, .home-today-footer) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem 1rem;
}
.home-page .home-today h2 { margin: 0; font-size: clamp(1.24rem, 2.3vw, 1.55rem); line-height: 1.2; }
.home-page .home-today label { font-size: .9rem; font-weight: 650; }
.home-page .home-today select {
  max-inline-size: 100%;
  min-block-size: 44px;
  padding: .25rem .5rem;
  border: 1px solid #9fb4a7;
  border-radius: 8px;
  color: inherit;
  background: #f7faf7;
  font: inherit;
}
.home-page .home-today-list { margin: .55rem 0 0; padding: 0; list-style: none; }
.home-page .home-today-list li:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 0 .6rem;
  padding-block: .35rem;
  border-block-start: 1px solid #cddad4;
  overflow-wrap: anywhere;
}
.home-page .home-today-list strong { font-size: .87rem; }
.home-page .home-today-list a { font-weight: 650; }
.home-page .home-today-list small { grid-column: 2; color: #405a53; }
.home-page .home-today-footer { margin-block-start: .35rem; border-block-start: 1px solid #cddad4; }
.home-page .home-today a { color: #315a55; text-decoration: underline; text-underline-offset: .18em; }
.home-page .home-today-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.home-page .home-today .source-check { margin: 0; }
.home-page .home-today [hidden] { display: none !important; }
.home-page .home-discovery { padding-block-start: clamp(1.25rem, 3vw, 2.25rem); }
@media (max-width: 550px) {
  .home-page .home-today-list li:not([hidden]) { grid-template-columns: 1fr; }
  .home-page .home-today-list small { grid-column: auto; }
  .home-page .home-today-list a { display: flex; align-items: center; min-height: 44px; }
  .home-page .home-today-footer { gap: 0; }
  .home-page .home-today-footer .source-check { flex-basis: 100%; }
}
