/**
 * Common color variables
 * Shared between Angular app and static pages
 *
 * These should match the Ionic variables in src/theme/variables.scss
 */

:root {
  /* Design-system tokens shared by Angular and static rendering. */
  --ds-forest: #1f6b4a;
  --ds-forest-hover: #185539;
  --ds-ink: #11201a;
  --ds-muted-sage: #5c6d63;
  --ds-forest-tint: #eef4f0;
  --ds-amber: #cf9f3a;
  --ds-amber-ink: #8a6a16;
  --ds-amber-tint: #faf3e2;
  --ds-cream: #f7f4ec;
  --ds-page-sage: #eef1ee;
  --ds-white: #fff;
  --ds-line: #e3ded1;
  --ds-destructive: #b23b3b;
  --ds-destructive-tint: #f7ebeb;
  --ds-forest-deep: #043f2c;
  --ds-forest-deep-hover: rgba(255, 255, 255, 0.12);
  --ds-forest-ink: #0c2b21; /* deep forest ink — listing hero title, price, dark photo tile (listing-page mockup) */
  --ds-font:
    -apple-system, blinkmacsystemfont, 'SF Pro Text', 'Segoe UI', roboto,
    'Helvetica Neue', arial, sans-serif;
  --ds-font-mono:
    ui-monospace, 'SF Mono', 'Fira Code', menlo, consolas, 'Liberation Mono',
    monospace;
  --ds-space-8: 8px;
  --ds-space-13: 13px;
  --ds-space-21: 21px;
  --ds-space-34: 34px;
  --ds-space-55: 55px;
  --ds-radius-card: 14px;
  --ds-radius-control: 10px;
  --ds-radius-pill: 999px;
  --ds-shadow-card: 0 1px 2px rgba(17, 32, 26, 0.06);
  --ds-shadow-modal: 0 13px 34px rgba(17, 32, 26, 0.18);
  --ds-hit-area: 44px;

  /* Primary brand colors */
  --primary: #5bbabe;
  --primary-light: #6ad6db;
  --primary-dark: #4a9a9d;
  --primary-darker: #327578; /* For white text on dark bg - 5.5:1 contrast WCAG AA */
  --primary-text: #2d6769; /* For text on white bg - 5.8:1 contrast WCAG AA */
  --primary-fade: rgba(91, 186, 190, 0.08);

  /* Secondary/accent colors */
  --secondary: #e37e40;
  --secondary-light: #e49d14;

  /* Text colors - WCAG AA compliant (4.5:1 contrast on white) */
  --text-primary: #222;
  --text-secondary: #555;
  --text-muted: #666;
  --text-tertiary: #999; /* Decorative only, not for essential text */

  /* Background colors */
  --bg-white: #fff;
  --bg-gray: #f5f5f5;
  --bg-light-gray: #fafafa;
  --bg-light: #f8f9fa;
  --bg-footer: #fafafa;

  /* Border colors */
  --border-color: #e5e5e5;
  --border-light: #efefef;

  /* Status colors */
  --success: #2dd36f;
  --warning: #ffc409;
  --danger: #f53d3d;

  /* Rating */
  --rating-color: #f5a623;

  /* Review highlights */
  --positive-color: #4caf50;
  --negative-color: #ef5350;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(2, 9, 21, 0.1);

  /* Button heights */
  --button-height-sm: 32px;
  --button-height-md: 40px;
  --button-height-lg: 48px;

  /* Footer (dark theme) */
  --footer-bg: #2d3436;
  --footer-bottom-bg: #1e2324;
  --footer-text: #b2bec3;
  --footer-text-light: #dfe6e9;
  --footer-link-hover: white;
}


/**
 * Base CSS reset for standalone static SEO pages.
 * NOT imported by Angular components — only used by the server.
 * These global resets would leak via ViewEncapsulation.None and break SPA pages.
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-white);
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

@media (max-width: 900px) {
  body { padding-bottom: 80px; }
}


/**
 * Shared styles for static page content rendered via innerHTML in Angular
 * This is a subset of static-pages.css containing only the styles needed
 * for the AI review card and source attribution components.
 *
 * Colors are defined in colors.css
 */

/* Star ratings (used in innerHTML content) */
.stars-filled { color: #f5a623; }
.stars-empty { color: #ccc; }

/* Icons */
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.ai-icon { width: 20px; height: 20px; }
.highlight-icon { width: 16px; height: 16px; }
.source-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Review source links */
.review-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.review-source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--primary-darker);
  text-decoration: none;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s;
}
.review-source-link:hover {
  background: var(--bg-gray);
  border-color: var(--primary-darker);
}

/* AI summary source citations (favicon chips, Google AI-overview style) */
.ai-review-sources {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.ai-review-sources-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.ai-review-sources .review-source-links {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.source-favicon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
  object-fit: contain;
}

/* AI review card */
.ai-review-card { background: var(--bg-gray); border-radius: 12px; padding: 24px; }
.ai-review-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.ai-review-basis { margin: -8px 0 16px; font-size: 13px; color: var(--text-muted); }
.ai-review-text { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }
.highlights-section, .considerations-section { margin-bottom: 16px; }
.highlights-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.highlights-title.positive { color: var(--positive-color); }
.highlights-title.negative { color: var(--negative-color); }
/* Use CSS filter to colorize SVG images */
.highlights-title.positive .icon { filter: invert(52%) sepia(81%) saturate(412%) hue-rotate(93deg) brightness(94%) contrast(93%); }
.highlights-title.negative .icon { filter: invert(44%) sepia(72%) saturate(1798%) hue-rotate(335deg) brightness(91%) contrast(95%); }
.highlight-list { list-style: none; padding-left: 4px; }
.highlight-item { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: 14px; color: var(--text-secondary); }
.highlight-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.highlight-dot.positive { background: var(--positive-color); }
.highlight-dot.negative { background: var(--negative-color); }

/* Source Attribution */
.source-attribution {
  padding: 16px 20px;
  margin: 16px 0;
  background: var(--bg-light);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.source-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.source-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.source-list > li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.source-list > li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-text);
  font-weight: 500;
}
.source-link:hover {
  text-decoration: underline;
}

/* Grouped provider (multiple links) — a click-to-reveal disclosure. */
.source-group {
  flex: 1;
  min-width: 0;
}
.source-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--primary-text);
  font-weight: 500;
  list-style: none;
}
.source-summary::-webkit-details-marker {
  display: none;
}
.source-summary:hover {
  text-decoration: underline;
}
.source-summary-label::after {
  content: '▾';
  margin-left: 4px;
  font-size: 10px;
  color: var(--text-secondary);
}
.source-group[open] .source-summary-label::after {
  content: '▴';
}
.source-sublist {
  list-style: none;
  margin: 8px 0 4px;
  padding: 0 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.source-sublist li {
  display: block;
}
.source-link--url {
  font-weight: 400;
  font-size: 13px;
  color: var(--text-secondary);
  word-break: break-all;
}
.source-link--url:hover {
  color: var(--primary-text);
  text-decoration: underline;
}


/**
 * Shared CSS styles for static SEO pages
 * Designed to match the place detail page UI
 *
 * Colors are defined in colors.css
 * Loaded by server at startup - see server/utils/styles.ts
 *
 * NOTE: Global resets (*, body, a) are in static-pages-base.css.
 * That file is loaded by the server only, NOT imported by Angular components,
 * because ViewEncapsulation.None would leak those resets globally during SPA navigation.
 */

/* Layout */
.page-container { max-width: 1200px; margin: 0 auto; padding: 1.5rem 16px; }
.content-wrapper { display: flex; gap: 24px; margin-top: 24px; }
.main-content { flex: 1; min-width: 0; }
.sidebar { width: 340px; flex-shrink: 0; }

/* Icons (shared icons in static-pages-shared.css) */
.back-icon { width: 24px; height: 24px; }
.btn-icon { width: 18px; height: 18px; }
.grid-btn-icon { width: 20px; height: 20px; filter: invert(1); }
.footer-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* Header - Full Width */
.page-header {
  width: 100%;
  background: var(--bg-white);
}
.header-container {
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.back-btn { display: flex; align-items: center; justify-content: center; padding: 4px; }
.back-btn:hover { opacity: 0.7; }
.logo { display: flex; align-items: center; }
.logo:hover { opacity: 0.8; }
.logo-img { height: 24px; width: auto; }

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 14px;
  color: var(--text-primary);
  padding: 8px 12px;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-separator {
  color: var(--text-muted);
  font-size: 12px;
}
.nav-btn-signup {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--primary-darker);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
  transition: background 0.2s;
}
.nav-btn-signup:hover {
  background: var(--primary-dark);
  color: white;
}

/* Title section */
.title-section { margin-bottom: 16px; }
.title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.place-title { font-size: 24px; font-weight: 600; color: var(--text-primary); margin: 0 0 4px; }
.title-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1px solid var(--border-color); border-radius: 8px;
  font-size: 14px; color: var(--text-primary); background: var(--bg-white);
  cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--text-secondary); }

/* Rating */
.rating-row { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.rating-row:hover { opacity: 0.8; }
.stars { color: var(--rating-color); font-size: 16px; letter-spacing: 1px; }
.stars-filled { color: #f5a623; }
.stars-empty { color: #ccc; }
.rating-label { font-size: 14px; color: var(--text-muted); }

/* Review source links - in static-pages-shared.css */
.review-source-link .google-icon { width: 18px; height: 18px; flex-shrink: 0; }
.review-source-link .source-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); }

/* Legacy Google reviews link (keep for backward compatibility) */
.google-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--primary-darker);
  text-decoration: none;
  transition: opacity 0.2s;
}
.google-reviews-link:hover { opacity: 0.8; }
.google-icon { width: 20px; height: 20px; flex-shrink: 0; filter: invert(47%) sepia(89%) saturate(387%) hue-rotate(131deg) brightness(93%) contrast(92%); }

