.stays-main {
  --stays-ink: #23493e;
  --stays-muted: #536258;
  --stays-line: #d9d9cc;
  --stays-paper: #fffefa;
}

.stays-main .stays-controls,
.stays-main .stays-card,
.stays-main .stays-facts,
.stays-main .stays-story {
  border: 1px solid var(--stays-line);
  background: var(--stays-paper);
}

.stays-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  min-height: 68px;
  padding: 10px 20px;
  background: #faf8f1;
  border-bottom: 2px solid #245e50;
}

.stays-intro > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.stays-intro h1,
.stays-detail-heading h1 {
  margin: 0;
  color: var(--stays-ink);
  font: 700 clamp(24px, 2vw, 30px)/1.35 "Noto Serif SC", "Songti SC", SimSun, serif;
}

.stays-intro p, .stays-detail-heading p { margin: 0; color: var(--stays-muted); font-size: 14px; }
.stays-search { display: flex; width: min(100%, 320px); border: 1px solid #becbbf; background: var(--stays-paper); }
.stays-search input { flex: 1; min-width: 0; min-height: 42px; padding: 0 12px; background: none; font-size: 14px; }
.stays-search button { padding: 0 12px; color: var(--stays-ink); font-size: 13px; font-weight: 650; }
.stays-filters { padding: 12px 20px; }
.stays-filter { display: flex; gap: 8px 20px; align-items: baseline; padding: 5px 0; font-size: 13px; }
.stays-filter + .stays-filter { border-top: 1px dashed var(--stays-line); }
.stays-filter > span { min-width: 58px; color: var(--stays-muted); }
.stays-filter > div { display: flex; flex-wrap: wrap; gap: 3px 8px; }
.stays-filter a { padding: 4px 12px; border-radius: 2px; }
.stays-filter a[aria-current], .stays-pagination a[aria-current] { color: #fff; background: #245e50; }
.stays-count { display: flex; align-items: center; gap: 14px; margin: 24px 0 15px; color: var(--stays-muted); font-size: 14px; }
.stays-count strong { color: var(--stays-ink); font-size: 17px; }
.stays-grid { margin: 0; gap: clamp(14px, 1.8vw, 26px); }
.stays-card { min-width: 0; }
.stays-card > a { display: block; height: 100%; color: inherit; }
.stays-card > a:hover { text-decoration: none; }
.stays-card:hover { border-color: #a0b6a8; }
.stays-card-media { position: relative; }
.stays-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #e6e9e0; }
.stays-card-media > span {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 16px 10px;
  background: linear-gradient(transparent, #142b24cf);
  color: #fff;
  font-size: 13px;
}

.stays-card-copy { padding: 16px clamp(14px, 1.6vw, 23px); }
.stays-card-title { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.stays-main .stays-card-title h2 { margin: 0; font-size: clamp(18px, 1.55vw, 23px); }
.stays-card-title span { flex: none; width: 28px; border-radius: 50%; background: #edf3ed; color: var(--stays-ink); text-align: center; }
.stays-card-copy p { margin: 8px 0 12px; color: var(--stays-muted); font-size: 14px; }
.stays-card-address { padding-top: 9px; border-top: 1px solid #e4e7dd; font-size: 13px; color: var(--stays-ink); }
.stays-card-meta > span { position: static; display: block; padding: 9px 16px; background: #edf3ed; color: var(--stays-ink); }
.stays-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 24px; font-size: 13px; }
.stays-pagination a { display: grid; place-items: center; min-width: 34px; min-height: 34px; border: 1px solid var(--stays-line); }
.stays-detail-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; margin: 14px 0 18px; }
.stays-detail-heading h1 { margin: 0 0 6px; font-size: clamp(27px, 3vw, 40px); }
.stays-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr); gap: 18px; align-items: stretch; }
.stays-detail-text { grid-template-columns: minmax(0, 1fr); }
.stays-hero { position: relative; margin: 0; }
.stays-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #e6e9e0; }
.stays-hero figcaption { padding: 5px 12px; background: #f9f6ec; color: var(--stays-muted); font-size: 13px; }
.stays-main .stays-facts { padding: clamp(16px, 2.4vw, 30px); border-top: 2px solid #245e50; }
.stays-facts dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; margin: 14px 0 20px; font-size: 14px; }
.stays-facts dt { color: var(--stays-muted); }
.stays-facts dd { margin: 0; overflow-wrap: anywhere; }
.stays-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.stays-main .stays-action { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid #a6b7aa; font-size: 13px; }
.stays-main .stays-action-primary { border-color: #245e50; color: #fff; background: #245e50; }
.stays-story { margin-top: 24px; padding: clamp(18px, 3vw, 38px); }
.stays-story section + section { margin-top: 25px; padding-top: 22px; border-top: 1px solid #e4e7dd; }
.stays-story h2 { padding-left: 12px; border-left: 3px solid #ad7935; font-size: 24px; }
.stays-story p { max-width: 74em; margin: 10px 0 0; color: var(--stays-muted); }
.stays-sources a { font-size: 14px; }
.stays-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stays-gallery figure { min-width: 0; margin: 0; }
.stays-gallery a { display: block; }
.stays-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #e6e9e0; }
.stays-gallery figcaption { padding-top: 5px; color: var(--stays-muted); font-size: 13px; }

.stays-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.stays-highlights li { padding: 3px 8px; background: #edf3ed; color: var(--stays-ink); font-size: 13px; }
.stays-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 20px;
  padding: 7px 16px;
  border-block: 1px solid var(--stays-line);
  background: #faf8f1;
  font-size: 14px;
}
.stays-section-nav a { display: inline-flex; align-items: center; min-height: 38px; }
.stays-section-nav + .stays-story { margin-top: 16px; }
.stays-story h2[id] { scroll-margin-top: 120px; }
.stays-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stays-info-grid article { min-width: 0; border: 1px solid var(--stays-line); background: #faf8f1; }
.stays-info-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.stays-info-copy { padding: 14px 17px; }
.stays-info-copy h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.stays-info-copy h3 small { color: var(--stays-muted); font-size: 13px; font-weight: 400; }
.stays-info-copy > a { display: inline-block; margin-top: 8px; font-size: 14px; }
.stays-room-book { margin-top: 12px; }

@media (max-width: 760px) {
  .stays-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .stays-intro, .stays-filters { padding-inline: 12px; }
  .stays-filter { gap: 5px; }
  .stays-filter > span { min-width: 49px; }
  .stays-filter a { padding-inline: 8px; }
}

@media (max-width: 540px) {
  .stays-gallery-grid, .stays-info-grid { grid-template-columns: minmax(0, 1fr); }
  .stays-section-nav { gap: 2px 14px; }
}
