:root {
  --navy: #07336f;
  --blue: #087dff;
  --ink: #112744;
  --muted: #65788d;
  --line: #e8eef5;
  --radius: 10px;
  --shadow: 0 3px 16px #1a4c7e08;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #f3f8fc;
  color: var(--ink);
  font-family: "Microsoft YaHei","PingFang SC",system-ui,sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button,input,select {
  font: inherit;
}
button,a,select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
img {
  max-width: 100%;
  display: block;
}
button,input,select {
  min-width: 0;
}
a,button {
  touch-action: manipulation;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline: 3px solid #00a8ff;
  outline-offset: 4px;
}
button {
  color: inherit;
}
h1,h2,p {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
[hidden] {
  display: none!important;
}
.container {
  width: min(1280px,calc(100% - 64px));
  margin-inline: auto;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.line-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
  color: var(--navy);
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  background: linear-gradient(110deg,#064388,#063f85 60%,#083c7e);
  color: white;
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand .brand-icon {
  width: 58px;
  height: 58px;
  margin-left: -7px;
}
.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .5px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.2px;
  margin-top: 4px;
  color: #c8ddf4;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  white-space: nowrap;
}
.site-nav a {
  padding: 8px 13px;
  border-radius: 5px;
  font-weight: 600;
  transition: background .18s;
}
.site-nav a:hover {
  background: #ffffff16;
}
.site-nav a.active {
  background: linear-gradient(135deg,#04a6ff,#0879fa);
  box-shadow: 0 3px 12px #001f6726;
}
.header-search {
  display: flex;
  align-items: center;
  width: 224px;
  flex-shrink: 0;
  height: 38px;
  border: 1px solid #92c0ee60;
  border-radius: 24px;
  overflow: hidden;
}
.header-search>.line-icon {
  width: 19px;
  height: 19px;
  margin-left: 12px;
  color: #d9ecff;
}
.header-search input {
  background: none;
  border: none;
  color: white;
  padding: 0 8px;
  width: 100%;
  height: 100%;
  font-size: 12px;
  outline-offset: -4px;
}
.header-search input::placeholder {
  color: #aac6e7;
}
.header-search button {
  align-self: stretch;
  padding: 0 19px;
  background: #087bff;
  color: white;
  font-size: 13px;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
}
.hero {
  background: #d9edfc url('../images/hero-mountains-book.webp') center 55%/cover no-repeat;
  border-bottom: 1px solid #e5f2fb;
}
.hero-inner {
  min-height: 280px;
  text-align: center;
  padding-top: 38px;
  padding-bottom: 22px;
}
.hero h1 {
  font-family: "STKaiti","KaiTi","楷体","Noto Serif SC",serif;
  font-size: clamp(30px,3.4vw,50px);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 4px;
  color: #052e69;
  text-shadow: 0 1px 0 #ffffff99;
}
.hero-subtitle {
  font-size: 16px;
  letter-spacing: 3.5px;
  color: #23456c;
  margin-top: 5px;
}
.hero-search {
  display: flex;
  align-items: center;
  width: min(790px,100%);
  height: 54px;
  border: 1.5px solid #2789ff;
  background: #ffffffed;
  border-radius: 7px;
  margin: 23px auto 13px;
  box-shadow: 0 4px 20px #4d98d521;
  overflow: hidden;
}
.hero-search select {
  width: 105px;
  flex-shrink: 0;
  border: 0;
  border-right: 1px solid #e5eaf0;
  background: transparent;
  color: #34506e;
  padding: 0 17px;
  height: 32px;
  cursor: pointer;
}
.hero-search input {
  flex: 1;
  width: 100%;
  border: 0;
  padding: 0 17px;
  height: 100%;
  background: transparent;
  color: var(--ink);
  outline-offset: -5px;
}
.hero-search input::placeholder {
  color: #9299a2;
}
.hero-search button {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 35px;
  color: white;
  background: linear-gradient(115deg,#087dff,#1555d6);
  font-size: 16px;
  transition: filter .2s;
}
.hero-search button:hover {
  filter: brightness(1.1);
}
.hero-search button .line-icon {
  width: 20px;
  height: 20px;
}
.hot-search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #24476f;
}
.hot-search strong {
  font-weight: 700;
}
.hot-search button {
  background: none;
  padding: 0;
  color: #24476f;
}
.hot-search button:hover {
  color: #0075e8;
  text-decoration: underline;
}
.main-content {
  padding-top: 20px;
  padding-bottom: 20px;
}
.panel {
  border: 1px solid #eaf0f6;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.news-quick {
  display: grid;
  grid-template-columns: minmax(0,2.17fr) minmax(0,1fr);
  gap: 18px;
  align-items: stretch;
}
.news-main {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.08fr);
  overflow: hidden;
}
.feature {
  position: relative;
  min-height: 308px;
  isolation: isolate;
  overflow: hidden;
  background: #27394c;
}
.feature>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .5s;
}
.feature:hover>img {
  transform: scale(1.035);
}
.feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#071726d9,transparent 60%);
  z-index: -1;
}
.headline-label {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 20px;
  background: linear-gradient(110deg,#ff6a4a,#ff313d);
  color: white;
  padding: 3px 13px;
  font-weight: 600;
  font-size: 13px;
}
.feature-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px 18px 35px;
  color: white;
}
.feature-kicker {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #deedfa;
  margin-bottom: 7px;
}
.feature h2 {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 650;
  text-shadow: 0 1px 5px #0007;
}
.carousel-dots {
  position: absolute;
  right: 17px;
  bottom: 13px;
  display: flex;
  gap: 1px;
  z-index: 2;
}
.carousel-dots button {
  width: 20px;
  height: 20px;
  background: transparent;
  padding: 7px;
  border-radius: 50%;
}
.carousel-dots button:before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff65;
}
.carousel-dots button.selected:before {
  background: white;
}
.latest {
  padding: 16px 17px 12px;
  min-width: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.section-heading h2 {
  font-size: 19px;
  color: #101f37;
  line-height: 1.5;
  white-space: nowrap;
}
.demo-label {
  font-size: 10px;
  color: #788999;
  border: 1px solid #e6edf2;
  padding: 0 4px;
  border-radius: 3px;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  background: transparent;
  color: #657082;
  font-size: 12px;
  padding: 4px 0;
}
.more .line-icon {
  width: 13px;
  height: 13px;
}
.news-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  min-width: 0;
  border-bottom: 1px dashed #edf0f5;
}
.news-list li:last-child {
  border: 0;
}
.news-tag {
  font-size: 10px;
  line-height: 17px;
  flex-shrink: 0;
  border-radius: 3px;
  padding: 0 5px;
  color: white;
  background: #5486ff;
}
.tag-zhongkao {
  background: #3888ff;
}
.tag-topics {
  background: #e89a19;
}
.news-list a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  flex: 1;
}
.news-list a:hover {
  color: var(--blue);
}
.news-list time {
  font-size: 10px;
  color: #8b95a0;
  flex-shrink: 0;
}
.quick {
  padding: 15px 16px;
}
.section-caption {
  margin-left: auto;
  font-size: 10px;
  color: #93a1b0;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 7px;
  min-width: 0;
  min-height: 75px;
  padding: 7px 2px;
  transition: transform .18s,box-shadow .18s;
}
.quick-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px #235e9820;
}
.quick-link .icon {
  width: 34px;
  height: 34px;
}
.quick-link span {
  font-size: 11px;
  white-space: nowrap;
  color: #283346;
}
.tint-blue {
  background: #edf5ff;
}
.tint-green {
  background: #edfbf3;
}
.tint-orange {
  background: #fff6e9;
}
.tint-rose {
  background: #fff0f3;
}
.tint-purple {
  background: #f5f0ff;
}
.channel-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.channel-card {
  padding: 17px 20px 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 18px;
}
.channel-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,#ffffff 12%,#ffffffdf 62%,#ffffff38),url('../images/campus-garden.webp') right bottom/auto 100% no-repeat;
  opacity: .95;
}
.channel-card.gaokao {
  background: #e9f7ff;
}
.channel-card.zhongkao {
  background: #fff4ec;
}
.zhongkao:before {
  filter: sepia(.28);
  opacity: .7;
}
.channel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.section-illustration {
  width: 48px;
  height: 48px;
  stroke: none;
}
.channel-heading h2 {
  color: #052f70;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
}
.channel-heading p {
  font-size: 12px;
  color: #49607a;
  margin-top: 4px;
}
.zhongkao .channel-heading h2 {
  color: #90290d;
}
.channel-more {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  background: #ffffff9c;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 11px;
  color: #0865db;
  margin-left: auto;
  flex-shrink: 0;
}
.channel-more .line-icon {
  width: 12px;
  height: 12px;
}
.channel-more:hover {
  background: white;
}
.channel-grid {
  display: grid;
  gap: 10px;
}
.gaokao-grid {
  grid-template-columns: repeat(20,minmax(0,1fr));
}
.gaokao-grid .channel-tile {
  grid-column: span 4;
}
.gaokao-grid .channel-tile:nth-child(n+6) {
  grid-column: span 5;
}
.channel-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 67px;
  gap: 5px;
  border-radius: 5px;
  background: #eaf6fde6;
  transition: background .2s,transform .2s;
  min-width: 0;
}
.channel-tile .line-icon {
  color: #0785ff;
  width: 24px;
  height: 24px;
  stroke-width: 2;
}
.channel-tile span {
  font-size: 11px;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}
