/* ============================================================
   page-content.css — content pages that share the tour-page look
   (Camp Houses, Tent Night, Our Camp, Desert Sites and the Info pages).
   Builds on the tokens defined in tour-page.css (--tp-*).
   ============================================================ */

.pg-main {
  background: var(--tp-bg);
  padding: 56px 20px 100px;
  color: var(--tp-ink);
  font-family: "Poppins", sans-serif;
}

.pg-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- intro ---------- */
.pg-intro {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.pg-intro h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 14px;
}

.pg-intro p {
  color: var(--tp-muted);
  font-size: 16px;
  line-height: 1.8;
}

.pg-intro p + p { margin-top: 12px; }

/* ---------- table of contents chips ---------- */
.pg-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 22px 24px;
  background: var(--tp-card);
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow);
}

.pg-toc-title {
  flex: 0 0 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--tp-muted);
  margin-bottom: 2px;
}

.pg-toc a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #f2eee3;
  color: var(--tp-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pg-toc a:hover {
  background: var(--tp-gold);
  transform: translateY(-2px);
}

/* ---------- sections ---------- */
.pg-section {
  scroll-margin-top: 150px;
  background: var(--tp-card);
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-lg);
  padding: 34px 38px;
  margin-bottom: 24px;
  box-shadow: var(--tp-shadow);
}

.pg-section h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.pg-section h2 > i {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f2eee3;
  color: var(--tp-gold-dark);
  font-size: 17px;
}

.pg-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tp-gold), transparent);
}

.pg-section h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.pg-section p {
  color: var(--tp-muted);
  font-size: 15px;
  line-height: 1.8;
}

.pg-section p + p { margin-top: 12px; }

.pg-section p strong { color: var(--tp-ink); }

.pg-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 24px;
  margin-top: 14px;
}

.pg-list.one-col { grid-template-columns: 1fr; }

.pg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--tp-ink);
}

.pg-list li i {
  color: var(--tp-gold-dark);
  margin-top: 4px;
  font-size: 12.5px;
  flex-shrink: 0;
}

.pg-section .cms-album,
.pg-section .pg-photos {
  max-width: 780px;
  margin-top: 24px;
  margin-bottom: 0;
}

.pg-section .cms-album-slide { aspect-ratio: 16 / 9; }

/* ---------- three-up cards ---------- */
.pg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.pg-card {
  background: var(--tp-bg);
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  padding: 22px;
}

.pg-card > i {
  font-size: 20px;
  color: var(--tp-gold-dark);
  margin-bottom: 10px;
  display: block;
}

.pg-card h3 { margin: 0 0 8px; font-size: 16px; }
.pg-card p { font-size: 14px; }
.pg-card .pg-list { grid-template-columns: 1fr; margin-top: 0; gap: 9px; }

/* ---------- callout ---------- */
.pg-callout {
  background: var(--tp-ink);
  color: #fff;
  border-radius: var(--tp-radius-lg);
  padding: 26px 32px;
  margin-bottom: 24px;
}

.pg-callout h3 {
  color: #f0d994;
  font-size: 17px;
  margin-bottom: 8px;
}

.pg-callout p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

.pg-callout p + p { margin-top: 10px; }
.pg-callout a { color: #f0d994; font-weight: 600; }

/* ---------- call-to-action band ---------- */
.pg-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--tp-gold-dark), var(--tp-gold));
  border-radius: var(--tp-radius-lg);
  padding: 40px 28px;
  color: #17130d;
}

.pg-cta h2 { font-size: 24px; margin-bottom: 8px; }
.pg-cta p { color: rgba(23, 19, 13, 0.8); margin-bottom: 20px; }

.pg-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--tp-ink);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pg-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(23, 19, 13, 0.3);
}

.pg-btn.gold {
  background: linear-gradient(135deg, var(--tp-gold-dark), var(--tp-gold));
  color: #17130d;
  box-shadow: 0 14px 30px rgba(198, 164, 90, 0.35);
}

.pg-btn.ghost {
  background: transparent;
  color: var(--tp-ink);
  border: 2px solid var(--tp-ink);
}

/* ---------- desert sites: numbered blocks ---------- */
.pg-site h2 { margin-bottom: 14px; }

.pg-site .site-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--tp-ink);
  color: #f0d994;
  font-size: 15px;
  font-weight: 700;
}

.pg-back-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-gold-dark);
  text-decoration: none;
}

.pg-back-top:hover { text-decoration: underline; }

