:root {
  --red: #b21f24;
  --red-2: #d33a35;
  --red-deep: #7f171c;
  --gold: #f2c94c;
  --blue: #5a2228;
  --blue-2: #8f2b30;
  --ink: #1f2933;
  --muted: #66717f;
  --line: #e5e8ed;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --soft-2: #eef2f6;
  --shadow: 0 18px 45px rgba(20, 31, 44, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.top-strip {
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 18px;
}

.strip-links {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(229, 232, 237, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border: 1px solid rgba(197, 164, 78, 0.55);
  border-radius: 50%;
  font-weight: 800;
}

.brand-name {
  display: block;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 12px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 28px 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 19px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
}

.nav-submenu {
  position: absolute;
  left: 50%;
  top: calc(100% - 12px);
  z-index: 80;
  min-width: 132px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.14);
  border-top: 3px solid var(--red);
  border-radius: 7px;
  box-shadow: 0 18px 34px rgba(97, 24, 29, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  padding: 9px 12px;
  color: var(--blue);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-submenu a:hover {
  color: var(--red);
  background: #fff8f7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.menu-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--blue);
  display: grid;
  place-items: center;
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.old-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(139, 26, 26, 0.18);
  color: var(--red);
  background: #fff8f7;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.login-link {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 10px 22px rgba(178, 31, 36, 0.16);
}

.user-menu {
  position: relative;
  display: grid;
  place-items: center;
}

.user-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border: 1px solid rgba(197, 164, 78, 0.44);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(97, 24, 29, 0.18);
  cursor: pointer;
}

.user-avatar .ui-icon {
  width: 20px;
  height: 20px;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  width: 180px;
  padding: 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.14);
  border-top: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(97, 24, 29, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown strong,
.user-dropdown span {
  display: block;
}

.user-dropdown strong {
  font-size: 15px;
}

.user-dropdown span {
  margin: 3px 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.user-dropdown button {
  width: 100%;
  min-height: 36px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(145, 24, 28, 0.76) 0%, rgba(190, 36, 39, 0.42) 42%, rgba(255, 255, 255, 0.04) 100%),
    url("assets/hero-campus-bright.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(132, 22, 28, 0.72) 0%, rgba(186, 35, 39, 0.36) 44%, rgba(255, 255, 255, 0.02) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 130px;
  background: linear-gradient(0deg, rgba(127, 23, 28, 0.14), transparent);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: 92px 0 118px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-copy {
  display: none;
  animation: heroCopyIn 0.45s ease both;
}

.hero-copy.active {
  display: block;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  cursor: pointer;
}

.hero-dots button.active {
  width: 48px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.btn.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(139, 26, 26, 0.26);
}

.btn.gold {
  color: var(--blue);
  background: var(--gold);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.btn.light {
  color: var(--blue);
  border-color: var(--line);
  background: #fff;
}

.hero-metrics {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(700px, calc(100% - 48px));
  background: rgba(255, 255, 255, 0.96);
  color: var(--blue);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.metric {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  align-items: center;
  text-align: left;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  white-space: nowrap;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.metric-icon {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: #fff4f2;
  border: 1px solid rgba(178, 31, 36, 0.14);
  border-radius: 7px;
}

.metric-icon .ui-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.home-news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.quick-entry-panel {
  position: fixed;
  top: auto;
  bottom: 58px;
  right: 18px;
  z-index: 55;
  width: 96px;
  padding: 10px;
  border: 1px solid rgba(178, 31, 36, 0.16);
  background: #fff;
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(97, 24, 29, 0.16);
}

.quick-entry-head h3 {
  margin: 8px 0 10px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
}

.quick-entry-head .tag {
  display: none;
}

.quick-entry-list {
  display: grid;
  gap: 8px;
}

.quick-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 9px 6px;
  color: var(--blue);
  background: #fff8f7;
  border: 1px solid rgba(178, 31, 36, 0.12);
  border-radius: 7px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-entry:hover {
  transform: translateY(-2px);
  border-color: rgba(178, 31, 36, 0.3);
  box-shadow: 0 14px 28px rgba(97, 24, 29, 0.1);
}

.quick-entry span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.12);
  border-radius: 7px;
}

.quick-entry strong {
  display: block;
  line-height: 1.15;
  font-size: 13px;
}

.quick-entry em,
.service-link em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.quick-entry em {
  display: none;
}

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

.org-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.org-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.org-card h3 {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 21px;
}

.org-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-link {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 6px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.service-link span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff4f2;
  border-radius: 7px;
}

.service-link strong {
  align-self: end;
  line-height: 1.25;
}

.service-link em {
  align-self: start;
  line-height: 1.55;
}

.service-fast-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 248, 247, 0.96), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 85% 0%, rgba(197, 164, 78, 0.2), transparent 30%);
  border-top: 1px solid rgba(178, 31, 36, 0.08);
  border-bottom: 1px solid rgba(178, 31, 36, 0.08);
}

.service-fast-section .section-head {
  align-items: flex-end;
}

.role-tabs {
  width: fit-content;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 20px;
  padding: 5px;
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(97, 24, 29, 0.08);
}

.role-tab {
  min-width: 92px;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  color: var(--blue);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.role-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
}

.service-fast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-fast-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.12);
  border-radius: var(--radius);
  font: inherit;
  text-align: left;
  cursor: default;
  box-shadow: 0 16px 34px rgba(97, 24, 29, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-fast-card:hover {
  transform: translateY(-3px);
  border-color: rgba(178, 31, 36, 0.32);
  box-shadow: 0 22px 42px rgba(97, 24, 29, 0.13);
}

.service-fast-card span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff4f2;
  border: 1px solid rgba(178, 31, 36, 0.12);
  border-radius: 8px;
}

.service-fast-card strong {
  font-size: 17px;
  line-height: 1.2;
}

.service-fast-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.ai-empower-section {
  background:
    linear-gradient(135deg, rgba(127, 23, 28, 0.96), rgba(178, 31, 36, 0.92)),
    url("assets/red-section-bg.png") center / cover no-repeat;
  color: #fff;
}

.ai-empower-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.ai-empower-head .section-title,
.ai-empower-head .section-desc {
  color: #fff;
}

.ai-empower-head .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.ai-empower-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--blue);
  background: var(--gold);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  white-space: nowrap;
}

.ai-empower-action .ui-icon {
  width: 18px;
  height: 18px;
}

.ai-empower-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ai-empower-card {
  min-height: 168px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  color: #fff;
  text-align: left;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  cursor: default;
  box-shadow: 0 18px 34px rgba(74, 16, 22, 0.16);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ai-empower-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(197, 164, 78, 0.54);
}

.ai-empower-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(240, 200, 75, 0.52);
  border-radius: 8px;
}