/* Photo gallery */
.photo-gallery { position: relative; margin-left: 0px; margin-right: 0px; margin-bottom: 24px; border-radius: 2rem; overflow: hidden; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 350px 250px; gap: 8px; }
.photo-grid.single { grid-template-columns: 1fr; grid-template-rows: 350px; }
.photo-main { grid-column: span 2; }
.gallery-img {
  width: 100%; height: 100%; object-fit: cover; background: var(--bg-gray);
  display: block;
}
.show-photos-btn {
  position: absolute; bottom: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: rgba(0,0,0,0.7); color: white;
  border-radius: 10px; font-size: 14px; font-weight: 500;
}
/* Host section */
.host-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.host-info { display: flex; align-items: center; gap: 12px; }
.host-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e91e63;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}
.host-details { }
.host-name { font-size: 15px; color: var(--text-primary); }
.host-name strong { font-weight: 600; }
.host-source-link { color: var(--primary-darker); text-decoration: none; font-weight: 500; }
.host-source-link:hover { text-decoration: underline; }
.host-joined { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.btn-message {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--primary-text);
  border-radius: 8px;
  color: var(--primary-text);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s;
  width: fit-content;
}
.btn-message:hover { background: var(--primary-darker); color: white; }
.btn-message .icon { filter: invert(32%) sepia(20%) saturate(900%) hue-rotate(140deg) brightness(90%) contrast(95%); }
.btn-message:hover .icon { filter: brightness(0) invert(1); }

/* Claim banner - contained width at top */
.claim-banner-wrapper {
  padding: 16px;
}
.claim-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  background: var(--bg-gray);
  border-radius: 12px;
}
.claim-banner-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.claim-banner-label { font-weight: 600; }
.claim-icon { width: 18px; height: 18px; color: var(--text-muted); }
.btn-claim {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--primary-darker);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-claim:hover { background: var(--primary-dark); color: white; }

/* Listing actions (Report, Claim) */
.listing-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.listing-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-light-gray);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}
.listing-action:hover { background: var(--bg-gray); color: var(--text-secondary); }
.action-icon { width: 16px; height: 16px; }

/* Contact section */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light-gray);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 200px;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.contact-card-icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.contact-card-phone { justify-content: space-between; }
.phone-masked { flex: 1; font-family: monospace; letter-spacing: 1px; }
.contact-card-reveal { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.6; }
.contact-card-phone:hover .contact-card-reveal { opacity: 1; }

/* Quick info cards */
.quick-info-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); }
.quick-info-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 16px 12px; background: var(--bg-light-gray); border-radius: 12px;
}
.quick-info-icon { width: 24px; height: 24px; margin-bottom: 8px; color: var(--text-muted); }
.quick-info-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.quick-info-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* Tags section (Amenities, Activities, Terrain cards) */
.tags-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
.tags-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light-gray);
  border-radius: 16px;
}
.tags-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.tags-card-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tags-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.tags-card-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-primary);
}

/* About section */
.about-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); }
.section-title { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.about-text { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.show-more { color: var(--text-primary); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }

/* Review section */
.review-section { margin-bottom: 24px; }
.review-header { margin-bottom: 16px; }
.review-header-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; color: var(--text-primary); }
.review-count { color: var(--text-muted); font-weight: 400; }

/* User reviews */
.user-reviews-card { background: var(--bg-gray); border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.user-reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.user-review-item { }
.user-review-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.user-review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; flex-shrink: 0;
}
.user-review-meta { flex: 1; }
.user-review-author { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.user-review-stars { color: var(--rating-color); font-size: 12px; letter-spacing: 1px; }
.user-review-date { font-size: 13px; color: var(--text-muted); flex-shrink: 0; }
.user-review-text { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.show-more-reviews {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; margin-top: 16px;
  border: 1px solid var(--primary-text); border-radius: 24px;
  color: var(--primary-text); font-size: 14px; font-weight: 500;
  background: transparent; cursor: pointer; transition: all 0.2s;
}
.show-more-reviews:hover { background: var(--primary-darker); color: white; }

/* AI review card - in static-pages-shared.css */

/* Booking card (sidebar) */
.booking-card {
  position: sticky; top: 24px;
  background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 12px;
  padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.booking-title { font-size: 18px; font-weight: 600; text-align: center; margin-bottom: 16px; }
.booking-price { text-align: center; margin-bottom: 12px; }
.price-from { font-size: 14px; color: var(--text-muted); }
.price-amount { font-size: 28px; font-weight: 700; color: var(--text-primary); }
.price-unit { font-size: 14px; color: var(--text-muted); }
.booking-card .rating-row { justify-content: center; margin-bottom: 16px; }
.btn-primary {
  display: block; width: 100%; padding: 14px 24px;
  background: var(--primary-darker); color: white; border: none; border-radius: 8px;
  font-size: 16px; font-weight: 600; text-align: center; cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); color: white; }
/* Stack multiple "Book on <provider>" buttons in the booking card */
.booking-card .btn-primary + .btn-primary { margin-top: 8px; }

/* Secondary "Book on <provider>" buttons beneath the primary CTA on our own
   listings, which already book on Campertunity. Full-width outline buttons with
   a provider favicon. */
.booking-card .book-on-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 8px; padding: 12px 16px;
  font-size: 15px; font-weight: 600;
}
.book-on-favicon { width: 16px; height: 16px; border-radius: 3px; flex-shrink: 0; }

/* Location Section (below booking card) */
.location-section { margin-top: 24px; }
.location-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.static-map-link { display: block; border-radius: 12px; overflow: hidden; }
.static-map-link:hover { opacity: 0.95; }
.static-map-img { display: block; width: 100%; height: auto; border-radius: 12px; }
.static-map-fallback {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border: 1px solid var(--border-color); border-radius: 8px;
  color: var(--text-secondary); font-size: 14px; transition: background 0.2s;
}
.static-map-fallback:hover { background: var(--bg-gray); color: var(--text-primary); }
.static-map-fallback .icon { width: 16px; height: 16px; }
.static-map-placeholder { position: relative; }
.static-map-placeholder .static-map-img { filter: grayscale(50%) brightness(0.7); object-fit: cover; }
.static-map-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: white; font-size: 14px; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.static-map-overlay .icon { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* Breadcrumbs */
.breadcrumbs {
  margin: 0;
  padding: 0;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 4px;
  font-size: 14px;
  padding: 0;
  margin: 0;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: var(--primary);
}
.breadcrumb-separator {
  color: var(--text-muted);
}
.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 500;
}

/* Source Attribution - in static-pages-shared.css */

/* Listing article wrapper */
.listing-article {
  width: 100%;
}

/* Mobile sticky booking footer (hidden on desktop where sidebar is visible) */
.booking-footer {
  display: none;
}
.booking-footer-info {
  display: grid;
}
.booking-footer-price {
  margin-bottom: 4px;
}
.booking-footer-price-value {
  font-family: 'Roboto', 'Helvetica Neue', sans-serif;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: bold;
}
.booking-footer-price-unit {
  font-size: 14px;
}
.booking-footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.booking-footer-rating-label {
  font-size: 14px;
  color: var(--text-muted);
}
.booking-footer-cta {
  flex-shrink: 0;
  margin-left: auto;
}
.booking-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--primary-darker);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.booking-footer-btn:hover { background: var(--primary-dark); color: white; }
/* Secondary "Book on <provider>" buttons on a second, full-width footer row */
.booking-footer-book-on {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.booking-footer-book-on-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--border-color); border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  background: var(--bg-white); text-decoration: none; white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .content-wrapper { flex-direction: column; }
  .sidebar { width: 100%; }
  .booking-card { display: none; }
  .booking-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
    z-index: 100;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  }
  .quick-info-cards { grid-template-columns: repeat(3, 1fr); }
  .tags-section { grid-template-columns: 1fr; gap: 16px; }
  .tags-card { padding: 16px; gap: 12px; }
  .tags-card-title { font-size: 16px; }
  .user-reviews-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: 250px; }
  .photo-main { grid-column: span 1; }
  .photo-grid > div:not(.photo-main) { display: none; }
  .place-title { font-size: 20px; }
  .title-row { flex-direction: column; }
  .title-actions { width: 100%; justify-content: flex-end; }
  .contact-section { gap: 12px; }
  .contact-cards { flex-direction: column; }
  .contact-card { min-width: 100%; }
  .quick-info-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .quick-info-card { padding: 12px 8px; }
  /* Host section mobile */
  .host-section { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-message { width: 100%; justify-content: center; }
  /* Claim banner mobile */
  .claim-banner { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .btn-claim { width: auto; justify-content: center; }
  /* Hide back button on mobile, keep nav */
  .back-btn { display: none; }
  .header-nav { gap: 4px; }
  .nav-link { padding: 8px 8px; font-size: 13px; }
  .nav-btn-signup { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  /* Hide "Become a Host" text on very small screens */
  .nav-link:first-child, .nav-separator { display: none; }
}

/* ============================================================================
   Geo Index Page (/listings/campgrounds/in/...)
   ============================================================================ */

.geo-index-hero {
  margin: 8px 0 24px;
}
.geo-index-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 8px 0 4px;
  line-height: 1.2;
}
.geo-index-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.geo-index-search-link {
  color: var(--primary-text);
  font-weight: 500;
  text-decoration: none;
}
.geo-index-search-link:hover { text-decoration: underline; }

.geo-index-empty {
  padding: 64px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.geo-index-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.geo-index-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.geo-index-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.geo-index-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.geo-index-card__image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-gray);
  overflow: hidden;
  position: relative;
}
.geo-index-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.geo-index-card:hover .geo-index-card__image {
  transform: scale(1.03);
}
.geo-index-card__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-tertiary);
  font-size: 13px;
}
.geo-index-card__body {
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.geo-index-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.geo-index-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
}
.geo-index-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
}
.geo-index-card__rating-star { color: var(--rating-color); }
.geo-index-card__price {
  color: var(--text-primary);
  font-weight: 500;
}
.geo-index-card__formats {
  padding: 8px 14px 12px;
  font-size: 12px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
  align-items: center;
}
.geo-index-card__formats a {
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 500;
}
.geo-index-card__formats a:hover { text-decoration: underline; }
.geo-index-card__formats-sep { color: var(--border-color); }

