/*
 * 香港升学指南 · 公共样式
 * 修改位置索引见《手动修改指南.md》。每条属性独占一行。
 * 同一选择器可能在文件后方的手机／平板规则里再次出现，修改后请一并核对。
 */

/* ===== 01 品牌颜色与字体｜常用修改：酒红色 --elg-wine、正文色 --elg-ink、背景 --elg-paper ===== */
:root {
  --elg-wine: #872d2f;
  --elg-wine-dark: #6c2225;
  --elg-blue: #6691bb;
  --elg-ink: #242d37;
  --elg-muted: #646d77;
  --elg-line: #e6e6e4;
  --elg-paper: #f8f7f4;
  --elg-serif: Georgia, 'Songti SC', 'STSong', serif;
}
/* ===== 02 基础排版与通用容器｜字体、字号、页面宽度与区块间距 ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
.elg-page,
.elg-header,
.elg-footer {
  font-family: 'Noto Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--elg-ink);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.elg-page *,
.elg-header *,
.elg-footer * {
  box-sizing: border-box;
}
.elg-page a,
.elg-header a,
.elg-footer a {
  color: inherit;
  text-decoration: none;
}
.elg-page img,
.elg-header img {
  display: block;
  max-width: 100%;
  height: auto;
}
.elg-page h1,
.elg-page h2,
.elg-page h3,
.elg-page p,
.elg-page ul,
.elg-page ol,
.elg-page figure {
  margin: 0;
}
.elg-page h1,
.elg-page h2,
.elg-page h3 {
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--elg-ink);
}
.elg-page h2 {
  font-size: 34px;
}
.elg-page h3 {
  font-size: 21px;
}
.elg-page button,
.elg-header button {
  font: inherit;
  cursor: pointer;
}
.elg-page a:focus-visible,
.elg-header a:focus-visible,
.elg-header button:focus-visible,
.elg-page summary:focus-visible {
  outline: 3px solid var(--elg-blue);
  outline-offset: 5px;
}
.elg-wrap {
  width: min(1160px, calc(100% - 64px));
  margin: auto;
}
.elg-kicker {
  display: block;
  color: var(--elg-wine);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 13px;
  text-transform: uppercase;
}
.elg-section {
  padding: 76px 0;
}
.elg-section--paper {
  background: var(--elg-paper);
}
.elg-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.elg-section-heading p {
  font-size: 15px;
  color: var(--elg-muted);
  max-width: 365px;
}
/* ===== 03 按钮与文字链接｜颜色、尺寸、悬停及箭头 ===== */
.elg-page .elg-button,
.elg-header .elg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 10px 28px;
  border: 1px solid transparent;
  border-radius: 28px;
  background: var(--elg-wine);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.elg-page .elg-button:hover,