.ai-empower-card strong {
  font-size: 19px;
}

.ai-empower-card em {
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  font-size: 14px;
}

.service-link strong {
  color: var(--blue);
}

.org-category-grid {
  display: grid;
  gap: 22px;
}

.org-category {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.org-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.org-category-head p {
  margin: 0;
  color: var(--muted);
}

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

.unit-card {
  min-height: 78px;
  padding: 16px;
  border: 1px solid rgba(178, 31, 36, 0.12);
  background: #fff8f7;
  border-radius: 7px;
}

.unit-card strong {
  display: block;
  color: var(--blue);
}

.unit-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 74px 0;
}

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

.section.compact {
  padding: 48px 0;
}

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

.section-title {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.25;
}

.section-desc {
  max-width: 630px;
  margin: 8px 0 0;
  color: var(--muted);
}

.more-link {
  color: var(--red);
  font-weight: 800;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-areas:
    "feature tabs"
    "wide wide";
  gap: 28px;
  align-items: start;
}

.feature-news {
  position: relative;
  grid-area: feature;
  min-height: 430px;
  height: 100%;
  color: #fff;
  overflow: hidden;
  background: var(--red-deep);
  border-radius: var(--radius);
}

.feature-news-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  color: #fff;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.55s ease, transform 4.8s ease;
}