.geo-index-footer-links {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}
.geo-index-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 12px;
}
.geo-index-footer-links a:hover {
  color: var(--primary);
}


/* Shared listing detail view: used unchanged by Angular and static SEO pages. */
.listing-detail-v4 {
  width: min(100%, 1024px);
  margin: var(--ds-space-34) auto 0;
  overflow: hidden;
  color: var(--ds-ink);
  background: var(--ds-white);
  border-radius: var(--ds-radius-card);
  box-shadow: var(--ds-shadow-card);
  font: 400 16px/1.5 var(--ds-font);
}

.listing-detail-v4 *,
.listing-detail-v4 *::before,
.listing-detail-v4 *::after {
  box-sizing: border-box;
}
.listing-detail-v4 h1,
.listing-detail-v4 h2,
.listing-detail-v4 h3,
.listing-detail-v4 p,
.listing-detail-v4 figure,
.listing-detail-v4 blockquote,
.listing-detail-v4 dl,
.listing-detail-v4 dd,
.listing-detail-v4 ol,
.listing-detail-v4 ul {
  margin: 0;
}
.listing-detail-v4 a {
  color: var(--ds-forest);
}

/* Topline aligns with the hero image edges (13px inset), not the 34px
   content padding: breadcrumbs flush left, view switch flush right. */
.ld-topline {
  min-height: 55px;
  padding: var(--ds-space-8) var(--ds-space-13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-13);
  border-bottom: 1px solid var(--ds-line);
}
.ld-breadcrumbs {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--ds-space-8);
  overflow: hidden;
  color: var(--ds-muted-sage);
  font-size: 13px;
  white-space: nowrap;
}
.ld-breadcrumbs a,
.ld-breadcrumbs span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ld-breadcrumbs a {
  color: var(--ds-ink);
  text-decoration: none;
}
.ld-breadcrumbs a:hover {
  text-decoration: underline;
}
.ld-breadcrumbs [aria-current='page'] {
  color: var(--ds-forest-ink);
  font-weight: 700;
}
.ld-view-switch {
  flex: none;
  display: flex;
  padding: 3px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-page-sage);
}
.ld-view-pill {
  min-height: var(--ds-hit-area);
  padding: var(--ds-space-8) var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  border-radius: var(--ds-radius-pill);
  color: var(--ds-muted-sage) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.ld-view-pill.is-active {
  color: var(--ds-white) !important;
  background: var(--ds-forest-ink);
}

.ld-gallery {
  padding: 0;
}
.ld-gallery-cover {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-radius: var(--ds-radius-card);
  background: var(--ds-cream);
}
.ld-gallery-cover > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ld-save,
.ld-share {
  min-width: var(--ds-hit-area);
  min-height: var(--ds-hit-area);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-pill);
  color: var(--ds-ink) !important;
  background: var(--ds-white);
  box-shadow: var(--ds-shadow-card);
  text-decoration: none;
}
/* Hero overlay cluster: level pill + share + save, top-right of the cover. */
.ld-hero-actions {
  position: absolute;
  top: var(--ds-space-13);
  right: var(--ds-space-13);
  display: flex;
  align-items: center;
  gap: var(--ds-space-8);
}
.ld-icon {
  display: inline-block;
  flex: none;
  object-fit: contain;
}
.ld-gallery-thumbs {
  margin-top: var(--ds-space-21);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--ds-space-13);
}
.ld-gallery-thumbs > img,
.ld-gallery-all {
  width: 100%;
  height: 150px;
  border-radius: var(--ds-radius-control);
  object-fit: cover;
}
.ld-gallery-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
  padding: var(--ds-space-13);
  border: 1px solid var(--ds-forest-ink);
  color: var(--ds-white) !important;
  background: var(--ds-forest-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.ld-gallery-all .ld-icon {
  filter: brightness(0) invert(1);
}

.ld-snapshot {
  padding: 0 var(--ds-space-34) var(--ds-space-34);
}
/* White info card pulled up over the hero image: its edges line up with the
   hero inset (13px) so the rounded top corners curve over the photo. */
.ld-snapshot-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--ds-space-21);
  margin: -21px calc(-1 * var(--ds-space-21)) 0;
  padding: var(--ds-space-34) var(--ds-space-21) 0;
  border-radius: var(--ds-radius-card) var(--ds-radius-card) 0 0;
  background: var(--ds-white);
}
.ld-title-row,
.ld-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ds-space-21);
}

/* Let the heading and rating share the left grid column while the taller
   price/booking stack occupies the right column without pushing ratings down. */
.ld-snapshot-card > .ld-title-row {
  display: contents;
}

.ld-title-row > :first-child {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.ld-snapshot-card > .ld-metrics {
  grid-column: 1;
  grid-row: 2;
  margin-top: var(--ds-space-13);
}

.ld-title-row h1 {
  color: var(--ds-forest-ink);
  font: 700 34px/1.15 var(--ds-font);
  letter-spacing: -0.025em;
}
/* Verified is a trust badge, not the level story — Forest, never amber
   (matches the app-ds-badge verified variant). */
.ld-verified {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px var(--ds-space-13);
  border-radius: var(--ds-radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ds-forest);
  background: var(--ds-forest-tint);
}
.ld-location {
  margin-top: var(--ds-space-8) !important;
  display: flex;
  align-items: center;
  gap: var(--ds-space-8);
  color: var(--ds-muted-sage);
}
.ld-location .ld-icon {
  width: 18px;
  height: 18px;
}
.ld-share {
  padding: 0 var(--ds-space-13);
}

/* Rating / recommendations / value: one quiet inline row with hairline
   separators (mockup treatment), not a boxed stat grid. */
.ld-metrics {
  margin-top: var(--ds-space-21);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.ld-claim-banner {
  min-height: 78px;
  margin: var(--ds-space-8) var(--ds-space-13) var(--ds-space-21);
  padding: var(--ds-space-13) var(--ds-space-21);
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: var(--ds-space-21);
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--ds-forest) 14%, transparent);
  border-radius: var(--ds-radius-control);
  color: var(--ds-ink);
  background: color-mix(in srgb, var(--ds-forest-tint) 58%, var(--ds-white));
}

.ld-claim-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  color: var(--ds-forest-ink);
}

.ld-claim-icon img {
  width: 40px;
  height: 40px;
}

.ld-claim-banner p {
  color: var(--ds-ink);
  font-size: 12px;
  line-height: 1.55;
}

.ld-claim-banner strong {
  color: var(--ds-forest-deep);
  font-weight: 750;
}

.ld-claim-cta {
  min-height: var(--ds-hit-area);
  padding: 0 var(--ds-space-21);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-pill);
  color: var(--ds-white) !important;
  background: var(--ds-forest-deep);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.ld-claim-cta:hover {
  color: var(--ds-white) !important;
  background: var(--ds-forest);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .ld-claim-banner {
    padding: var(--ds-space-13);
    grid-template-columns: 40px minmax(0, 1fr);
    gap: var(--ds-space-13);
  }

  .ld-claim-cta {
    width: 100%;
    grid-column: 1 / -1;
  }
}

.ld-metrics > * {
  min-height: var(--ds-hit-area);
  padding: 0 var(--ds-space-21);
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-8);
  color: var(--ds-ink) !important;
  font-size: 14px;
  text-decoration: none;
}
.ld-metrics > *:first-child {
  padding-left: 0;
}
.ld-metrics > * + * {
  border-left: 1px solid var(--ds-line);
}
.ld-metrics strong {
  color: var(--ds-ink);
  font-size: 15px;
}
.ld-metrics span {
  color: var(--ds-muted-sage);
  font-size: 13px;
}
/* Five stars with a fractional amber fill over a quiet gray base row. */
.ld-metrics .ld-stars {
  position: relative;
  display: inline-block;
  color: var(--ds-line);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}
.ld-stars > span {
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.ld-stars > .ld-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--ds-amber);
}
/* Feature chips: one white card, inline icon + label, hairline dividers
   between items (mockup treatment). */
