/* 怡然居 Errantry Lodge — 共用樣式
   所有頁面都載入這一份檔案，改一個地方、全站一起變 */

/* WebP 轉檔用：picture 元素不產生自己的版面盒子，img 的既有樣式（object-fit、絕對定位等）維持原樣不受影響 */
picture {
  display: contents;
}

:root {
  --cream: #f7f2ea;
  --paper: #fbf8f2;
  --brown: #7a5c43;
  --brown-dark: #4f3b2b;
  --terracotta: #b9744f;
  --line: #e3d8c6;
  /* 2010 官方 CI 三色，2026-07-10 起用作各區塊的識別點綴色（底色/字體/大範圍色塊不動） */
  --ci-blue: #003159;
  --ci-orange: #ff6600;
  --ci-green: #86b324;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-dark);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  line-height: 1.75;
}

h1, h2, h3 {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--terracotta);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terracotta);
  flex-shrink: 0;
}

.page-hero .kicker,
.section-head .kicker {
  justify-content: center;
}

.page-hero .kicker::after,
.section-head .kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terracotta);
  flex-shrink: 0;
}

/* 進場淡入效果，區塊捲動到畫面內才顯示 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

a { color: inherit; }

.en {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  letter-spacing: 0.08em;
}

/* Header / Nav */
header {
  padding: 24px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 72px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .logo img {
    height: 56px;
  }
}

.logo .en {
  display: block;
  font-size: 0.75rem;
  color: var(--terracotta);
  margin-top: 4px;
  font-weight: 400;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--brown);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

nav a.active,
nav a:hover {
  color: var(--brown-dark);
  border-bottom-color: var(--terracotta);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.lang-switch a {
  margin-left: 0;
  font-size: 0.78rem;
  padding: 3px 6px;
  border-bottom: none;
  border-radius: 3px;
  color: var(--brown);
}

.lang-switch a.active {
  color: #fffaf2;
  background: var(--terracotta);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 40px;
  height: 36px;
  font-size: 1.1rem;
  color: var(--brown-dark);
  cursor: pointer;
}

/* Hero (首頁專用) */
/* 首頁 Hero：滿版照片，文字疊在正中央 */
.hero-full {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
}

.hero-full picture,
.hero-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 8, 0.4) 0%, rgba(20, 14, 8, 0.08) 32%, rgba(20, 14, 8, 0.1) 60%, rgba(20, 14, 8, 0.55) 100%);
  z-index: 1;
}

.hero-full-text {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fffaf2;
  padding: 24px;
}

.hero-full-text h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: #fffaf2;
  margin: 0 0 30px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-full-text .btn-outline {
  border-color: #fffaf2;
  color: #fffaf2;
}

.hero-full-text .btn-outline:hover {
  background: #fffaf2;
  color: var(--brown-dark);
}

