/* 海角社区 HAI JIAO - 全站样式 */
:root {
  --brand-blue: #1677EE;
  --bright-blue: #3395FF;
  --deep-blue: #075FC6;
  --dark-blue: #08488D;
  --navy: #0A315E;
  --footer-bg: #071D37;
  --main-bg: #FFFFFF;
  --light-bg: #F7FAFF;
  --soft-blue: #EDF5FF;
  --pale-blue: #E5F1FF;
  --title: #16243A;
  --body: #3C485A;
  --secondary: #6B7787;
  --muted: #929BA8;
  --white: #FFFFFF;
  --light-text: #DCEEFF;
  --border: rgba(22,119,238,0.12);
  --dark-border: rgba(255,255,255,0.12);
  --shadow: 0 12px 34px rgba(30,72,120,0.08);
  --brand-shadow: 0 14px 40px rgba(22,119,238,0.14);
  --btn-gradient: linear-gradient(135deg,#3998FF 0%,#1677EE 55%,#075FC6 100%);
  --max-w: 1320px;
  --content-w: 1100px;
  --article-w: 780px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--main-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--deep-blue); }
a:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}

.brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--title);
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--body);
  border-radius: 8px;
  min-height: 44px;
  position: relative;
  white-space: nowrap;
}

.desktop-nav a:hover {
  color: var(--brand-blue);
  background: var(--soft-blue);
}

.desktop-nav a.active {
  color: var(--brand-blue);
  background: var(--pale-blue);
  font-weight: 500;
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--brand-blue);
  border-radius: 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions a,
.header-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--body);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.header-actions a:hover,
.header-actions button:hover {
  color: var(--brand-blue);
  background: var(--soft-blue);
}

.btn-app {
  background: var(--btn-gradient) !important;
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-weight: 500;
}

.btn-app:hover {
  opacity: 0.92;
  color: var(--white) !important;
}

/* 手机顶部 */
.mobile-top {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 16px;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mobile-top .brand img { height: 30px; }
.mobile-top .brand-text { font-size: 16px; }

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--title);
  cursor: pointer;
  border-radius: 8px;
}

.icon-btn:hover { background: var(--soft-blue); color: var(--brand-blue); }

/* ========== Mega Menu / 频道抽屉 ========== */
.mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,29,55,0.45);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s, visibility .25s;
}

.mega-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(920px, 100%);
  height: 100%;
  background: var(--main-bg);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}

.mega-panel.open {
  transform: translateX(0);
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--main-bg);
  z-index: 2;
}

.mega-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mega-brand img { height: 32px; object-fit: contain; }
.mega-brand span { font-size: 17px; font-weight: 600; color: var(--title); }

.mega-close {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--soft-blue);
  border-radius: 10px;
  cursor: pointer;
  font-size: 22px;
  color: var(--title);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-body {
  padding: 28px 32px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mega-col h3 {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mega-col a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--title);
  border-bottom: 1px solid transparent;
  min-height: 44px;
  line-height: 1.4;
}

.mega-col a:hover {
  color: var(--brand-blue);
  border-bottom-color: var(--border);
}

/* 搜索面板 */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--main-bg);
  z-index: 1300;
  padding: 24px;
  box-shadow: var(--shadow);
  transform: translateY(-100%);
  transition: transform .28s ease;
  visibility: hidden;
  pointer-events: none;
}

.search-panel.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.search-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-inner input {
  flex: 1;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 18px;
  font-size: 16px;
  color: var(--title);
  background: var(--light-bg);
}

.search-inner input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(22,119,238,0.15);
}

.search-close {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--soft-blue);
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  color: var(--title);
}

/* 手机底部导航 */
.mobile-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  z-index: 900;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  color: var(--secondary);
  min-height: 44px;
  padding: 6px 0;
}

.mobile-bottom a.active {
  color: var(--brand-blue);
  font-weight: 500;
}

.mobile-bottom .ico {
  font-size: 20px;
  line-height: 1;
}

/* ========== 主内容 ========== */
main {
  min-height: 60vh;
  padding-bottom: 40px;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 520px;
  background: linear-gradient(135deg, #0A315E 0%, #1677EE 50%, #3395FF 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  line-height: 1.25;
}

.hero-content p {
  font-size: 18px;
  color: var(--light-text);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--brand-blue);
  font-size: 16px;
  font-weight: 600;
  border-radius: 28px;
  box-shadow: var(--brand-shadow);
  min-height: 48px;
}