.ld-feature-list {
  padding: var(--ds-space-8) 0;
  margin-top: var(--ds-space-21) !important;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-white);
  list-style: none;
}
.ld-feature-list li {
  flex: 1 1 auto;
  min-height: 55px;
  padding: var(--ds-space-8) var(--ds-space-13);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
  border-right: 1px solid var(--ds-line);
  color: var(--ds-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.ld-feature-list li:last-child {
  border-right: 0;
}
.ld-about > blockquote {
  margin-top: var(--ds-space-21) !important;
  padding-left: var(--ds-space-21);
  border-left: 4px solid var(--ds-forest);
  color: var(--ds-ink);
  font-size: 19px;
  font-weight: 650;
}
/* Snapshot slogan: sage card with a leaf icon chip (mockup treatment). */
.ld-slogan {
  margin-top: var(--ds-space-21) !important;
  padding: var(--ds-space-21);
  display: flex;
  align-items: center;
  gap: var(--ds-space-21);
  border-radius: var(--ds-radius-card);
  background: var(--ds-page-sage);
}
.ld-slogan blockquote {
  color: var(--ds-ink);
  font-size: 19px;
  font-weight: 700;
}
.ld-slogan-icon {
  width: 55px;
  height: 55px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-white);
}
/* On the slogan card itself the quote icon sits directly on the tint —
   no white chip (the AI-page prompt chip keeps its circle). */
.ld-slogan .ld-slogan-icon {
  background: transparent;
}

.ld-section {
  padding: var(--ds-space-55) var(--ds-space-34);
  border-top: 1px solid var(--ds-line);
}
.ld-section:nth-of-type(even) {
  background: var(--ds-cream);
}
.ld-kicker {
  display: block;
  margin-bottom: var(--ds-space-8);
  color: var(--ds-muted-sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ld-section-heading h2 {
  color: var(--ds-ink);
  font: 700 30px/1.2 var(--ds-font);
  letter-spacing: -0.02em;
}
.ld-heading-main {
  display: flex;
  align-items: flex-start;
  gap: var(--ds-space-13);
}
.ld-section-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-forest-tint);
}
.ld-section-heading p {
  max-width: 500px;
  margin-top: var(--ds-space-8) !important;
  color: var(--ds-muted-sage);
}
.ld-text-link {
  min-height: var(--ds-hit-area);
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}
.ld-freshness {
  color: var(--ds-muted-sage);
  font-size: 12px;
  white-space: nowrap;
}

.ld-availability-grid,
.ld-tags-map,
.ld-booking-card {
  margin-top: var(--ds-space-21);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.75fr);
  gap: var(--ds-space-21);
}
.ld-calendar-card,
.ld-availability-summary,
.ld-cancellation,
.ld-host-card,
.ld-booking-card {
  padding: var(--ds-space-21);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-white);
  box-shadow: var(--ds-shadow-card);
}
.ld-calendar-card h3 {
  margin-bottom: var(--ds-space-13);
  font-size: 19px;
}
.ld-calendar-weekdays,
.ld-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.ld-calendar-weekdays span {
  padding-bottom: var(--ds-space-8);
  color: var(--ds-muted-sage);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.ld-calendar-day {
  min-height: 52px;
  padding: 5px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: var(--ds-radius-control);
  background: var(--ds-page-sage);
  text-align: center;
}
.ld-calendar-day small {
  color: var(--ds-muted-sage);
  font-size: 12px;
}
.ld-calendar-day.is-open {
  color: var(--ds-forest);
  background: var(--ds-forest-tint);
}
.ld-calendar-day.is-full {
  color: var(--ds-muted-sage);
  opacity: 0.7;
}
.ld-calendar-day.is-empty {
  background: transparent;
}
.ld-availability-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ld-availability-summary > strong {
  color: var(--ds-forest);
  font-size: 48px;
  line-height: 1;
}
.ld-availability-summary > span {
  color: var(--ds-ink);
  font-weight: 700;
}
.ld-availability-summary > p {
  margin-top: var(--ds-space-8) !important;
  color: var(--ds-muted-sage);
  font-size: 13px;
}
.ld-legend {
  margin-top: var(--ds-space-21);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-8);
  font-size: 12px;
}
.ld-legend span {
  display: flex;
  align-items: center;
  gap: var(--ds-space-8);
}
.ld-legend i {
  width: 12px;
  height: 12px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-page-sage);
}
.ld-legend i.is-open {
  background: var(--ds-forest-tint);
  border: 1px solid var(--ds-forest);
}

.ld-chip-group + .ld-chip-group {
  margin-top: var(--ds-space-21);
}
.ld-chip-group h3 {
  margin-bottom: var(--ds-space-8);
  font-size: 13px;
}
.ld-chip-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-8);
}
.ld-chip {
  min-height: 38px;
  padding: var(--ds-space-8) var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-8);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-pill);
  background: var(--ds-white);
  font-size: 13px;
  font-weight: 650;
}
.ld-map {
  height: 220px;
  display: block;
  overflow: hidden;
  border-radius: var(--ds-radius-card);
  background: var(--ds-page-sage);
}
.ld-map > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ld-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
}
.ld-tags-map h3 {
  margin-top: var(--ds-space-13);
  font-size: 16px;
}
.ld-tags-map p {
  margin-top: var(--ds-space-8) !important;
  color: var(--ds-muted-sage);
  font-size: 13px;
}

.ld-fact-grid {
  margin-top: var(--ds-space-21) !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-line);
}
.ld-fact-grid > div {
  min-height: 86px;
  padding: var(--ds-space-13);
  display: flex;
  align-items: center;
  gap: var(--ds-space-13);
  background: var(--ds-white);
}
.ld-fact-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-page-sage);
}
.ld-fact-grid dt {
  color: var(--ds-muted-sage);
  font-size: 12px;
}
.ld-fact-grid dd {
  margin-top: 4px;
  color: var(--ds-ink);
  font-weight: 750;
}
.ld-rule-notes {
  margin-top: var(--ds-space-13);
  padding: var(--ds-space-13);
  border-radius: var(--ds-radius-control);
  background: var(--ds-page-sage);
}
.ld-rule-notes p + p {
  margin-top: var(--ds-space-8) !important;
}

/* Text wraps the image and reclaims the full measure below it, so long
   descriptions never render in a narrow column beside an empty gutter. */
.ld-about-copy {
  margin-top: var(--ds-space-21);
  display: flow-root;
}
.ld-about-copy img {
  float: right;
  width: min(45%, 420px);
  max-height: 310px;
  margin: 0 0 var(--ds-space-13) var(--ds-space-21);
  border-radius: var(--ds-radius-card);
  object-fit: cover;
}
.ld-about-copy p {
  white-space: pre-line;
}
.ld-read-more summary {
  min-height: var(--ds-hit-area);
  display: inline-flex;
  align-items: center;
  color: var(--ds-forest);
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.ld-read-more summary::-webkit-details-marker {
  display: none;
}
.ld-read-more summary .ld-less,
.ld-read-more[open] summary .ld-more {
  display: none;
}
.ld-read-more[open] summary .ld-less {
  display: inline;
}
.ld-highlight-grid,
.ld-review-grid,
.ld-attraction-grid,
.ld-nearby-grid {
  margin-top: var(--ds-space-21);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-13);
}
.ld-highlight-grid article,
.ld-review-grid article {
  padding: var(--ds-space-21);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-white);
}
.ld-highlight-grid h3 {
  margin-bottom: var(--ds-space-8);
  font-size: 16px;
}
.ld-highlight-grid p {
  color: var(--ds-muted-sage);
  font-size: 13px;
}

.ld-rating-grid {
  margin-top: var(--ds-space-21) !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ds-space-13);
}
.ld-rating-grid > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px var(--ds-space-8);
}
.ld-rating-grid dt {
  font-size: 13px;
  font-weight: 700;
}
.ld-rating-grid dd {
  font-weight: 800;
}
.ld-rating-grid progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 5px;
  appearance: none;
  overflow: hidden;
  border: 0;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-line);
}
.ld-rating-grid progress::-webkit-progress-bar {
  border-radius: var(--ds-radius-pill);
  background: var(--ds-line);
}
.ld-rating-grid progress::-webkit-progress-value,
.ld-rating-grid progress::-moz-progress-bar {
  border-radius: var(--ds-radius-pill);
  background: var(--ds-forest);
}
.ld-review-grid article > div {
  display: flex;
  align-items: center;
  gap: var(--ds-space-8);
}
.ld-review-grid article > div p {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.ld-review-grid small {
  color: var(--ds-muted-sage);
}
.ld-review-grid article > p {
  margin-top: var(--ds-space-13) !important;
}
.ld-avatar {
  width: 40px;
  height: 40px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-pill);
  color: var(--ds-white);
  background: var(--ds-forest);
  font-weight: 800;
}
.ld-avatar.is-large {
  width: 96px;
  height: 96px;
  font-size: 28px;
}
.ld-ai-review {
  margin-top: var(--ds-space-21);
  padding: var(--ds-space-21);
  border-radius: var(--ds-radius-card);
  background: var(--ds-forest-tint);
}
.ld-ai-review p {
  margin-top: var(--ds-space-8) !important;
}
.ld-cancellation {
  margin-top: var(--ds-space-21);
}
.ld-refund-tiers {
  margin-top: var(--ds-space-13);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--ds-space-8);
}
.ld-refund-tiers > div {
  padding: var(--ds-space-13);
  display: flex;
  flex-direction: column;
  border-radius: var(--ds-radius-control);
  background: var(--ds-cream);
}
.ld-refund-tiers span {
  color: var(--ds-muted-sage);
  font-size: 12px;
}
.ld-cancellation > p {
  margin-top: var(--ds-space-13) !important;
  color: var(--ds-muted-sage);
}

