/* 海角社区 HAI JIAO - 全站样式 */
:root {
  --brand-blue: #1677EE;
  --bright-blue: #3395FF;
  --deep-blue: #075FC6;
  --dark-blue: #08488D;
  --navy: #0A315E;
  --footer-bg: #071D37;
  --white: #FFFFFF;
  --bg-light: #F7FAFF;
  --bg-blue: #EDF5FF;
  --bg-soft: #E5F1FF;
  --title: #16243A;
  --text: #3C485A;
  --text-sec: #6B7787;
  --text-muted: #929BA8;
  --text-light: #DCEEFF;
  --border: rgba(22,119,238,0.12);
  --border-dark: rgba(255,255,255,0.12);
  --shadow: 0 12px 34px rgba(30,72,120,0.08);
  --shadow-brand: 0 14px 40px rgba(22,119,238,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1320px;
  --content: 1100px;
  --article: 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(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
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);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  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);
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--title);
}

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

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

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

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

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

.nav-desktop a.active {
  color: var(--brand-blue);
  background: var(--bg-soft);
  font-weight: 600;
}

.nav-desktop a.active::after {
  content: "";
  position: absolute;
  bottom: 8px;
  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-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

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

.header-actions .btn-app {
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  color: #fff !important;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 600;
}

.header-actions .btn-app:hover {
  opacity: 0.92;
  color: #fff !important;
}

.menu-btn {
  display: none;
}

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

.mobile-header .brand img { height: 30px; }
.mobile-header .brand-name { font-size: 16px; }

.mobile-header button {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--title);
  font-size: 20px;
}

/* ===== 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-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(920px, 100%);
  height: 100%;
  background: var(--white);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mega-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}

.mega-header .brand img { height: 32px; }

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

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

.mega-col h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mega-col a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  min-height: 44px;
  line-height: 1.4;
}

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

/* 搜索面板 */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  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-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

.search-form input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-light);
  outline: none;
}

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

.search-form button {
  height: 48px;
  padding: 0 24px;
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.search-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-blue);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--title);
}

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

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 7;
  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: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-content p {
  font-size: 18px;
  color: #DCEEFF;
  line-height: 1.6;
  margin-bottom: 28px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  text-decoration: none;
}

.btn:hover { opacity: 0.92; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-brand);
}

.btn-secondary {
  background: rgba(255,255,255,0.18);
  color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}

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

.btn-outline:hover {
  background: var(--bg-blue);
  color: var(--deep-blue);
}

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

.entry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
}

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

.entry-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--brand-blue);
}

.entry-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 6px;
}

.entry-card p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.5;
}

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

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

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

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

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

.section-header .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue);
  white-space: nowrap;
}

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

.featured-main {
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.featured-main .body {
  padding: 24px;
}

.featured-main h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 10px;
  line-height: 1.4;
}

.featured-main p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

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

.featured-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: border-color .2s;
}

.featured-item:hover { border-color: rgba(22,119,238,0.3); }

.featured-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 6px;
  line-height: 1.4;
}

.featured-item p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

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

.featured-short a {
  display: block;
  padding: 16px;
  background: var(--bg-blue);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--title);
  line-height: 1.45;
  transition: background .2s;
}

.featured-short a:hover {
  background: var(--bg-soft);
  color: var(--brand-blue);
}

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

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

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

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

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

/* 周末四段 */
.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.time-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.time-card .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

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

.time-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

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

.interest-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  transition: border-color .2s, background .2s;
  text-decoration: none;
  color: inherit;
}

.interest-item:hover {
  border-color: rgba(22,119,238,0.35);
  background: var(--bg-blue);
}

.interest-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 4px;
}

.interest-item p {
  font-size: 13px;
  color: var(--text-sec);
}

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

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

.exp-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 8px;
  line-height: 1.4;
}

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

/* 文化观察 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.culture-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .2s;
}

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

.culture-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--bg-soft);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.culture-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 10px;
  line-height: 1.4;
}

.culture-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

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

.story-main h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 14px;
}

.story-main p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 10px;
}

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

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

.story-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 8px;
  line-height: 1.4;
}

.story-card p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
}

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

.topic-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}

.topic-item:hover { border-color: rgba(22,119,238,0.35); }

.topic-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topic-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 4px;
  line-height: 1.4;
}

.topic-item p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.5;
}

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

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

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

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

/* 影集媒体槽 */
.album-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.media-slot {
  background: linear-gradient(145deg, #EDF5FF 0%, #F7FAFF 60%, #E5F1FF 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  min-height: 120px;
}

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

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

.media-slot .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(7,29,55,0.72));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* 社区脉搏 */
.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: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.pulse-item .dot {
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.pulse-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 4px;
}