.hero-cta:hover {
  background: var(--soft-blue);
  color: var(--deep-blue);
}

/* 四格入口 */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: -40px auto 48px;
  max-width: var(--max-w);
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.nav-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow);
}

.nav-card h3 {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 8px;
}

.nav-card p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.5;
}

/* 通用区块 */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--light-bg);
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-desc {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 32px;
  max-width: 640px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header .more {
  font-size: 14px;
  color: var(--brand-blue);
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card-body {
  padding: 20px 22px 24px;
}

.card-body h3 {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-body p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.65;
}

.card-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* 今日值得看 布局 */
.featured-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.featured-main {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.featured-main .media-slot {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #E5F1FF, #F7FAFF);
}

.featured-main .card-body {
  flex: 1;
  padding: 24px 28px;
}

.featured-main h2 {
  font-size: 22px;
  color: var(--title);
  margin-bottom: 12px;
  line-height: 1.35;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-side .card {
  flex: 1;
}

.featured-short {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.short-item {
  background: var(--soft-blue);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
}

.short-item h4 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 6px;
}

.short-item p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.5;
}

/* 城市生活 图文 */
.city-feature {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

.city-feature-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #EDF5FF, #E5F1FF);
  border: 1px solid var(--border);
}

.city-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-feature-text h2 {
  font-size: 28px;
  color: var(--title);
  margin-bottom: 16px;
}

.city-feature-text p {
  font-size: 16px;
  color: var(--body);
  margin-bottom: 14px;
  line-height: 1.75;
}

/* 时间板 */
.time-boards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.time-board {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-blue);
}

.time-board h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 12px;
}

.time-board p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}

/* 路线结构 */
.route-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.route-step {
  text-align: center;
  padding: 20px 12px;
  background: var(--soft-blue);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.route-step .num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.route-step h4 {
  font-size: 15px;
  color: var(--title);
  margin-bottom: 6px;
}

.route-step p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.5;
}

/* 兴趣墙 */
.interest-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.interest-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}

.interest-item:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow);
}

.interest-item h3 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 6px;
}

.interest-item p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.45;
}

/* 经验列表 */
.exp-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.exp-item {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid var(--border);
}

.exp-item h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 10px;
}

.exp-item p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
}

/* 文化专题 */
.culture-list article {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.culture-list article:last-child { border-bottom: none; }

.culture-list h3 {
  font-size: 20px;
  color: var(--title);
  margin-bottom: 10px;
}

.culture-list p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  max-width: 820px;
}

/* 故事 */
.story-main {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.story-main h2 {
  font-size: 24px;
  color: var(--title);
  margin-bottom: 16px;
}

.story-main p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 12px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.story-card {
  background: var(--white);
  border-radius: 12px;
  padding: 22px;
  border: 1px solid var(--border);
}

.story-card h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 8px;
}

.story-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}

/* 热议主题 */
.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.topic-item {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-blue);
}

.topic-item h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 8px;
}

.topic-item p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
}

/* 指南 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
}

.guide-card h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}

/* 影集 */
.album-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.media-slot {
  background: linear-gradient(145deg, #E5F1FF 0%, #F7FAFF 100%);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
}

.media-slot.wide {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
}

.media-slot.mid {
  aspect-ratio: 4/3;
}

.media-slot.small {
  aspect-ratio: 1/1;
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(7,29,55,0.75));
  color: var(--white);
  font-size: 14px;
}

/* 脉搏 */
.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pulse-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.pulse-tag {
  flex-shrink: 0;
  font-size: 12px;
  padding: 4px 10px;
  background: var(--pale-blue);
  color: var(--deep-blue);
  border-radius: 6px;
  font-weight: 500;
}

.pulse-item p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
}

/* APP 区域 */
.app-section {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
  background: var(--navy);
  border-radius: 20px;
  padding: 48px;
  color: var(--white);
}

.app-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--white);
}

.app-section p {
  font-size: 16px;
  color: var(--light-text);
  line-height: 1.75;
  margin-bottom: 12px;
}

.app-preview-image {
  max-height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-preview-image img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
}

/* 安全深蓝 */
.security-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
}