.ld-booking {
  background: var(--ds-forest-deep) !important;
  color: var(--ds-white);
}
.ld-booking .ld-kicker,
.ld-booking .ld-section-heading p {
  color: var(--ds-page-sage);
}
.ld-booking .ld-section-heading h2 {
  color: var(--ds-white);
}
.ld-booking-card {
  grid-template-columns: 1fr 220px;
  color: var(--ds-ink);
}
.ld-booking-card > div:last-child {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-8);
}
.ld-booking-card span {
  color: var(--ds-muted-sage);
  font-size: 12px;
}
.ld-booking-head {
  display: flex;
  align-items: center;
  gap: var(--ds-space-13);
}
.ld-booking-logo {
  width: 55px;
  height: 55px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-control);
  background: var(--ds-forest-tint);
}
.ld-booking-card ul.ld-trust {
  margin-top: var(--ds-space-13) !important;
  padding: 0;
  list-style: none;
}
.ld-trust li {
  display: flex;
  align-items: center;
  gap: var(--ds-space-8);
}
.ld-trust li + li {
  margin-top: var(--ds-space-8);
}
.ld-primary-cta,
.ld-secondary-cta,
.ld-quiet-cta {
  min-height: var(--ds-hit-area);
  padding: var(--ds-space-8) var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
  border: 1px solid var(--ds-forest);
  border-radius: var(--ds-radius-control);
  color: var(--ds-white) !important;
  background: var(--ds-forest);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.ld-host-card {
  margin-top: var(--ds-space-21);
}
.ld-host-person {
  display: flex;
  align-items: center;
  gap: var(--ds-space-21);
}
.ld-host-person > img {
  border-radius: var(--ds-radius-pill);
  object-fit: cover;
}
.ld-host-person h3 {
  font-size: 19px;
}
.ld-host-person p {
  color: var(--ds-muted-sage);
  font-size: 13px;
}
/* Quiet variant: message/question actions stay visible but never compete
   with the one primary booking CTA on the screen. */
.ld-quiet-cta {
  color: var(--ds-forest) !important;
  background: var(--ds-forest-tint);
  border-color: var(--ds-forest-tint);
}
/* Secondary booking routes take the design-system Secondary treatment (white
   fill, Line border, Ink text) so the one Forest primary CTA stays dominant —
   both render side by side whenever alternate booking sources exist. */
.ld-secondary-cta {
  color: var(--ds-ink) !important;
  background: var(--ds-white);
  border-color: var(--ds-line);
}
.ld-host-card > .ld-secondary-cta,
.ld-host-card > .ld-quiet-cta {
  margin-top: var(--ds-space-21);
}
/* Separator beneath the host header. */
.ld-profile-level {
  margin-top: var(--ds-space-21);
  padding-top: var(--ds-space-21);
  border-top: 1px solid var(--ds-line);
}
/* With no host there is nothing to separate from: the rule above would draw a
   stray line over empty space at the top of the card. */
.ld-host-card.is-levels-only > .ld-profile-level {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
/* Keyed to the class, not the tag: the heading is an h2 when the levels stand
   alone and an h3 beneath "Hosted by …", and both must look identical. */
.ld-profile-level-title {
  font-size: 19px;
}
.ld-profile-level > p {
  margin-top: var(--ds-space-8) !important;
  color: var(--ds-muted-sage);
}
.ld-level-cards {
  /* Top padding leaves room for the rung number circles, which sit half
     above each card's top edge. */
  padding: var(--ds-space-21) 0 0;
  margin-top: var(--ds-space-13) !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ds-space-21);
  list-style: none;
}
.ld-level-cards li {
  position: relative;
  padding: var(--ds-space-21);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--ds-space-8);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-white);
  color: var(--ds-muted-sage);
  font-size: 13px;
  text-align: center;
}
/* Ladder connectors between neighbouring cards (mockup): sage into the
   current climb, amber only into the Promoted rung — the upgrade story. */
.ld-level-cards li + li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(-1 * var(--ds-space-21) - 1px);
  width: calc(var(--ds-space-21) + 2px);
  height: 3px;
  background: var(--ds-page-sage);
}
.ld-level-cards li.is-promoted::before {
  background: var(--ds-amber);
}
/* Rung number, centered on the card's top edge. */
.ld-level-num {
  position: absolute;
  top: calc(var(--ds-space-34) / -2);
  left: 50%;
  transform: translateX(-50%);
  width: var(--ds-space-34);
  height: var(--ds-space-34);
  display: grid;
  place-items: center;
  border: 2px solid var(--ds-white);
  border-radius: var(--ds-radius-pill);
  background: var(--ds-page-sage);
  color: var(--ds-ink);
  font-size: 15px;
  font-weight: 800;
}
.ld-level-mountain {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-top: var(--ds-space-8);
  /* The watercolour artwork sits on flat white; multiply melts that white
     into whichever card tint is behind it (amber on Promoted). */
  mix-blend-mode: multiply;
}
.ld-level-name {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-8);
}
.ld-level-cards li strong {
  color: var(--ds-ink);
  font-size: 17px;
}
.ld-level-cards li.is-current {
  border: 2px solid var(--ds-forest);
  box-shadow: var(--ds-shadow-card);
}
.ld-level-cards li.is-current .ld-level-num {
  background: var(--ds-forest);
  color: var(--ds-white);
}
/* The tint and the outline above are reinforcement only — this label is what
   actually states the level's state, so it never rides on colour alone. */
