/* MEICC 铸造工艺设计赛 — 蓝色主题 */
:root {
  --brand: #054696;
  --brand-dark: #033a75;
  --brand-hover: #0a5cb8;
  --brand-soft: rgba(5, 70, 150, 0.08);
  --brand-glow: rgba(5, 70, 150, 0.35);
  --accent: #0d5ea8;
  --text: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-light: #737373;
  --bg: #f0f1f3;
  --card: #ffffff;
  --line: #e0e0e0;
  --nav-grad: linear-gradient(180deg, #0a5cb8 0%, #054696 100%);
  --container: 1280px;
  --gutter: 32px;
  --hero-height: 420px;
  --font: "Microsoft YaHei", "PingFang SC", sans-serif;
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.site-theme {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease);
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== 顶栏 ===== */
.top-bar {
  background: #f5f8fc;
  border-bottom: 1px solid #e2eaf2;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
}

.top-link { color: var(--text-light); font-size: 14px; }
.top-link:hover { color: var(--brand); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-actions .divider { color: #ccc; }

/* ===== 页头 ===== */
.site-header {
  background: var(--card);
  box-shadow: 0 1px 0 rgba(5, 70, 150, 0.06);
}

.site-header-body {
  padding-top: 24px;
  padding-bottom: 0;
}

.header-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 20px;
  border-bottom: none;
}

.logo-img {
  height: auto;
  width: auto;
  object-fit: contain;
}

.header-logos--single { justify-content: flex-start; }

.logo-primary .logo-img {
  max-height: 80px;
  max-width: min(520px, 90vw);
}

/* ===== 导航（通栏背景 + 内容对齐） ===== */
.main-nav {
  width: 100%;
  background: var(--nav-grad);
  box-shadow: none;
  position: relative;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  width: 100%;
  position: relative;
}

.nav-list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  list-style: none;
  align-items: stretch;
  align-self: stretch;
  min-width: 0;
  width: 100%;
}

.nav-list > li:not(.nav-item-home) {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

.nav-item-dropdown,
.nav-item:not(.nav-item-home) {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.nav-item-home {
  flex: 0 0 56px;
  display: flex;
}

.nav-home-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 100%;
  min-height: 52px;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.12) !important;
}

.nav-home-link:hover { background: rgba(0, 0, 0, 0.22) !important; }

.nav-list > li:not(.nav-item-home) + li:not(.nav-item-home) { position: relative; }

.nav-list > li:not(.nav-item-home) + li:not(.nav-item-home)::before {
  display: none;
}

.nav-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 10px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: none;
  white-space: nowrap;
  position: relative;
  transition: background var(--ease), color var(--ease);
}

.nav-list li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-item.is-active > a,
.nav-item-dropdown.is-active > .nav-trigger {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-weight: 700;
}

.nav-item-dropdown { position: relative; flex: 1 1 0; min-width: 0; display: flex; }

.nav-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 52px;
  padding: 0 10px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  text-shadow: none;
  white-space: nowrap;
  position: relative;
  transition: background var(--ease), color var(--ease);
}

.nav-trigger:hover,
.nav-item-dropdown.is-open:not(.is-active) > .nav-trigger {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-item-dropdown.is-active.is-open > .nav-trigger {
  background: rgba(0, 0, 0, 0.22);
}

.nav-chevron {
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform var(--ease);
}

.nav-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 180px;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 32px rgba(5, 70, 150, 0.15);
  border: 1px solid #e2eaf2;
  border-top: 3px solid var(--accent);
}

.nav-submenu li a {
  display: block;
  padding: 10px 18px;
  line-height: 1.45;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: none;
  white-space: nowrap;
}

.nav-submenu li a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

@media (min-width: 769px) {
  .nav-submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
    pointer-events: none;
  }

  .nav-item-dropdown:hover .nav-submenu,
  .nav-item-dropdown:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-item-dropdown:hover .nav-chevron,
  .nav-item-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  padding: 12px 14px;
  margin: auto 12px auto 0;
  cursor: pointer;
}

.nav-toggle span { width: 22px; height: 2px; background: #fff; }

/* ===== 首屏 ===== */
.hero-zone {
  background: var(--bg);
  padding: 28px 0 40px;
}

.first-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: stretch;
}

.first-hero {
  min-width: 0;
  height: var(--hero-height);
}

.hero {
  position: relative;
  height: 100%;
  min-height: var(--hero-height);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(5, 70, 150, 0.12);
  border: 1px solid rgba(5, 70, 150, 0.08);
}