.feature-news-slide.active {
  opacity: 1;
  transform: scale(1);
}

.feature-news-body {
  position: relative;
  z-index: 1;
  padding: 34px;
}

.feature-news-dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.feature-news-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  cursor: pointer;
}

.feature-news-dots button.active {
  width: 42px;
  background: var(--gold);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: var(--red);
  background: #fff3f0;
  border: 1px solid rgba(139, 26, 26, 0.14);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.feature-news .tag {
  color: var(--blue);
  background: var(--gold);
  border-color: transparent;
}

.feature-news h3 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.3;
}

.feature-news p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
}

.news-tab-panel {
  grid-area: tabs;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.06);
}

.news-wide-panel {
  grid-area: wide;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fff8f7);
  border-radius: var(--radius);
}

.news-wide-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-wide-head strong {
  color: var(--blue);
  font-size: 20px;
}

.news-wide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.news-brief-card {
  display: grid;
  grid-template-rows: 26px auto 1fr;
  gap: 8px;
  min-height: 146px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.1);
  border-radius: 7px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-brief-card:hover {
  transform: translateY(-2px);
  border-color: rgba(178, 31, 36, 0.24);
  box-shadow: 0 14px 28px rgba(97, 24, 29, 0.08);
}

.news-brief-card span {
  width: max-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--red);
  background: #fff3f0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.news-brief-card strong {
  color: var(--blue);
  font-size: 17px;
  line-height: 1.35;
}

.news-brief-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.tab {
  border: 0;
  color: var(--muted);
  background: var(--soft-2);
  padding: 9px 14px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.tab.active {
  color: #fff;
  background: var(--red);
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.news-item:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 26, 26, 0.2);
  box-shadow: 0 14px 30px rgba(31, 41, 51, 0.08);
}

.datebox {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: var(--blue);
  background: var(--soft);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  text-align: center;
}

.datebox strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.datebox span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.news-item h4 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 17px;
  line-height: 1.45;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.quick-card,
.info-card,
.topic-card,
.download-card,
.contact-card,
.result-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.quick-card {
  min-height: 158px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.quick-icon,
.mini-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff2ef;
  border: 1px solid rgba(139, 26, 26, 0.12);
  border-radius: 7px;
  font-weight: 900;
}

.ui-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-card h3,
.info-card h3,
.topic-card h3,
.contact-card h3 {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 19px;
}

.quick-card p,
.info-card p,
.topic-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-height: 206px;
}

.info-card .line {
  width: 34px;
  height: 3px;
  margin-top: auto;
  background: var(--gold);
}

.research-band {
  background:
    linear-gradient(90deg, rgba(127, 23, 28, 0.92), rgba(178, 31, 36, 0.74)),
    url("assets/red-section-bg.png") center / cover no-repeat;
  color: #fff;
}

.research-band .section-title,
.research-band .section-desc {
  color: #fff;
}

.research-band .section-desc,
.research-band .info-card p {
  color: rgba(255, 255, 255, 0.88);
}

.research-band .info-card {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 34px rgba(74, 16, 22, 0.14);
}

.research-band .info-card h3 {
  color: #fff;
}

.culture-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.culture-panel {
  padding: 32px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(178, 31, 36, 0.94), rgba(127, 23, 28, 0.84)),
    url("assets/red-section-bg.png") center / cover no-repeat;
  border-radius: var(--radius);
}

.culture-panel h3 {
  margin: 0 0 14px;
  font-size: 28px;
}

.culture-panel p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
}

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

.topic-card {
  padding: 22px;
}

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