/* ---------- tent / camp-house room cards ---------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.room-card {
  background: var(--tp-card);
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-lg);
  overflow: hidden;
  box-shadow: var(--tp-shadow);
  display: flex;
  flex-direction: column;
}

.room-media { background: #17130d; }

.room-media .cms-album { margin: 0; }
.room-media .cms-album-stage { border-radius: 0; box-shadow: none; }
.room-media .cms-album-slide { aspect-ratio: 4 / 3; }
.room-media .cms-album-thumbs { padding: 10px 12px 12px; background: #17130d; }
.room-media .cms-album-thumb { flex-basis: 76px; height: 54px; border-radius: 8px; }

.room-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* the default photo steps aside as soon as the owner uploads real ones */
.room-media .room-album:not([hidden]) + .room-fallback { display: none; }

.room-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }

.room-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--tp-gold-dark);
  background: #f2eee3;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.room-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.room-body > p { font-size: 14.5px; color: var(--tp-muted); line-height: 1.7; margin-bottom: 16px; }

.room-features { list-style: none; margin-bottom: 20px; }

.room-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--tp-ink);
  margin-bottom: 9px;
}

.room-features li i {
  color: var(--tp-gold-dark);
  margin-top: 4px;
  font-size: 12.5px;
  flex-shrink: 0;
}

.room-price {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: var(--tp-radius);
  background: var(--tp-bg);
  border: 1px solid var(--tp-line);
  text-align: center;
  margin-bottom: 14px;
}

.room-price strong { display: block; font-size: 22px; color: var(--tp-gold-dark); }
.room-price span { font-size: 12.5px; color: var(--tp-muted); }

.room-body .tp-cta-btn { width: 100%; }

/* ---------- reviews links ---------- */
.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 22px;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .room-grid { grid-template-columns: 1fr 1fr; }
  .pg-cards { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .pg-main { padding: 30px 14px 60px; }
  .pg-section { padding: 24px 20px; border-radius: var(--tp-radius); }
  .pg-section h2 { font-size: 19px; }
  .pg-list { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: 1fr; }
  .pg-toc { padding: 18px 16px; }
  .pg-callout { padding: 22px 20px; }
  .pg-cta { padding: 30px 20px; }
}

/* ---------- booking box: price + Book button at the top (tent page) ---------- */
.pg-book-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--tp-card);
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-lg);
  padding: 26px 32px;
  margin-bottom: 24px;
  box-shadow: var(--tp-shadow-lg);
}

.pg-book-prices { flex: 1 1 320px; min-width: 0; }

.pg-book-prices h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 8px;
}

.pg-book-prices h3 i { color: var(--tp-gold-dark); font-size: 15px; }
.pg-book-prices p { color: var(--tp-muted); font-size: 14.5px; line-height: 1.7; }
.pg-book-prices a { color: var(--tp-gold-dark); font-weight: 600; }

.pg-book-box .tp-cta-btn { flex: 0 0 auto; padding: 16px 36px; white-space: nowrap; }

.room-features-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--tp-muted);
  margin: 22px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--tp-line);
}

@media (max-width: 700px) {
  .pg-book-box { padding: 22px 20px; }
  .pg-book-box .tp-cta-btn { width: 100%; text-align: center; }
}

/* ============================================================
   MODERN REFRESH — matches the rhythm/motion pass in tour-page.css
   (hover-lift and scroll-reveal for .pg-card / .pg-section / .room-card
   already live there, since that file loads on every one of these pages)
   ============================================================ */
.pg-main { padding: 64px 20px 110px; }
.pg-intro { margin-bottom: 44px; }

.pg-toc { margin-bottom: 34px; padding: 24px 26px; }

.pg-section { margin-bottom: 28px; padding: 38px 42px; }
.pg-list { gap: 12px 26px; }

.pg-cards { gap: 22px; margin-top: 10px; }
.pg-card { padding: 24px; }

/* Give the little card icon the same "chip" treatment as everywhere else
   (tp-option-head, pg-section h2) for one consistent visual language. */
.pg-card > i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f2eee3;
  margin-bottom: 14px;
}

.pg-callout { padding: 30px 34px; margin-bottom: 28px; }
.pg-cta { padding: 46px 32px; }

.room-grid { gap: 30px; }
.room-body { padding: 28px 28px 30px; }
.room-features { margin-bottom: 22px; }
.room-price { padding: 18px 20px; margin-bottom: 16px; }

.pg-book-box { padding: 28px 34px; margin-bottom: 28px; }

.review-links { gap: 16px; margin-top: 24px; }

@media (max-width: 700px) {
  .pg-main { padding: 30px 14px 64px; }
  .pg-intro { margin-bottom: 30px; }
  .pg-toc { margin-bottom: 22px; }
  .pg-section { margin-bottom: 18px; padding: 24px 20px; }
  .pg-callout { margin-bottom: 18px; }
}
