.sol-damaraland-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding: 8rem 0 clamp(2.25rem, 8vh, 4.25rem);
  background: #45402b;
  color: #efe3d3;
}

.sol-damaraland-hero-image,
.sol-damaraland-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sol-damaraland-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 52%;
}

.sol-damaraland-hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, transparent 26%, #26262680 61%, #262626f5);
}

.sol-damaraland-hero-content {
  width: min(80%, 81rem);
  margin-inline: auto;
}

.sol-damaraland-hero-title {
  padding-bottom: clamp(1rem, 3vh, 1.75rem);
  border-bottom: 1px solid #efe3d366;
}

.sol-damaraland-hero-title h1 {
  margin: clamp(.75rem, 3vw, 1.75rem) 0 0;
  color: inherit;
  font-size: clamp(2rem, 5.2vw, 5rem);
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.sol-damaraland-hero-description {
  max-width: 33ch;
  margin: clamp(1.25rem, 7vh, 3.75rem) 0 0 auto;
  color: inherit;
  font-size: 1rem;
  line-height: 1.55;
}

.sol-damaraland-hero ~ #Intro .text-plus-two-image {
  gap: clamp(2rem, 6vw, 6rem);
}

.sol-damaraland-hero ~ #Intro :is(.text-container, .img-container) {
  min-width: 0;
}

.sol-damaraland-hero ~ #Intro .img-container,
.sol-damaraland-hero ~ #Intro .main-img {
  padding-inline: 0;
}

.sol-damaraland-hero ~ #Intro .first-img {
  width: 90%;
}

.sol-damaraland-hero ~ #Intro .second-img {
  width: min(55%, 18rem);
  margin-right: 0;
}

.sol-damaraland-hero ~ #Intro .tptomanimation :is(div, picture, img) {
  display: block;
  width: 100%;
  height: 100%;
}

.sol-damaraland-hero ~ #Intro .tptomanimation img {
  object-fit: cover;
}

.sol-damaraland-hero ~ #Intro .text-container .text {
  opacity: 1;
}

@media (min-width: 768px) {
  .sol-damaraland-hero ~ #Intro .img-container {
    flex: 1 1 56%;
  }

  .sol-damaraland-hero ~ #Intro .text-container {
    flex: 1 1 34%;
  }
}

@media (max-width: 639px) {
  .sol-damaraland-hero-content {
    width: calc(100% - 2.5rem);
  }

  .sol-damaraland-hero-description {
    margin-left: 0;
  }
}

/* Frame the interactive explorer like the Zambezi Sol atlas. */
#Map.MapSimplifiedModule {
  --atlas-paper: #efe3d3;
  --atlas-ink: #45402b;
  --atlas-rule: #45402b40;
  background: var(--atlas-paper) !important;
  color: var(--atlas-ink);
  overflow: visible;
  padding-inline: clamp(16px, 6vw, 96px);
  padding-bottom: clamp(32px, 6vw, 72px);
}

#Map .sol-map-intro {
  padding-inline: 0;
}

#Map .sol-map-explorer {
  max-width: 1224px;
  margin-inline: auto;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  height: auto;
  border: 1px solid var(--atlas-rule);
  background: var(--atlas-paper);
}

#Map .sol-map-sidebar {
  border-color: var(--atlas-rule);
  background: var(--atlas-paper);
}

#Map .sol-map-stop-list {
  scrollbar-color: #45402b70 transparent;
}

#Map .sol-map-list-item {
  min-height: 88px;
  border-color: var(--atlas-rule);
  color: var(--atlas-ink);
}

#Map .sol-map-list-item:hover,
#Map .sol-map-list-item.active {
  background: #efe3d3;
}

#Map .sol-leaflet-map {
  background: #efe3d3;
}

#Map .leaflet-tile-pane {
  filter: grayscale(.8) sepia(.55) saturate(.65) contrast(.91);
}

#Map .sol-map-tools button,
#Map .leaflet-control-zoom a {
  background: #efe3d3 !important;
  color: var(--atlas-ink) !important;
  border-color: var(--atlas-rule);
  box-shadow: none;
}

#Map .sol-map-tools button {
  min-height: 40px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#Map .sol-map-tools button:hover,
#Map .leaflet-control-zoom a:hover {
  background: var(--atlas-ink) !important;
  color: #efe3d3 !important;
}

@media (min-width: 768px) {
  #Map .sol-explorer-map-wrap {
    position: sticky;
    top: 92px;
    align-self: start;
    height: clamp(360px, calc(100svh - 116px), 680px);
  }
}

@media (max-width: 767px) {
  #Map .sol-map-explorer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 420px;
    min-height: 0;
  }

  #Map .sol-map-stop-list {
    padding-bottom: 6px;
  }
}

/* The price and trip details share one palette across card layouts. */
#Journeys.JourneyListingModule .details-container {
  background: #45402b;
  color: #efe3d3;
}

#Journeys .details-container > div span {
  color: #efe3d3 !important;
}

#Journeys .details-container svg [fill="#313832"] {
  fill: currentColor;
  fill-opacity: .74;
}

#Journeys .details-container .btn.primary {
  background-color: #99593d;
  color: #efe3d3;
}

#Journeys .details-container .btn.primary:hover {
  background-color: #b49980;
  color: #45402b;
}

#Journeys .details-container .btn.primary:focus-visible {
  outline: 2px solid #efe3d3;
  outline-offset: 3px;
}