.elg-header .elg-button:hover {
  background: var(--elg-wine-dark);
  transform: translateY(-1px);
}
.elg-page .elg-button--white {
  background: #fff;
  color: var(--elg-wine);
}
.elg-page .elg-button--white:hover {
  background: #f3efea;
}
.elg-page .elg-button--outline {
  border-color: #ffffff8c;
  background: transparent;
  color: #fff;
}
.elg-page .elg-button--outline:hover {
  background: #ffffff15;
}
.elg-arrow {
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
  display: inline-block;
}
.elg-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--elg-wine) !important;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #872d2f55;
  padding-bottom: 3px;
}
.elg-text-link:hover {
  border-color: var(--elg-wine);
}
/* ===== 04 网站页眉与导航｜电脑下拉菜单、标志、手机菜单 ===== */
.elg-header {
  height: 88px;
  position: relative;
  background: #fff;
  z-index: 20;
  border-bottom: 1px solid #e6e6e4;
}
.elg-header-inner {
  width: min(1160px, calc(100% - 64px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}
.elg-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.elg-brand img {
  width: 88px;
  height: 45px;
  object-fit: contain;
}
.elg-brand-label {
  font-size: 13px;
  line-height: 1.5;
  border-left: 1px solid #d9d9d9;
  padding-left: 15px;
  color: #596474;
}
.elg-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-color: #ffffff22;
  background: transparent;
  color: #fff;
}
.elg-header--overlay .elg-brand-label {
  color: #fff;
  border-color: #ffffff55;
}
.elg-header:not(.elg-header--overlay) .elg-brand img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(27%) saturate(2107%) hue-rotate(316deg)
    brightness(90%) contrast(91%);
}
.elg-desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  white-space: nowrap;
}
.elg-nav-item {
  position: relative;
  padding: 29px 0;
}
.elg-nav-item--active:after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--elg-wine);
}
.elg-header--overlay .elg-nav-item--active:after {
  background: #fff;
}
.elg-nav-group {
  position: relative;
}
.elg-dropdown {
  display: none;
  position: absolute;
  top: 50px;
  left: -20px;
  background: #fff;
  color: var(--elg-ink);
  box-shadow: 0 8px 32px #00000015;
  padding: 10px;
  min-width: 230px;
  border-top: 3px solid var(--elg-wine);
}
.elg-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
}
.elg-dropdown a:hover {
  color: var(--elg-wine);
  background: var(--elg-paper);
}
.elg-nav-group:hover .elg-dropdown,
.elg-nav-group:focus-within .elg-dropdown {
  display: block;
}
.elg-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  color: inherit;
}
.elg-menu-toggle svg {
  display: block;
  width: 26px;
  height: 26px;
}
.elg-mobile-nav {
  padding: 14px 24px 22px;
  background: #fff;
  border-bottom: 1px solid var(--elg-line);
  color: var(--elg-ink);
  box-shadow: 0 12px 20px #0000000d;
}
.elg-mobile-nav[hidden] {
  display: none;
}
.elg-mobile-nav a {
  display: block;
  padding: 10px 5px;
  font-size: 15px;
}
.elg-skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: #fff;
  color: var(--elg-wine);
  padding: 12px 18px;
}
.elg-skip:focus {
  top: 12px;
}
/* ===== 05 指南首屏｜背景图片、标题、简介与主按钮 ===== */
.elg-hero {
  min-height: 485px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #446d8b;
  padding: 130px 0 64px;
  text-align: center;
  color: #fff;
}
.elg-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}
.elg-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #19344891, #14354967 58%, #16364a83);
}
.elg-hero .elg-wrap {
  position: relative;
  z-index: 1;
}
.elg-hero .elg-kicker {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 15px;
}
.elg-hero h1 {
  font-size: 58px;
  color: #fff;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 19px;
}
.elg-hero p {
  font-size: 17px;
  line-height: 1.9;
  color: #f7f7f8;
  max-width: 670px;
  margin: auto;
}
.elg-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 29px;
}
/* ===== 06 面包屑导航｜首页／指南／当前页面 ===== */
.elg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--elg-muted);
  padding: 20px 0;
  border-bottom: 1px solid var(--elg-line);
}
.elg-breadcrumb a:hover {
  color: var(--elg-wine);
  text-decoration: underline;
}
.elg-breadcrumb span[aria-hidden] {
  color: #a9a9a5;
}
/* ===== 07 旧版路径样式留存｜当前指南没有使用；保留以兼容既有代码 ===== */
.elg-paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--elg-line);
  border-bottom: 1px solid var(--elg-line);
}
.elg-path {
  padding: 30px 25px 30px 0;
  position: relative;
}
.elg-path + .elg-path {
  padding-left: 27px;
  border-left: 1px solid var(--elg-line);
}
.elg-path-no {
  font: italic 29px var(--elg-serif);
  color: #b3a599;
  display: block;
  margin-bottom: 18px;
}
.elg-path h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.elg-path p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--elg-muted);
  min-height: 78px;
  margin-bottom: 20px;
}
.elg-path .elg-text-link {
  font-size: 13px;
  border: 0;
}
/* ===== 08 首篇推荐与分类标签｜图文布局、标题、简介及日期 ===== */
.elg-feature {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: stretch;
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--elg-line);
}
.elg-feature-picture {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.elg-feature-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s;
}
.elg-feature:hover .elg-feature-picture img {
  transform: scale(1.025);
}
.elg-image-caption {
  position: absolute;
  bottom: 15px;
  left: 18px;
  color: #fff;
  background: #2030409c;
  font-size: 11px;
  padding: 2px 10px;
  letter-spacing: 0.05em;
}
.elg-feature-copy {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.elg-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.elg-tag {
  font-size: 11px;
  color: var(--elg-wine);
  border: 1px solid #e8d9d7;
  border-radius: 3px;
  padding: 3px 10px;
  background: #fff;
}
.elg-feature h3 {
  font-size: 28px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.elg-feature h3 a:hover {
  color: var(--elg-wine);
}
.elg-feature p {
  color: var(--elg-muted);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.elg-meta {
  font-size: 12px;
  color: var(--elg-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 18px;
}
.elg-feature .elg-text-link {
  align-self: flex-start;
  margin-top: 24px;
}
/* ===== 09 申请准备清单｜四项提示 ===== */
.elg-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 65px;
  list-style: none;
  padding: 0;
}
.elg-check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 19px;
  border-top: 1px solid var(--elg-line);
  padding: 25px 0;
}
.elg-check-no {
  font: italic 24px var(--elg-serif);
  color: var(--elg-wine);
  flex-shrink: 0;
  padding-top: 3px;
}
.elg-check-grid h3 {
  font-size: 19px;
  margin-bottom: 7px;
}
.elg-check-grid p {
  font-size: 14px;
  color: var(--elg-muted);
  line-height: 1.9;
}
/* ===== 10 折叠问答样式留存｜仅在对应问答结构存在时生效 ===== */
.elg-faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 80px;
}
.elg-faq-intro p {
  margin-top: 15px;
  color: var(--elg-muted);
  font-size: 15px;
}
.elg-faq details {
  border-top: 1px solid #dbddd9;
  padding: 0 2px;
}
.elg-faq details:last-child {
  border-bottom: 1px solid #dbddd9;
}
.elg-faq summary {
  list-style: none;
  font-weight: 500;
  padding: 21px 34px 21px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.7;
}
.elg-faq summary::-webkit-details-marker {
  display: none;
}
.elg-faq summary:after {
  content: '+';
  position: absolute;
  right: 5px;
  top: 20px;
  color: var(--elg-wine);
  font-size: 22px;
  font-weight: 400;
}
.elg-faq details[open] summary:after {
  content: '−';
}
.elg-faq details p {
  padding: 0 28px 24px 0;
  font-size: 14px;
  color: var(--elg-muted);
  line-height: 1.95;
}
.elg-faq details p a {
  color: var(--elg-wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* ===== 11 咨询横幅｜文案、按钮及背景 ===== */
.elg-cta {
  background: var(--elg-wine);
  color: #fff;
  padding: 47px 0;
}
.elg-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.elg-cta h2 {
  font-size: 29px;
  color: #fff;
  margin-bottom: 9px;
}
.elg-cta p {
  font-size: 14px;
  color: #f2dfdc;
  max-width: 700px;
}
.elg-cta .elg-button {
  flex-shrink: 0;
}
/* ===== 12 网站页脚｜地址、邮箱及版权 ===== */
.elg-footer {
  padding: 36px 0;
  background: #f3f3f2;
  color: #62656a;
  font-size: 12px;
  text-align: center;
}
.elg-footer p {
  margin: 0 0 5px;
}
.elg-footer a:hover {
  color: var(--elg-wine);
}
/* ===== 13 文章标题区｜标题、导语及核对日期 ===== */
.elg-article-head {
  background: var(--elg-paper);
  padding: 0 0 47px;
}
.elg-article-head .elg-breadcrumb {
  border-bottom: 0;
  padding: 23px 0 31px;
}
.elg-article-head-inner {
  max-width: 900px;
  margin: auto;
}
.elg-article-head .elg-tags {
  margin-bottom: 19px;
}
.elg-article-head h1 {
  font-size: 43px;
  line-height: 1.5;
  margin-bottom: 23px;
  letter-spacing: 0.015em;
}
.elg-article-head .elg-intro {
  font-size: 16px;
  color: #555e68;
  line-height: 2;
  margin: 22px 0 0;
}
/* ===== 14 文章阅读布局与目录｜正文宽度、侧栏及当前章节 ===== */
.elg-reading-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 780px);
  gap: 60px;
  align-items: start;
  padding: 48px 0 64px;
}
.elg-toc {
  position: sticky;
  top: 26px;
  border: 1px solid var(--elg-line);
  border-top: 3px solid var(--elg-wine);
  padding: 24px 20px;
  background: #fff;
}
.elg-toc h2 {
  font-size: 16px;
  margin-bottom: 15px;
}
.elg-toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}
.elg-toc li {
  margin: 10px 0;
  counter-increment: toc;
  font-size: 13px;
  line-height: 1.8;
}
.elg-toc li a {
  display: flex;
  gap: 8px;
  color: #65707b;
}
.elg-toc li a:before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--elg-serif);
  color: #a0a2a4;
  font-size: 13px;
}
.elg-toc li a:hover,
.elg-toc li a.is-active {
  color: var(--elg-wine);
}
.elg-toc .elg-toc-contact {
  border-top: 1px solid var(--elg-line);
  margin-top: 20px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--elg-muted);
}
.elg-toc-contact a {
  color: var(--elg-wine);
  font-weight: 600;
  display: block;
  margin-top: 7px;
}
/* ===== 15 文章正文与摘要｜段落、标题、行距及三个要点 ===== */
.elg-prose {
  font-size: 16px;
  line-height: 2.05;
  min-width: 0;
}
.elg-prose > section {
  margin-top: 43px;
  scroll-margin-top: 30px;
}
.elg-prose h2 {
  font-size: 26px;
  line-height: 1.65;
  margin-bottom: 19px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--elg-line);
}
.elg-prose h3 {
  font-size: 19px;
  margin: 26px 0 12px;
}
.elg-prose p + p {
  margin-top: 17px;
}
.elg-prose p strong {
  font-weight: 600;
}
.elg-prose sup {
  font-size: 11px;
  line-height: 1;
  margin-left: 4px;
}
.elg-prose sup a {
  color: var(--elg-wine);
  text-decoration: underline;
}
.elg-summary {
  background: #faf4f0;
  border-left: 3px solid var(--elg-wine);
  padding: 24px 28px;
  margin-bottom: 30px;
}
.elg-summary h2 {
  font-size: 19px;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  color: var(--elg-wine);
}
.elg-summary ul {
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.95;
}
.elg-summary li + li {
  margin-top: 8px;
}
/* ===== 16 正文配图、表格及流程｜图片比例、图注和表格边线 ===== */
.elg-reading-photo {
  margin: 31px 0 !important;
}
.elg-reading-photo img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.elg-reading-photo figcaption {
  font-size: 11px;
  color: #737a80;
  line-height: 1.7;
  margin-top: 8px;
}
.elg-table-wrap {
  overflow: auto;
  margin: 23px 0;
  border: 1px solid var(--elg-line);
}
.elg-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}
.elg-table th,
.elg-table td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--elg-line);
}
.elg-table thead th {
  background: #f5f4f1;
  color: #4d5660;
  font-weight: 600;
}
.elg-table tbody th {
  font-weight: 600;
  min-width: 115px;
  background: #fbfaf8;
}
.elg-table tr:last-child td,
.elg-table tr:last-child th {
  border-bottom: 0;
}
.elg-table th:first-child {
  width: 20%;
}
.elg-flow {
  display: grid;
  grid-template-columns: 1fr 35px 1fr 35px 1fr;
  align-items: center;
  padding: 22px 18px;
  background: var(--elg-paper);
  margin: 24px 0;
}
.elg-flow-step {
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}
.elg-flow-step b {
  display: block;
  font-size: 17px;
  color: var(--elg-wine);
  margin-bottom: 6px;
}
.elg-flow-arrow {
  text-align: center;
  color: #aaa097;
  font-size: 24px;
}
.elg-stage-note {
  font-size: 12px !important;
  color: var(--elg-muted);
  margin-top: 10px !important;
}
.elg-timeline {
  list-style: none;
  padding: 0 !important;
  border-left: 1px solid #ddceca;
  margin: 25px 0 0 8px !important;
}
.elg-timeline li {
  position: relative;
  padding: 0 0 26px 26px;
  font-size: 15px;
  line-height: 2;
}
.elg-timeline li:last-child {
  padding-bottom: 0;
}
.elg-timeline li:before {
  content: '';
  position: absolute;
  left: -5px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--elg-wine);
}
/* ===== 17 文章来源与返回入口｜来源链接、更新时间及底部入口 ===== */
.elg-source-box {
  background: var(--elg-paper);
  padding: 25px 28px;
  margin-top: 38px;
}
.elg-source-box h2 {
  font-size: 20px;
}
.elg-source-box p,
.elg-source-box li {
  font-size: 13px;
  color: #636b74;
  line-height: 1.95;
}
.elg-source-box ol {
  padding-left: 20px;
  margin-top: 15px;
}
.elg-source-box li {
  padding: 5px 0;
  overflow-wrap: anywhere;
  scroll-margin-top: 45px;
}
.elg-source-box a {
  color: var(--elg-wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.elg-source-note {
  margin-top: 15px !important;
  border-top: 1px solid #e1dfdb;
  padding-top: 13px;
}
.elg-prose .elg-article-faq h2 {
  font-size: 24px;
}
.elg-article-faq .elg-faq summary {
  font-size: 15px;
}
.elg-back {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--elg-line);
  padding-top: 28px;
  margin-top: 36px;
  font-size: 14px;
}
/* ===== 18 WordPress 主题兼容｜仅作用于指南页面 ===== */
.elg-wp-page #content {
  padding: 0;
  background: #fff;
}
.elg-wp-page #content > .ast-container {
  max-width: none;
  width: 100%;
  padding: 0;
  display: block;
}
.elg-wp-page .elg-hero {
  padding-top: 68px;
  min-height: 405px;
}
.elg-wp-page #primary {
  margin: 0;
  width: 100%;
  border: 0;
  padding: 0;
}
.elg-wp-page .site-content .elg-wrap {
  width: min(1160px, calc(100% - 64px));
  margin: auto;
}
.elg-wp-page #masthead .main-header-menu > .menu-item > a {
  font-size: 14px;
}
/* ===== 19 响应式：大屏（1500px 起） ===== */
@media (min-width: 1500px) {
  .elg-hero {
    min-height: 530px;
  }
}
/* ===== 20 响应式：平板（1050px 以下）｜覆盖前面的默认样式 ===== */
@media (max-width: 1050px) {
  .elg-desktop-nav {
    gap: 19px;
  }
  .elg-brand-label {
    display: none;
  }
  .elg-header-inner {
    gap: 15px;
  }
  .elg-wrap {
    width: calc(100% - 48px);
  }
  .elg-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .elg-section-heading p {
    max-width: 580px;
  }
  .elg-reading-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 35px;
  }
  .elg-article-head h1 {
    font-size: 38px;
  }
  .elg-faq-layout {
    gap: 45px;
  }
  .elg-path p {
    min-height: 103px;
  }
  .elg-feature {
    grid-template-columns: 1fr;
  }
  .elg-feature-picture {
    min-height: 320px;
  }
  .elg-feature-copy {
    padding: 30px;
  }
  .elg-feature h3 {
    font-size: 25px;
  }
}
/* ===== 21 响应式：手机（760px 以下）｜手机字号、留白与列数 ===== */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 22px;
  }
  .elg-header {
    height: 74px;
  }
  .elg-header-inner {
    width: calc(100% - 40px);
  }
  .elg-brand img {
    width: 76px;
    height: 40px;
  }
  .elg-brand-label {
    display: block;
    font-size: 11px;
    padding-left: 12px;
  }
  .elg-desktop-nav {
    display: none;
  }
  .elg-menu-toggle {
    display: block;
  }
  .elg-wrap,
  .elg-wp-page .site-content .elg-wrap {
    width: calc(100% - 40px);
  }
  .elg-section {
    padding: 48px 0;
  }
  .elg-page h2 {
    font-size: 27px;
  }
  .elg-hero {
    min-height: 440px;
    padding: 112px 0 49px;
  }
  .elg-hero > img {
    object-position: 54% 50%;
  }
  .elg-hero h1 {
    font-size: 39px;
    letter-spacing: 0.03em;
    margin-bottom: 17px;
  }
  .elg-hero .elg-kicker {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .elg-hero p {
    font-size: 14px;
    max-width: 330px;
    line-height: 1.95;
  }
  .elg-hero-actions {
    gap: 10px;
    margin-top: 26px;
  }
  .elg-page .elg-button {
    min-height: 44px;
    font-size: 13px;
    padding: 10px 19px;
    gap: 10px;
  }
  .elg-section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .elg-section-heading p {
    margin-top: 13px;
    font-size: 14px;
  }
  .elg-breadcrumb {
    font-size: 11px;
    padding: 17px 0;
    gap: 8px;
  }
  .elg-paths {
    grid-template-columns: 1fr 1fr;
  }
  .elg-path {
    padding: 23px 18px 25px 0;
  }
  .elg-path + .elg-path {
    padding: 23px 0 25px 19px;
  }
  .elg-path:nth-child(3) {
    padding-left: 0;
    padding-right: 18px;
    border-left: 0;
    border-top: 1px solid var(--elg-line);
  }
  .elg-path:nth-child(4) {
    border-top: 1px solid var(--elg-line);
  }
  .elg-path-no {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .elg-path h3 {
    font-size: 18px;
  }
  .elg-path p {
    font-size: 12px;
    min-height: 88px;
    margin-bottom: 11px;
  }
  .elg-path .elg-text-link {
    font-size: 12px;
    gap: 6px;
  }
  .elg-feature {
    grid-template-columns: 1fr;
  }
  .elg-feature-picture {
    min-height: 225px;
  }
  .elg-feature-copy {
    padding: 25px;
  }
  .elg-feature h3 {
    font-size: 23px;
  }
  .elg-feature p {
    font-size: 14px;
  }
  .elg-feature .elg-meta {
    font-size: 11px;
  }
  .elg-feature .elg-text-link {
    margin-top: 21px;
  }
  .elg-check-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .elg-check-grid li {
    padding: 20px 0;
  }
  .elg-check-grid h3 {
    font-size: 18px;
  }
  .elg-check-grid p {
    font-size: 13px;
  }
  .elg-faq-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .elg-faq-intro p {
    font-size: 14px;
  }
  .elg-faq summary {
    font-size: 14px;
    padding: 19px 31px 19px 0;
  }
  .elg-faq details p {
    font-size: 13px;
  }
  .elg-cta {
    padding: 35px 0;
  }
  .elg-cta-inner {
    display: block;
  }
  .elg-cta h2 {
    font-size: 24px;
  }
  .elg-cta p {
    font-size: 13px;
  }
  .elg-cta .elg-button {
    margin-top: 22px;
  }
  .elg-footer {
    padding: 28px 0;
    font-size: 11px;
  }
  .elg-footer p {
    margin-bottom: 9px;
  }
  .elg-article-head {
    padding-bottom: 31px;
  }
  .elg-article-head .elg-breadcrumb {
    padding: 19px 0 26px;
  }
  .elg-article-head h1 {
    font-size: 29px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .elg-article-head .elg-intro {
    font-size: 14px;
    line-height: 1.95;
    margin-top: 19px;
  }
  .elg-meta {
    font-size: 11px;
    gap: 6px 12px;
  }
  .elg-tag {
    font-size: 10px;
    padding: 2px 8px;
  }
  .elg-reading-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0 42px;
  }
  .elg-toc {
    position: static;
    padding: 18px 20px;
  }
  .elg-toc h2 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .elg-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .elg-toc li {
    font-size: 11px;
    margin: 6px 0;
  }
  .elg-toc .elg-toc-contact {
    display: none;
  }
  .elg-prose {
    font-size: 15px;
    line-height: 2.05;
  }
  .elg-prose h2 {
    font-size: 22px;
    margin-bottom: 17px;
    padding-bottom: 12px;
  }
  .elg-prose > section {
    margin-top: 33px;
  }
  .elg-summary {
    padding: 20px;
  }
  .elg-summary h2 {
    font-size: 18px;
  }
  .elg-summary ul {
    font-size: 14px;
    padding-left: 18px;
  }
  .elg-reading-photo {
    margin: 25px 0 !important;
  }
  .elg-table {
    font-size: 12px;
  }
  .elg-table th,
  .elg-table td {
    padding: 12px 10px;
  }
  .elg-table tbody th {
    min-width: 75px;
  }
  .elg-flow {
    grid-template-columns: 1fr 23px 1fr 23px 1fr;
    padding: 18px 10px;
  }
  .elg-flow-step {
    font-size: 11px;
  }
  .elg-flow-step b {
    font-size: 14px;
  }
  .elg-flow-arrow {
    font-size: 20px;
  }
  .elg-timeline li {
    font-size: 14px;
    padding-left: 22px;
  }
  .elg-source-box {
    padding: 20px;
  }
  .elg-source-box h2 {
    font-size: 19px;
  }
  .elg-source-box p,
  .elg-source-box li {
    font-size: 12px;
  }
  .elg-back {
    font-size: 12px;
    gap: 15px;
  }
  .elg-article-faq .elg-faq summary {
    font-size: 14px;
  }
  .elg-prose .elg-article-faq h2 {
    font-size: 22px;
  }
  .elg-wp-page .elg-hero {
    padding-top: 45px;
    min-height: 350px;
  }
}
/* ===== 22 减少动画｜跟随访客的系统设置 ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .elg-page * {
    transition: none !important;
  }
}
/* ===== 23 打印样式｜打印时隐藏导航与咨询区 ===== */
@media print {
  .elg-header,
  .elg-footer,
  .elg-toc,
  .elg-cta,
  .elg-back,
  .elg-hero-actions {
    display: none !important;
  }
  .elg-reading-layout {
    display: block;
    width: 100%;
    padding: 0;
  }
  .elg-article-head {
    background: none;
  }
  .elg-page h1 {
    font-size: 28px;
  }
  .elg-prose {
    font-size: 12px;
  }
  .elg-prose section {
    break-inside: avoid;
  }
  .elg-faq details p {
    display: block;
  }
  .elg-summary,
  .elg-source-box {
    background: none;
    border: 1px solid #bbb;
  }
  .elg-wrap {
    width: 100%;
  }
}
/* 文章目录与可直接访问的分页链接样式。 */
/* ===== 24 家长20问置顶入口｜数字、问题说明、快捷链接及按钮 ===== */
.elg-faq-spot {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 32px 35px;
  margin: 34px 0 0;
  background: #faf5f1;
  border: 1px solid #ebdcd6;
  border-left: 4px solid var(--elg-wine);
}
.elg-faq-spot-number {
  font: italic 76px/1 var(--elg-serif);
  color: var(--elg-wine);
  text-align: center;
}
.elg-faq-spot h2 {
  font-size: 25px;
  margin-bottom: 7px;
}
.elg-faq-spot p {
  font-size: 14px;
  color: var(--elg-muted);
  line-height: 1.85;
}
.elg-faq-spot .elg-kicker {
  margin-bottom: 7px;
  font-size: 11px;
}
.elg-faq-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin-top: 13px;
  font-size: 12px;
  color: var(--elg-wine);
}
.elg-faq-shortcuts a:hover {
  text-decoration: underline;
}
/* ===== 25 文章列表标题与总数 ===== */
.elg-catalogue-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 35px 0 18px;
}
.elg-catalogue-heading h3 {
  font-size: 21px;
}
.elg-catalogue-heading span {
  font-size: 12px;
  color: var(--elg-muted);
}
/* ===== 26 文章卡片｜网格、标题、简介、核对日期及阅读入口 ===== */
.elg-article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.elg-article-card {
  border: 1px solid var(--elg-line);
  background: #fff;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.elg-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.elg-card-top .elg-tag {
  font-size: 11px;
}
.elg-card-number {
  font: italic 23px var(--elg-serif);
  color: #aaa195;
}
.elg-article-card h3 {
  font-size: 21px;
  line-height: 1.65;
  margin-bottom: 13px;
}
.elg-article-card h3 a:hover {
  color: var(--elg-wine);
}
.elg-article-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--elg-muted);
  margin-bottom: 23px;
}
.elg-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
}
.elg-card-bottom time {
  font-size: 11px;
  color: var(--elg-muted);
}
.elg-card-bottom .elg-text-link {
  font-size: 13px;
}
/* ===== 27 列表翻页｜页码、当前页及禁用状态 ===== */
.elg-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.elg-pagination a,
.elg-pagination > span {
  min-width: 41px;
  height: 41px;
  border: 1px solid #dedbd5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  font-size: 13px;
  background: #fff;
}
.elg-pagination a:hover {
  border-color: var(--elg-wine);
  color: var(--elg-wine);
}
.elg-pagination [aria-current='page'] {
  background: var(--elg-wine);
  color: #fff;
  border-color: var(--elg-wine);
}
.elg-pagination [aria-disabled='true'] {
  color: #a4a5a6;
  background: #f5f4f1;
}
/* ===== 28 相关阅读｜文章列表及编号 ===== */
.elg-related {
  border-top: 1px solid var(--elg-line);
  padding-top: 28px;
  margin-top: 40px;
}
.elg-related h2 {
  font-size: 23px;
}
.elg-related ul {
  list-style: none;
  padding: 0;
}
.elg-related li {
  border-bottom: 1px solid var(--elg-line);
  padding: 13px 0;
}
.elg-related a {
  display: flex;
  gap: 14px;
  font-size: 14px;
  line-height: 1.85;
}
.elg-related a:hover {
  color: var(--elg-wine);
}
.elg-related a > span:first-child {
  font: italic 18px var(--elg-serif);
  color: #a49489;
  padding-top: 4px;
  flex-shrink: 0;
}
/* ===== 29 上一篇与下一篇｜文章底部导航 ===== */
.elg-article-neighbours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 27px;
}
.elg-article-neighbours a {
  display: block;
  font-size: 13px;
  line-height: 1.85;
}
.elg-article-neighbours a:hover {
  color: var(--elg-wine);
}
.elg-article-neighbours small {
  display: block;
  color: #84888b;
  font-size: 11px;
  margin-bottom: 5px;
}
.elg-article-neighbours a:last-child {
  text-align: right;
}
/* ===== 30 20问的快速目录与阅读侧栏高度 ===== */
.elg-question-index {
  background: var(--elg-paper);
  padding: 23px 25px;
  margin: 25px 0;
}
.elg-question-index h2 {
  font-size: 19px;
  border: 0;
  padding: 0;
  margin-bottom: 14px;
}
.elg-question-index ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
}
.elg-question-index a {
  font-size: 12px;
  color: var(--elg-muted);
  line-height: 1.8;
  display: flex;
  gap: 9px;
}
.elg-question-index a:hover {
  color: var(--elg-wine);
}
.elg-question-index a b {
  font-family: var(--elg-serif);
  color: var(--elg-wine);
  font-weight: 400;
}
.elg-toc {
  max-height: calc(100vh - 52px);
  overflow-y: auto;
}
/* ===== 31 文章列表与20问：平板覆盖（1050px 以下） ===== */
@media (max-width: 1050px) {
  .elg-faq-spot {
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 22px;
    padding: 27px;
  }
  .elg-faq-spot-number {
    font-size: 65px;
  }
  .elg-faq-spot > .elg-button {
    grid-column: 2;
    justify-self: start;
  }
  .elg-faq-spot h2 {
    font-size: 23px;
  }
  .elg-article-card {
    padding: 25px;
  }
  .elg-article-card h3 {
    font-size: 20px;
  }
}
/* ===== 32 文章列表与20问：手机覆盖（760px 以下） ===== */
@media (max-width: 760px) {
  .elg-faq-spot {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 17px;
    padding: 23px 20px;
    margin-top: 24px;
  }
  .elg-faq-spot-number {
    font-size: 48px;
  }
  .elg-faq-spot h2 {
    font-size: 20px;
  }
  .elg-faq-spot p {
    font-size: 12px;
  }
  .elg-faq-spot .elg-kicker {
    font-size: 10px;
  }
  .elg-faq-shortcuts {
    font-size: 11px;
    gap: 7px 14px;
  }
  .elg-faq-spot > .elg-button {
    grid-column: 1/-1;
    justify-self: start;
    margin-left: 65px;
  }
  .elg-catalogue-heading {
    margin-top: 27px;
    gap: 15px;
  }
  .elg-catalogue-heading h3 {
    font-size: 18px;
  }
  .elg-catalogue-heading span {
    font-size: 11px;
  }
  .elg-article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .elg-article-card {
    padding: 23px;
  }
  .elg-article-card h3 {
    font-size: 20px;
  }
  .elg-article-card p {
    font-size: 13px;
  }
  .elg-pagination {
    gap: 7px;
  }
  .elg-pagination a,
  .elg-pagination > span {
    min-width: 36px;
    height: 38px;
    font-size: 12px;
    padding: 0 10px;
  }
  .elg-related h2 {
    font-size: 21px;
  }
  .elg-related a {
    font-size: 13px;
  }
  .elg-article-neighbours {
    gap: 18px;
  }
  .elg-article-neighbours a {
    font-size: 12px;
  }
  .elg-question-index {
    padding: 20px;
  }
  .elg-question-index ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .elg-question-index a {
    font-size: 12px;
  }
  .elg-toc {
    max-height: none;
    overflow: visible;
  }
}
/* ===== 33 补充细节：核对日期、标题换行及窄屏按钮 ===== */
.elg-card-bottom > span {
  font-size: 11px;
  color: var(--elg-muted);
}
.elg-page h1,
.elg-page h2,
.elg-page h3 {
  text-wrap: balance;
}
@media (max-width: 360px) {
  .elg-hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

.elg-card-title-lead,
.elg-card-title-detail {
  display: block;
  text-wrap: initial;
}

/* ===== 34 项目、托管服务与年度案例｜2026-10-27 ===== */
.elg-updates { padding: 42px 0; }
.elg-update-heading { margin-bottom: 24px; }
.elg-update-heading h2 { font-size: 30px; margin-bottom: 10px; }
.elg-update-heading p { color: var(--elg-muted); }
.elg-update-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.elg-update-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--elg-paper); border-top: 3px solid var(--elg-wine); transition: background .15s; }
.elg-update-card:hover { background: #f0ece7; }
.elg-update-card h3 { margin-bottom: 12px; font-size: 22px; }
.elg-update-card p { margin-bottom: 24px; color: var(--elg-muted); }
.elg-update-card .elg-text-link { margin-top: auto; color: var(--elg-wine); }
.elg-update-hero { background: var(--elg-paper); padding: 48px 0; }
.elg-update-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.elg-update-hero h1 { font-family: var(--elg-serif); font-size: clamp(32px, 4vw, 48px); max-width: 650px; }
.elg-update-hero p { margin: 22px 0 30px; font-size: 18px; max-width: 530px; color: var(--elg-muted); }
.elg-update-hero figure img { width: 100%; max-height: 340px; object-fit: cover; }
.elg-update-hero figcaption { font-size: 12px; margin-top: 8px; color: var(--elg-muted); }
.elg-update-hero--brochure figure { display: flex; flex-direction: column; align-items: center; }
.elg-update-hero--brochure figure img { width: auto; max-height: 390px; box-shadow: 0 10px 32px #242d3718; }
.elg-update-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 24px 0; border-bottom: 1px solid var(--elg-line); font-weight: 600; color: var(--elg-wine); }
.elg-update-section { padding: 48px 0; border-bottom: 1px solid var(--elg-line); scroll-margin-top: 35px; }
.elg-update-section h2 { font-family: var(--elg-serif); margin-bottom: 24px; font-size: 32px; }
.elg-update-section > p { margin: 16px 0; max-width: 960px; }
.elg-update-section > p a { color: var(--elg-wine); text-decoration: underline; text-underline-offset: 4px; }
.elg-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 26px 0; }
.elg-detail-box { background: var(--elg-paper); padding: 28px; }
.elg-detail-box h3 { margin-bottom: 12px; }
.elg-detail-box p { color: var(--elg-muted); }
.elg-update-note { background: #f4f1ed; border-left: 3px solid var(--elg-wine); padding: 20px 24px; margin: 24px 0; }
.elg-update-page .elg-table { min-width: 520px; width: 100%; font-size: 15px; }
.elg-update-page .elg-table th { background: var(--elg-paper); text-align: left; }
.elg-update-page .elg-table td:first-child { min-width: 150px; }
.elg-update-list { padding-left: 24px; }
.elg-update-list li { margin: 10px 0; }
.elg-inline-actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 26px; }
.elg-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; align-items: start; }
.elg-case { padding: 27px; border: 1px solid var(--elg-line); border-top: 3px solid var(--elg-wine); scroll-margin-top: 50px; }
.elg-case:target { background: #fcf8f1; outline: 2px solid var(--elg-wine); outline-offset: 5px; }
.elg-case h3 { margin-bottom: 16px; }
.elg-case-destination { font-size: 19px; font-weight: 600; color: var(--elg-wine); }
.elg-case-start { font-size: 14px; color: var(--elg-muted); margin: 14px 0 !important; }
.elg-case-highlight { display: inline-block; padding: 4px 10px; background: var(--elg-paper); font-size: 13px; margin: 8px 0 20px; }
.elg-case details { border-top: 1px solid var(--elg-line); padding-top: 15px; }
.elg-case summary { cursor: pointer; color: var(--elg-wine); font-size: 14px; }
.elg-case details p { margin-top: 18px; font-size: 15px; }
.elg-evidence, .elg-case details .elg-evidence { font-size: 13px; color: var(--elg-muted); }
.elg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--elg-line); margin: 28px 0; }
.elg-stats > div { background: var(--elg-paper); padding: 25px; display: flex; flex-direction: column; }
.elg-stats strong { font-size: 50px; font-family: Georgia, serif; color: var(--elg-wine); line-height: 1.2; }
.elg-stats span { margin-top: 12px; font-size: 14px; }
.elg-update-contact { border-top: 1px solid var(--elg-line); padding: 45px 0 70px; }
.elg-update-contact p { margin: 16px 0 24px; }
@media (max-width: 1000px) {
 .elg-update-grid, .elg-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .elg-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .elg-update-hero-grid { gap: 32px; }
}
@media (max-width: 640px) {
 .elg-updates { padding: 32px 0; }
 .elg-update-grid, .elg-case-grid, .elg-detail-grid, .elg-update-hero-grid { grid-template-columns: 1fr; }
 .elg-update-card, .elg-case, .elg-detail-box { padding: 23px; }
 .elg-update-heading h2, .elg-update-section h2, .elg-update-contact h2 { font-size: 26px; }
 .elg-update-hero { padding: 32px 0; }
 .elg-update-hero h1 { font-size: 34px; }
 .elg-update-hero p { font-size: 16px; }
 .elg-update-hero figure img { max-height: 240px; }
 .elg-update-hero--brochure figure img { max-height: 310px; }
 .elg-update-section { padding: 34px 0; }
 .elg-update-nav { gap: 12px 22px; font-size: 14px; }
 .elg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .elg-stats strong { font-size: 42px; }
 .elg-stats > div { padding: 22px; }
 .elg-update-note { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .elg-update-card { transition: none; }
}

.elg-update-hero--brochure h1 { font-size: clamp(30px, 3.4vw, 44px); text-wrap: initial; }
.elg-update-hero--brochure h1 span { display: block; }
@media (min-width: 641px) {
 #why .elg-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
