/* Separate About photos and lift them gently from the page. */
.about-page .about-architecture-image,
.about-page .about-commitment-image,
.about-page .about-story-image,
.about-page .about-hosts-image {
  filter: drop-shadow(0 7px 10px rgba(36, 30, 24, .20));
}
@media (min-width: 981px) {
  .about-page .about-architecture-image,
  .about-page .about-commitment-image,
  .about-page .about-hosts-image {
    margin: 12px;
    min-width: 0;
    overflow: hidden;
  }
}

/* Match DB's usable desktop About text width with responsive side insets. */
@media (min-width: 981px) {
  .about-page .about-architecture-copy,
  .about-page .about-commitment-copy {
    padding-inline: clamp(24px, 3vw, 40px);
  }
  .about-page .about-architecture-copy p,
  .about-page .about-commitment-copy p {
    max-width: 480px;
  }
}

/* Soft outer shadows for full-width photography, approved on both sites. */
main > :is(.hero, .home-ref-hero, .stay-hero-full, .about-hero,
  .experiences-hero-full, .gallery-hero-full, .contact-hero,
  .home-final-ref, .about-book-cta, .about-aerial, .about-full-width-image,
  .stay-aerial-story, .stay-breakfast-banner, .contact-camels-banner,.contact-photo-banner,
  .home-memory-line-ref, .wow-boardwalk) {
  box-shadow: 0 7px 14px rgba(36, 30, 24, .20);
  position: relative;
  z-index: 1;
}

/* Match DB's soft shadows on contained maps and image sliders. */
.home-stay-photo-ref,
.home-story-map-ref,
.stay-path-media,
.activity-story-media,
.activity-mobile-card img,
.contact-map-panel {
  filter: drop-shadow(0 7px 10px rgba(36, 30, 24, .20));
}

/* Let the About photo insets fit inside each coloured section, as on DB. */
@media (min-width: 981px) {
  .about-page .about-architecture-image,
  .about-page .about-commitment-image,
  .about-page .about-hosts-image {
    height: auto;
    min-height: 0;
    align-self: stretch;
  }
}

/* Consistent white About image/text sections, matching DB. */
.about-page > .about-commitment {
  background-color: #fff;
}

/* Accent-framed illustrated maps, 2026-10-05. */
#home-location .home-story-map-ref,
.contact-location .contact-map-panel {
  box-sizing: border-box;
  padding: 8px;
  background: #F7F1E7;
  border: 1px solid rgba(142, 107, 69, .22);
}
#home-location .home-story-map-ref img,
.contact-location .contact-map-panel img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
}

/* Keep the Contact mat on phones where the shared image-layout rule resets padding. */
body main.contact-page .contact-location .contact-map-panel { padding: 8px; }

/* Airier gallery seams and a soft photo shadow, refined 2026-10-05. */
.gallery-page-mosaic { column-gap: 16px; }
.gallery-page-mosaic:not(.gallery-curated-masonry) > figure[data-gallery-item] { margin-bottom: 16px; }
.gallery-page-mosaic > figure[data-gallery-item] {
  border: 0;
  filter: none;
  box-shadow: 0 4px 14px rgba(28, 24, 20, 0.14);
}
.gallery-page-mosaic > figure[data-gallery-item] img { border: 0; }

@media (max-width: 639px) {
  .gallery-page-mosaic { column-gap: 12px; }
  .gallery-page-mosaic:not(.gallery-curated-masonry) > figure[data-gallery-item] { margin-bottom: 12px; }
}

/* About image/text photos: matted frames with the site's soft image shadow. */
body main.about-page {
  --about-photo-paper: #f8f3eb;
  --about-photo-accent: rgba(142, 107, 69, .28);
}
body main.about-page > :is(.about-architecture, .about-commitment) :is(.about-architecture-image, .about-commitment-image) {
  position: relative;
  box-sizing: border-box;
  filter: none;
  background: var(--about-photo-paper);
  border: 1px solid var(--about-photo-accent);
  box-shadow: 0 4px 14px rgba(28, 24, 20, .14);
}
body main.about-page > :is(.about-architecture, .about-commitment) :is(.about-architecture-image, .about-commitment-image) img {
  display: block;
}
@media (min-width: 981px) {
  body main.about-page > :is(.about-architecture, .about-commitment) :is(.about-architecture-image, .about-commitment-image) {
    margin: 24px;
    padding: 12px;
    overflow: hidden;
  }
  body main.about-page > :is(.about-architecture, .about-commitment) :is(.about-architecture-image, .about-commitment-image) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  body main.about-page > .about-commitment:not(.about-staff):not(.about-knut) .about-commitment-image,
  body main.about-page > :is(.about-garden, .about-art, .about-knut) :is(.about-architecture-image, .about-commitment-image) {
    width: calc(88% - 48px);
    height: calc(100% - 60px);
    align-self: center;
    justify-self: center;
    margin: 30px auto;
  }
}