.channel-tile:hover {
  background: #dceeff;
  transform: translateY(-2px);
}
.zhongkao-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  max-width: 80%;
}
.zhongkao .channel-tile {
  background: #fff3eddd;
}
.zhongkao .channel-tile .line-icon {
  color: #ff684e;
}
.zhongkao .channel-tile:hover {
  background: #ffe4d8;
}
.discovery-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 17px;
}
.discovery {
  min-height: 127px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  scroll-margin-top: 20px;
}
.discovery-icon,.discovery .discovery-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  stroke: none;
}
.discovery h2 {
  font-size: 22px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.discovery p {
  font-size: 12px;
  color: #5e7479;
  line-height: 1.5;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}
.discovery button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: white;
  background: #328965;
  border-radius: 15px;
  padding: 2px 12px;
  font-size: 11px;
  margin-top: 9px;
  position: relative;
  z-index: 1;
}
.discovery button .line-icon {
  width: 11px;
  height: 11px;
}
.topics {
  background: linear-gradient(100deg,#dff5e8,#f2f9e9);
}
.topic-books {
  position: absolute;
  height: 100%;
  width: 35%;
  object-fit: cover;
  right: 0;
  top: 0;
  z-index: -1;
  opacity: .55;
  mask-image: linear-gradient(90deg,transparent,black 45%);
}
.academic {
  background: #ddf1ff;
}
.academic:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#d2ebff,#d2ebffbd 57%,#d2ebff10),url('../images/campus-garden.webp') right center/auto 100% no-repeat;
}
.academic h2 {
  color: #063c7f;
}
.academic button {
  background: #0070d9;
}
.ranking {
  background: #fff0d9;
}
.ranking:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#fff0da 52%,#fff0dac0 74%,#fff0da33),url('../images/footer-mountains.webp') right center/auto 100% no-repeat;
}
.ranking h2 {
  color: #85320f;
}
.ranking button {
  background: #cf5c32;
}
.discovery button:hover {
  filter: brightness(1.12);
}
.site-footer {
  color: #d9e7f8;
  background: #0a2445 url('../images/footer-mountains.webp') center 62%/cover no-repeat;
}
.footer-main {
  display: grid;
  grid-template-columns: 2.15fr .8fr .8fr 1.2fr;
  gap: 55px;
  padding-top: 27px;
  padding-bottom: 25px;
  min-height: 217px;
}
.footer-brand .brand-icon {
  width: 49px;
  height: 49px;
}
.footer-brand strong {
  font-size: 23px;
}
.footer-brand small {
  font-size: 8px;
  letter-spacing: 1.9px;
}
.footer-brand-block>p {
  max-width: 390px;
  font-size: 11px;
  line-height: 1.9;
  color: #b4c9e0;
  margin-top: 11px;
}
.footer-motto {
  font-size: 10px;
  color: #91b2d3;
  display: block;
  letter-spacing: 1px;
  margin-top: 12px;
}
.footer-links h2,.footer-follow h2 {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  margin: 3px 0 8px;
}
.footer-links a,.footer-links button {
  display: block;
  font-size: 11px;
  line-height: 1.9;
  background: transparent;
  padding: 0;
  color: #bdcee1;
  text-align: left;
}
.footer-links a:hover,.footer-links button:hover {
  color: white;
  text-decoration: underline;
}
.footer-follow {
  align-self: center;
  position: relative;
  padding-left: 65px;
}
.follow-mark {
  position: absolute;
  top: 5px;
  left: 0;
  display: grid;
  place-items: center;
  width: 49px;
  height: 53px;
  background: #ffffff0a;
  border: 1px solid #ffffff30;
  border-radius: 8px;
}
.follow-mark .line-icon {
  width: 34px;
  height: 34px;
  stroke: none;
}
.footer-follow h2 {
  font-size: 13px;
  white-space: nowrap;
}
.footer-follow p {
  font-size: 11px;
  color: #b9cce3;
}
.footer-follow a {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: 10px;
  color: #b8dfff;
}
.footer-follow a .line-icon {
  width: 10px;
  height: 10px;
}
.footer-bottom {
  background: #04192c72;
  border-top: 1px solid #bfdafa10;
  padding: 11px 0;
}
.footer-bottom>.container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #a0b7d0;
}
.search-results {
  padding: 20px 24px;
  margin-bottom: 18px;
  scroll-margin-top: 20px;
}
.results-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.text-button {
  background: transparent;
  color: #61788e;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  margin-left: auto;
}
.text-button .line-icon {
  width: 16px;
  height: 16px;
}
.result-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.result-item a {
  font-size: 15px;
  font-weight: 600;
  color: #0867c4;
}
.result-item p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.result-item small {
  font-size: 10px;
  color: #8c99a6;
  margin-left: 10px;
}
.empty-results {
  padding: 20px 0;
  color: var(--muted);
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  color: #2475c7;
  box-shadow: 0 4px 20px #174f7930;
  display: grid;
  place-items: center;
  border: 1px solid #dce9f4;
}
dialog {
  width: min(640px,calc(100% - 32px));
  border: 1px solid #e4edf5;
  border-radius: 16px;
  padding: 25px 30px 30px;
  box-shadow: 0 20px 80px #041b4f30;
  color: var(--ink);
  max-height: 85vh;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #071d3b8c;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dialog-eyebrow {
  color: #1774d5;
  font-size: 12px;
}
.dialog-close {
  background: #f0f5fa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.dialog-close .line-icon {
  width: 17px;
  height: 17px;
}
dialog h2 {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 18px;
}
#dialog-content p {
  font-size: 14px;
  line-height: 1.95;
  color: #52677e;
  margin: 12px 0;
}
#dialog-content .notice {
  background: #f2f7fc;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 12px;
  color: #6f8193;
}
#dialog-content ul {
  list-style: disc;
  padding-left: 22px;
  font-size: 14px;
  color: #52677e;
}
#dialog-content li {
  margin: 8px 0;
}
.dialog-link {
  display: inline-block;
  border: 0;
  color: #086bc7;
  background: #eff7ff;
  padding: 8px 16px;
  border-radius: 6px;
  margin-top: 10px;
}
.dialog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.noscript-note {
  text-align: center;
  background: #fff8df;
  padding: 16px;
}
.menu-toggle .line-icon {
  width: 24px;
  height: 24px;
}
@media (min-width:1600px) {
  .hero-inner {
    min-height: 310px;
    padding-top: 45px;
  }
  .hero-search {
    margin-top: 28px;
  }
  .main-content {
    padding-top: 24px;
  }
  .feature {
    min-height: 326px;
  }
  .news-list li {
    height: 34px;
  }
  .quick-link {
    min-height: 81px;
  }
  .channel-tile {
    min-height: 71px;
  }
}
@media (max-width:1250px) {
  .header-inner {
    gap: 18px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand .brand-icon {
    width: 52px;
    height: 52px;
  }
  .site-nav {
    gap: 2px;
  }
  .site-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }
  .header-search {
    width: 176px;
  }
  .header-search button {
    padding-inline: 12px;
  }
  .section-caption {
    display: none;
  }
  .channel-heading {
    gap: 10px;
  }
  .channel-heading h2 {
    font-size: 21px;
  }
  .channel-heading p {
    font-size: 10px;
  }
  .channel-card {
    padding: 15px;
  }
  .channel-tile span {
    font-size: 10px;
  }
  .discovery {
    padding: 16px;
    gap: 9px;
  }
  .discovery h2 {
    font-size: 20px;
  }
  .discovery p {
    font-size: 10px;
  }
  .footer-main {
    gap: 35px;
  }
  .footer-follow {
    padding-left: 0;
  }
  .follow-mark {
    display: none;
  }
}
@media (max-width:1050px) {
  .header-search {
    display: none;
  }
  .site-nav {
    justify-content: flex-end;
    gap: 14px;
  }
  .header-inner {
    gap: 25px;
  }
  .news-quick {
    grid-template-columns: minmax(0,1.9fr) minmax(0,1fr);
    gap: 14px;
  }
  .news-main {
    grid-template-columns: minmax(0,.95fr) minmax(0,1fr);
  }
  .news-list time {
    display: none;
  }
  .latest {
    padding: 14px 12px;
  }
  .news-list li {
    gap: 6px;
  }
  .demo-label {
    display: none;
  }
  .quick {
    padding: 14px 12px;
  }
  .quick-grid {
    gap: 6px;
  }
  .quick-link {
    min-height: 74px;
  }
  .quick-link span {
    font-size: 9px;
  }
  .quick-link .icon {
    width: 31px;
    height: 31px;
  }
  .channel-row {
    gap: 14px;
  }
  .section-illustration {
    width: 39px;
    height: 39px;
  }
  .channel-heading p {
    font-size: 9px;
  }
  .channel-heading h2 {
    font-size: 20px;
  }
  .channel-more {
    font-size: 10px;
    padding: 5px 6px;
  }
  .channel-grid {
    gap: 7px;
  }
  .zhongkao-grid {
    max-width: 90%;
  }
  .discovery-row {
    gap: 14px;
  }
  .discovery .discovery-icon {
    width: 47px;
    height: 47px;
  }
  .discovery h2 {
    font-size: 18px;
  }
  .footer-main {
    grid-template-columns: 1.6fr .8fr .8fr;
    gap: 40px;
  }
  .footer-follow {
    display: none;
  }
}
@media (max-width:800px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 70px;
    justify-content: space-between;
    position: relative;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand small {
    font-size: 8px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    color: white;
    background: #ffffff16;
    width: 40px;
    height: 40px;
    border-radius: 7px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: -18px;
    right: -18px;
    background: #063b7b;
    padding: 14px 18px 18px;
    z-index: 10;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    box-shadow: 0 12px 16px #09254f20;
  }
  .site-nav.is-open {
    display: grid;
  }
  .site-nav a {
    text-align: center;
    font-size: 13px;
    padding: 9px 7px;
  }
  .hero-inner {
    min-height: 260px;
    padding-top: 34px;
  }
  .hero h1 {
    font-size: 36px;
    letter-spacing: 2px;
  }
  .hero-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
  }
  .hero-search {
    max-width: 620px;
    margin-top: 22px;
  }
  .hot-search {
    gap: 10px;
    font-size: 11px;
  }
  .news-quick {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .news-main {
    grid-template-columns: 1fr 1.1fr;
  }
  .feature {
    min-height: 292px;
  }
  .latest {
    padding: 16px;
  }
  .news-list li {
    height: 30px;
  }
  .news-list time {
    display: block;
  }
  .demo-label {
    display: inline;
  }
  .quick-grid {
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 10px;
  }
  .quick {
    padding: 14px 16px 16px;
  }
  .quick-link {
    min-height: 72px;
  }
  .quick-link span {
    font-size: 11px;
  }
  .section-caption {
    display: inline;
  }
  .channel-row {
    grid-template-columns: 1fr;
  }
  .channel-card {
    padding: 17px;
  }
  .channel-heading h2 {
    font-size: 22px;
  }
  .channel-heading p {
    font-size: 12px;
  }
  .channel-heading .section-illustration {
    width: 45px;
    height: 45px;
  }
  .channel-more {
    padding: 6px 10px;
    font-size: 11px;
  }
  .channel-tile span {
    font-size: 11px;
  }
  .channel-grid {
    gap: 10px;
  }
  .zhongkao-grid {
    max-width: 86%;
  }
  .discovery-row {
    grid-template-columns: 1fr 1fr;
  }
  .discovery:last-child {
    grid-column: 1/-1;
  }
  .discovery {
    min-height: 125px;
  }
  .discovery h2 {
    font-size: 21px;
  }
  .discovery p {
    font-size: 11px;
  }
  .ranking:after {
    background-size: auto 190%;
  }
  .footer-main {
    gap: 35px;
    grid-template-columns: 1.6fr .8fr .8fr;
    padding-block: 25px;
  }
  .footer-brand strong {
    font-size: 20px;
  }
  .footer-brand .brand-icon {
    width: 45px;
    height: 45px;
  }
  .footer-brand small {
    font-size: 7px;
  }
  .footer-brand-block>p {
    font-size: 10px;
  }
  .footer-bottom>.container {
    gap: 4px;
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width:520px) {
  .container {
    width: calc(100% - 28px);
  }
  .header-inner {
    height: 66px;
  }
  .brand .brand-icon {
    width: 49px;
    height: 49px;
    margin-left: -5px;
  }
  .brand strong {
    font-size: 21px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 1.7px;
  }
  .site-nav {
    top: 66px;
    left: -14px;
    right: -14px;
    padding: 12px 14px;
  }
  .hero {
    background-position: 61% center;
  }
  .hero-inner {
    padding-top: 30px;
    min-height: 266px;
    padding-bottom: 20px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 1px;
    white-space: nowrap;
  }
  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 8px;
  }
  .hero-search {
    height: 48px;
    margin-top: 23px;
    margin-bottom: 12px;
    border-width: 1px;
  }
  .hero-search select {
    width: 66px;
    padding-left: 9px;
    padding-right: 0;
    font-size: 12px;
  }
  .hero-search input {
    padding-inline: 10px;
    font-size: 12px;
  }
  .hero-search input::placeholder {
    font-size: 11px;
  }
  .hero-search button {
    padding-inline: 15px;
    font-size: 13px;
    gap: 5px;
  }
  .hero-search button .line-icon {
    width: 17px;
    height: 17px;
  }
  .hot-search {
    font-size: 10px;
    gap: 6px 12px;
    max-width: 360px;
    margin: auto;
    line-height: 1.8;
  }
  .hot-search strong {
    display: none;
  }
  .main-content {
    padding-top: 14px;
    padding-bottom: 15px;
  }
  .news-main {
    grid-template-columns: 1fr;
  }
  .feature {
    min-height: 222px;
  }
  .feature>img {
    object-position: center 56%;
  }
  .feature-link {
    padding-bottom: 27px;
  }
  .feature h2 {
    font-size: 20px;
    line-height: 1.5;
  }
  .feature-kicker {
    font-size: 10px;
  }
  .feature .headline-label {
    top: 13px;
    left: 13px;
  }
  .latest {
    padding: 14px 16px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .news-list li {
    height: 35px;
  }
  .news-list a {
    font-size: 12px;
  }
  .news-list time {
    font-size: 10px;
  }
  .news-quick {
    gap: 14px;
  }
  .quick {
    padding: 14px 12px;
  }
  .quick-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 7px;
  }
  .quick-link {
    min-height: 73px;
  }
  .quick-link span {
    font-size: 10px;
  }
  .quick-link .icon {
    width: 34px;
    height: 34px;
  }
  .quick .section-heading {
    padding-inline: 3px;
  }
  .channel-row {
    gap: 14px;
    margin-top: 14px;
  }
  .channel-card {
    padding: 15px 12px;
  }
  .channel-heading {
    gap: 8px;
    margin-bottom: 13px;
  }
  .channel-heading .section-illustration {
    width: 38px;
    height: 38px;
  }
  .channel-heading h2 {
    font-size: 20px;
  }
  .channel-heading p {
    font-size: 10px;
  }
  .channel-more {
    padding: 5px 7px;
    font-size: 10px;
  }
  .channel-grid {
    gap: 7px;
  }
  .gaokao-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .gaokao-grid .channel-tile,.gaokao-grid .channel-tile:nth-child(n+6) {
    grid-column: auto;
  }
  .channel-tile {
    min-height: 71px;
    padding-inline: 4px;
  }
  .channel-tile span {
    font-size: 10px;
    white-space: normal;
  }
  .channel-tile .line-icon {
    width: 23px;
    height: 23px;
  }
  .zhongkao-grid {
    max-width: none;
  }
  .channel-card:before {
    opacity: .6;
  }
  .discovery-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }
  .discovery:last-child {
    grid-column: auto;
  }
  .discovery {
    padding: 17px 20px;
    min-height: 117px;
    gap: 16px;
  }
  .discovery h2 {
    font-size: 22px;
  }
  .discovery .discovery-icon {
    width: 55px;
    height: 55px;
  }
  .discovery p {
    font-size: 11px;
  }
  .discovery button {
    font-size: 11px;
    padding: 3px 12px;
  }
  .topic-books {
    width: 33%;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px 6px;
  }
  .footer-brand-block {
    grid-column: 1/-1;
  }
  .footer-brand strong {
    font-size: 23px;
  }
  .footer-brand small {
    font-size: 8px;
  }
  .footer-brand-block>p {
    font-size: 11px;
    max-width: 300px;
  }
  .footer-motto {
    font-size: 10px;
    margin-top: 8px;
  }
  .footer-links h2 {
    font-size: 13px;
  }
  .footer-links a,.footer-links button {
    font-size: 11px;
    line-height: 2.1;
  }
  .footer-bottom {
    padding: 12px 0;
  }
  .footer-bottom>.container {
    font-size: 9px;
    gap: 6px;
  }
  .site-footer {
    background-position: 76% center;
  }
  .back-to-top {
    right: 12px;
    bottom: 15px;
    width: 38px;
    height: 38px;
  }
  .search-results {
    padding: 15px;
  }
  .search-results .section-heading {
    align-items: flex-start;
  }
  .results-note {
    font-size: 11px;
  }
  .text-button {
    white-space: nowrap;
  }
  .result-item a {
    font-size: 13px;
  }
  .result-item small {
    display: block;
    margin: 3px 0 0;
  }
  dialog {
    padding: 20px;
  }
  dialog h2 {
    font-size: 21px;
  }
  #dialog-content p {
    font-size: 13px;
  }
}
@media (max-width:360px) {
  .hero h1 {
    font-size: 24px;
  }
  .hero-subtitle {
    letter-spacing: 0;
    font-size: 10px;
  }
  .channel-heading p {
    font-size: 9px;
  }
  .channel-more {
    font-size: 9px;
    padding: 5px;
  }
  .channel-heading .section-illustration {
    width: 32px;
    height: 32px;
  }
  .hero-search button {
    padding-inline: 11px;
  }
  .hero-search button .line-icon {
    display: none;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand small {
    font-size: 6px;
  }
  .quick-link span {
    font-size: 9px;
  }
  .section-caption {
    font-size: 9px;
  }
}
.site-footer {
  background-image: linear-gradient(100deg,#041d3660,#041d367a),url('../images/footer-mountains.webp');
}
.footer-links a,.footer-links button,.footer-follow p {
  color: #d1e1f3;
}
.footer-brand-block>p {
  color: #c4d7ec;
}
/* Three editorial columns, between the feature cards and the footer. */
.category-updates {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
  scroll-margin-top: 20px;
}
.info-column {
  min-width: 0;
  padding: 17px 18px 14px;
}
.info-column .section-heading {
  margin-bottom: 8px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.info-column h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
}
.info-column h2:before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: #1684f9;
}
.info-zhongkao h2:before {
  background: #ff7053;
}
.info-topics h2:before {
  background: #28ac7a;
}
.info-column .demo-label {
  display: inline;
  font-size: 10px;
  color: #8998a8;
  border: 0;
  padding: 0;
}
.category-news-list li {
  height: 35px;
  gap: 8px;
}
.category-news-list a {
  font-size: 12px;
}
.category-news-list time {
  display: block;
  color: #8b95a0;
  font-variant-numeric: tabular-nums;
}
.info-zhongkao .news-tag {
  background: #ff8068;
}
.info-topics .news-tag {
  background: #3eaf8a;
}
.friend-links {
  margin-top: 18px;
  padding: 17px 20px 19px;
}
.friend-links .section-heading {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.friend-links h2 {
  font-size: 17px;
}
.friend-links-note {
  margin-left: auto;
  font-size: 11px;
  color: #8998a8;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 27px;
}
.friend-links-list a {
  font-size: 12px;
  color: #536b83;
  line-height: 1.8;
  transition: color .18s;
}
.friend-links-list a:hover {
  color: #087dff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width:1100px) {
  .category-updates {
    gap: 14px;
  }
  .info-column {
    padding: 15px 13px 12px;
  }
  .info-column .demo-label {
    display: none;
  }
  .category-news-list li {
    gap: 6px;
  }
  .category-news-list a {
    font-size: 11px;
  }
}
@media (max-width:900px) {
  .category-updates {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .info-column {
    padding: 16px 18px;
  }
  .info-column .demo-label {
    display: inline;
  }
  .category-news-list a {
    font-size: 12px;
  }
  .category-news-list li {
    height: 35px;
  }
  .friend-links-list {
    gap: 10px 23px;
  }
}
@media (max-width:520px) {
  .category-updates {
    margin-top: 14px;
  }
  .info-column {
    padding: 14px 15px 10px;
  }
  .info-column .section-heading {
    margin-bottom: 6px;
  }
  .category-news-list li {
    height: 36px;
  }
  .info-column h2 {
    font-size: 19px;
  }
  .friend-links {
    margin-top: 14px;
    padding: 14px 15px 16px;
  }
  .friend-links-note {
    font-size: 10px;
  }
  .friend-links-list {
    gap: 10px 18px;
  }
  .friend-links-list a {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    transition: none!important;
    animation: none!important;
  }
}