.download-card {
  padding: 20px;
}

.download-card strong {
  display: block;
  color: var(--blue);
}

.download-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(116, 20, 25, 0.96) 0%, rgba(178, 31, 36, 0.9) 48%, rgba(218, 68, 56, 0.72) 100%),
    linear-gradient(0deg, rgba(127, 23, 28, 0.72), rgba(127, 23, 28, 0.08));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 110px);
  opacity: 0.42;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.crumb {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.2;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 34px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 102px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.side-nav a {
  display: flex;
  justify-content: space-between;
  padding: 15px 18px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.side-nav a:last-child {
  border-bottom: 0;
}

.side-nav a.active,
.side-nav a:hover {
  color: var(--red);
  background: #fff8f7;
}

.content-block {
  margin-bottom: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.content-block h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 24px;
}

.content-block p {
  margin: 0 0 12px;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--soft);
  border-radius: 6px;
}

.timeline-item strong {
  color: var(--red);
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  padding: 8px 13px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
}

.filter-chip.active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.article-card.pinned {
  border-color: rgba(139, 26, 26, 0.26);
  background: linear-gradient(90deg, #fff8f7, #fff);
}

.article-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 20px;
}

.article-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #7b8794;
  font-size: 13px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.page-num {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}

.page-num.active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.article-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.article-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 34px;
}

.tool-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  cursor: pointer;
}

.article-body {
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.article-body h1 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1.3;
  text-align: center;
}

.article-body .meta {
  justify-content: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-body p {
  margin: 0 0 18px;
  color: #354150;
  font-size: var(--article-size, 17px);
}

.article-image {
  min-height: 280px;
  margin: 28px 0;
  display: grid;
  place-items: end start;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(127, 23, 28, 0.78), rgba(178, 31, 36, 0.12)),
    url("assets/hero-campus.png") center / cover no-repeat;
  border-radius: var(--radius);
}

.attachment-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.attachment-list a {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 6px;
}

.prev-next {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.prev-next a {
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}

.search-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.06);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-form input,
.contact-form input,
.login-form input,
.contact-form textarea,
.select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 140px;
  padding-top: 12px;
  resize: vertical;
}

.search-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.result-card {
  padding: 22px;
}

.result-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
}

.result-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 22px;
}

.map-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background:
    linear-gradient(90deg, rgba(245, 247, 250, 0.94), rgba(245, 247, 250, 0.88)),
    repeating-linear-gradient(45deg, #dce3ea 0, #dce3ea 1px, transparent 1px, transparent 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.login-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 430px;
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  padding: 72px max(48px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(127, 23, 28, 0.92) 0%, rgba(178, 31, 36, 0.82) 47%, rgba(214, 62, 56, 0.78) 100%),
    url("assets/hero-campus-bright.png") center / cover no-repeat;
}

.login-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(127, 23, 28, 0.2), rgba(255, 255, 255, 0.06)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 140px);
  pointer-events: none;
}

.login-back {
  position: absolute;
  top: 28px;
  left: max(28px, calc((100vw - 1180px) / 2));
  z-index: 1;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-weight: 800;
}

.login-intro,
.login-card,
.login-ai-tab {
  position: relative;
  z-index: 1;
}

.login-title-block {
  max-width: 620px;
  padding-left: 28px;
  border-left: 4px solid var(--gold);
}