.pulse-item p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* APP 区 */
.app-section {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

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

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

.app-text h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 14px;
}

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

.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 28px;
}

.app-features li {
  list-style: none;
  font-size: 14px;
  color: var(--text);
  padding: 8px 12px;
  background: var(--bg-blue);
  border-radius: 6px;
}

/* 安全深蓝区 */
.security-block {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
}

.security-block h2 {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.security-block p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 10px;
}

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

.security-list li {
  list-style: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* 隐私区 */
.privacy-block {
  background: var(--white);
  border: 1px solid rgba(22,119,238,0.2);
  border-radius: var(--radius);
  padding: 36px;
}

.privacy-block h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 14px;
}

.privacy-block p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.privacy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.privacy-tags span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-blue);
  background: var(--bg-soft);
  padding: 6px 14px;
  border-radius: 20px;
}

/* 页内通用 */
.page-hero {
  background: linear-gradient(135deg, #0A315E 0%, #08488D 100%);
  padding: 56px 0 48px;
  color: #fff;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.6;
}

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

.page-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--title);
  margin: 36px 0 16px;
  line-height: 1.3;
}

.page-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--title);
  margin: 28px 0 12px;
}

.page-content p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.page-content ul, .page-content ol {
  margin: 12px 0 20px 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.page-content li { margin-bottom: 6px; }

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

/* FAQ */
.faq-list details {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 0;
}

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

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

.faq-list summary::before {
  content: "+";
  margin-right: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 18px;
}

.faq-list details[open] summary::before { content: "−"; }

.faq-list details p {
  padding: 0 20px 18px 44px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
  object-fit: contain;
}

.footer-brand .name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.footer-brand .en {
  font-size: 12px;
  color: rgba(220,238,255,0.6);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(220,238,255,0.75);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(220,238,255,0.7);
  padding: 6px 0;
  min-height: 36px;
  line-height: 1.4;
}

.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(220,238,255,0.5);
}

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

.mobile-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 48px;
  font-size: 11px;
  color: var(--text-sec);
  gap: 2px;
  font-weight: 500;
}

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

.mobile-tabbar .icon {
  font-size: 20px;
  line-height: 1;
}

/* 工具类 */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ===== 响应式 ===== */
@media (max-width: 1279px) {
  .entry-grid { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .interest-wall { grid-template-columns: repeat(4, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .header-actions .btn-app { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header { display: none; }
  .mobile-header { display: flex; }
  .mega-body { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 36px; }
  .featured-layout { grid-template-columns: 1fr; }
  .city-feature { grid-template-columns: 1fr; gap: 24px; }
  .city-feature-image { order: -1; }
  .time-grid { grid-template-columns: repeat(2, 1fr); }
  .app-section { grid-template-columns: 1fr; gap: 28px; }
  .app-preview-image img { max-height: 360px; max-width: 280px; }
  .security-list { grid-template-columns: 1fr 1fr; }
  .album-grid { grid-template-columns: 1fr 1fr; }
  .media-slot.wide { grid-row: span 1; aspect-ratio: 16/10; }
  .page-hero h1 { font-size: 32px; }
}

@media (max-width: 767px) {
  .mobile-tabbar { display: flex; }
  main { padding-bottom: 80px; }
  .hero-banner { aspect-ratio: 16/10; max-height: 380px; }
  .hero-content h1 { font-size: 30px; }
  .hero-content p { font-size: 15px; }
  .entry-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -24px; }
  .entry-card { padding: 20px 14px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .interest-wall { grid-template-columns: repeat(2, 1fr); }
  .exp-list { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .topic-list { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .time-grid { grid-template-columns: 1fr; }
  .featured-short { grid-template-columns: 1fr; }
  .security-list { grid-template-columns: 1fr; }
  .security-block { padding: 28px 20px; }
  .privacy-block { padding: 24px 18px; }
  .mega-body { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 28px; }
  .page-content h2 { font-size: 22px; }
  .app-features { grid-template-columns: 1fr; }
}

@media (max-width: 559px) {
  .container { padding: 0 16px; }
  .entry-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .section-title { font-size: 22px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* 打印与无障碍 */
@media print {
  .site-header, .mobile-header, .mobile-tabbar, .mega-menu, .mega-overlay, .search-panel { display: none !important; }
}