.hero-slider {
  height: 100%;
  min-height: var(--hero-height);
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: none;
}

.hero-tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block;
  padding: 11px 28px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 4px 14px var(--brand-glow);
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: #fff;
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  right: 28px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--ease);
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.hero-arrow:hover { background: var(--brand); }

.hero-prev { left: 16px; }
.hero-next { right: 16px; }

.first-calendar {
  display: flex;
  flex-direction: column;
  height: var(--hero-height);
  background: var(--card);
  border: 1px solid #e2eaf2;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(5, 70, 150, 0.08);
  overflow: hidden;
}

.panel-header-light {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fa 100%);
  border-bottom: 1px solid #e2eaf2;
}

.panel-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brand-dark);
  padding-left: 10px;
  border-left: 4px solid var(--brand);
}

.panel-more {
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
}

.panel-more:hover {
  color: var(--brand-dark);
}

.calendar-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.calendar-item {
  display: flex;
  gap: 16px;
  flex: 1;
  padding: 14px 18px;
  align-items: center;
  transition: background var(--ease);
}

.calendar-item:hover { background: var(--brand-soft); }

.calendar-item + .calendar-item { border-top: 1px solid var(--line); }

.cal-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2eaf2;
  border-radius: 4px;
  overflow: hidden;
}

.cal-month {
  display: block;
  font-size: 11px;
  background: var(--brand);
  color: #fff;
  padding: 4px 0;
  font-weight: 600;
}

.cal-day {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  padding: 6px 0 2px;
  color: var(--brand-dark);
}

.cal-year {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  padding-bottom: 6px;
}

.cal-event {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cal-event:hover { color: var(--brand); }

.cal-event.is-hot { color: var(--brand); font-weight: 700; }

.tag-new {
  display: inline-block;
  width: 28px;
  height: 14px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ===== 赛事资讯 ===== */
.std-section {
  padding: 48px 0 28px;
  background: var(--card);
}

.std-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.std-panel {
  border: 1px solid #e2eaf2;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(5, 70, 150, 0.06);
  overflow: hidden;
}

.std-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 14px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fa 100%);
  border-bottom: 1px solid #e2eaf2;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brand-dark);
  border-left: 4px solid var(--brand);
}

.std-list { list-style: none; }

.std-item { border-bottom: 1px solid var(--line); }

.std-item:last-child { border-bottom: none; }

.std-item a {
  display: block;
  padding: 20px 22px;
  transition: background var(--ease);
}

.std-item a:hover { background: var(--brand-soft); }

.std-item-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0;
  color: var(--text);
}

.std-item a:hover .std-item-title { color: var(--brand); }

.std-item-excerpt {
  display: none;
}

.std-item-more { display: none; }

/* ===== 合作单位 ===== */
.industry-section {
  padding: 0 0 40px;
  background: var(--card);
}

.industry-section > .container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.industry-panel {
  width: 100%;
  border: 1px solid #e2eaf2;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(5, 70, 150, 0.06);
  overflow: hidden;
}

.industry-head {
  padding: 14px 20px 14px 16px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e2eaf2;
  border-left: 4px solid var(--brand);
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fa 100%);
  color: var(--brand-dark);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  width: 100%;
}

.industry-grid--support { border-top: 1px solid var(--line); }

.industry-grid li { min-width: 0; }

.industry-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 72px;
  padding: 16px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background var(--ease);
}

.industry-grid li:last-child a { border-right: none; }

.industry-grid a:hover { background: var(--brand-soft); }

.industry-icon { display: none; }

.industry-name {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  line-height: 1.45;
  max-width: 100%;
}

.industry-name::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 8px auto 0;
  background: var(--brand);
  border-radius: 2px;
  transition: width var(--ease);
}

.industry-grid a:hover .industry-name {
  color: var(--brand);
}

.industry-grid a:hover .industry-name::after {
  width: 36px;
}

/* ===== 底部工具区 ===== */
.tools-section {
  padding: 0 0 56px;
  background: var(--card);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: stretch;
}

.tool-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2eaf2;
  box-shadow: 0 6px 24px rgba(5, 70, 150, 0.08);
  background: var(--card);
}

.tool-card--img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tool-card--promo {
  display: flex;
  flex-direction: column;
}

.tool-promo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  padding: 14px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fa 100%);
  border-bottom: 3px solid var(--brand);
}

.tool-promo-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tool-promo-body {
  flex: 1;
  padding: 16px 20px;
  background: #fafafa;
}