.ld-level-state {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-8);
  color: var(--ds-forest);
  font-size: 12px;
  font-weight: 700;
}
.ld-level-cards li.is-current b {
  color: var(--ds-forest);
  font-size: 15px;
}
.ld-level-range {
  font-size: 12px;
}
/* "Level n" tier pill beside the name. */
.ld-level-chip {
  padding: 2px var(--ds-space-8);
  border-radius: var(--ds-radius-pill);
  background: var(--ds-page-sage);
  color: var(--ds-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ld-level-cards li.is-current .ld-level-chip {
  color: var(--ds-white);
  background: var(--ds-forest);
}
/* Amber stays budgeted to the level/upgrade story — the Promoted tier ahead
   keeps the upgrade accent. */
.ld-level-cards li.is-promoted:not(.is-current) {
  border-color: var(--ds-amber);
  background: var(--ds-amber-tint);
}
/* Amber-ink on white, not white-on-amber: the mockup's white numeral fails
   AA contrast on the amber fill, and accessibility outranks the panel. */
.ld-level-cards li.is-promoted:not(.is-current) .ld-level-num,
.ld-level-cards li.is-promoted:not(.is-current) .ld-level-chip {
  color: var(--ds-amber-ink);
  background: var(--ds-white);
}
.ld-level-note {
  margin-top: var(--ds-space-21) !important;
  display: flex;
  align-items: center;
  gap: var(--ds-space-13);
  padding: var(--ds-space-13) var(--ds-space-21);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  color: var(--ds-ink);
  font-size: 14px;
  text-align: left;
}
.ld-level-note-icon {
  flex: none;
  width: var(--ds-hit-area);
  height: var(--ds-hit-area);
  display: grid;
  place-items: center;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-forest-tint);
}

.ld-qa-list {
  margin-top: var(--ds-space-21);
  border-top: 1px solid var(--ds-line);
}
.ld-qa-list details {
  padding: var(--ds-space-13) 0;
  border-bottom: 1px solid var(--ds-line);
}
.ld-qa-list summary {
  min-height: var(--ds-hit-area);
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
}
.ld-qa-list p {
  padding: 0 0 var(--ds-space-8);
  color: var(--ds-muted-sage);
}
.ld-qa-list small {
  color: var(--ds-forest);
  font-weight: 700;
}

.ld-attraction-grid > *,
.ld-nearby-card {
  overflow: hidden;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  color: var(--ds-ink) !important;
  background: var(--ds-white);
  text-decoration: none;
}
.ld-attraction-grid img,
.ld-nearby-card > img {
  width: 100%;
  height: 170px;
  display: block;
  object-fit: cover;
}
.ld-attraction-grid > * > div,
.ld-nearby-card > div {
  padding: var(--ds-space-13);
}
.ld-attraction-grid span {
  color: var(--ds-muted-sage);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.ld-attraction-grid h3,
.ld-nearby-card h3 {
  margin-top: 4px;
  font-size: 16px;
}
.ld-attraction-grid p,
.ld-nearby-card p {
  margin-top: 4px !important;
  color: var(--ds-muted-sage);
  font-size: 13px;
}
.ld-nearby-placeholder {
  height: 170px;
  display: grid;
  place-items: center;
  background: var(--ds-forest-tint);
}

.ld-page-actions {
  padding: var(--ds-space-21) var(--ds-space-34);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--ds-space-21);
  border-top: 1px solid var(--ds-line);
  background: var(--ds-cream);
  font-size: 13px;
}
.ld-page-actions a {
  min-height: var(--ds-hit-area);
  display: inline-flex;
  align-items: center;
}

@media (max-width: 720px) {
  .listing-detail-v4 {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .ld-topline,
  .ld-gallery,
  .ld-snapshot,
  .ld-section,
  .ld-page-actions {
    padding-left: var(--ds-space-21);
    padding-right: var(--ds-space-21);
  }
  .ld-breadcrumbs {
    display: none;
  }
  .ld-topline {
    justify-content: flex-end;
  }
  .ld-gallery-cover {
    height: 300px;
  }
  .ld-availability-grid,
  .ld-tags-map,
  .ld-booking-card {
    grid-template-columns: 1fr;
  }
  .ld-about-copy {
    display: grid;
    grid-template-columns: 1fr;
  }
  .ld-about-copy img {
    float: none;
    width: 100%;
    margin: 0;
  }
  .ld-fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ld-title-row h1 {
    font-size: 28px;
  }
  .ld-snapshot-card {
    margin: -21px -8px 0;
    padding: var(--ds-space-21) var(--ds-space-8) 0;
  }
}

@media (max-width: 480px) {
  .ld-gallery-cover {
    height: 245px;
  }
  .ld-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  .ld-gallery-thumbs > :nth-child(4) {
    display: none;
  }
  .ld-gallery-thumbs > img,
  .ld-gallery-all {
    height: 84px;
  }

  .ld-snapshot-card {
    display: block;
  }
  .ld-snapshot-card > .ld-title-row {
    display: flex;
    flex-direction: column;
  }
  .ld-metrics {
    flex-direction: column;
    align-items: flex-start;
  }
  .ld-metrics > * {
    padding: 0;
    border-left: 0;
  }
  .ld-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .ld-section-heading {
    flex-direction: column;
  }
  .ld-calendar-day {
    min-height: 44px;
  }
  .ld-calendar-day small {
    display: none;
  }
  .ld-highlight-grid,
  .ld-review-grid,
  .ld-attraction-grid,
  .ld-nearby-grid,
  .ld-rating-grid {
    grid-template-columns: 1fr;
  }
  .ld-page-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Alignment with the approved listing-page CUR panels. */
/* Top gap comes from the card's own margin so the Angular page (which has
   no page container) gets the same breathing room under the header.
   flow-root keeps that margin INSIDE the static page's container — without
   it the margin collapses through <main> and the gap paints in the body's
   white instead of sage. */
.listing-detail-page-container {
  display: flow-root;
  max-width: none;
  padding: 0 0 var(--ds-space-55);
  background: var(--ds-page-sage);
}

.ld-gallery {
  padding: var(--ds-space-13) var(--ds-space-13) 0;
}

.ld-gallery-cover {
  height: 440px;
}

/* Level pill floats with the hero actions: white chip over the photo. */
.ld-gallery-level {
  min-height: 32px;
  padding: 6px var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  border-radius: var(--ds-radius-pill);
  color: var(--ds-ink);
  background: var(--ds-white);
  box-shadow: var(--ds-shadow-card);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

/* A Promoted listing replaces the level pill with one small amber chip —
   matching the app's ds-badge promoted variant (amber fill, ink text) rather
   than shouting a level/percent the camper doesn't need. */
.ld-promoted-badge {
  min-height: 32px;
  padding: 6px var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  border-radius: var(--ds-radius-pill);
  color: var(--ds-ink);
  background: var(--ds-amber);
  box-shadow: var(--ds-shadow-card);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Keep the nightly rate and booking action together as one compact panel. */
.ld-title-aside {
  flex: none;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  min-width: 196px;
  padding: var(--ds-space-13);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--ds-space-13);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-cream);
  box-shadow: var(--ds-shadow-card);
}

.ld-price-label {
  color: var(--ds-muted-sage);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ld-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--ds-space-8);
}

.ld-price-row > strong {
  color: var(--ds-forest-ink);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ld-price-row > span {
  color: var(--ds-muted-sage);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ld-price-booking-link {
  width: 100%;
  min-height: 46px;
  padding: 0 var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
  border: 1px solid var(--ds-forest-ink);
  border-radius: var(--ds-radius-pill);
  color: var(--ds-white) !important;
  background: var(--ds-forest-ink);
  box-shadow: 0 2px 5px rgba(12, 43, 33, 0.14);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  white-space: nowrap;
}

.ld-price-booking-link:hover {
  background: var(--ds-forest);
  box-shadow: 0 4px 10px rgba(12, 43, 33, 0.2);
  transform: translateY(-1px);
}

.ld-price-booking-link img {
  flex: none;
  filter: brightness(0) invert(1);
}

#booking-options {
  scroll-margin-top: var(--ds-space-55);
}

.ld-slogan,
.ld-about > blockquote {
  padding: var(--ds-space-21);
  border: 0;
  border-radius: var(--ds-radius-card);
  background: var(--ds-forest-tint);
  text-align: center;
}

.ld-about-copy img {
  order: 2;
}

.ld-about-text {
  order: 1;
}

.ld-booking {
  color: var(--ds-ink);
  background: var(--ds-white) !important;
}

.ld-booking .ld-kicker {
  color: var(--ds-forest);
}

.ld-booking .ld-section-heading h2 {
  color: var(--ds-ink);
}

.ld-booking .ld-section-heading p {
  color: var(--ds-muted-sage);
}

@media (max-width: 720px) {
  .listing-detail-page-container {
    padding-top: 0;
  }

  .ld-gallery {
    padding-right: var(--ds-space-13);
    padding-left: var(--ds-space-13);
  }

  .ld-topline {
    padding-right: var(--ds-space-13);
    padding-left: var(--ds-space-13);
  }

  .ld-gallery-cover {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .ld-title-aside {
    width: 100%;
    align-items: flex-start;
  }
}

/* Visible keyboard focus on every interactive element in the shared view. */
.listing-detail-v4 a:focus-visible,
.listing-detail-v4 button:focus-visible,
.listing-detail-v4 summary:focus-visible {
  outline: 3px solid var(--ds-forest);
  outline-offset: 2px;
}

/* ── Structured-for-AI page (mockup view-ai panel) ─────────────────────── */
.ld-ai-body {
  padding: var(--ds-space-34);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-21);
}
.ld-ai-heading h1 {
  color: var(--ds-forest-ink);
  font: 700 34px/1.15 var(--ds-font);
  letter-spacing: -0.025em;
}
.ld-ai-heading p {
  margin-top: var(--ds-space-8) !important;
  color: var(--ds-ink);
  font-weight: 650;
}
.ld-ai-tools {
  margin-top: var(--ds-space-13) !important;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-8);
  list-style: none;
}
.ld-ai-prompt {
  padding: var(--ds-space-21);
  display: flex;
  align-items: center;
  gap: var(--ds-space-21);
  border-radius: var(--ds-radius-card);
  background: var(--ds-amber-tint);
}
.ld-ai-prompt h2 {
  font-size: 21px;
}
.ld-ai-prompt p {
  margin-top: var(--ds-space-8) !important;
  font-size: 17px;
}
/* The one amber accent on this screen: the suggested prompt phrase. */
.ld-ai-prompt mark {
  padding: 0 4px;
  color: var(--ds-ink);
  background: var(--ds-amber);
}
.ld-ai-card {
  padding: var(--ds-space-21);
  display: flex;
  align-items: flex-start;
  gap: var(--ds-space-13);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-white);
}
.ld-ai-card h2 {
  font-size: 19px;
}
.ld-ai-card p {
  margin-top: 4px !important;
  color: var(--ds-muted-sage);
}
.ld-ai-formats {
  margin-top: var(--ds-space-13);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-8);
}
.ld-ai-format {
  color: var(--ds-ink) !important;
  font-family: var(--ds-font-mono);
  text-decoration: none;
}
.ld-ai-response-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--ds-space-8);
}
.ld-ai-mime {
  padding: 4px var(--ds-space-13);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-pill);
  color: var(--ds-muted-sage);
  font-family: var(--ds-font-mono);
  font-size: 12px;
}
.ld-ai-response pre {
  margin: 0;
  padding: var(--ds-space-21);
  overflow: auto;
  max-height: 610px;
  border-radius: var(--ds-radius-card);
  background: var(--ds-forest-ink);
  color: var(--ds-page-sage);
  font: 13px/1.6 var(--ds-font-mono);
  counter-reset: ld-json-line;
}
.ld-json-line {
  display: block;
  position: relative;
  padding-left: var(--ds-space-34);
  counter-increment: ld-json-line;
  white-space: pre;
}
.ld-json-line::before {
  content: counter(ld-json-line);
  position: absolute;
  left: 0;
  width: var(--ds-space-21);
  color: var(--ds-muted-sage);
  text-align: right;
}
.ld-json-key {
  color: var(--ds-amber);
}
.ld-json-str {
  color: var(--ds-forest-tint);
}
.ld-json-lit {
  color: var(--ds-white);
}
@media (max-width: 720px) {
  .ld-ai-body {
    padding: var(--ds-space-21);
  }
  .ld-ai-heading h1 {
    font-size: 28px;
  }
  .ld-ai-prompt {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mockup background art: soft evergreen silhouettes tucked into section
   corners. Decorative only — never intercepts input, hidden on small
   screens where the space is needed for content. */
.ld-availability,
.ld-qa {
  position: relative;
}
/* Availability always sits on white (mockup), never the even-section cream,
   with room under the calendar so the painted treeline reads like the mockup. */
.ld-section.ld-availability {
  background: var(--ds-white);
}
.ld-booking-card,
.ld-cancellation {
  position: relative;
  overflow: hidden;
}
.ld-availability::after,
.ld-qa::after,
.ld-booking-card::after,
.ld-cancellation::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: url('/assets/imgs/treeline-forest.svg') bottom center / auto 220px
    repeat-x;
  pointer-events: none;
}
/* Room under the calendar so the painted treeline reads like the mockup. */
.ld-section.ld-availability {
  padding-bottom: calc(var(--ds-space-21) * 2 + var(--ds-space-34));
}
.ld-booking-card::after,
.ld-cancellation::after {
  height: 90px;
}

.ld-booking-card::after {
  opacity: 0.1;
}

@media (max-width: 720px) {
  .ld-availability::after,
  .ld-qa::after,
  .ld-booking-card::after,
  .ld-cancellation::after {
    display: none;
  }
  .ld-section-heading h2 {
    font-size: 26px;
  }
}

/* Listing-detail refinements from the approved availability/location panels. */
.ld-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The utility row uses the 21px content inset on both sides. */
.ld-topline {
  padding-right: var(--ds-space-21);
  padding-left: var(--ds-space-21);
}

/* Keep the rating value and review count optically centred with the stars. */
.ld-metrics > a > strong,
.ld-metrics > a > span:not(.ld-stars) {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.ld-section-icon.is-flat {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.ld-availability-grid {
  grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr);
  align-items: start;
}

.ld-calendar-card {
  padding: 0;
  overflow: hidden;
}

.ld-calendar-toolbar {
  min-height: 62px;
  padding: var(--ds-space-13) var(--ds-space-21);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--ds-line);
}

.ld-calendar-card .ld-calendar-toolbar h3 {
  margin: 0;
  color: var(--ds-forest-ink);
  font-size: 19px;
}

.ld-calendar-weekdays {
  gap: 0;
  padding: var(--ds-space-13) 0 var(--ds-space-8);
}

.ld-calendar-weekdays span {
  padding: 0;
  color: var(--ds-ink);
  font-size: 11px;
  text-transform: none;
}

.ld-calendar-grid {
  gap: 1px;
  padding: 1px;
  background: var(--ds-line);
}

.ld-calendar-day {
  min-height: 70px;
  padding: var(--ds-space-8) 2px;
  border-radius: 0;
  color: var(--ds-forest-ink);
  background: var(--ds-white);
}

.ld-calendar-day b {
  font-size: 15px;
}

.ld-calendar-day small {
  display: block;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
}

.ld-calendar-day.is-open.is-plenty {
  color: var(--ds-forest-ink);
  background: var(--ds-forest-tint);
}

.ld-calendar-day.is-open.is-limited {
  color: var(--ds-amber-ink);
  background: var(--ds-amber-tint);
}

.ld-calendar-day.is-full {
  color: var(--ds-muted-sage);
  background: var(--ds-page-sage);
  opacity: 1;
}

.ld-calendar-day.is-not-set {
  color: var(--ds-muted-sage);
  background: var(--ds-page-sage);
}

.ld-calendar-day.is-empty {
  background: var(--ds-white);
}

.ld-calendar-day.is-past {
  opacity: 0.4;
}

.ld-availability-summary {
  padding: var(--ds-space-34) var(--ds-space-21);
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.ld-summary-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
}

.ld-summary-count > strong {
  color: var(--ds-forest-ink);
  font-size: 55px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ld-summary-count.is-not-set > strong {
  font-size: 34px;
  letter-spacing: -0.02em;
}

.ld-availability-not-set {
  margin-top: var(--ds-space-21);
}

.ld-summary-icon {
  width: 55px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-forest-ink);
}

.ld-summary-icon img {
  filter: brightness(0) invert(1);
}

.ld-availability-summary > p.ld-summary-label {
  margin-top: var(--ds-space-8) !important;
  color: var(--ds-forest-ink);
  font-size: 19px;
  line-height: 1.25;
}

.ld-summary-label strong {
  font-weight: 800;
}

.ld-availability-summary > p.ld-summary-sites {
  margin-top: var(--ds-space-8) !important;
  color: var(--ds-muted-sage);
  font-size: 12px;
}

.ld-availability-summary hr {
  width: 100%;
  margin: var(--ds-space-21) 0;
  border: 0;
  border-top: 1px solid var(--ds-line);
}

.ld-availability-summary .ld-legend {
  width: 100%;
  margin-top: 0;
  gap: var(--ds-space-13);
  color: var(--ds-ink);
  font-size: 11px;
  text-align: left;
}

.ld-legend i {
  width: 20px;
  height: 20px;
  flex: none;
  border: 1px solid var(--ds-line);
  border-radius: 4px;
}

.ld-legend i.is-plenty {
  background: var(--ds-forest-tint);
  border-color: var(--ds-forest);
}

.ld-legend i.is-limited {
  background: var(--ds-amber-tint);
  border-color: var(--ds-amber);
}

.ld-legend i.is-full {
  background: var(--ds-page-sage);
}

.ld-amenities-location {
  position: relative;
  background: var(--ds-white) !important;
}

.ld-tags-map {
  margin-top: 0;
  grid-template-columns: 0.9fr 1.4fr;
  gap: var(--ds-space-13);
  align-items: stretch;
  padding: var(--ds-space-13);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-white);
  box-shadow: var(--ds-shadow-card);
}

