/* Theme landing template for family / pet / villa / hot spring pages */
.theme-landing,
.theme-landing * {
  box-sizing: border-box;
}

.theme-landing {
  --tl-ink: #4e3529;
  --tl-deep: #5a321f;
  --tl-soft: #f7f2e7;
  --tl-paper: #fffdf8;
  --tl-line: #ded7c6;
  --tl-muted: #7b6658;
  --tl-accent: #b66a3c;
  --tl-gold: #c49a5a;
  --tl-shadow: 0 14px 38px rgba(101, 63, 39, .13);
  color: var(--tl-ink);
  background:
    linear-gradient(180deg, rgba(255,253,248,.86), rgba(247,242,231,.96)),
    url("../../images/towns-dongshan.jpg") center bottom / cover fixed;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0;
}

.theme-landing a {
  color: inherit;
  text-decoration: none;
}

.theme-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 56px;
}

.theme-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-bottom: 1px solid rgba(90, 50, 31, .13);
  background: #f2eadb;
}

.theme-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.theme-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,253,248,.96) 0%, rgba(255,253,248,.82) 34%, rgba(255,253,248,.2) 62%, rgba(255,253,248,.02) 100%);
}

.theme-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 82px 36px 132px;
}

.theme-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--tl-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.theme-eyebrow i {
  font-size: 16px;
}

.theme-h1 {
  margin: 0 0 18px;
  color: var(--tl-deep);
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 5px;
}

.theme-lede {
  max-width: 560px;
  margin: 0 0 26px;
  color: #6d4937;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.9;
}

.theme-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}

.theme-hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(90, 50, 31, .16);
  border-radius: 999px;
  background: rgba(255, 253, 248, .72);
  color: var(--tl-deep);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(101, 63, 39, .08);
}

.theme-search {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  margin: -72px auto 22px;
  padding: 17px;
  border: 1px solid rgba(90, 50, 31, .15);
  border-radius: 16px;
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--tl-shadow);
}

.theme-search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 180px;
  gap: 10px;
}

.theme-field {
  display: block;
}

.theme-field span {
  display: block;
  margin: 0 0 7px;
  color: var(--tl-muted);
  font-size: 12px;
  font-weight: 800;
}

.theme-field select,
.theme-field input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--tl-line);
  border-radius: 8px;
  background: #fff;
  color: var(--tl-deep);
  font-size: 14px;
  padding: 0 10px;
}

.theme-search button,
.theme-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--tl-deep);
  color: #fff;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.theme-search button {
  height: 42px;
  margin-top: 23px;
  cursor: pointer;
}

.theme-search button:hover,
.theme-more:hover {
  background: #8f4f2e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(101, 63, 39, .2);
}

.theme-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 12px 3px 0;
  color: var(--tl-muted);
  font-size: 13px;
}

.theme-keywords button {
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tl-deep);
  font-weight: 700;
  box-shadow: none;
}

.theme-keywords button:hover {
  background: transparent;
  color: var(--tl-accent);
  box-shadow: none;
}

.theme-benefits,
.theme-topic-grid,
.theme-pick-grid,
.theme-guide-grid,
.theme-reason-grid,
.theme-trip-grid,
.theme-faq-grid {
  display: grid;
  gap: 14px;
}

.theme-benefits {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 26px 0 22px;
}

.theme-benefit,
.theme-topic,
.theme-guide,
.theme-reason,
.theme-faq details {
  border: 1px solid rgba(90, 50, 31, .14);
  border-radius: 10px;
  background: rgba(255, 253, 248, .86);
}

.theme-benefit {
  min-height: 82px;
  padding: 14px 12px;
  text-align: center;
}

.theme-benefit i {
  display: block;
  margin: 0 auto 8px;
  color: var(--tl-accent);
  font-size: 27px;
}

.theme-benefit strong {
  display: block;
  color: var(--tl-deep);
  font-size: 15px;
}

.theme-benefit span {
  display: block;
  margin-top: 4px;
  color: var(--tl-muted);
  font-size: 12px;
}

.theme-section {
  padding: 18px 0 24px;
}

.theme-section-head {
  margin: 10px auto 22px;
  text-align: center;
}

.theme-section-head h2 {
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--tl-deep);
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: 5px;
  opacity: 1;
}

.theme-section-head p {
  margin: 8px 0 0;
  color: var(--tl-muted);
  font-size: 14px;
  line-height: 1.8;
}

.theme-topic-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.theme-topic {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(101, 63, 39, .08);
}

.theme-topic img,
.theme-trip img {
  display: block;
  width: 100%;
  height: 124px;
  object-fit: cover;
}