.login-title-block span {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.login-title-block h1 {
  margin: 12px 0 18px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1.08;
}

.login-title-block p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.login-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.login-badges span {
  padding: 8px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

.login-card {
  padding: 30px;
  color: var(--blue);
  background: rgba(255, 250, 250, 0.96);
  border-top: 4px solid var(--gold);
  border-radius: 2px;
  box-shadow: 0 28px 70px rgba(74, 16, 22, 0.28);
}

.login-card h2 {
  margin: 10px 0 24px;
  color: var(--red-deep);
  font-size: 26px;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 800;
}

.role-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.role-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-radio span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid rgba(178, 31, 36, 0.16);
  background: #fff;
  border-radius: 4px;
  color: var(--blue);
  font-size: 13px;
  cursor: pointer;
}

.role-radio input:checked + span {
  color: #fff;
  border-color: var(--red-deep);
  background: var(--red-deep);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.login-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  min-width: max-content;
  white-space: nowrap;
}

.login-submit {
  min-height: 50px;
  color: #fff;
  background: var(--red-deep);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-weight: 900;
}

.login-ai-tab {
  position: fixed;
  right: 0;
  top: 55%;
  width: 44px;
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 0;
  color: var(--red);
  background: #fff;
  border: 0;
  border-left: 3px solid var(--gold);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(74, 16, 22, 0.2);
}

.login-ai-tab span {
  writing-mode: vertical-rl;
}

.login-screen ~ .assistant-float .assistant-button {
  display: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(90deg, rgba(127, 23, 28, 0.96), rgba(151, 31, 35, 0.96)),
    url("assets/red-section-bg.png") center / cover no-repeat;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 46px 0;
}

.footer-main h3,
.footer-main h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-main p,
.footer-main a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.assistant-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
}

.assistant-button {
  min-width: 154px;
  height: 48px;
  border: 0;
  color: var(--blue);
  background: var(--gold);
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(197, 141, 22, 0.28);
  cursor: pointer;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body:not([data-page="login"]) .assistant-button {
  display: none;
}

.assistant-button .ui-icon {
  width: 20px;
  height: 20px;
}

.assistant-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  display: none;
  width: min(520px, calc(100vw - 44px));
  height: min(680px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid rgba(178, 31, 36, 0.18);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(97, 24, 29, 0.22);
}

.assistant-panel.open {
  display: block;
}

.assistant-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(127, 23, 28, 0.98), rgba(194, 34, 39, 0.96)),
    url("assets/red-section-bg.png") center / cover no-repeat;
}

.assistant-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.assistant-title strong,
.assistant-title small {
  display: block;
}

.assistant-title strong {
  font-size: 20px;
  line-height: 1.2;
}

.assistant-title small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.assistant-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(90, 20, 24, 0.24);
}

.assistant-body {
  height: calc(100% - 80px);
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(180deg, #fffaf9, #ffffff 42%),
    radial-gradient(circle at top right, rgba(197, 164, 78, 0.18), transparent 36%);
}

.assistant-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.assistant-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.assistant-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.assistant-status i {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: #22a06b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 160, 107, 0.14);
}

.assistant-status .ui-icon {
  width: 15px;
  height: 15px;
  color: var(--red);
}

.assistant-chat {
  min-height: 220px;
  padding: 4px 4px 8px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
}

.chat-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-row.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.14);
  border-radius: 10px;
}

.chat-row.user .chat-avatar {
  color: #fff;
  background: var(--red);
}

.chat-avatar .ui-icon {
  width: 18px;
  height: 18px;
}

.chat-bubble {
  max-width: min(360px, calc(100% - 54px));
  padding: 12px 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(97, 24, 29, 0.08);
}

.chat-row.user .chat-bubble {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.chat-bubble strong {
  display: block;
  margin-bottom: 6px;
}

.chat-bubble p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.assistant-tools {
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(178, 31, 36, 0.1);
  border-radius: 12px;
}

.assistant-tools > span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.question-list button {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(178, 31, 36, 0.12);
  color: var(--blue);
  background: #fff;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.question-list button:hover {
  transform: translateY(-1px);
  border-color: rgba(178, 31, 36, 0.3);
  box-shadow: 0 10px 20px rgba(97, 24, 29, 0.08);
}

.question-list .ui-icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--red);
}