.ld-tag-groups {
  padding: var(--ds-space-8) var(--ds-space-13);
}

.ld-chip-group h3 {
  margin: 0 0 var(--ds-space-13);
  display: flex;
  align-items: center;
  gap: var(--ds-space-8);
  color: var(--ds-forest-ink);
  font-size: 18px;
}

.ld-chip-group h3 > img {
  flex: none;
}

.ld-chip-group.is-amenities .ld-chip {
  border-color: var(--ds-amber);
  background: var(--ds-white);
}

.ld-chip-group.is-activities .ld-chip,
.ld-chip-group.is-landscape .ld-chip {
  border-color: var(--ds-forest-tint);
  background: var(--ds-forest-tint);
}

.ld-location-panel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-white);
}

.ld-location-panel .ld-map {
  min-height: 280px;
  height: auto;
  flex: 1;
  border-radius: 0;
}

.ld-getting-there {
  min-height: 92px;
  padding: var(--ds-space-13);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ds-space-13);
  border-top: 1px solid var(--ds-line);
}

.ld-getting-there-icon {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-forest);
  line-height: 0;
}

.ld-tags-map .ld-getting-there h3 {
  margin: 0;
  color: var(--ds-ink);
  font-size: 14px;
}

.ld-tags-map .ld-public-address {
  margin-top: 4px;
  color: var(--ds-ink);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.ld-tags-map .ld-getting-there p {
  margin-top: 4px !important;
  font-size: 12px;
}

.ld-directions {
  min-height: var(--ds-hit-area);
  padding: var(--ds-space-8) var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
  border-radius: var(--ds-radius-control);
  color: var(--ds-ink) !important;
  background: var(--ds-amber);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

/* A transparent, mist-edged raster treeline keeps the page background visible
   and reads as a low forest fringe instead of a full-height photo banner. */
.ld-availability::after,
.ld-qa::after,
.ld-booking-card::after,
.ld-cancellation::after {
  z-index: 0;
  background-image: url('/assets/imgs/misty-evergreen-transparent-final.png');
  background-position: bottom center;
}

.ld-availability > *,
.ld-qa > *,
.ld-booking-card > *,
.ld-cancellation > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .ld-topline {
    padding-right: var(--ds-space-21);
    padding-left: var(--ds-space-21);
  }

  .ld-availability-grid,
  .ld-tags-map {
    grid-template-columns: 1fr;
  }

  .ld-getting-there {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ld-directions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .ld-calendar-day {
    min-height: 50px;
  }

  .ld-calendar-day small {
    display: block;
    font-size: 9px;
  }
}
/* Editorial listing panels aligned with the approved campground mockups. */
.ld-good-to-know .ld-section-icon {
  width: 55px;
  height: 55px;
  border: 0;
  background: #ffe4b8;
}

.ld-good-to-know .ld-section-icon img {
  width: 28px;
  height: 28px;
}

.ld-about {
  background: var(--ds-white) !important;
}

.ld-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-space-34);
  align-items: stretch;
}

.ld-about-layout.has-image {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.ld-about-content {
  min-width: 0;
}

.ld-about-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ds-space-13);
}

.ld-about-heading .ld-section-icon {
  border: 1px solid var(--ds-amber);
  background: var(--ds-white);
}

.ld-about-heading h2 {
  color: var(--ds-forest-ink);
  font: 700 30px/1.2 var(--ds-font);
  letter-spacing: -0.02em;
}

.ld-about-content > blockquote {
  margin-top: var(--ds-space-21) !important;
  padding: 0 0 0 var(--ds-space-21);
  border: 0;
  border-left: 3px solid var(--ds-amber);
  border-radius: 0;
  color: var(--ds-amber-ink);
  background: transparent;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
  text-align: left;
}

.ld-about .ld-about-copy {
  margin-top: var(--ds-space-21);
  display: block;
}

.ld-about .ld-about-copy p {
  line-height: 1.7;
}

.ld-about-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  border-radius: var(--ds-radius-card);
  object-fit: cover;
}

.ld-about .ld-highlight-grid {
  margin-top: var(--ds-space-34);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-21);
}

.ld-about .ld-highlight-grid article {
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: var(--ds-space-13);
  border: 0;
  background: transparent;
}

.ld-highlight-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-amber-tint);
}

.ld-about .ld-highlight-grid h3 {
  margin: 0 0 4px;
  color: var(--ds-forest-ink);
  font-size: 14px;
}

.ld-about .ld-highlight-grid p {
  color: var(--ds-ink);
  font-size: 12px;
  line-height: 1.55;
}

.ld-reviews .ld-section-heading {
  align-items: center;
}

.ld-reviews .ld-section-heading h2 {
  color: var(--ds-forest-ink);
  font: 700 30px/1.2 var(--ds-font);
}

.ld-reviews-panel {
  margin-top: var(--ds-space-21);
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-white);
  box-shadow: var(--ds-shadow-card);
}

.ld-reviews-panel.no-summary {
  grid-template-columns: 1fr;
}

.ld-review-summary {
  padding: var(--ds-space-34) var(--ds-space-21);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--ds-line);
  text-align: center;
}

.ld-review-score {
  color: var(--ds-forest-ink);
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ld-review-summary .ld-stars {
  margin-top: var(--ds-space-13);
  position: relative;
  display: inline-block;
  color: var(--ds-amber);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}

.ld-review-summary > span:last-child {
  margin-top: var(--ds-space-13);
  color: var(--ds-muted-sage);
  font-size: 13px;
}

.ld-review-content {
  min-width: 0;
  padding: var(--ds-space-21);
}

.ld-reviews .ld-review-grid {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-13);
}

.ld-reviews .ld-review-grid article {
  padding: var(--ds-space-21);
  border: 0;
  background: var(--ds-page-sage);
}

.ld-review-card-rating {
  flex: none;
  color: var(--ds-forest);
  font-size: 12px;
  font-weight: 800;
}

.ld-reviews .ld-review-grid article > p {
  color: var(--ds-ink);
  font-size: 13px;
  line-height: 1.55;
}

.ld-reviews .ld-ai-review {
  margin-top: var(--ds-space-13);
}

.ld-review-empty {
  padding: var(--ds-space-21);
  color: var(--ds-muted-sage);
  text-align: center;
}

/* "Show all N reviews": the same disclosure affordance as the cancellation
   policy above, so the whole section opens the same way. */
.ld-review-more-summary {
  margin-top: var(--ds-space-13);
  display: flex;
  justify-content: center;
  list-style: none;
  cursor: pointer;
}

.ld-review-more-summary::-webkit-details-marker {
  display: none;
}

.ld-review-more-summary::marker {
  content: '';
}

.ld-review-more-summary:focus-visible .ld-policy-toggle {
  outline: 3px solid color-mix(in srgb, var(--ds-amber) 45%, transparent);
  outline-offset: 3px;
}

.ld-review-more-label.is-open,
.ld-review-more[open] .ld-review-more-label {
  display: none;
}

.ld-review-more[open] .ld-review-more-label.is-open {
  display: inline;
}

.ld-review-more[open] .ld-policy-chevron {
  transform: rotate(180deg);
}

.ld-reviews .ld-review-more > .ld-review-grid {
  margin-top: var(--ds-space-13);
}

.ld-reviews > .ld-cancellation {
  margin-top: var(--ds-space-21);
}

.ld-host {
  background: var(--ds-white) !important;
}

.ld-host .ld-host-card {
  margin-top: 0;
  padding: var(--ds-space-34);
}

.ld-host-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-21);
}

.ld-host .ld-host-person {
  min-width: 0;
}

.ld-host .ld-host-person > img,
.ld-host .ld-avatar.is-large {
  width: 72px;
  height: 72px;
}

.ld-host-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-8);
}

.ld-host-title-line h2 {
  color: var(--ds-forest-ink);
  font: 700 24px/1.2 var(--ds-font);
}

.ld-host-title-line .ld-verified {
  min-height: 24px;
  padding: 3px var(--ds-space-8);
  font-size: 10px;
  text-transform: none;
}

