/* ============================================================
   妈祖文化主题 · 朱红鎏金覆写层（在 style.css 之后引入）
   宫墙朱红 + 鎏金描边 + 祥云 / 浪花，宣纸米白底，深海青页脚
   ============================================================ */
:root {
  --primary: #9E2B25;
  --primary-dark: #6E1B17;
  --accent: #C89434;
  --gold-400: #E3BC62;
  --gold-200: #F0DC9E;
  --header-bg: #8E2620;
  --header-text: #F7EAD6;
  --bg: #F7F1E3;
  --text: #2E2823;
  --text-light: #6B5E50;
  --border: #E6D7B8;
  --shadow: 0 6px 22px rgba(110,27,23,.08);
  --shadow-hover: 0 14px 38px rgba(110,27,23,.16);
  --serif: "Noto Serif SC","Songti SC","STSong","SimSun",serif;
}

body { background: var(--bg); }
a { color: var(--primary); }
a:hover { color: var(--accent); }

/* ---------- 页头：宫墙朱红 + 鎏金底边 + 祥云 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, #6E1B17 0%, #9E2B25 100%);
  backdrop-filter: none;
  border-bottom: 3px solid var(--accent);
}
.site-header .header-inner { position: relative; z-index: 2; }
.logo { color: #fff; }
.logo b { color: var(--gold-400); }
.logo img { filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.main-nav a { color: #F3E7D6; white-space: nowrap; }
.main-nav a:hover { background: rgba(227,188,98,.18); color: #fff; }
.main-nav a.active { background: var(--accent); color: #fff; }
.header-search { flex: 0 1 auto; gap: 8px; }
.header-search input {
  background: rgba(255,255,255,.12); border-color: rgba(227,188,98,.45); color: #fff;
  width: 180px; min-width: 0; flex: 1 1 auto;
}
.header-search input::placeholder { color: rgba(243,231,214,.7); }
.header-search input:focus { width: 200px; border-color: var(--gold-400); }
.header-search button {
  background: linear-gradient(180deg, #E3BC62, #C89434); color: #fff;
  flex: 0 0 auto; white-space: nowrap; padding: 8px 18px; border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(240,220,158,.5);
}
.nav-toggle { border-color: rgba(227,188,98,.6); color: #fff; }

/* 祥云饰带（模板内 .mazu-clouds） */
.mazu-clouds { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; z-index: 1; pointer-events: none; opacity: .6; }
.mazu-clouds svg { width: 100%; height: 100%; display: block; }

/* ---------- 标题衬线 ---------- */
.section-title, .widget-title, .page-head h1, .detail-title h1,
.rich-text h3, .rich-text h4, .card-body b, .guide-info b { font-family: var(--serif); }
.section-title::before, .widget-title::before { background: var(--accent); }