.assistant-answer {
  margin-top: 12px;
  padding: 12px;
  color: var(--blue);
  background: #fff8f7;
  border: 1px solid rgba(139, 26, 26, 0.12);
  border-radius: 6px;
  font-size: 14px;
}

.assistant-input {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(178, 31, 36, 0.14);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(97, 24, 29, 0.08);
}

.assistant-input input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 8px;
  color: var(--ink);
  background: transparent;
}

.assistant-input button {
  width: 46px;
  height: 40px;
  border: 0;
  color: #fff;
  background: var(--red);
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.assistant-input .ui-icon {
  width: 19px;
  height: 19px;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    padding: 8px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(31, 41, 51, 0.08);
  }

  .main-nav.open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-link {
    padding: 12px;
  }

  .nav-item::after {
    bottom: 6px;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: -4px 8px 8px;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top-width: 1px;
    background: #fff8f7;
  }

  .nav-submenu a {
    padding: 7px 8px;
    font-size: 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .quick-grid,
  .card-grid,
  .download-list,
  .service-fast-grid,
  .ai-empower-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-wide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid,
  .culture-layout,
  .contact-layout,
  .home-news-layout {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-areas:
      "feature"
      "tabs"
      "wide";
  }

  .quick-entry-panel {
    position: fixed;
    top: auto;
    bottom: 54px;
    right: 10px;
    width: 88px;
  }

  .org-grid,
  .unit-grid,
  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .login-screen {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 84px 40px 48px;
  }

  .login-card {
    width: min(430px, 100%);
  }

  .hero-metrics {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -70px auto 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-strip {
    display: none;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub,
  .old-link {
    display: none;
  }

  .login-link {
    display: inline-flex;
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .user-avatar {
    width: 38px;
    height: 38px;
  }

  .user-dropdown {
    right: -54px;
  }

  .main-nav {
    top: 68px;
  }

  .main-nav.open {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content {
    padding: 64px 0 98px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: -42px;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 52px 0;
  }

  .section-head,
  .list-toolbar,
  .footer-bottom .container {
    align-items: start;
    flex-direction: column;
  }

  .quick-grid,
  .card-grid,
  .card-grid.three,
  .topic-grid,
  .org-grid,
  .unit-grid,
  .service-strip,
  .service-fast-grid,
  .ai-empower-grid,
  .news-wide-grid,
  .download-list,
  .split,
  .form-grid,
  .search-form,
  .article-card,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .ai-empower-head {
    align-items: start;
    flex-direction: column;
  }

  .login-screen {
    min-height: 100vh;
    grid-template-columns: 1fr;
    padding: 82px 22px 42px;
  }

  .login-title-block {
    padding-left: 18px;
  }

  .login-title-block h1 {
    font-size: 40px;
  }

  .login-title-block p {
    font-size: 16px;
  }

  .login-card {
    padding: 22px;
  }

  .role-radio-group {
    grid-template-columns: 1fr;
  }

  .login-ai-tab {
    top: auto;
    bottom: 24px;
  }

  .role-tabs {
    width: 100%;
  }

  .role-tab {
    min-width: 0;
    padding: 0 10px;
  }

  .service-fast-card {
    min-height: 96px;
  }

  .side-nav {
    position: static;
  }

  .news-item {
    grid-template-columns: 72px 1fr;
    padding: 14px;
  }

  .feature-news-body,
  .article-body,
  .content-block {
    padding: 22px;
  }

  .article-body h1 {
    font-size: 26px;
  }

  .assistant-panel {
    width: calc(100vw - 28px);
    height: min(660px, calc(100vh - 96px));
    right: -8px;
    bottom: 58px;
  }

  .assistant-body {
    padding: 12px;
    gap: 10px;
  }

  .assistant-head {
    padding: 14px 16px;
  }

  .assistant-title strong {
    font-size: 18px;
  }

  .question-list {
    grid-template-columns: 1fr;
  }

  .chat-bubble {
    max-width: calc(100% - 46px);
  }
}