.tool-promo-body a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow var(--ease);
}

.tool-promo-body a:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tool-card--promo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.tool-promo-foot {
  padding: 12px 20px 16px;
  text-align: right;
  border-top: 1px solid var(--line);
  background: #fff;
}

.tool-promo-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.tool-promo-link:hover { color: var(--brand-hover); }

.tool-card--img .tool-btn {
  position: absolute;
  left: 24px;
  bottom: 24px;
}

.tool-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--nav-grad);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 16px var(--brand-glow);
}

.tool-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.tool-links-head {
  padding: 14px 20px;
  background: var(--nav-grad);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.tool-links-list {
  list-style: none;
  padding: 8px 0;
}

.tool-links-list li { border-bottom: 1px dotted rgba(0, 0, 0, 0.12); }

.tool-links-list li:last-child { border-bottom: none; }

.tool-links-list a {
  display: block;
  padding: 12px 20px 12px 32px;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
}

.tool-links-list a::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.tool-links-list a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

/* ===== 页脚 ===== */
.site-footer {
  background: linear-gradient(180deg, #033a75 0%, #054696 100%);
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 40px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
  max-height: 56px;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.9;
}

.footer-address a:hover { color: #fff; text-decoration: underline; }

.footer-qr { text-align: center; }

.footer-qr img {
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 6px;
  border-radius: 4px;
  object-fit: contain;
}

.footer-qr span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

.footer-friends {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-friends-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  font-size: 14px;
}

.footer-friends-title {
  font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px 0;
}

.footer-links-row li:not(:last-child)::after {
  content: "|";
  margin: 0 10px;
  opacity: 0.35;
}

.footer-links-row a { opacity: 0.85; }

.footer-links-row a:hover {
  opacity: 1;
  color: #fff;
}

.footer-bottom {
  padding: 20px 0 28px;
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}

.footer-bottom p + p { margin-top: 6px; }

.footer-bottom a:hover { color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .std-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid li:nth-child(2) a { border-right: none; }
  .industry-grid li a { border-bottom: 1px solid var(--line); }
  .tools-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .first-row { grid-template-columns: 1fr; }
  .first-calendar { height: auto; min-height: 0; }
  .first-hero { height: 320px; }
  .hero, .hero-slider { min-height: 320px; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; }

  .site-header-body { padding-bottom: 0; }

  .main-nav { position: relative; }
  .nav-toggle { display: flex; }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    background: var(--brand-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 300;
  }

  .nav-list > li:not(.nav-item-home) { flex: none; }

  .main-nav.open .nav-list { display: flex; }

  .nav-list > li + li::before { display: none; }

  .nav-list li a,
  .nav-trigger {
    line-height: 48px;
    font-size: 15px;
    width: 100%;
    text-align: left;
    padding: 0 22px;
  }

  .nav-home-link {
    width: 100%;
    min-height: 48px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0;
    display: none;
  }

  .nav-item-dropdown.is-open .nav-submenu { display: block; }

  .nav-submenu li a {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 36px;
  }

  .nav-submenu li a:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
  }

  .hero-content {
    left: 24px;
    max-width: 75%;
  }

  .hero-title { font-size: 22px; }

  .industry-grid { grid-template-columns: 1fr; }
  .industry-grid li a {
    border-right: none;
    padding: 14px 16px;
  }

  .industry-section > .container { padding-left: var(--gutter); padding-right: var(--gutter); }
  .tools-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-qr { justify-self: center; }

  .footer-friends-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== 内页：二级栏目 / 三级详情 ===== */
.inner-main {
  background: var(--bg);
  padding-bottom: 48px;
}

.inner-main > .page-banner {
  background: transparent;
  padding: 20px 0 0;
  margin: 0;
  border-bottom: none;
}

.inner-main > .page-banner .container {
  background: transparent;
  box-shadow: none;
  padding-top: 0;
  padding-bottom: 0;
}

.page-banner-box {
  background: linear-gradient(135deg, #033a75 0%, #054696 100%);
  color: #fff;
  padding: 22px 28px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(5, 70, 150, 0.12);
}

.page-banner {
  background: linear-gradient(135deg, #033a75 0%, #054696 100%);
  color: #fff;
  padding: 28px 0 24px;
  border-bottom: none;
}

.page-banner h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  font-size: 13px;
  opacity: 0.92;
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  opacity: 0.7;
}

.breadcrumb a:hover { color: #fff; text-decoration: underline; }

.inner-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding-top: 24px;
  align-items: start;
}

.inner-body.layout-no-sidebar {
  grid-template-columns: 1fr;
}

.inner-body.layout-no-sidebar .inner-sidebar { display: none; }

.inner-sidebar {
  background: var(--card);
  border: 1px solid #e2eaf2;
  border-radius: 8px;
  overflow: hidden;
  border-top: 3px solid var(--brand);
}

.inner-sidebar-hd {
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-dark);
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fa 100%);
  border-bottom: 1px solid #e2eaf2;
}

.inner-sidebar-nav {
  list-style: none;
}

.inner-sidebar-nav a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid #f0f0f0;
}

.inner-sidebar-nav a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.inner-sidebar-nav a.is-active {
  color: var(--brand);
  font-weight: 700;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  padding-left: 15px;
}

.inner-sidebar-nav li:last-child a { border-bottom: none; }

.inner-content {
  background: var(--card);
  border: 1px solid #e2eaf2;
  border-radius: 8px;
  padding: 28px 32px 36px;
  min-height: 420px;
}

.inner-content-hd {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.inner-content-hd h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.inner-content-hd p {
  font-size: 14px;
  color: var(--text-light);
}

.inner-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.inner-text p {
  margin-bottom: 16px;
  text-indent: 2em;
}

.inner-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 24px 0 12px;
  text-indent: 0;
}

.inner-text ol,
.inner-text ul {
  margin: 0 0 16px 2em;
}

.inner-text li { margin-bottom: 8px; }

.inner-text a { color: var(--brand); }
.inner-text a:hover { text-decoration: underline; }

.doc-list {
  list-style: none;
  margin: 0 0 16px 0 !important;
}

.doc-list li {
  padding: 10px 14px;
  border-bottom: 1px dashed var(--line);
  text-indent: 0;
}

.doc-list li::before {
  content: "📄 ";
}

.inner-list {
  list-style: none;
}

.inner-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}