.hero-full-note {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fffaf2;
  border: 1px solid rgba(255, 250, 242, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* 首頁 Hero 輪播（現在移到「一天，兩組旅人」區塊使用） */
.hero-slider {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 250, 242, 0.6);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide.active img {
  animation: kenburns 7s ease-in-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.active img { animation: none; }
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #fffaf2;
  background: rgba(255, 250, 242, 0.4);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-dots button.active {
  background: #fffaf2;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(79, 59, 43, 0.35);
  color: #fffaf2;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(79, 59, 43, 0.6);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

@media (max-width: 640px) {
  .hero-arrow { width: 34px; height: 34px; font-size: 1.1rem; }
}

/* 佔位圖片色塊（尚無實拍照片時使用） */
.photo-block {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 14px;
  background: linear-gradient(135deg, #e7d9c2, #cfa77c 55%, #b9744f);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.photo-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.25), transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,0.15), transparent 45%);
}

.photo-caption {
  position: relative;
  z-index: 1;
  color: #fffaf2;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 0 16px;
}

.photo-caption span {
  display: block;
  font-size: 0.7rem;
  opacity: 0.85;
  margin-top: 6px;
}

/* 真實照片版本（有 <img> 時使用，不要漸層色塊與遮罩） */
.photo-block.photo-real {
  background: none;
}

.photo-block.photo-real::after {
  content: none;
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-link .photo-block img {
  cursor: zoom-in;
}

.gallery-link:hover .photo-block img {
  transform: scale(1.06);
}

.room-card {
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 14px 30px -20px rgba(79, 59, 43, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(79, 59, 43, 0.4);
  border-color: var(--terracotta);
}

/* Section 共用 */
main section,
main article {
  padding: 88px 6vw;
}

.page-hero {
  padding: 60px 6vw 20px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero .kicker {
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin: 0 0 18px;
}

.page-hero p {
  color: var(--brown);
}

.story-date {
  font-size: 0.85rem;
  color: var(--terracotta);
  letter-spacing: 0.06em;
  margin: 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head .kicker {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 2.15rem;
  margin: 0 0 16px;
}

.section-head p {
  color: var(--brown);
  font-size: 0.98rem;
}

/* Intro / 文字區塊 */
.intro,
.story-block {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-inner,
.story-block-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.intro-inner h2,
.story-block-inner h2 {
  font-size: 1.9rem;
  margin-bottom: 26px;
}

.intro-inner p,
.story-block-inner p {
  color: var(--brown);
  font-size: 1.03rem;
  text-align: left;
}

.story-photo {
  margin: 32px 0 8px;
}

.story-photo img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.story-photo figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--brown);
  text-align: center;
}

/* 直式的單張紀念/致謝照片，縮小版面避免比其他橫式照片誇張地高 */
.story-photo.story-photo-inset {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.story-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0 8px;
}

.story-photo-pair img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.video-embed {
  margin: 32px 0 8px;
}

.video-embed-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.video-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--brown);
  text-align: center;
}

@media (max-width: 640px) {
  .story-photo-pair { grid-template-columns: 1fr; }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 12px;
  transition: transform 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature-photo {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: -28px;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 22px 40px -20px rgba(79, 59, 43, 0.5);
  position: relative;
  z-index: 1;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #efe3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  border: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease;
  position: relative;
  z-index: 2;
}

.feature-photo + .icon {
  box-shadow: 0 4px 12px -2px rgba(79, 59, 43, 0.3);
  border-color: var(--paper);
  border-width: 2px;
}

.feature:hover .icon {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fffaf2;
}

.feature .icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
}

.feature p {
  font-size: 0.88rem;
  color: var(--brown);
}

/* Rooms */
.rooms {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.room-card .photo-block {
  aspect-ratio: 3 / 2;
  margin-bottom: 16px;
}

/* 房型卡片小型輪播 */
.room-carousel {
  position: relative;
  aspect-ratio: 3 / 2;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.room-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.room-carousel .carousel-slide.active {
  opacity: 1;
}

.room-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.room-carousel .carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}

.room-carousel .carousel-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid #fffaf2;
  background: rgba(255, 250, 242, 0.4);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.room-carousel .carousel-dots button.active {
  background: #fffaf2;
  transform: scale(1.25);
}

/* 首頁特色區塊內的小型輪播（沿用房型輪播機制，但維持 feature-photo 的圖示疊加版型） */
.feature .room-carousel {
  aspect-ratio: 4 / 3;
  margin-bottom: -28px;
  border-radius: 14px;
}

.feature .room-carousel .carousel-slide img {
  cursor: default;
}

/* 保留原始長寬比、不裁切的輪播（例如全景比例照片） */
.room-carousel.uncropped {
  aspect-ratio: 320 / 147;
}

.room-carousel.uncropped .carousel-slide img {
  object-fit: contain;
}

.room-card > a.gallery-link {
  display: block;
  cursor: zoom-in;
}

.gallery-more {
  margin-top: 4px;
  font-size: 0.85rem;
}

/* 房型完整相簿頁 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--paper);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

.back-link {
  display: inline-block;
  margin: 30px 6vw 0;
  font-size: 0.9rem;
  color: var(--terracotta);
  text-decoration: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 12, 0.92);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  color: #fffaf2;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fffaf2;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev, .lightbox-next { width: 36px; height: 36px; font-size: 1.1rem; }
}

.room-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.room-card .room-en {
  display: block;
  font-size: 0.75rem;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.room-card p {
  font-size: 0.88rem;
  color: var(--brown);
  margin: 0 0 10px;
}

.price-tag {
  font-size: 1rem;
  color: var(--brown-dark);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  margin: 0;
}

.price-tag strong {
  font-size: 1.15rem;
  color: var(--terracotta);
}

.price-tag span {
  font-size: 0.82rem;
  color: var(--brown);
}

/* 首頁「入住限定・旅行攝影體驗」區塊（民宿特色與房型精選之間） */
.gear-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gear-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.gear-photo {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.gear-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gear-text h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.photo-exp-items {
  margin: 28px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.photo-exp-item {
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}

.photo-exp-item h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--brown-dark);
}

.photo-exp-item p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--brown);
}

.photo-exp-item a {
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .gear-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* 首頁「一天，兩組旅人」獨立區塊（原本是民宿特色裡的小卡片，升級成跟攝影體驗對稱、方向相反的區塊） */
.privacy-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.privacy-text h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

@media (max-width: 860px) {
  .privacy-inner { grid-template-columns: 1fr; gap: 28px; }
  .privacy-inner .hero-slider { order: -1; }
}

/* 首頁「房型精選」輪播（取代原本的 room-grid 卡片列表） */
.room-slider {
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid rgba(255, 250, 242, 0.6);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.room-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.room-slide.active {
  opacity: 1;
}

.room-slide a {
  display: block;
  height: 100%;
}

.room-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 28px 22px;
  background: linear-gradient(to top, rgba(20, 14, 8, 0.72) 0%, rgba(20, 14, 8, 0.35) 55%, rgba(20, 14, 8, 0) 100%);
  color: #fffaf2;
}

.room-slide-caption h3 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  color: #fffaf2;
}

.room-slide-caption .room-en {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #f0d9c4;
  margin-bottom: 10px;
}

.room-slide-caption .price-tag {
  border-top: none;
  padding-top: 0;
  color: #fffaf2;
  font-size: 0.95rem;
}

.room-slide-caption .price-tag strong { color: #ffd9b0; }
.room-slide-caption .price-tag span { color: #f0e2d2; }

.room-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.room-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #fffaf2;
  background: rgba(255, 250, 242, 0.4);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.room-dots button.active { background: #fffaf2; }

.room-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(79, 59, 43, 0.35);
  color: #fffaf2;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.room-arrow:hover {
  background: rgba(79, 59, 43, 0.6);
  transform: translateY(-50%) scale(1.06);
}

.room-arrow-prev { left: 16px; }
.room-arrow-next { right: 16px; }

@media (max-width: 640px) {
  .room-arrow { width: 34px; height: 34px; font-size: 1.1rem; }
}

.room-quote {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--terracotta);
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 2px solid var(--terracotta);
}

.room-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
  color: var(--brown);
  margin-top: 10px;
}

.partner-stores {
  text-align: center;
  max-width: 900px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.partner-stores-label {
  font-size: 0.9rem;
  color: var(--brown);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.partner-stores-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.partner-stores-grid img {
  height: 84px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 16px 28px -20px rgba(79, 59, 43, 0.4);
}

@media (max-width: 640px) {
  .partner-stores-grid img { height: 64px; padding: 8px; }
}

/* CTA 按鈕 */
.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 18px 42px;
  background: var(--terracotta);
  color: #fffaf2;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(79, 59, 43, 0.5);
}

.btn-outline {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--terracotta);
  color: #fffaf2;
}

.btn-outline-lg {
  padding: 18px 42px;
  font-size: 1.15rem;
  font-weight: 400;
}

.btn-outline.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.center { text-align: center; }
.story-block-inner p.center { text-align: center; }

/* Hero 區兩顆按鈕並排：訂房資訊（次要）＋ 立即預訂（主要） */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-cta .btn,
.hero-cta .btn-outline {
  margin-top: 0;
}

/* 信任清單：取代價格比較／重複折扣字樣，用事實陳述取代廣告口號 */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--brown);
}

.trust-list.center {
  align-items: center;
}

.trust-list b {
  color: var(--terracotta);
  font-weight: 700;
  margin-right: 2px;
}

/* 首頁獎項精選單張照片 */
.award-highlight {
  max-width: 280px;
  margin: 0 auto 24px;
}

/* 電腦版：右下角低調的浮動訂房按鈕（不是滿版橫幅） */
.booking-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: #fffaf2;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 22px 13px 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(79, 59, 43, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.booking-fab .fab-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.booking-fab:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(79, 59, 43, 0.6);
}

/* 手機版：底部固定細列（比舊版矮約 3 成，跟品牌色一致，不是廣告 Banner） */
.booking-bar-slim {
  display: none;
}

@media (max-width: 640px) {
  .booking-fab { display: none; }

  .booking-bar-slim {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--terracotta);
    color: #fffaf2;
    padding: 9px 16px;
    font-size: 0.76rem;
    box-shadow: 0 -4px 14px -6px rgba(79, 59, 43, 0.4);
  }

  .booking-bar-slim .bbs-text {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .booking-bar-slim .bbs-btn {
    display: inline-block;
    background: #fffaf2;
    color: var(--terracotta);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
  }

  body { padding-bottom: 46px; }

  .back-to-top { bottom: 62px; }
}

/* 回到頂部按鈕（往上挪，避免跟浮動訂房按鈕／訂房列重疊） */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(185, 116, 79, 0.4);
  background: var(--terracotta);
  color: #fffaf2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px -4px rgba(79, 59, 43, 0.35), 0 16px 32px -16px rgba(79, 59, 43, 0.45);
  z-index: 150;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brown-dark);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .back-to-top {
    right: 16px;
    bottom: 62px;
    width: 42px;
    height: 42px;
  }
}

