/* Madikwe Mountain Nature Reserve page only. Keep existing site header/footer and reserve cards unchanged. */
body.reserve-detail-document { margin:0; }
.molemane-page { --molemane-green:#176b3a; --molemane-deep:#123b27; --molemane-pale:#f3f7f2; color:#2d3931; background:#f7f9f7; font-family:Arial,Helvetica,sans-serif; font-size:16px; line-height:1.65; }
.molemane-page * { box-sizing:border-box; }
.molemane-breadcrumb { width:min(1240px,94%); margin:0 auto; padding:13px 0; display:flex; flex-wrap:wrap; gap:9px; font-size:13px; color:#718075; }
.molemane-breadcrumb a { color:var(--molemane-green); text-decoration:none; }
.molemane-hero { position:relative; isolation:isolate; width:100%; height:clamp(280px,35vw,480px); overflow:hidden; background:#173d2a; color:#fff; }
.molemane-hero-image { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center 55%; animation:molemaneHeroZoom 24s ease-in-out infinite alternate; transform-origin:center; }
.molemane-hero-shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(6,35,19,.08) 43%,rgba(12,70,36,.56) 72%,rgba(10,65,33,.96) 100%); }
.molemane-hero-copy { position:absolute; left:max(4%,calc((100% - 1200px)/2)); right:4%; bottom:0; padding:40px 0 44px; max-width:1000px; color:#fff; }
.molemane-eyebrow,.molemane-section-kicker { display:block; margin-bottom:8px; text-transform:uppercase; letter-spacing:2px; font-weight:700; font-size:11px; color:#6aa77a; }
.molemane-hero .molemane-eyebrow { color:#d3ead7; }
.molemane-hero h1 { margin:0 0 8px; font-size:clamp(32px,4.2vw,58px); line-height:1.08; letter-spacing:-.7px; color:#fff; text-shadow:0 2px 14px rgba(0,0,0,.22); }
.molemane-hero-tagline { margin:0 0 12px; font-size:clamp(17px,2vw,23px); font-weight:500; color:#fff; }
.molemane-hero-location { display:inline-flex; align-items:center; gap:9px; margin:0; padding:7px 12px; border:1px solid rgba(255,255,255,.35); border-radius:4px; background:rgba(9,45,25,.3); color:#fff; font-size:14px; }
.molemane-content-wrap { width:min(1240px,94%); margin:0 auto; padding:34px 0 58px; }
.molemane-main-grid { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr); align-items:stretch; gap:28px; }
.molemane-left-column,.molemane-right-column { display:flex; flex-direction:column; gap:22px; min-width:0; }
.molemane-content-card,.molemane-side-card { min-width:0; background:#fff; border:1px solid #e3e9e3; border-radius:10px; box-shadow:0 6px 22px rgba(24,55,34,.055); overflow:hidden; }
.molemane-content-card { padding:28px 30px; }
.molemane-content-card h2,.molemane-side-card h2 { margin:0 0 15px; color:var(--molemane-deep); font-size:26px; line-height:1.25; }
.molemane-content-card p,.molemane-side-card p { margin:0 0 12px; }
.molemane-content-card p:last-child,.molemane-side-card p:last-child { margin-bottom:0; }
.molemane-feature-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.molemane-feature { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; min-height:112px; padding:15px 8px; text-align:center; background:var(--molemane-pale); border-radius:8px; font-weight:700; font-size:14px; }
.molemane-feature-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:#fff; background:var(--molemane-green); font-size:17px; }
.molemane-stay-option { padding:15px 0; border-top:1px solid #e7ece7; }
.molemane-stay-option:first-of-type { border-top:0; padding-top:0; }
.molemane-stay-option h3 { margin:0 0 5px; color:var(--molemane-green); font-size:18px; }
.molemane-stay-option h3 i { width:25px; }
.molemane-location-intro { color:#5b695f; }
.molemane-map { width:100%; overflow:hidden; border-radius:8px; border:1px solid #dfe6df; }
.molemane-map iframe { display:block; width:100%; height:330px; border:0; }
.molemane-directions { display:inline-flex; align-items:center; gap:9px; margin-top:14px; color:var(--molemane-green); text-decoration:none; font-weight:700; }
.molemane-side-feature-image { position:relative; height:270px; background:#183d2a; }
.molemane-side-feature-image img { width:100%; height:100%; display:block; object-fit:cover; }
.molemane-side-image-caption { position:absolute; inset:auto 0 0; display:flex; flex-direction:column; gap:2px; padding:34px 22px 18px; color:#fff; background:linear-gradient(transparent,rgba(7,45,24,.9)); }
.molemane-side-image-caption strong { font-size:20px; }
.molemane-side-image-caption span { font-size:13px; }
.molemane-booking-card,.molemane-visitor-card,.molemane-gallery-section,.molemane-video-section { padding:25px; }
.molemane-booking-card h2 { font-size:23px; }
.molemane-booking-card h2 i { color:var(--molemane-green); margin-right:6px; }
.molemane-booking-button { display:flex; justify-content:center; align-items:center; gap:10px; width:100%; margin:18px 0; padding:13px 18px; border-radius:5px; color:#fff !important; background:var(--molemane-green); text-decoration:none; font-weight:700; }
.molemane-booking-button:hover,.molemane-booking-button:focus { background:#0e4d2b; }
.molemane-safety-note { padding:13px; border-left:3px solid #6a9c71; background:#f4f8f3; color:#536357; font-size:13px; }
.molemane-safety-note i { color:var(--molemane-green); margin-right:5px; }
.molemane-info-row { display:grid; grid-template-columns:38px minmax(0,1fr); gap:12px; padding:14px 0; border-top:1px solid #e8ede8; }
.molemane-info-row:first-of-type { border-top:0; padding-top:0; }
.molemane-info-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#edf5ed; color:var(--molemane-green); }
.molemane-info-row strong { display:block; margin-bottom:3px; color:#253d2c; font-size:14px; }
.molemane-info-row p { margin:0; color:#5d695f; font-size:14px; overflow-wrap:anywhere; }
.molemane-info-row a { color:var(--molemane-green); text-decoration:none; }
.molemane-gallery-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.molemane-gallery-item { position:relative; display:block; height:130px; overflow:hidden; border-radius:6px; background:#dfe8df; text-decoration:none; }
.molemane-gallery-item img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.molemane-gallery-item:hover img { transform:scale(1.07); }
.molemane-gallery-item span { position:absolute; inset:auto 0 0; padding:22px 10px 9px; color:#fff; font-size:12px; font-weight:700; background:linear-gradient(transparent,rgba(0,0,0,.72)); }
.molemane-video-section video { display:block; width:100%; max-height:360px; background:#101810; border-radius:7px; }
@keyframes molemaneHeroZoom { 0% { transform:scale(1); } 100% { transform:scale(1.12); } }
@media (prefers-reduced-motion:reduce) { .molemane-hero-image { animation:none; } .molemane-gallery-item img { transition:none; } }
@media (max-width:900px) { .molemane-main-grid { grid-template-columns:minmax(0,1fr); } .molemane-right-column { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; } .molemane-side-feature-image,.molemane-gallery-section,.molemane-video-section { grid-column:1/-1; } }
@media (max-width:600px) { .molemane-hero { height:300px; } .molemane-hero-copy { left:20px; right:20px; padding-bottom:28px; } .molemane-hero-location { font-size:12px; } .molemane-content-wrap { width:92%; padding-top:20px; } .molemane-content-card { padding:22px 20px; } .molemane-content-card h2,.molemane-side-card h2 { font-size:23px; } .molemane-feature-list { grid-template-columns:1fr; } .molemane-feature { min-height:75px; flex-direction:row; justify-content:flex-start; padding:12px 15px; text-align:left; } .molemane-right-column { display:flex; } .molemane-side-feature-image { height:230px; } .molemane-booking-card,.molemane-visitor-card,.molemane-gallery-section,.molemane-video-section { padding:21px; } .molemane-gallery-item { height:115px; } .molemane-map iframe { height:270px; } }


/* Top feature image: gentle entrance and interactive zoom effect */
.molemane-side-feature-image {
  transform: translateY(0);
  box-shadow: 0 10px 28px rgba(15, 59, 31, .14);
  transition: transform .35s ease, box-shadow .35s ease;
}
.molemane-side-feature-image img {
  transform: scale(1);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
  will-change: transform;
}
.molemane-side-feature-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(15, 59, 31, .23);
}
.molemane-side-feature-image:hover img {
  transform: scale(1.075);
  filter: saturate(1.12) contrast(1.03);
}
.molemane-side-feature-image:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: inherit;
}
.molemane-side-image-caption {
  transition: padding .35s ease, background .35s ease;
}
.molemane-side-feature-image:hover .molemane-side-image-caption {
  padding-bottom: 24px;
  background: linear-gradient(transparent, rgba(7,45,24,.96));
}

/* Click-to-view gallery overlay */
body.molemane-lightbox-open { overflow: hidden; }
.molemane-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 76px;
  background: rgba(5, 15, 9, .94);
  color: #fff;
}
.molemane-lightbox.is-open { display: flex; }
.molemane-lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: min(1100px, 100%);
  max-height: 100%;
  margin: 0;
  animation: molemaneLightboxEnter .25s ease-out;
}
.molemane-lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 14px 50px rgba(0,0,0,.4);
}
.molemane-lightbox-figure figcaption {
  margin-top: 12px;
  color: #f4f7f4;
  font-size: 14px;
  text-align: center;
}
.molemane-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.molemane-lightbox button:hover,
.molemane-lightbox button:focus-visible {
  background: #176b3a;
  transform: scale(1.06);
  outline: 2px solid rgba(255,255,255,.75);
  outline-offset: 2px;
}
.molemane-lightbox-close { top: 20px; right: 22px; font-size: 32px !important; }
.molemane-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.molemane-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.molemane-lightbox-prev:hover, .molemane-lightbox-prev:focus-visible { transform: translateY(-50%) scale(1.06) !important; }
.molemane-lightbox-next:hover, .molemane-lightbox-next:focus-visible { transform: translateY(-50%) scale(1.06) !important; }
.molemane-lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #dce7df;
  font-size: 13px;
}
@keyframes molemaneLightboxEnter {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 600px) {
  .molemane-lightbox { padding: 58px 14px; }
  .molemane-lightbox-prev { left: 8px; }
  .molemane-lightbox-next { right: 8px; }
  .molemane-lightbox button { width: 40px; height: 40px; font-size: 21px; }
  .molemane-lightbox-figure img { max-height: calc(100vh - 155px); }
}
@media (prefers-reduced-motion: reduce) {
  .molemane-side-feature-image,
  .molemane-side-feature-image img,
  .molemane-side-image-caption { transition: none; }
  .molemane-lightbox-figure { animation: none; }
}

/* Madikwe-specific tuning, retaining the shared Molemane layout */
.madikwe-page .molemane-hero-tagline { max-width:900px; text-transform:uppercase; }
.madikwe-page .molemane-feature-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:600px){.madikwe-page .molemane-feature-list{grid-template-columns:1fr;}}


/* Barberspan fixes: match the HTML classes and keep the hero layers behind the title. */
.barberspan-page .molemane-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #173d2a;
}
.barberspan-page .molemane-hero-image {
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.barberspan-page .molemane-hero-shade {
  z-index: -1;
}
.barberspan-page .molemane-hero-copy {
  z-index: 1;
}
.barberspan-page .molemane-side-feature-image img {
  display: block;
}
.barberspan-page .barberspan-side-card {
  min-width: 0;
}
.barberspan-page img {
  max-width: 100%;
}


/* Keep Barberspan hero dimensions identical to the Molemane reserve template. */
.barberspan-page .barberspan-hero {
  height: clamp(280px, 35vw, 480px);
  min-height: 420px;
}
.barberspan-page .barberspan-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: molemaneHeroZoom 24s ease-in-out infinite alternate;
}
@media (max-width: 600px) {
  .barberspan-page .barberspan-hero { height: 430px; min-height: 430px; }
}

/* Madikwe hero uses the same responsive height as Molemane. */
.madikwe-page .molemane-hero { height:clamp(280px,35vw,480px); }
@media (max-width:600px){ .madikwe-page .molemane-hero { height:300px; } }


/* Madikwe Safe Online Booking tariff tables */
.madikwe-booking-card > p { margin-bottom: 14px; }
.madikwe-tariffs { margin: 18px 0; }
.madikwe-tariffs h3 { margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 2px solid #e2ebe2; color: var(--molemane-green); font-size: 16px; line-height: 1.3; }
.madikwe-tariffs h3:first-child { margin-top: 0; }
.madikwe-tariffs table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; line-height: 1.4; }
.madikwe-tariffs th, .madikwe-tariffs td { padding: 8px 6px; border-bottom: 1px solid #e5ebe5; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.madikwe-tariffs th { color: #24442e; background: #f0f6f0; font-weight: 700; }
.madikwe-tariffs th:last-child, .madikwe-tariffs td:last-child { width: 36%; font-weight: 700; }
.madikwe-tariffs tbody tr:nth-child(even) { background: #fafcf9; }
.madikwe-booking-card .molemane-booking-button { margin-top: 18px; }
@media (max-width: 600px) { .madikwe-tariffs table { font-size: 12px; } .madikwe-tariffs th, .madikwe-tariffs td { padding: 8px 5px; } }

/* Small note spacing for the reserve-specific activities section. */
.madikwe-page .molemane-activity-note { margin-top: 16px; color: #536257; font-size: 14px; }


/* Madikwe reserve video panel */
.madikwe-page .molemane-video-section {
  padding: 25px;
}
.madikwe-page .molemane-video-section video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 440px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #101810;
  border-radius: 8px;
}
.madikwe-page .molemane-video-section h2 {
  margin: 0 0 12px;
  color: var(--molemane-deep);
  font-size: 23px;
  line-height: 1.25;
}
.madikwe-page .molemane-video-help {
  margin: 10px 0 0;
  color: #5d695f;
  font-size: 13px;
}
@media (max-width: 600px) {
  .madikwe-page .molemane-video-section { padding: 21px; }
  .madikwe-page .molemane-video-section video { max-height: 300px; }
}

/* Madikwe Nature Reserve video */
.madikwe-page .molemane-video-section video {
  display:block; width:100%; max-width:100%; height:auto; max-height:440px;
  aspect-ratio:16/9; object-fit:contain; background:#101810; border-radius:8px;
}
.madikwe-page .molemane-video-section { padding:25px; }
@media(max-width:600px){.madikwe-page .molemane-video-section{padding:21px}.madikwe-page .molemane-video-section video{max-height:300px}}

/* Madikwe concessionaires links */
.madikwe-concessionaires-link { margin-top:16px !important; }
.madikwe-concessionaires-link a {
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 15px; border:1px solid #176b3a; border-radius:5px;
  color:#176b3a; text-decoration:none; font-weight:700;
  background:#f3f7f2; transition:background .2s ease,color .2s ease;
}
.madikwe-concessionaires-link a:hover,
.madikwe-concessionaires-link a:focus { color:#fff; background:#176b3a; }


/* Pilanesberg accommodation chalet cards and visitor contact typography */
.pilanesberg-page .pilanesberg-accommodation-subheading {
  margin: 8px 0 14px; color: var(--molemane-green); font-size: 20px;
}
.pilanesberg-page .pilanesberg-chalet-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.pilanesberg-page .pilanesberg-chalet-card {
  display: block; overflow: hidden; border: 1px solid #e3e9e3; border-radius: 8px;
  background: #fff; color: #253d2c; text-decoration: none;
  box-shadow: 0 4px 16px rgba(24,55,34,.07); transition: transform .25s ease, box-shadow .25s ease;
}
.pilanesberg-page .pilanesberg-chalet-card:hover,
.pilanesberg-page .pilanesberg-chalet-card:focus {
  transform: translateY(-3px); box-shadow: 0 9px 22px rgba(24,55,34,.14);
}
.pilanesberg-page .pilanesberg-chalet-card img {
  display: block; width: 100%; height: 180px; object-fit: cover;
}
.pilanesberg-page .pilanesberg-chalet-card-content {
  display: flex; flex-direction: column; gap: 4px; padding: 13px 15px 15px;
}
.pilanesberg-page .pilanesberg-chalet-card-content strong {
  color: var(--molemane-deep); font-size: 17px;
}
.pilanesberg-page .pilanesberg-chalet-card-content > span {
  color: var(--molemane-green); font-size: 13px; font-weight: 700;
}
.pilanesberg-page .pilanesberg-gps-row p,
.pilanesberg-page .pilanesberg-email,
.pilanesberg-page .molemane-info-row p { font-weight: 400; }
.pilanesberg-page .molemane-info-row p strong { font-weight: 400; }
@media (max-width: 600px) {
  .pilanesberg-page .pilanesberg-chalet-grid { grid-template-columns: 1fr; }
  .pilanesberg-page .pilanesberg-chalet-card img { height: 190px; }
}
