/* =========================================================
   金陵中学心理健康教育中心
   经典中学校园门户风格 · 统一蓝色 · 字号统一
   ========================================================= */

:root {
  --blue: #1a4a8a;
  --blue-deep: #0f3460;
  --blue-mid: #2a6bb5;
  --blue-soft: #e8f0fa;
  --blue-line: #c5d6eb;
  --text: #333;
  --muted: #666;
  --light: #999;
  --line: #e0e0e0;
  --bg: #f5f7fa;
  --white: #fff;
  --max: 1180px;
  --fs: 15px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", SimHei, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}
img { max-width: 100%; height: auto; vertical-align: middle; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-mid); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; color: var(--text); font-size: var(--fs); line-height: 1.5; }
p { margin: 0; }
.container {
  width: 100%;
  max-width: var(--max);
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ===== 顶栏 ===== */
.site-header { background: var(--white); }
.topbar {
  background: var(--blue-deep);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  line-height: 1.4;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  overflow: hidden;
}
.topbar a { color: rgba(255,255,255,.9); flex-shrink: 0; }
.topbar a:hover { color: #fff; }
.topbar-motto {
  letter-spacing: .12em;
  opacity: .85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ===== 品牌区 ===== */
.brandbar {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.brandbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  min-width: 0;
  flex: 1;
}
.brand:hover { color: inherit; opacity: 1; }
.brand-mark { width: 58px; height: 58px; flex-shrink: 0; }
.brand-text { line-height: 1.3; min-width: 0; overflow: hidden; }
.brand-text strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: .06em;
}
.brand-text em {
  display: block;
  font-style: normal;
  font-size: 15px;
  color: var(--blue);
  margin-top: 2px;
  font-weight: 600;
}
.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--light);
  letter-spacing: .06em;
  margin-top: 3px;
}

/* 菜单按钮：用绝对定位画三条线，兼容微信浏览器（空 span 在 flex 下宽度会塌成 0） */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  width: auto;
  background-color: #0f3460;
  border-radius: 1px;
  display: block;
  -webkit-transition: .2s;
  transition: .2s;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) {
  top: 20px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) {
  top: 20px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* ===== 主导航：校门户经典蓝条 ===== */
.main-nav {
  background: var(--blue);
  box-shadow: 0 2px 6px rgba(15,52,96,.18);
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-list > li {
  position: relative;
}
.nav-list > li > a {
  display: block;
  padding: 0 22px;
  height: 48px;
  line-height: 48px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li.active > a {
  background: rgba(0,0,0,.15);
  color: #fff;
}
.sub-nav {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--blue-line);
  box-shadow: 0 6px 18px rgba(15,52,96,.12);
  z-index: 50;
}
.has-sub:hover > .sub-nav { display: block; }
.sub-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.sub-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

/* ===== 首页 Banner ===== */
.hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--blue-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,52,96,.78) 0%, rgba(15,52,96,.35) 55%, rgba(15,52,96,.15) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  color: #fff;
}
.hero-copy h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.hero-copy p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 520px;
  opacity: .92;
  margin-bottom: 22px;
}
.hero-cta {
  display: inline-block;
  width: fit-content;
  padding: 10px 28px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
}
.hero-cta:hover { background: var(--blue-soft); color: var(--blue-deep); }

/* ===== 快捷入口 ===== */
.quick-links {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.quick-links ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}
.quick-links li {
  border-right: 1px solid var(--line);
}
.quick-links li:last-child { border-right: 0; }
.quick-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 12px;
  color: var(--text);
  text-align: center;
}
.quick-links a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}
.quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quick-links strong {
  font-size: 15px;
  font-weight: 600;
  color: inherit;
}
.quick-links span:not(.quick-icon) {
  font-size: 12px;
  color: var(--light);
}

/* ===== 通用区块 ===== */
.section {
  padding: 36px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
}
.section-head h2,
.section-head h3 {
  font-size: 18px;
  color: var(--blue-deep);
  font-weight: 700;
  position: relative;
  padding-left: 12px;
}
.section-head h2::before,
.section-head h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--blue);
  border-radius: 1px;
}
.more-link {
  font-size: 14px;
  color: var(--muted);
}
.more-link:hover { color: var(--blue); }