/* 首頁「花蓮探索」區塊（房型精選與住客怎麼說之間） */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.explore-card {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.explore-card:hover img { transform: scale(1.05); }

.explore-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 20, 12, 0.82) 0%, rgba(30, 20, 12, 0.25) 45%, rgba(30, 20, 12, 0) 65%);
}

.explore-card-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 18px;
  z-index: 1;
  color: #fdf8ef;
}

.explore-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #ffd9b0;
  margin-bottom: 6px;
}

.explore-card h3 {
  font-size: 1.05rem;
  color: #fdf8ef;
  margin: 0 0 4px;
}

.explore-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #ecdfc9;
  opacity: 0.9;
}

.explore-more {
  text-align: center;
  margin-top: 40px;
}

.explore-more a {
  color: var(--terracotta);
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 2px;
}

/* 住客評論 */
.testimonials {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.testimonial {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: var(--terracotta);
  opacity: 0.35;
  line-height: 1;
}

.testimonial p {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  color: var(--brown-dark);
  margin: 12px 0 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.82rem;
  color: var(--terracotta);
  letter-spacing: 0.03em;
}

/* 首頁「最新消息」區塊（住客怎麼說與獎項與媒體之間） */
.news-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-card-photo {
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.news-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.news-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--brown-dark);
}