.inner-list li:last-child { border-bottom: none; }

.inner-list time {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-light);
  min-width: 88px;
}

.inner-list a {
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
}

.inner-list a:hover { color: var(--brand); }

.inner-list--docs li { display: block; padding: 12px 0; }
.inner-list--docs a::before { content: "↓ "; color: var(--brand); }

.inner-pagination {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-light);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

.info-table th,
.info-table td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
}

.info-table th {
  width: 100px;
  background: #f5f8fc;
  color: var(--brand-dark);
  font-weight: 600;
}

/* 参赛院校页 */
.schools-page .inner-content-hd {
  display: none;
}

.school-page {
  text-indent: 0;
}

.school-page > p {
  text-indent: 0;
}

.school-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}

.school-stat {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0a5cb8 0%, #054696 55%, #033a75 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(5, 70, 150, 0.18);
}

.school-stat::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.school-stat-num {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.school-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.88;
}

.school-lead {
  margin: 0 0 12px !important;
  text-indent: 0 !important;
  font-size: 16px;
  line-height: 1.85;
  color: #334;
}

.school-lead strong {
  color: var(--brand);
  font-weight: 700;
}

.school-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-dark);
  text-indent: 0;
}

.school-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--brand);
}

.school-section-title .school-note {
  margin-left: auto;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
}

.school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  text-indent: 0;
}

.school-grid span,
.school-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  color: #243447;
  text-indent: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.school-grid span:hover,
.school-grid a:hover {
  border-color: #8eb4de;
  color: var(--brand);
  box-shadow: 0 4px 14px rgba(5, 70, 150, 0.1);
  transform: translateY(-1px);
}

.school-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 8px;
  padding: 22px 24px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f3f7fc 0%, #eaf2fa 100%);
  border: 1px solid #d7e4f3;
  text-indent: 0;
}

.school-cta p {
  flex: 1;
  min-width: 220px;
  margin: 0 !important;
  text-indent: 0 !important;
  font-size: 15px;
  line-height: 1.7;
  color: #445;
}

.school-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(5, 70, 150, 0.22);
}

.school-cta .btn:hover {
  background: var(--brand-hover);
  text-decoration: none !important;
}

@media (max-width: 700px) {
  .school-stats { grid-template-columns: 1fr; }
  .school-stat-num { font-size: 28px; }
  .school-section-title { flex-wrap: wrap; }
  .school-section-title .school-note { margin-left: 0; width: 100%; }
}

@media (max-width: 900px) {
  .inner-body {
    grid-template-columns: 1fr;
  }

  .inner-sidebar { order: 2; }

  .inner-content { padding: 20px 18px 28px; }
}