/* ===== 首页双栏：新闻 + 公告 ===== */
.home-dual {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 20px 12px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.panel .section-head {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

/* 新闻列表（校站经典样式） */
.news-rows { }
.news-rows li {
  border-bottom: 1px dashed #e8e8e8;
}
.news-rows li:last-child { border-bottom: 0; }
.news-rows a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--text);
  min-width: 0;
  max-width: 100%;
}
.news-rows a:hover { color: var(--blue); }
.news-rows .d {
  flex-shrink: 0;
  width: 54px;
  text-align: center;
  background: var(--blue-soft);
  border-radius: 2px;
  padding: 6px 0;
  line-height: 1.2;
}
.news-rows .d strong {
  display: block;
  font-size: 18px;
  color: var(--blue);
  font-weight: 700;
}
.news-rows .d span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.news-rows h4 {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  overflow: hidden;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 公告列表 */
.notice-rows li {
  border-bottom: 1px dashed #e8e8e8;
}
.notice-rows li:last-child { border-bottom: 0; }
.notice-rows a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  color: var(--text);
  font-size: 15px;
  min-width: 0;
  max-width: 100%;
}
.notice-rows a:hover { color: var(--blue); }
.notice-rows .t {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.notice-rows .d {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--light);
}

/* ===== 服务引导条 ===== */
.service-bar {
  background: var(--blue);
  color: #fff;
  padding: 28px 0;
}
.service-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.service-bar h3 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-bar p {
  font-size: 14px;
  opacity: .88;
}
.btn-light {
  display: inline-block;
  padding: 10px 24px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  white-space: nowrap;
}
.btn-light:hover { background: var(--blue-soft); color: var(--blue-deep); }

/* ===== 图文列表 ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
.gallery-item a { color: inherit; display: block; }
.gallery-item a:hover { color: inherit; }
.gallery-item .pic {
  height: 160px;
  overflow: hidden;
  background: #ddd;
}
.gallery-item .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-item:hover .pic img { transform: scale(1.04); }
.gallery-item .body { padding: 14px 16px 16px; }
.gallery-item .tag {
  display: block;
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 6px;
}
.gallery-item h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gallery-item .excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}
.gallery-item .read {
  font-size: 13px;
  color: var(--blue);
}

/* ===== 中心简介条 ===== */
.mission {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: center;
}
.mission h2 {
  font-size: 18px;
  color: var(--blue-deep);
  line-height: 1.7;
  font-weight: 700;
  padding-right: 20px;
  border-right: 3px solid var(--blue);
}
.mission p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 12px;
}
.mission .link {
  font-size: 15px;
  color: var(--blue);
  font-weight: 600;
}

/* ===== 内页 ===== */
.page-banner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  color: #fff;
  padding: 28px 0 26px;
}
.page-banner .breadcrumb {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 8px;
}
.page-banner .breadcrumb a { color: rgba(255,255,255,.9); }
.page-banner .breadcrumb span { margin: 0 6px; opacity: .6; }
.page-banner h1 {
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
}

.page-body {
  padding: 28px 0 48px;
}
.page-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}
.page-layout.no-side { grid-template-columns: minmax(0, 1fr); }