.security-box h2 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 16px;
}

.security-box p,
.security-box li {
  color: var(--light-text);
  font-size: 15px;
  line-height: 1.7;
}

.security-box ul {
  margin: 16px 0 0 20px;
}

.security-box li { margin-bottom: 10px; }

/* 隐私 */
.privacy-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.privacy-box h3 {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 10px;
}

.privacy-box p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* 页脚 */
.site-footer {
  background: var(--footer-bg);
  color: var(--light-text);
  padding: 56px 0 32px;
  margin-top: 60px;
  border-top: 1px solid rgba(220,238,255,0.15);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 36px;
  object-fit: contain;
}

.footer-brand .name {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.footer-brand .en {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}

.footer-desc {
  font-size: 14px;
  color: var(--light-text);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0.9;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-cols h4 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-cols a {
  display: block;
  font-size: 14px;
  color: var(--light-text);
  padding: 6px 0;
  min-height: 36px;
  opacity: 0.85;
}

.footer-cols a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* 内页通用 */
.page-hero {
  background: var(--light-bg);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 38px;
  color: var(--title);
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-hero .lead {
  font-size: 17px;
  color: var(--secondary);
  max-width: 680px;
  line-height: 1.65;
}

.page-content {
  padding: 48px 0 60px;
}

.article-body {
  max-width: var(--article-w);
  margin: 0 auto;
}

.article-body h2 {
  font-size: 24px;
  color: var(--title);
  margin: 36px 0 14px;
}

.article-body h3 {
  font-size: 19px;
  color: var(--title);
  margin: 28px 0 10px;
}

.article-body p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin: 12px 0 20px 24px;
}

.article-body li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* FAQ */
details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--title);
  cursor: pointer;
  list-style: none;
  min-height: 52px;
  display: flex;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  color: var(--brand-blue);
}

details[open] summary::after { content: "−"; }

details p {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  min-height: 44px;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--white);
}

.btn-primary:hover {
  opacity: 0.9;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
}

.btn-outline:hover {
  background: var(--soft-blue);
}

/* 响应式 */
@media (max-width: 1280px) {
  .container { padding: 0 20px; }
  .hero-content h1 { font-size: 42px; }
  .section-title { font-size: 28px; }
  .city-feature { gap: 28px; }
  .app-section { padding: 36px; }
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .header-actions .btn-app { display: none; }
  .site-header { display: none; }
  .mobile-top { display: flex; }
  .mobile-bottom { display: flex; }
  main { padding-bottom: 80px; }

  .mega-body { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
  .nav-grid { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .featured-layout { grid-template-columns: 1fr; }
  .featured-short { grid-template-columns: 1fr; }
  .city-feature { grid-template-columns: 1fr; }
  .city-feature-image { order: -1; max-height: 320px; }
  .time-boards { grid-template-columns: repeat(2, 1fr); }
  .route-steps { grid-template-columns: repeat(3, 1fr); }
  .interest-wall { grid-template-columns: repeat(3, 1fr); }
  .exp-list { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .topic-list { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .album-layout { grid-template-columns: 1fr 1fr; }
  .media-slot.wide { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }
  .app-section { grid-template-columns: 1fr; text-align: center; }
  .app-preview-image img { max-width: 280px; max-height: 400px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 32px; }
}

@media (max-width: 768px) {
  .hero-banner { aspect-ratio: 16/10; max-height: 380px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 15px; }
  .nav-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nav-card { padding: 20px 16px; min-height: 120px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .time-boards { grid-template-columns: 1fr; }
  .route-steps { grid-template-columns: repeat(2, 1fr); }
  .interest-wall { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .story-main { padding: 24px 20px; }
  .app-section { padding: 28px 20px; }
  .security-box { padding: 28px 20px; }
  .mega-body { grid-template-columns: 1fr; }
  .page-hero { padding: 36px 0 28px; }
  .page-hero h1 { font-size: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 28px; }
  .nav-grid { margin-top: -24px; }
  .interest-wall { grid-template-columns: 1fr 1fr; gap: 10px; }
  .interest-item { padding: 14px 12px; }
  .interest-item h3 { font-size: 15px; }
  .footer-cols { grid-template-columns: 1fr; }
  .route-steps { grid-template-columns: 1fr 1fr; }
}

/* 工具类 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