.ld-host-meta {
  margin-top: var(--ds-space-8) !important;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-8) var(--ds-space-13);
  color: var(--ds-muted-sage);
  font-size: 12px;
}

.ld-host-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ld-host-ask,
.ld-ask-host-cta {
  min-height: var(--ds-hit-area);
  padding: var(--ds-space-8) var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
  border-radius: var(--ds-radius-control);
  color: var(--ds-white) !important;
  background: var(--ds-forest-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.ld-host-ask img,
.ld-ask-host-cta img {
  filter: brightness(0) invert(1);
}

.ld-host .ld-profile-level {
  margin-top: var(--ds-space-34);
  padding-top: var(--ds-space-34);
}

.ld-host .ld-profile-level > .ld-profile-level-title,
.ld-host .ld-profile-level > p {
  text-align: center;
}

.ld-host .ld-level-cards li {
  min-height: 150px;
}

.ld-qa {
  padding-bottom: calc(var(--ds-space-55) * 2 + var(--ds-space-34));
  background: var(--ds-white) !important;
}

.ld-qa-heading h2 {
  color: var(--ds-forest-ink);
  font: 700 30px/1.2 var(--ds-font);
}

.ld-qa-heading p {
  margin-top: 4px !important;
  color: var(--ds-muted-sage);
  font-size: 13px;
}

.ld-qa-layout {
  margin-top: var(--ds-space-21);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-space-21);
  align-items: start;
}

.ld-qa-layout.has-ask-card {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.ld-qa .ld-qa-list {
  margin-top: 0;
  border-top: 0;
}

.ld-qa-list article {
  padding: var(--ds-space-13) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--ds-space-13);
  border-bottom: 1px solid var(--ds-line);
}

.ld-qa-list article:first-child {
  padding-top: 0;
}

.ld-qa-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-forest-tint);
}

.ld-qa-list article h3 {
  color: var(--ds-ink);
  font-size: 13px;
  line-height: 1.35;
}

.ld-qa-list article p {
  margin-top: 4px !important;
  padding: 0;
  color: var(--ds-muted-sage);
  font-size: 12px;
  line-height: 1.5;
}

.ld-qa-list article small {
  display: inline-block;
  margin-top: 4px;
  color: var(--ds-forest);
  font-weight: 750;
}

.ld-qa-empty {
  color: var(--ds-muted-sage);
}

.ld-ask-host-card {
  padding: var(--ds-space-21);
  border: 1px solid var(--ds-amber-tint);
  border-radius: var(--ds-radius-card);
  background: var(--ds-amber-tint);
  box-shadow: var(--ds-shadow-card);
}

.ld-ask-host-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ds-amber);
  border-radius: var(--ds-radius-pill);
  background: var(--ds-white);
}

.ld-ask-host-card h3 {
  margin-top: var(--ds-space-13);
  color: var(--ds-forest-ink);
  font-size: 19px;
}

.ld-ask-host-card > p {
  margin-top: 4px !important;
  color: var(--ds-muted-sage);
  font-size: 12px;
  line-height: 1.5;
}

.ld-ask-host-prompt {
  min-height: 110px;
  margin-top: var(--ds-space-21);
  padding: var(--ds-space-13);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-8);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-white);
}

.ld-ask-host-prompt strong {
  color: var(--ds-ink);
  font-size: 12px;
}

.ld-ask-host-prompt span {
  color: var(--ds-muted-sage);
  font-size: 11px;
}

.ld-ask-host-cta {
  width: 100%;
  margin-top: var(--ds-space-13);
}

.ld-ask-host-card > small {
  margin-top: var(--ds-space-8);
  display: block;
  color: var(--ds-muted-sage);
  font-size: 10px;
  text-align: center;
}

.ld-cancellation {
  padding: var(--ds-space-34);
}

.ld-cancellation::after {
  opacity: 0.1;
}

.ld-cancellation-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ds-space-21);
  list-style: none;
  cursor: pointer;
}

.ld-cancellation-summary::-webkit-details-marker {
  display: none;
}

.ld-cancellation-summary::marker {
  content: '';
}

.ld-cancellation-summary > div {
  min-width: 0;
}

.ld-cancellation-summary h3 {
  color: var(--ds-forest-ink);
  font-size: 17px;
}

.ld-cancellation .ld-refund-tiers {
  margin-top: var(--ds-space-21);
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
}

.ld-cancellation .ld-refund-tier {
  min-width: 0;
  padding: 0 var(--ds-space-21);
  flex-direction: row;
  align-items: flex-start;
  gap: var(--ds-space-13);
  border-radius: 0;
  background: transparent;
}

.ld-cancellation .ld-refund-tier:first-child {
  padding-left: 0;
}

.ld-cancellation .ld-refund-tier + .ld-refund-tier {
  border-left: 1px solid var(--ds-line);
}

.ld-refund-icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ds-forest);
  border-radius: var(--ds-radius-pill);
  color: var(--ds-forest);
  background: var(--ds-white);
}

.ld-refund-icon > strong {
  font-size: 11px;
}

.ld-refund-tier > div > strong,
.ld-refund-tier > div > span,
.ld-refund-tier > div > small {
  display: block;
}

.ld-refund-tier > div > strong {
  color: var(--ds-ink);
  font-size: 12px;
}

.ld-cancellation .ld-refund-tier > div > span,
.ld-refund-tier > div > small {
  margin-top: 3px;
  color: var(--ds-muted-sage);
  font-size: 10px;
  line-height: 1.45;
}

.ld-policy-toggle {
  min-height: var(--ds-hit-area);
  padding: var(--ds-space-8) var(--ds-space-13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-8);
  border: 1px solid var(--ds-forest);
  border-radius: var(--ds-radius-control);
  color: var(--ds-forest);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ld-policy-chevron {
  transition: transform 160ms ease;
}

.ld-cancellation[open] .ld-policy-chevron {
  transform: rotate(180deg);
}

.ld-cancellation-summary:focus-visible .ld-policy-toggle {
  outline: 3px solid color-mix(in srgb, var(--ds-amber) 45%, transparent);
  outline-offset: 3px;
}

.ld-cancellation-name {
  margin-top: var(--ds-space-8) !important;
  color: var(--ds-muted-sage);
}

.ld-policy-body {
  margin-top: var(--ds-space-21);
  padding-top: var(--ds-space-21);
  border-top: 1px solid var(--ds-line);
}

.ld-policy-body h4 {
  color: var(--ds-forest-ink);
  font-size: 15px;
}

.ld-policy-body > p {
  margin-top: var(--ds-space-8) !important;
  max-width: 72ch;
  color: var(--ds-muted-sage);
  font-size: 12px;
  line-height: 1.6;
}

.ld-policy-body ul {
  margin-top: var(--ds-space-13) !important;
  padding: 0;
  display: grid;
  gap: var(--ds-space-8);
  list-style: none;
}

.ld-policy-body li {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-8);
  color: var(--ds-muted-sage);
  font-size: 12px;
}

.ld-policy-body li strong {
  color: var(--ds-ink);
}
@media (max-width: 720px) {
  .ld-about-layout.has-image,
  .ld-reviews-panel,
  .ld-qa-layout.has-ask-card {
    grid-template-columns: 1fr;
  }

  .ld-about-image {
    height: 340px;
    min-height: 0;
  }

  .ld-review-summary {
    border-right: 0;
    border-bottom: 1px solid var(--ds-line);
  }

  .ld-reviews .ld-review-grid {
    grid-template-columns: 1fr;
  }

  .ld-host-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ld-host .ld-level-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Stacked rows need headroom for the rung circles above each card. */
    row-gap: var(--ds-space-34);
  }

  /* Connectors only make sense on the single desktop row. */
  .ld-host .ld-level-cards li + li::before {
    display: none;
  }

  .ld-qa {
    padding-bottom: var(--ds-space-55);
  }

  .ld-cancellation {
    padding: var(--ds-space-21);
  }

  .ld-cancellation-summary {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ld-policy-toggle {
    justify-self: start;
  }

  .ld-cancellation .ld-refund-tiers {
    grid-template-columns: 1fr;
  }

  .ld-cancellation .ld-refund-tier,
  .ld-cancellation .ld-refund-tier:first-child {
    padding: var(--ds-space-13) 0;
  }

  .ld-cancellation .ld-refund-tier + .ld-refund-tier {
    border-top: 1px solid var(--ds-line);
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .ld-about .ld-highlight-grid,
  .ld-host .ld-level-cards {
    grid-template-columns: 1fr;
  }
}


/**
 * Common footer styles (dark design)
 * Used by: Angular (via angular.json styles) and static pages (via server)
 *
 * Colors are defined in colors.css
 */

/* Main Footer (dark design) */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__main {
  padding: 48px 0;
}

.footer__main > .footer__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer__main > .footer__container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Brand section */
.footer__brand {
  max-width: 280px;
}

@media (max-width: 767px) {
  .footer__brand {
    max-width: 100%;
    text-align: center;
  }
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--footer-text);
  margin: 0 0 20px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

@media (max-width: 767px) {
  .footer__social {
    justify-content: center;
  }
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.2s;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer__social-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer__social a:hover .footer__social-icon {
  opacity: 1;
}

/* Links columns */
.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .footer__links {
    grid-template-columns: repeat(4, auto);
    gap: 48px;
  }
}

.footer__heading {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--footer-text-light);
  margin: 0 0 16px;
}

.footer__column nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__column a {
  font-size: 14px;
  color: var(--footer-text);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer__column a:hover {
  color: var(--footer-link-hover);
}

/* Copyright bar */
.footer__bottom {
  background: var(--footer-bottom-bg);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom span {
  font-size: 13px;
  color: var(--footer-text);
}

@media (max-width: 767px) {
  .footer__bottom {
    text-align: center;
  }
}

/* Page disclaimer (for static pages) */
.page-disclaimer {
  font-size: 13px;
  color: var(--text-muted, #999);
  margin: 48px 0 24px;
  padding: 16px;
  background: var(--bg-light-gray, #fafafa);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}