.theme-topic div {
  padding: 12px 12px 14px;
}

.theme-topic strong,
.theme-trip strong {
  display: block;
  color: var(--tl-deep);
  font-size: 16px;
}

.theme-topic span,
.theme-trip span {
  display: block;
  margin-top: 4px;
  color: var(--tl-muted);
  font-size: 13px;
}

.theme-pick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-stay-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(90, 50, 31, .14);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: var(--tl-shadow);
}

.theme-stay-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.theme-stay-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.theme-stay-body h3 {
  margin: 0;
  color: var(--tl-deep);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
}

.theme-loc,
.theme-desc {
  margin: 0;
  color: var(--tl-muted);
  font-size: 13px;
  line-height: 1.65;
}

.theme-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.theme-chip-row span {
  padding: 4px 9px;
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  background: #f4efe3;
  color: var(--tl-deep);
  font-size: 12px;
  font-weight: 700;
}

.theme-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
}

.theme-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid rgba(182, 106, 60, .34);
  border-radius: 8px;
  background: #fffaf4;
  color: #8f4f2e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(101, 63, 39, .08);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.theme-card-action::after {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor;
  line-height: 1;
}

.theme-card-action:hover {
  border-color: rgba(143, 79, 46, .58);
  background: #fff3e7;
  color: #6b3d25;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(101, 63, 39, .12);
}

.theme-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-guide,
.theme-reason {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 253, 248, .92);
}

.theme-guide i,
.theme-reason i {
  color: var(--tl-accent);
  font-size: 36px;
  text-align: center;
}

.theme-guide h3,
.theme-reason h3 {
  margin: 0 0 5px;
  color: var(--tl-deep);
  font-size: 18px;
  font-weight: 900;
}

.theme-guide p,
.theme-reason p {
  margin: 0;
  color: var(--tl-muted);
  font-size: 14px;
  line-height: 1.75;
}

.theme-reason-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.theme-reason {
  grid-template-columns: 48px 1fr;
}

.theme-trip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.theme-trip {
  overflow: hidden;
  border: 1px solid rgba(90, 50, 31, .14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(101, 63, 39, .08);
}

.theme-trip div {
  padding: 12px;
}

.theme-all-list .theme-pick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.theme-faq details {
  padding: 0 15px;
}

.theme-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  color: var(--tl-deep);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.theme-faq summary::-webkit-details-marker {
  display: none;
}

.theme-faq summary::after {
  content: "+";
  color: var(--tl-accent);
  font-size: 20px;
}

.theme-faq details[open] summary::after {
  content: "-";
}

.theme-faq p {
  margin: 0;
  padding: 0 0 14px;
  color: var(--tl-muted);
  font-size: 14px;
  line-height: 1.8;
}

.theme-more-wrap {
  margin: 22px 0 0;
  text-align: center;
}

.theme-more {
  min-width: 160px;
  padding: 11px 24px;
}

.theme-empty {
  display: none;
  margin: 20px 0;
  padding: 22px;
  border: 1px dashed var(--tl-line);
  border-radius: 12px;
  background: rgba(255, 253, 248, .82);
  color: var(--tl-muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .theme-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .theme-benefits,
  .theme-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .theme-pick-grid,
  .theme-all-list .theme-pick-grid,
  .theme-guide-grid,
  .theme-reason-grid,
  .theme-trip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .theme-shell {
    padding: 0 12px 36px;
  }
  .theme-hero {
    min-height: 600px;
  }
  .theme-hero::after {
    background: linear-gradient(180deg, rgba(255,253,248,.94) 0%, rgba(255,253,248,.76) 54%, rgba(255,253,248,.16) 100%);
  }
  .theme-hero-inner {
    padding: 46px 18px 118px;
  }
  .theme-h1 {
    font-size: 43px;
    letter-spacing: 2px;
  }
  .theme-lede {
    font-size: 17px;
  }
  .theme-search {
    margin-top: -88px;
    padding: 13px;
  }
  .theme-search-grid,
  .theme-benefits,
  .theme-topic-grid,
  .theme-pick-grid,
  .theme-all-list .theme-pick-grid,
  .theme-guide-grid,
  .theme-reason-grid,
  .theme-trip-grid,
  .theme-faq-grid {
    grid-template-columns: 1fr;
  }
  .theme-stay-card {
    grid-template-columns: 1fr;
  }
  .theme-stay-card img {
    height: 210px;
  }
  .theme-section-head h2 {
    font-size: 26px;
    letter-spacing: 2px;
  }
}