.news-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--brown);
}

.news-card .news-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--terracotta);
}

@media (max-width: 860px) {
  .news-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 獎項 */
.awards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.award {
  display: block;
  text-align: center;
  padding: 20px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 20px -16px rgba(79, 59, 43, 0.5);
  font-size: 0.9rem;
  color: var(--brown-dark);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.award:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -12px rgba(79, 59, 43, 0.35);
  border-color: var(--terracotta);
}

/* 影片類獎項（非凡電視台專訪影片）—— 加上播放圖示與強調邊框，跟純文字證書獎項做出區隔 */
.award-video {
  border-top: 3px solid var(--terracotta);
  background: linear-gradient(180deg, rgba(200, 120, 80, 0.06), var(--paper) 60%);
}

.award-video::before {
  content: "▶";
  display: inline-block;
  margin-right: 6px;
  font-size: 0.7em;
  color: var(--terracotta);
}

/* 評分徽章（Booking.com / TripAdvisor） */
.review-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto 36px;
}

.review-badge {
  display: block;
  text-align: center;
  padding: 34px 24px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 26px -16px rgba(79, 59, 43, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px -16px rgba(0, 0, 0, 0.4);
}

.review-badge-booking {
  background: linear-gradient(160deg, #00449e 0%, #003580 55%, #002a66 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.review-badge-booking::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(255,255,255,0.16), transparent 55%);
}

.review-badge-tripadvisor {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid #34e0a1;
  color: var(--brown-dark);
}

.review-badge-logo {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  position: relative;
}

.review-badge-tripadvisor .review-badge-logo {
  color: #2fae6f;
}

.review-badge-score {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

.review-badge-score span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}

.review-badge-stars {
  color: #2fae6f;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.review-badge-label {
  font-size: 0.85rem;
  margin-top: 12px;
  opacity: 0.9;
  position: relative;
}

/* 得獎證明（官方截圖／徽章原始檔） */
.award-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.award-proof-item {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 8px 20px -16px rgba(79, 59, 43, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.award-proof-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -14px rgba(79, 59, 43, 0.4);
  border-color: var(--terracotta);
}

.award-proof-item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.award-proof-caption {
  display: block;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--brown-dark);
  text-align: center;
  line-height: 1.5;
}

/* QR Code */
.qr-block {
  text-align: center;
  margin-top: 40px;
}

.qr-block img {
  width: 140px;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: #fff;
}

.qr-block p {
  font-size: 0.85rem;
  color: var(--brown);
  margin-top: 10px;
}

.qr-block-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

/* 故事列表 */
.story-grid {
  display: grid;
  gap: 24px;
}

.story-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -12px rgba(79, 59, 43, 0.35);
  border-color: var(--terracotta);
}

/* 中間的文字容器要撐開，不然標題短的卡片（如「邀請」「夫妻的故事」）
   會因為 justify-content:space-between 把內容擠到置中，而不是貼著縮圖左邊 */
.story-card > div {
  flex: 1;
  min-width: 0;
}

.story-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.story-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--brown);
}