/* ---------- 页面头部条：朱红→鎏金渐变 ---------- */
.page-head { background: linear-gradient(120deg, #6E1B17 0%, #9E2B25 55%, #A87822 100%); }
.page-head h1 { font-family: var(--serif); letter-spacing: 2px; }

/* ---------- 按钮：鎏金 ---------- */
.btn { background: linear-gradient(180deg, var(--gold-400), var(--accent)); color: #fff !important; border-radius: 24px; }
.btn:hover { background: #B8862E; }

/* ---------- 卡片：宣纸白 + 鎏金细边 + 上浮 ---------- */
.card-item, .guide-row, .gallery-item, .faq-item { background: #fff; border: 1px solid var(--border); }
.card-item:hover, .guide-row:hover { border-color: var(--gold-400); box-shadow: var(--shadow-hover); }
.card-meta { color: var(--accent); }
/* 未配图封面：鎏金渐变兜底，避免大白块（有图时 img 铺满覆盖） */
.card-thumb, .guide-thumb, .gallery-item { background: linear-gradient(135deg, #F0DC9E 0%, #E3BC62 55%, #C89434 100%); }
.card-thumb img, .guide-thumb img, .gallery-item img { position: relative; z-index: 1; }
.guide-row { border-radius: 12px; }

/* 筛选胶囊选中态 */
.filter-bar a.active, .filter-bar a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 页尾：深海青 + 古典浪花 ---------- */
.site-footer { background: #164247; color: rgba(233,240,240,.78); position: relative; }
.site-footer .container { position: relative; z-index: 2; }
.footer-main h4 { color: var(--gold-200); font-family: var(--serif); }
.footer-main a { color: rgba(233,240,240,.72); }
.footer-main a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: rgba(233,240,240,.55); }
/* 浪花饰带（模板内 .mazu-waves） */
.mazu-waves { position: absolute; left: 0; right: 0; top: -1px; height: 44px; z-index: 1; pointer-events: none; line-height: 0; }
.mazu-waves svg { width: 100%; height: 100%; display: block; }

/* 侧栏面板金色点缀 */
.panel h3::after { background: var(--accent); }
.side-links a:hover, .hot-list a:hover { color: var(--primary); }
.hot-list li:nth-child(-n+3)::before { background: var(--primary); }

/* 移动端导航抽屉底色跟随朱红 */
.logo { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 1100px) {
  .main-nav { gap: 2px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 8px 11px; font-size: 14px; }
  .header-search input { width: 140px; }
}
@media (max-width: 768px) {
  .main-nav { background: #8E2620; }
}

/* ===== 首页 Hero：日出海面 · 妈祖主题 ===== */
.mazu-hero {
  position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center;
  background: linear-gradient(180deg, #B83A30 0%, #C89434 38%, #E8834A 55%, #2E7D82 78%, #1E5A60 100%);
}
.mazu-hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.mazu-hero-copy { position: relative; z-index: 3; color: #fff; max-width: 660px; padding: 64px 0; }
.mazu-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif);
  letter-spacing: 6px; color: #F0DC9E; border: 1px solid rgba(227,188,98,.6);
  padding: 6px 16px; border-radius: 30px; font-size: 14px; margin-bottom: 22px;
  background: rgba(110,27,23,.25);
}
.mazu-hero h1 {
  font-size: clamp(30px, 5vw, 50px); font-weight: 900; letter-spacing: 3px; line-height: 1.35;
  text-shadow: 0 4px 18px rgba(110,27,23,.4);
}
.mazu-hero h1 .gold { color: #F0DC9E; }
.mazu-hero p {
  margin: 18px 0 30px; font-size: 17px; color: #FBEFD9; max-width: 520px;
  text-shadow: 0 2px 8px rgba(0,0,0,.25); line-height: 1.8;
}
.mazu-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.mazu-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px;
  border-radius: 30px; font-size: 15px; transition: .25s; font-weight: 500;
}
.mazu-btn-gold { background: linear-gradient(180deg, #E3BC62, #C89434); color: #6E1B17; box-shadow: 0 8px 22px rgba(200,148,52,.4); }
.mazu-btn-gold:hover { transform: translateY(-2px); color: #6E1B17; }
.mazu-btn-ghost { border: 1px solid #F0DC9E; color: #F7ECD0; background: rgba(110,27,23,.28); backdrop-filter: blur(2px); }
.mazu-btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.mazu-hero-meta { position: relative; z-index: 3; display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.mazu-hero-meta b { font-family: var(--serif); font-size: 26px; color: #F0DC9E; display: block; }
.mazu-hero-meta span { font-size: 13px; color: #F3E7D6; }
@media (max-width: 768px) {
  .mazu-hero { min-height: 440px; }
  .mazu-hero-copy { padding: 44px 0; }
  .mazu-hero-meta { gap: 22px; }
}

/* ============================================================
   全站区块对齐设计稿：页头 / 区块头 / 热门卡片 / 攻略线路行 / 图集 / 列表页
   ============================================================ */

/* ---------- 页头：金印 logo + 金字导航 ---------- */
.site-header .header-inner { height: 72px; gap: 28px; }
.logo { gap: 12px; font-family: var(--serif); color: #fff; align-items: center; }
.logo .seal {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 9px;
  background: linear-gradient(180deg, #E3BC62, #C89434);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px #F0DC9E;
}
.logo .seal svg { width: 26px; height: 26px; }
.logo img { height: 42px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-size: 20px; font-weight: 700; letter-spacing: 2px; color: #fff; }
.logo-text small {
  display: block; font-family: var(--sans, system-ui, sans-serif);
  font-size: 11px; color: #E3BC62; letter-spacing: 3px; font-weight: 300; margin-top: 2px;
}
.main-nav { position: relative; }
.main-nav a { position: relative; padding: 10px 16px; border-radius: 10px; }
.main-nav a.active { background: transparent; color: #F0DC9E; font-weight: 500; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: #E3BC62; border-radius: 2px;
}

/* ---------- 区块头：朱红衬线标题 + 金色虚线“更多” ---------- */
.section-head { align-items: flex-end; margin-bottom: 30px; }
.section-title {
  font-family: var(--serif); font-size: 30px; font-weight: 900;
  color: #6E1B17; padding-left: 0; letter-spacing: 2px;
}
.section-title::before { display: none; }
.section-more {
  color: #A87822; font-size: 14px;
  border-bottom: 1px dashed #C89434; padding-bottom: 2px; white-space: nowrap;
}

/* ---------- 热门景点：宣纸白卡片 + 鎏金边 + 上浮 ---------- */
.card-grid { gap: 22px; }
.card-item { border-radius: 14px; border: 1px solid #E6D7B8; box-shadow: 0 6px 22px rgba(110,27,23,.08); }
.card-item:hover { transform: translateY(-5px); border-color: #E3BC62; box-shadow: 0 14px 38px rgba(110,27,23,.16); }
.card-thumb { aspect-ratio: 16/10; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.card-body b { font-family: var(--serif); font-size: 19px; color: #2E2823; white-space: normal; }
.card-desc {
  color: #5C5147; font-size: 14px; line-height: 1.6; height: auto;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  color: #A87822; font-size: 13px; letter-spacing: .5px; margin-top: 2px;
  display: flex; align-items: center; gap: 7px;
}
.card-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C89434; flex: 0 0 6px; }

/* ---------- 最新攻略 / 精选线路：浅金图标行卡片 ---------- */
.guide-list { gap: 14px; }
.guide-row {
  align-items: center; gap: 18px; padding: 16px 18px;
  border-radius: 14px; border: 1px solid #E6D7B8;
  box-shadow: 0 6px 22px rgba(110,27,23,.08); position: relative;
}
.guide-row:hover { transform: translateX(4px); border-color: #E3BC62; }
.guide-thumb {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px;
  background: #F7ECD0; display: grid; place-items: center; overflow: hidden;
}
.guide-thumb img { display: none; }
.guide-thumb::after {
  content: ""; width: 28px; height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C89434' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.guide-info { flex: 1; min-width: 0; }
.guide-info b {
  font-family: var(--serif); font-size: 18px; color: #2E2823;
  white-space: normal; margin-bottom: 3px;
}
.guide-info .card-desc { height: auto; margin: 3px 0; color: #5C5147; }
.guide-info .card-meta { color: #A87822; }
.guide-row::after { content: "→"; margin-left: auto; color: #C89434; font-size: 18px; }
/* 线路行：船形图标，区别于攻略文档图标 */
.route-row .guide-thumb::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C89434' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17h18l-2.2 4H5.2z'/%3E%3Cpath d='M12 3v10'/%3E%3Cpath d='M12 3c3 2 5 5 5 8H7c0-3 2-6 5-8z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 精彩图集：拼贴宫格，首格跨 2×2 ---------- */
.gallery-grid { gap: 14px; grid-template-columns: repeat(4, 1fr); }
.gallery-item { border-radius: 8px; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-mask { background: rgba(110,27,23,.28); }

/* ---------- 列表页：页头渐变 / 筛选胶囊 / 分页金 ---------- */
.page-head { background: linear-gradient(135deg, #6E1B17 0%, #9E2B25 60%, #A87822 100%); }
.page-head h1 { font-family: var(--serif); letter-spacing: 3px; font-size: 32px; }
.filter-bar a {
  border-radius: 30px; border: 1px solid #E6D7B8; background: #fff;
  color: #5C5147; padding: 8px 18px; font-size: 14px;
}
.filter-bar a:hover { border-color: #E3BC62; color: #A87822; }
.filter-bar a.active { background: #9E2B25; border-color: #9E2B25; color: #fff; }
.pager a:hover { border-color: #C89434; color: #A87822; }
.pager .active a { background: #C89434; border-color: #C89434; color: #fff; }

/* ---------- 图片视频页：仅类型切换，规整四列方卡 ---------- */
.chip-type {
  padding: 10px 28px; border-radius: 30px; border: 1px solid #E6D7B8;
  background: #fff; color: #5C5147; font-size: 15px; transition: .2s;
}
.chip-type:hover { border-color: #E3BC62; color: #A87822; }
.chip-type.active { background: #9E2B25; border-color: #9E2B25; color: #fff; }
.media-gallery { grid-template-columns: repeat(4, 1fr); }
.media-gallery .gallery-item:first-child { grid-column: auto; grid-row: auto; }
@media (max-width: 900px) { .media-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .media-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 分页：金白方块（上一页 ‹ / 序号 / 下一页 ›） ---------- */
.pager { margin: 34px 0 10px; }
.pager ul { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.pager li { list-style: none; }
.pager a, .pager .dots {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; font-size: 15px;
  background: #fff; border: 1px solid #E6D7B8; color: #5C5147;
  transition: .2s; min-width: 42px; padding: 0;
}
.pager a:hover { border-color: #C89434; color: #A87822; background: #FBF6EA; }
.pager li.active a { background: #C89434; border-color: #C89434; color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(200,148,52,.3); }
.pager .dots { border: none; background: transparent; color: #B9A987; cursor: default; }
.pager-prev a, .pager-next a { font-size: 20px; line-height: 1; color: #A87822; }

/* ---------- 响应式：攻略行保持图标块，图集降列 ---------- */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .guide-row { flex-direction: row; }
  .guide-thumb, .guide-thumb img { flex: 0 0 52px; width: 52px; height: 52px; }
  .section-title { font-size: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ---------- 手机端导航：设计稿顶部下拉全宽菜单（无遮罩/无关闭钮，汉堡再点收起） ---------- */
.nav-mask, .nav-close { display: none !important; }
body.nav-lock { overflow: auto; }

@media (max-width: 768px) {
  .site-header { position: relative; z-index: 130; }
  .logo { gap: 9px; }
  .logo .seal { width: 38px; height: 38px; flex-basis: 38px; }
  .logo .seal svg { width: 23px; height: 23px; }
  .logo-text b { font-size: 17px; letter-spacing: 1px; }
  .logo-text small { font-size: 10px; letter-spacing: 2px; }
  .nav-toggle {
    display: grid; place-items: center; order: 3; flex: 0 0 auto;
    width: 42px; height: 42px; background: rgba(255,255,255,.08);
    border: 1px solid rgba(227,188,98,.6); border-radius: 10px; cursor: pointer; padding: 0;
  }
  /* 默认隐藏，.open 时从顶栏下方展开为全宽竖排菜单（不透明朱红面板，覆盖基础抽屉残留） */
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; bottom: auto;
    width: auto; height: auto; transform: none; overflow: visible;
    flex-direction: column; gap: 0; padding: 10px 20px 16px;
    background: linear-gradient(180deg, #7E211C 0%, #8E2620 100%);
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
    z-index: 130;
  }
  .main-nav.open { display: flex; transform: none; }
  .main-nav a {
    display: block; padding: 14px 8px; font-size: 16px; color: #F3E7D6;
    border-bottom: 1px solid rgba(227,188,98,.16); border-radius: 0; white-space: normal;
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a:hover { background: rgba(227,188,98,.12); color: #fff; }
  .main-nav a.active { background: transparent; color: #F0DC9E; font-weight: 600; }
  .main-nav a.active::after { left: 8px; right: auto; width: 26px; }
  .header-search { order: 2; flex: 1; min-width: 0; }
  .header-search input { width: 100%; }
}
@media (max-width: 480px) {
  .header-search { display: none; }
}

/* ===== 景点详情页：妈祖主题（设计稿右信息卡布局） ===== */
.breadcrumb { color: #8a7a63; }
.breadcrumb a { color: #8a7a63; }
.breadcrumb a:hover { color: #9E2B25; }

.detail-banner { padding: 42px 0 36px; }
.detail-banner .breadcrumb { color: #F0DC9E; font-size: 13px; }
.detail-banner .breadcrumb a { color: #F3E7D6; }
.detail-banner h1 { font-family: var(--serif); font-size: 32px; letter-spacing: 3px; color: #fff; margin: 10px 0 8px; }
.detail-banner p { color: #F0DC9E; font-size: 15px; letter-spacing: 1px; }

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.detail-main { min-width: 0; }

.detail-hero { border-radius: 18px; box-shadow: 0 10px 30px rgba(110,27,23,.16); margin-bottom: 24px; }
.detail-hero .detail-title {
  background: linear-gradient(transparent 28%, rgba(80,18,15,.82));
  padding: 64px 28px 22px;
}
.detail-title h1 { font-family: var(--serif); font-size: 32px; letter-spacing: 2px; color: #fff; }
.detail-title p { color: #F0DC9E; font-size: 15px; letter-spacing: 1px; }

.detail-body {
  background: #fff; border: 1px solid #E6D7B8; border-radius: 16px; padding: 30px;
  box-shadow: 0 6px 22px rgba(110,27,23,.08); line-height: 1.9; color: #3d352e;
}
.detail-body h2, .detail-body h3 { color: #8E2620; font-family: var(--serif); }
.detail-body p { margin-bottom: 12px; color: #5C5147; }

.info-panel {
  background: #fff; border: 1px solid #E6D7B8; border-radius: 16px; padding: 22px;
  box-shadow: 0 6px 22px rgba(110,27,23,.08); height: fit-content; position: sticky; top: 16px;
}
.info-panel h3 {
  font-size: 18px; color: #8E2620; font-family: var(--serif);
  margin-bottom: 14px; display: flex; align-items: center; gap: 9px;
}
.info-panel h3::before {
  content: ""; width: 6px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, #E3BC62, #C89434);
}
.info-row {
  display: flex; justify-content: space-between; gap: 14px; padding: 10px 0;
  border-bottom: 1px dashed #E6D7B8; font-size: 14px;
}
.info-row span { color: #8a7a63; }
.info-row b { color: #2E2823; font-weight: 600; text-align: right; }

.map-box { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid #E6D7B8; background: #EAF2F1; }
.map-box .w-map { border-radius: 12px; overflow: hidden; }
.map-fallback { padding: 18px; font-size: 13px; color: #164247; }
.w-map-meta { padding: 8px 12px; font-size: 12px; color: #5C5147; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.weather-card {
  margin-top: 16px; background: linear-gradient(135deg, #2E7D82, #164247);
  color: #fff; border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 14px;
}
.weather-card .w-ico { flex: 0 0 auto; display: grid; place-items: center; }
.weather-card [data-weather] { font-size: 14px; line-height: 1.5; }

.widget-title { color: #8E2620 !important; }
.widget-title::before { background: linear-gradient(180deg, #E3BC62, #C89434) !important; }

.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.rel-grid .panel {
  background: #fff; border: 1px solid #E6D7B8; border-radius: 16px; padding: 20px;
  box-shadow: 0 6px 22px rgba(110,27,23,.08);
}
.panel h3 { color: #8E2620; font-family: var(--serif); }
.panel h3::after { background: linear-gradient(90deg, #E3BC62, #C89434) !important; }
.side-links a:hover { color: #A87822 !important; }
.hot-list li::before { background: rgba(200,148,52,.14); color: #A87822; }
.hot-list li:nth-child(-n+3)::before { background: #9E2B25 !important; color: #fff; }

.tag { background: rgba(158,43,37,.08); color: #9E2B25; border: 1px solid rgba(200,148,52,.35); margin: 0 8px 8px 0; }

/* 攻略详情 */
.guide-meta { display: flex; gap: 18px; color: #A87822; font-size: 13px; margin-bottom: 16px; letter-spacing: .5px; }
.guide-cover { width: 100%; border-radius: 12px; margin-bottom: 22px; object-fit: cover; }
.info-panel .side-panel { background: #F7F1E3; border: 1px solid #E6D7B8; box-shadow: none; padding: 16px; margin-top: 16px; border-radius: 12px; }
.info-panel .side-panel h3 { font-size: 16px; margin-bottom: 10px; }
.info-panel .side-panel .hot-list li, .info-panel .side-panel .side-links li { border-bottom: 1px dashed #E6D7B8; }

/* 线路详情：游览顺序图片卡片 */
.route-sub { font-family: var(--serif); font-size: 20px; color: #9E2B25; border-left: 4px solid #C89434; padding-left: 12px; margin: 28px 0 16px; }
.route-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; position: relative; }
.route-step { display: flex; gap: 16px; align-items: stretch; cursor: default; }
.route-step-no {
  flex: 0 0 38px; height: 38px; border-radius: 50%; align-self: flex-start; margin-top: 6px;
  background: linear-gradient(135deg, #9E2B25, #7E211C); color: #F0DC9E;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px;
  box-shadow: 0 3px 10px rgba(158,43,37,.3);
}
.route-step-card {
  flex: 1; display: flex; gap: 18px; align-items: stretch; background: #FBF6EA; border: 1px solid #E6D7B8;
  border-radius: 14px; padding: 16px; box-shadow: 0 4px 14px rgba(110,27,23,.06); transition: box-shadow .2s, transform .2s;
}
.route-step-card:hover { box-shadow: 0 8px 22px rgba(110,27,23,.12); transform: translateY(-2px); }
.route-step-img { width: 210px; height: 138px; object-fit: cover; border-radius: 10px; flex: 0 0 210px; align-self: center; }
.route-step-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.route-step-info b { font-family: var(--serif); font-size: 18px; color: #7E211C; }
.route-step-info p { font-size: 14px; color: #5C5147; line-height: 1.7; margin: 0; }
.route-step-info p.route-step-hint { color: #9A8E7C; font-size: 13px; }
.route-step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.route-step-actions .btn { margin: 0; }
.route-step-link { font-size: 14px; color: #9E2B25; text-decoration: none; font-weight: 600; }
.route-step-link:hover { color: #C89434; }
@media (max-width: 640px) {
  .route-step-card { flex-direction: column; }
  .route-step-img { width: 100%; height: 168px; flex: none; align-self: auto; }
  .route-step-info { justify-content: flex-start; }
}

@media (max-width: 900px) {
  body { overflow-x: hidden; }
  .detail-grid { display: block; }
  .detail-main, .detail-body { min-width: 0; max-width: 100%; }
  .detail-body { padding: 18px; }
  .guide-cover { max-width: 100%; height: auto; }
  .rich-text { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
  .rich-text img { max-width: 100%; height: auto; }
  .guide-meta { flex-wrap: wrap; gap: 10px; }
  .info-panel { position: static; display: block; max-width: 100%; min-width: 0; margin-top: 24px; padding: 18px; }
  .info-panel .side-panel { width: 100%; max-width: 100%; }
  .info-row { flex-direction: column; gap: 2px; }
  .info-row b { text-align: left; word-break: break-word; overflow-wrap: break-word; }
  .rel-grid { grid-template-columns: 1fr; }
}
