.sol-property-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(950px, 100svh);
  color: #f3eadf;
  background: #30302d;
}
.sol-property-hero > img, .sol-property-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.sol-property-hero > img { object-fit: cover; object-position: var(--hero-focus, center); }
.sol-property-hero::after {
  content: "";
  background: linear-gradient(180deg, #26262616 20%, #26262650 49%, #292929eb 100%);
}
.sol-property-hero-inner { width: min(81%, 1280px); margin-inline: auto; padding: 120px 0 clamp(32px, 8vh, 90px); }
.sol-property-hero .sol-property-place {
  font: 700 13px/1.5 Wingman, sans-serif;
  letter-spacing: .38em;
  text-transform: uppercase;
}
.sol-property-hero h1 {
  margin: 28px 0;
  max-width: 16ch;
  color: inherit;
  font: clamp(48px, 7vw, 105px)/1.06 Wingman, sans-serif;
  letter-spacing: .08em;
}
.sol-property-hero-rule { border: 0; border-top: 1px solid #f3eadf66; margin: 0; }
.sol-property-hero-description { margin: 32px 0 0 auto; width: min(100%, 330px); font: 16px/1.55 'PT Serif', Georgia, serif; }
.sol-property-body .sol-property-link.btn.tertiarys {
  display: inline-flex;
  align-items: center;
  margin-top: 1.3em;
  padding: 0;
  white-space: normal;
  text-align: left;
  color: inherit;
}
.sol-property-body .sol-property-link span { color: inherit; }
.sol-property-body .photo-link:focus-visible, .sol-property-body .sol-property-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.sol-property-gallery {
  max-width: min(96vw, 1440px);
  max-height: 94vh;
  padding: 12px;
  background: #292929;
  color: white;
}
.sol-property-gallery::backdrop { background: #171717db; }
.sol-property-gallery img { display: block; max-width: 100%; max-height: 76vh; object-fit: contain; margin: auto; }
.sol-property-gallery figure { margin: 0; }
.sol-property-gallery figcaption { padding: 10px 0; text-align: center; }
.sol-property-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 12px; }
.sol-property-gallery-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: none;
  cursor: pointer;
}
.sol-property-gallery-controls button:focus-visible { outline: 2px solid white; outline-offset: 2px; }

/* Dar Lara’s Minerva headings, ivory editorial panels and edge-to-edge gallery. */
.sol-property-body--dar {
  background: #efe3d3;
  color: #45402b;
  font: 400 15px/1.6 freight-text-pro, Georgia, serif;
  letter-spacing: .15px;
}
.sol-property-body--dar :is(h2, h3) {
  color: #45402b;
  font-family: minerva-modern, Georgia, serif;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
}
.sol-property-body--dar .intro {
  max-width: 760px;
  margin: auto;
  padding: clamp(56px, 8vw, 108px) 24px;
  text-align: center;
}
.sol-property-body--dar .intro h2 {
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.3;
  margin-bottom: 26px;
}
.sol-property-body--dar .intro > p {
  max-width: 54ch;
  margin-inline: auto;
  font-size: clamp(17px, 1.54vw, 22px);
}
.sol-property-body--dar .dar-craft {
  text-align: center;
  padding: clamp(58px, 9vw, 135px) 8.5vw;
  color: #211b13;
  background: linear-gradient(#efe3d385, #efe3d39c), var(--craft-background) center / cover;
}
.sol-property-body--dar .dar-craft :is(h2, h3) { color: inherit; }
.sol-property-body--dar .dar-craft h2 {
  font-size: clamp(31px, 3.3vw, 52px);
  line-height: 1.2;
  max-width: 17em;
  margin: 0 auto 1.15em;
}
.sol-property-body--dar .dar-craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 70px);
  row-gap: 32px;
  max-width: 1100px;
  margin: auto auto 28px;
}
@media (min-width: 741px) {
  .sol-property-body--dar .dar-craft-grid { row-gap: 0; }
  .sol-property-body--dar .dar-craft-grid > div {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    align-items: start;
  }
  .sol-property-body--dar .dar-craft-grid > :nth-child(2) { order: 1; }
}
.sol-property-body--dar .dar-craft-grid h3 {
  font-size: clamp(22px, 2.14vw, 35px);
  line-height: 1.34;
  text-transform: none;
  margin-bottom: 22px;
}
.sol-property-body--dar .render-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .3vw;
  padding-inline: .3vw;
}
.sol-property-body--dar .render-grid img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}


/* Keep the property-site links in the established Sol arrow treatment. */
.sol-property-body .sol-property-link.btn.tertiarys {
  width: fit-content;
  font-family: Wingman, sans-serif;
  font-size: 13px;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.sol-property-body--kasbah > section[aria-label="Official property website"] { padding-bottom: 64px; }
.sol-property-body--zambezi .lettered-title .wedding-lettering { min-height: min(100px, 14vw); }

@media (max-width: 740px) {
  .sol-property-hero-inner { width: calc(100% - 48px); }
  .sol-property-hero-description { margin-left: 0; }
  .sol-property-body--dar .dar-craft-grid { grid-template-columns: 1fr; }
  .sol-property-body--dar .render-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keep the official Himba House signature and rendering controls inside the Sol hero. */
.sol-himba-hero { touch-action: pan-y; }
.sol-himba-hero::after {
  background: linear-gradient(180deg, #10171399, transparent 52%, #101713d9);
}
.sol-himba-hero .sol-property-hero-inner {
  display: grid;
  min-height: min(950px, 100svh);
  grid-template-rows: 1fr auto auto auto;
  padding-top: clamp(120px, 20svh, 220px);
  padding-bottom: clamp(50px, 9svh, 84px);
}
.sol-himba-hero h1 {
  grid-row: 1;
  align-self: start;
  width: min(54vw, 760px);
  max-width: none;
  margin: 0 auto;
}
.sol-himba-wordmark {
  display: block;
  aspect-ratio: 1694 / 361;
  background: currentColor;
  mask: url('/assets/stays/himba-house/homepage/himba-mark-wide.webp') center / contain no-repeat;
}
.sol-himba-credit {
  position: absolute;
  top: calc(clamp(120px, 20svh, 220px) + min(11.51vw, 162px) + 10px);
  left: 0;
  right: 0;
  color: inherit;
  font: 400 12px/1.4 Georgia, serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.sol-himba-hero .sol-property-place { margin-bottom: 15px; }
.sol-himba-hero .sol-property-hero-description { margin-top: 17px; }
.sol-himba-hero-controls {
  position: absolute;
  right: 5vw;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3eadf;
}
.sol-himba-hero-controls button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: inherit;
  background: #10171380;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}
.sol-himba-hero-controls button:first-child svg { transform: rotate(180deg); }
.sol-himba-hero-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sol-himba-hero-count { font: 400 11px/1.2 Georgia, serif; font-variant-numeric: tabular-nums; }
.sol-property-body--himba #enquire > p:not(.kicker) { color: inherit; }
@media (max-width: 800px) {
  .sol-himba-hero h1 { width: min(80vw, 380px); }
  .sol-himba-credit { top: calc(clamp(120px, 20svh, 220px) + min(17.05vw, 81px) + 8px); }
}