.story-card-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

/* .story-card 是全站唯一 <picture> 直接當 flex 子項目、且旁邊還有其他 flex 手足要正確排版的地方，
   Safari 對 picture 的 display:contents 在這種情境下不夠穩定，直接讓 picture 自己變成有固定尺寸的
   flex item，不要依賴 display:contents 穿透 */
.story-card picture {
  display: block;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.badge {
  flex-shrink: 0;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge.done {
  background: #e9dcc7;
  color: var(--brown-dark);
}

.badge.soon {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--brown);
}

/* 聯絡頁 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.contact-list .label {
  color: var(--terracotta);
  min-width: 5em;
  flex-shrink: 0;
}

.map-embed {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
}

/* Footer */
footer {
  padding: 40px 6vw;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

footer .logo-mini {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

footer p {
  font-size: 0.85rem;
  color: var(--brown);
  margin: 4px 0;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

footer nav a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--terracotta);
}

footer nav a:nth-child(1)::before { background: #b9744f; }
footer nav a:nth-child(2)::before { background: #7a9b6e; }
footer nav a:nth-child(3)::before { background: #6b8caf; }
footer nav a:nth-child(4)::before { background: #c9a227; }
footer nav a:nth-child(5)::before { background: #a56b8a; }
footer nav a:nth-child(6)::before { background: #8a6d4f; }

footer nav a:hover {
  color: var(--terracotta);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fffaf2;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

footer .copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--brown);
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

footer .license-no {
  text-align: center;
  font-size: 0.76rem;
  color: var(--brown);
  opacity: 0.75;
  margin-top: 6px;
}

/* 訂房資訊頁 */
/* 花蓮攻略文章（SEO 長文） */
.guide-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.guide-article > p {
  color: var(--brown);
  font-size: 1.03rem;
  margin-bottom: 20px;
}

.guide-article h2 {
  font-size: 1.4rem;
  margin: 44px 0 16px;
  color: var(--brown-dark);
}

.guide-article figure {
  margin: 24px 0;
}

.guide-article figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--brown);
  text-align: center;
}

.guide-article figure img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 2px 6px -2px rgba(79, 59, 43, 0.3), 0 26px 48px -24px rgba(79, 59, 43, 0.5);
}

.guide-article ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--brown);
}

.guide-article ul li {
  margin-bottom: 8px;
}

.guide-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 28px;
  font-size: 0.92rem;
}

.guide-article th,
.guide-article td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.guide-article th {
  background: var(--cream);
  color: var(--brown-dark);
}

.guide-faq {
  margin: 8px 0 28px;
}

.guide-faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.guide-faq-item:first-child {
  border-top: 1px solid var(--line);
}

.guide-faq-item .q {
  font-weight: 500;
  color: var(--brown-dark);
  margin: 0 0 6px;
}

.guide-faq-item .a {
  color: var(--brown);
  margin: 0;
}

.guide-article .cta-block {
  text-align: center;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.guide-article .cta-block p {
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 16px;
}

/* 文章作者／更新日期署名列，用在 guide-article 與 story-block-inner 結尾 */
.article-byline {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--brown);
  opacity: 0.75;
}

/* 相關閱讀區塊，用在 guide-article 與 story-block-inner 結尾，作者列之前 */
.related-reads {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-reads h3 {
  font-size: 1rem;
  color: var(--brown-dark);
  margin: 0 0 12px;
}

.related-reads a {
  display: block;
  color: var(--terracotta);
  text-decoration: none;
  padding: 6px 0;
}

.related-reads a:hover {
  text-decoration: underline;
}

.info-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-section + .info-section {
  border-top: none;
}

.info-inner {
  max-width: 780px;
  margin: 0 auto;
}

.info-inner h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.info-inner p {
  color: var(--brown);
  font-size: 0.98rem;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
  color: var(--brown-dark);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .label {
  color: var(--terracotta);
  margin-right: 8px;
}

/* 在地推薦店家清單：跟 .info-list 同一系列（虛線分隔、赤陶點綴），
   但改成兩行式排版＋hover 連結位移，保留合作夥伴應有的份量，同時不用卡片底色框或 icon */
.recommend-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recommend-list li {
  padding: 22px 0;
  border-bottom: 1px dashed var(--line);
}

.recommend-list li:last-child {
  border-bottom: none;
}

.recommend-list .rec-name {
  display: block;
  position: relative;
  padding-left: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.recommend-list .rec-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

.recommend-list .rec-desc {
  display: block;
  padding-left: 16px;
  font-size: 0.92rem;
  color: var(--brown);
  margin-bottom: 8px;
}

.recommend-list .rec-link {
  display: inline-block;
  margin-left: 16px;
  font-size: 0.88rem;
  color: var(--terracotta);
  transition: transform 0.2s ease, color 0.2s ease;
}

.recommend-list li:hover .rec-link {
  color: var(--ci-orange);
  transform: translateX(4px);
}

.price-simple-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.92rem;
}

.price-simple-table th,
.price-simple-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-simple-table th {
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.booking-cta {
  text-align: center;
  padding: 50px 6vw;
}

.booking-cta p {
  color: var(--brown);
  margin-bottom: 20px;
}

.policy-note {
  font-size: 0.85rem;
  color: var(--brown);
  margin-top: 16px;
}

/* 文章內文的重點提示框（例如包棟例外原則），跟 FAQ 清單分開，用來凸顯單一條規則 */
.exception-note {
  background: var(--paper);
  border-left: 3px solid var(--terracotta);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 4px 0 20px;
}

.exception-note-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.exception-note p {
  margin: 0;
  color: var(--brown-dark);
  font-size: 0.94rem;
}

/* 在地推薦頁的店家實拍小圖 */
.info-photos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.info-photo {
  width: 140px;
  height: 105px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.info-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== 官方 CI 三色：區塊識別點綴（2026-07-10，底色/字體/大範圍色塊不動） ===== */

/* 民宿特色 → 深藍（圓形圖示按鈕維持原本 terracotta，Arthur 說不需要變藍） */
.features .section-head .kicker { color: var(--ci-blue); }
.features .section-head .kicker::before,
.features .section-head .kicker::after { background: var(--ci-blue); }

/* 房型精選 → 椰子綠 */
.rooms .section-head .kicker { color: var(--ci-green); }
.rooms .section-head .kicker::before,
.rooms .section-head .kicker::after { background: var(--ci-green); }
.rooms .room-card:hover { border-color: var(--ci-green); }

/* 獎項與媒體 → 深藍（首頁與關於我們頁共用同一組 class，一起套用） */
.awards-section .section-head .kicker { color: var(--ci-blue); }
.awards-section .section-head .kicker::before,
.awards-section .section-head .kicker::after { background: var(--ci-blue); }
.awards-section .award:hover { border-color: var(--ci-blue); }
.awards-section .award-video { border-top-color: var(--ci-blue); }
.awards-section .award-video::before { color: var(--ci-blue); }

/* 每個獎項各自一個淺色調（不用飽和原色，維持溫暖文青感），底色換色、hover 邊框跟著同色系加深 */
.awards-section .awards .award:nth-child(1) { background: #fbeae2; }
.awards-section .awards .award:nth-child(1):hover { border-color: #c97f5c; }
.awards-section .awards .award:nth-child(2) { background: #e7effa; }
.awards-section .awards .award:nth-child(2):hover { border-color: #5b84b8; }
.awards-section .awards .award:nth-child(3) { background: #fcf3d9; border-top-color: #d4a93b; }
.awards-section .awards .award:nth-child(3):hover { border-color: #d4a93b; }
.awards-section .awards .award:nth-child(3)::before { color: #b8872a; }
.awards-section .awards .award:nth-child(4) { background: #e9f3e2; }
.awards-section .awards .award:nth-child(4):hover { border-color: #7fa35c; }
.awards-section .awards .award:nth-child(5) { background: #e7e9f7; }
.awards-section .awards .award:nth-child(5):hover { border-color: #6b6fb0; }
.awards-section .awards .award:nth-child(6) { background: #f1e7f5; }
.awards-section .awards .award:nth-child(6):hover { border-color: #9b6fa8; }
.awards-section .awards .award:nth-child(7) { background: #e1f2ed; }
.awards-section .awards .award:nth-child(7):hover { border-color: #4f9c87; }

/* 在地推薦（guide.html／guide-friends.html）→ 橙色 */
.page-local-guide .page-hero .kicker,
.page-local-guide .section-head .kicker { color: var(--ci-orange); }
.page-local-guide .page-hero .kicker::before,
.page-local-guide .page-hero .kicker::after,
.page-local-guide .section-head .kicker::before,
.page-local-guide .section-head .kicker::after { background: var(--ci-orange); }

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .awards { grid-template-columns: repeat(2, 1fr); }
  .award-proof { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav-toggle { display: block; }

  nav#site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 6vw 20px;
    z-index: 10;
  }

  nav#site-nav.open { display: flex; }

  nav#site-nav a {
    margin: 10px 0;
  }

  .lang-switch {
    margin: 10px 0 0;
    padding: 14px 0 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .features { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .award-proof { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .review-badges { grid-template-columns: 1fr; }
  .story-card { flex-direction: column; align-items: flex-start; }
}