.side-nav {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.side-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
  border-left: 3px solid transparent;
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover,
.side-nav a.active {
  background: var(--blue-soft);
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 600;
}

.content-card,
.article-shell {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 28px;
  min-height: 320px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.content-lead {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  word-break: break-word;
}

.article-list {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.article-list li {
  border-bottom: 1px dashed #e8e8e8;
  max-width: 100%;
}
.article-list a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  color: var(--text);
  font-size: 15px;
  max-width: 100%;
  min-width: 0;
}
.article-list a:hover { color: var(--blue); }
.article-list .title {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.55;
}
.article-list .date {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--light);
  white-space: nowrap;
  padding-top: 2px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.pagination a {
  padding: 6px 14px;
  border: 1px solid var(--blue-line);
  color: var(--blue);
  border-radius: 2px;
}
.pagination a:hover { background: var(--blue-soft); }
.pagination .current { color: var(--muted); }

/* 单页正文（覆盖采集内容里的宋体/字号，保证全站统一） */
.rich-page,
.rich-page p, .rich-page span, .rich-page font, .rich-page div,
.rich-page li, .rich-page td, .rich-page th,
.article-content,
.article-content p, .article-content span, .article-content font,
.article-content div, .article-content li, .article-content td, .article-content th {
  font-family: var(--font) !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
}
.rich-page {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.rich-page h1, .rich-page h2, .rich-page h3,
.rich-page h4, .rich-page h5, .rich-page h6,
.article-content h1, .article-content h2,
.article-content h3, .article-content h4 {
  font-size: 17px !important;
  margin: 1.2em 0 .6em;
  color: var(--blue-deep) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}
.rich-page p, .article-content p { margin: 0 0 1em; }
.rich-page ul, .rich-page ol,
.article-content ul, .article-content ol { margin: 0 0 1em 1.4em; list-style: disc; }
.rich-page li, .article-content li { margin: .35em 0; }

/* 采集正文里的固定宽图/表格/浮动，统一限制在容器内，防止手机横向滑动 */
.rich-page,
.article-content {
  overflow-x: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.rich-page img,
.article-content img,
.rich-page video,
.article-content video,
.rich-page iframe,
.article-content iframe,
.rich-page embed,
.article-content embed {
  display: block;
  margin: 12px auto !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  float: none !important;
}
.rich-page table,
.article-content table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px !important;
  table-layout: fixed;
  word-break: break-word;
}
.rich-page td,
.rich-page th,
.article-content td,
.article-content th {
  border: 1px solid var(--line);
  padding: 8px 10px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.rich-page p,
.rich-page div,
.rich-page span,
.article-content p,
.article-content div,
.article-content span {
  max-width: 100% !important;
  box-sizing: border-box;
}

/* 文章详情 */
.article-detail h1 {
  font-size: 20px;
  text-align: center;
  line-height: 1.55;
  margin-bottom: 14px;
  color: var(--blue-deep);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--light);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.article-content p { margin: 0 0 1em; font-size: 15px; }
.article-content h1, .article-content h2, .article-content h3,
.article-content h4 {
  font-size: 17px;
  margin: 1.2em 0 .6em;
  color: var(--blue-deep);
  word-break: break-word;
}
.article-nav {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}
.article-nav a { color: var(--blue); }

.empty-tip {
  text-align: center;
  padding: 48px 16px;
  color: var(--light);
  font-size: 15px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.78);
  margin-top: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 36px;
  padding: 36px 0 28px;
}
.footer-brand strong {
  display: block;
  font-size: 17px;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand span {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,.9);
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 13px;
  opacity: .7;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.footer-col h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 14px 0;
  font-size: 12px;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,.75); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .home-dual { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .mission { grid-template-columns: 1fr; padding: 20px; }
  .mission h2 { border-right: 0; border-bottom: 3px solid var(--blue); padding-right: 0; padding-bottom: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .side-nav {
    display: flex;
    flex-wrap: wrap;
    border: 0;
    background: transparent;
    gap: 8px;
    max-width: 100%;
  }
  .side-nav a {
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: #fff;
    padding: 8px 14px;
    border-radius: 2px;
  }
  .side-nav a.active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
  }
}

@media (max-width: 720px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-mark svg { width: 46px; height: 46px; }
  .brand-text strong { font-size: 17px; }
  .brand-text em { font-size: 13px; }
  .brand-text small { display: none; }
  .brandbar { padding: 12px 0; }
  .topbar-motto { letter-spacing: .06em; font-size: 12px; }
  .nav-toggle { display: block; flex-shrink: 0; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 90;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    overflow-x: hidden;
  }
  .main-nav.open { display: block; }
  .site-header { position: relative; overflow-x: hidden; max-width: 100%; }
  .nav-list { flex-direction: column; width: 100%; }
  .nav-list > li > a {
    height: auto;
    line-height: 1.4;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .sub-nav {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    background: rgba(0,0,0,.15);
    min-width: 0;
    width: 100%;
  }
  .has-sub.open-sub > .sub-nav { display: block; }
  .sub-nav a {
    color: rgba(255,255,255,.9);
    border-bottom-color: rgba(255,255,255,.08);
    padding-left: 32px;
  }
  .sub-nav a:hover { background: rgba(0,0,0,.2); color: #fff; }
  .hero { height: 260px; }
  .hero-copy h1 { font-size: 24px; }
  .quick-links ul { grid-template-columns: 1fr 1fr; }
  .quick-links li:nth-child(odd) { border-right: 1px solid var(--line); }
  .quick-links li:nth-child(1),
  .quick-links li:nth-child(2) { border-bottom: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-bottom .container { flex-direction: column; gap: 6px; }
  .service-bar-inner { flex-direction: column; text-align: center; }
  .content-card, .article-shell { padding: 16px 12px; }
  .article-list a {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .article-list .date { padding-top: 0; }
  .article-detail h1 { font-size: 18px; text-align: left; word-break: break-word; }
  .page-banner { overflow: hidden; }
  .page-banner h1 { font-size: 18px; word-break: break-word; }
  .page-body { padding: 16px 0 32px; overflow-x: hidden; }
  .notice-rows a { gap: 8px; }
  .notice-rows .t { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