/* Match all page photography to the Experiences card's two-layer shadow. */
body {
  --site-photo-shadow: 0 6px 16px rgba(37, 29, 21, .18), 0 24px 55px rgba(37, 29, 21, .24);
}
body main > :is(.hero, .home-ref-hero, .stay-hero-full, .about-hero,
  .experiences-hero-full, .gallery-hero-full, .contact-hero,
  .home-final-ref, .about-book-cta, .about-aerial, .about-full-width-image,
  .stay-aerial-story, .stay-breakfast-banner, .contact-camels-banner, .contact-photo-banner,
  .home-memory-line-ref, .wow-boardwalk) {
  box-shadow: var(--site-photo-shadow);
}
body main.stay-page-full > :is(.stay-hero-full, .stay-aerial-story, .stay-breakfast-banner, .stay-book-cta) {
  box-shadow: var(--site-photo-shadow);
}
body main :is(.home-stay-slider-ref, .home-stay-photo-ref, .home-stay-photo-overlap,
  .home-story-map-ref, .location-map, .contact-map-frame, .contact-map-panel,
  .activity-story-media, .knut-portrait, .knut-place-image) {
  filter: none;
  box-shadow: var(--site-photo-shadow);
}
body main.stay-page-full .stay-path-media {
  filter: none;
  box-shadow: var(--site-photo-shadow);
}
body main.about-page .about-story-image,
body main.about-page > :is(.about-architecture, .about-commitment) :is(.about-architecture-image, .about-commitment-image) {
  filter: none;
  box-shadow: var(--site-photo-shadow);
}
body main .gallery-page-mosaic > figure[data-gallery-item] {
  filter: none;
  box-shadow: var(--site-photo-shadow);
}
body main .intro-image-stack img:first-child,
body .gallery-lightbox-frame img,
body .map-lightbox-frame {
  box-shadow: var(--site-photo-shadow);
}

/* Experience numbers start directly below the photograph, 2026-10-06. */
body main.experiences-page-full .activity-mobile-card > div { padding-top: 0 !important; }
body main.experiences-page-full .activity-mobile-card .experience-number { font-style: italic; }

/* The Home slider casts its shadow once, from its outer photo frame. */
body main .home-stay-photo-ref .home-stay-slider-ref { filter: none; box-shadow: none; }

/* Remove the decorative inset lines from Stay photographs. */
body main.stay-page-full .stay-path-media::after { content: none; display: none; border: 0; }

/* Contact fact sheet downloads, 2026-10-06. */
body .contact-fact-sheets p { margin: 0 0 14px; }
body .contact-fact-sheet-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
body .contact-fact-sheet-buttons .contact-fact-sheet-button { background: #526d9e; border-color: #526d9e; color: #fff; padding: 14px 18px; min-height: 44px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; white-space: normal; }
body .contact-fact-sheet-button small { font-size: 10px; opacity: .9; }
body .contact-fact-sheet-buttons .contact-fact-sheet-button:hover { filter: brightness(.88); }
@media (max-width: 639px) { body .contact-fact-sheet-buttons { flex-direction: column; } }

/* Match contact downloads to primary actions and keep the enquiry form compact. */
body main.contact-page .contact-fact-sheet-buttons a.contact-fact-sheet-button {
  background: var(--hospitality-brand); border-color: var(--hospitality-brand); color: #fff !important;
}
body main.contact-page .contact-form { align-self: center; align-content: start; }
body main.contact-page .contact-form > button[type="submit"] {
  align-self: start; padding-block: 14px; min-height: 0; height: auto;
}

/* Match Desert Breeze's current About photographs: clean edges and soft shadows. */
body main.about-page > :is(.about-architecture, .about-commitment) :is(.about-architecture-image, .about-commitment-image) {
  position: relative;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  filter: none !important;
  box-shadow: var(--site-photo-shadow) !important;
  overflow: hidden;
}
body main.about-page > :is(.about-architecture, .about-commitment) :is(.about-architecture-image, .about-commitment-image)::before {
  content: none !important;
}

/* Remove white inset outlines from Home accommodation sliders. */
body main #your-stay .home-stay-slider-ref::after { content: none; display: none; border: 0; }

/* Stronger shadows for Home and Stay image sliders, owner requested 2026-10-06. */
body main :is(.home-stay-photo-ref, .home-stay-photo-overlap),
body main #your-stay > .home-stay-slider-ref,
body main.stay-page-full .stay-path-media,
body main > :is(.home-ref-hero, .hero, .stay-hero-full) {
  box-shadow: 0 8px 20px rgba(37,29,21,.24), 0 28px 60px rgba(37,29,21,.32);
  filter: none;
}

/* Match Desert Breeze amenities summary beneath Stay icons. */
.stay-page-full .stay-included-notes { border-top: 1px solid var(--stiltz-border); margin-top: 32px; padding-top: 28px; text-align: center; }
.stay-page-full .stay-included-notes p { color: var(--stiltz-secondary-text); font-family: Marcellus, Georgia, serif; font-size: 16px; font-style: italic; line-height: 1.55; margin: 0 auto; max-width: none; text-align: center; white-space: normal; width: 100%; }
.stay-page-full .stay-included-notes p + p { margin-top: 10px; }
