:root {
  --content-width: min(1560px, calc(100% - 48px));
  --bleed-padding: max(24px, calc((100% - 1560px) / 2));
  --hero-bleed: max(24px, calc((100% - 1560px) / 2));
  --section-x: clamp(28px, 5vw, 92px);
  --section-gap: clamp(22px, 2.4vw, 34px);
  --panel-y: clamp(34px, 3vw, 48px);
  --panel-x: clamp(24px, 2.4vw, 36px);
  --content-gap: clamp(24px, 3vw, 44px);
  --grid-gap: clamp(18px, 1.8vw, 28px);
  --heading-gap: 22px;
  --home-title-size: clamp(26px, 2vw, 30px);
  --home-title-weight: 700;
  --home-subtitle-size: 12px;
  --home-subtitle-weight: 700;
  --home-body-size: 15px;
  --home-body-weight: 400;
  --home-card-title-size: 18px;
  --home-card-title-weight: 700;
  --home-meta-size: 14px;
  --home-meta-weight: 600;
  --home-list-title-size: 15px;
  --home-list-title-weight: 600;
  --home-date-size: 13px;
  --home-button-size: 14px;
  --home-button-weight: 700;
  --blue-900: #003c92;
  --blue-800: #0053b8;
  --blue-700: #0966d8;
  --blue-100: #eaf3ff;
  --ink: #152238;
  --muted: #65758b;
  --line: #dce6f3;
  --panel: #ffffff;
  --page: #edf2f7;
  --accent: #f5b51b;
  --shadow: none;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
  box-shadow: none !important;
}

*::before,
*::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(16, 39, 75, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.topbar,
.nav,
.footer-inner {
  width: var(--content-width);
  margin: 0 auto;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand span {
  display: block;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue-800);
  border: 4px solid #d9ebff;
  font-weight: 800;
}

.brand strong {
  display: block;
  color: var(--blue-800);
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--blue-800);
  font-size: 11px;
  line-height: 1.1;
}

.header-actions,
.phone {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle,
.nav-close {
  border: 0;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--blue-800);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-overlay,
.nav-drawer-head {
  display: none;
}

.phone {
  color: var(--blue-800);
  font-weight: 700;
  min-width: 0;
}

.phone img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.phone small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.phone strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.qr {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, #111 25%, transparent 25% 75%, #111 75%) 0 0 / 16px 16px,
    linear-gradient(#111 25%, transparent 25% 75%, #111 75%) 0 0 / 16px 16px,
    #fff;
}

.nav-wrap {
  width: 100%;
  background: var(--blue-800);
}

.nav-drawer-head {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-drawer-head strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.nav-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  color: var(--blue-800);
  font-size: 14px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 0;
  min-height: 48px;
  background: transparent;
  overflow-x: auto;
}

.nav a {
  flex: 1 1 0;
  min-height: 48px;
  padding: 13px 18px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--blue-900);
}

main {
  width: 100%;
  padding-bottom: var(--section-gap);
  background: var(--page);
}

.hero {
  position: relative;
  min-height: clamp(500px, 33vw, 640px);
  overflow: hidden;
  background: linear-gradient(135deg, #0047a8, #0874dc);
}

.hero::after {
  content: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 62, 148, 0.96), rgba(0, 98, 203, 0.62) 44%, rgba(0, 74, 168, 0.06));
}

.hero-swiper,
.hero .swiper-wrapper,
.hero .swiper-slide {
  width: 100%;
  height: clamp(500px, 33vw, 640px);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .swiper-button-prev,
.hero .swiper-button-next {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 55, 135, 0.28);
  backdrop-filter: blur(4px);
}

.hero .swiper-button-prev::after,
.hero .swiper-button-next::after {
  font-size: 18px;
  font-weight: 800;
}

.hero .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.hero .swiper-pagination-bullet-active {
  background: #fff;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue-800);
}

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

.section {
  width: var(--content-width);
  margin: var(--section-gap) auto 0;
  padding: var(--panel-y) var(--panel-x);
  border: 1px solid var(--line);
  background: var(--panel);
}

.notice-feature {
  position: relative;
  z-index: 2;
  margin-top: -38px;
  padding: var(--panel-y) var(--panel-x);
}

.notice-board {
  display: grid;
  grid-template-columns: minmax(160px, 0.2fr) 1fr;
  align-items: start;
  min-height: 0;
}

.notice-title {
  align-items: flex-start;
  margin-bottom: 0;
  padding: 0 24px 0 0;
  border-right: 1px solid var(--line);
}

.notice-title a {
  margin-top: 8px;
}

.notice-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  align-content: center;
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
}

.notice-items li {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-left: 16px;
  border-bottom: 1px solid #edf2f8;
}

.notice-items li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.notice-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8aa8cd;
}

.notice-items a {
  color: #31465f;
  font-size: var(--home-list-title-size);
  font-weight: 400;
  line-height: 1.55;
}

.notice-items a:hover {
  color: var(--blue-800);
}

.notice-items time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: var(--home-date-size);
  font-weight: 500;
}

.section-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--heading-gap);
  padding-left: 14px;
  border-left: 4px solid var(--blue-800);
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--home-title-size);
  font-weight: var(--home-title-weight);
  line-height: 1.2;
}

.section-heading h2::after {
  content: none;
}

.section-heading span,
.section-heading a {
  color: var(--muted);
  font-size: var(--home-subtitle-size);
  font-weight: var(--home-subtitle-weight);
  letter-spacing: 0.08em;
}

.section-heading span {
  text-transform: uppercase;
}

.section-heading.compact {
  justify-content: flex-start;
}

.section-heading.compact a {
  margin-left: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 46%);
  gap: var(--content-gap);
  align-items: start;
  text-align: left;
}

.about-text p {
  margin: 0 0 14px;
  color: #34465f;
  font-size: var(--home-body-size);
  font-weight: var(--home-body-weight);
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 6px;
  padding: 0 22px;
  color: #fff;
  background: var(--blue-800);
  border-radius: 3px;
  font-size: var(--home-button-size);
  font-weight: var(--home-button-weight);
}

.about-image {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  box-shadow: 0 10px 26px rgba(17, 45, 83, 0.12);
}

.major-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--grid-gap);
}

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

.major-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(26, 55, 89, 0.06);
}

.major-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.major-table th,
.major-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #edf2f8;
  text-align: left;
  font-size: var(--home-body-size);
  line-height: 1.45;
  white-space: nowrap;
}

.major-table th {
  color: #253b59;
  background: #f6f9fd;
  font-weight: 700;
}

.major-table tbody tr:last-child td {
  border-bottom: 0;
}

.major-table tbody tr:hover {
  background: #fbfdff;
}

.major-table-title {
  color: var(--ink);
  font-size: var(--home-card-title-size);
  font-weight: var(--home-card-title-weight);
}

.major-table-title:hover {
  color: var(--blue-800);
}

.major-table-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #ffd4a3;
  border-radius: 999px;
  color: #b65300;
  background: #fff7ed;
  font-size: var(--home-meta-size);
  font-weight: 700;
}

.major-table-apply {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--blue-800);
  border-radius: 3px;
  color: #fff;
  background: var(--blue-800);
  font-size: var(--home-button-size);
  font-weight: var(--home-button-weight);
}

.major-table-apply:hover {
  color: #fff;
  background: #0b5fb4;
}

.major-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(26, 55, 89, 0.06);
  display: flex;
  flex-direction: column;
}

.major-link {
  display: block;
  color: inherit;
}

.major-card img {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
}

.major-card h3 {
  margin: 14px 14px 4px;
  font-size: var(--home-card-title-size);
  font-weight: var(--home-card-title-weight);
  line-height: 1.35;
}

.major-link:hover h3 {
  color: var(--blue-800);
}

.major-card p {
  min-height: 45px;
  margin: 0 14px 10px;
  color: var(--muted);
  font-size: var(--home-body-size);
  font-weight: var(--home-body-weight);
  line-height: 1.75;
}

.major-meta {
  display: grid;
  gap: 0;
  margin: 0 14px 14px;
  padding: 8px 0;
  border-top: 1px solid #edf2f8;
  border-bottom: 1px solid #edf2f8;
}

.major-meta div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
}

.major-meta dt,
.major-meta dd {
  margin: 0;
  font-size: var(--home-meta-size);
  line-height: 1.45;
}

.major-meta dt {
  flex: 0 0 auto;
  color: #7b8aa0;
  font-weight: 500;
}

.major-meta dd {
  color: #253b59;
  font-weight: var(--home-meta-weight);
  text-align: right;
}

.major-apply {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: auto 14px 16px;
  padding: 0 14px;
  border: 1px solid #c8d8ec;
  border-radius: 3px;
  color: var(--blue-800);
  background: #f7fbff;
  font-size: var(--home-button-size);
  font-weight: var(--home-button-weight);
}

.major-apply:hover {
  color: #fff;
  border-color: var(--blue-800);
  background: var(--blue-800);
}

.article-publish {
  padding: var(--panel-y) var(--panel-x);
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--content-gap);
}

.article-panel {
  min-width: 0;
}

.article-panel .section-heading {
  margin-bottom: var(--heading-gap);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--content-gap);
}

.news-list {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.news-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f8;
}

.news-list a {
  color: #273b56;
  font-size: var(--home-list-title-size);
  font-weight: 400;
  line-height: 1.55;
}

.news-list a:hover {
  color: var(--blue-800);
}

.news-list time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: var(--home-date-size);
  font-weight: 500;
}

.gallery {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  border-radius: 4px;
}

.gallery img:first-child {
  grid-row: span 2;
  min-height: 278px;
}

.consult {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1fr);
  gap: var(--content-gap);
  align-items: center;
  width: var(--content-width);
  margin: var(--section-gap) auto 0;
  padding: var(--panel-y) var(--panel-x);
  background: var(--panel);
  border: 1px solid var(--line);
}

.consult h3 {
  margin: 8px 0 12px;
  max-width: 560px;
  font-size: clamp(28px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.28;
}

.consult p {
  margin: 0;
  color: var(--muted);
  font-size: var(--home-body-size);
  line-height: 1.85;
}

.consult-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
}

.consult-points li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #cddff2;
  border-radius: 4px;
  color: #254467;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.consult-phone {
  width: fit-content;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 20px 10px 14px;
  border: 1px solid #d8e6f5;
  color: var(--blue-900);
  background: #fff;
  box-shadow: 0 10px 24px rgba(25, 70, 120, 0.08);
}

.consult-phone img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.consult-phone small {
  display: block;
  color: var(--muted);
  font-size: var(--home-subtitle-size);
  font-weight: var(--home-subtitle-weight);
}

.consult-phone strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.consult-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border: 1px solid #d8e6f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 61, 145, 0.12);
}

.form-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f8;
}

.form-heading strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.form-heading span {
  color: var(--muted);
  font-size: var(--home-body-size);
  font-weight: 400;
}

.consult label,
.consult-form label {
  display: grid;
  gap: 6px;
  color: #31435b;
  font-weight: 700;
}

.consult label span,
.consult-form label span {
  color: inherit;
  font-size: var(--home-meta-size);
  font-weight: 400;
}

.consult input,
.consult textarea,
.consult select,
.consult-form input,
.consult-form textarea,
.consult-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.consult input,
.consult select,
.consult-form input,
.consult-form select {
  min-height: 44px;
}

.consult input:focus,
.consult textarea:focus,
.consult select:focus,
.consult-form input:focus,
.consult-form textarea:focus,
.consult-form select:focus {
  outline: 2px solid rgba(0, 83, 184, 0.18);
  border-color: var(--blue-800);
}

.consult input::placeholder,
.consult textarea::placeholder,
.consult-form input::placeholder,
.consult-form textarea::placeholder {
  color: #9aa8b9;
}

.consult textarea,
.consult-form textarea {
  resize: vertical;
}

.consult .wide,
.consult button,
.consult-form .wide,
.consult-form button {
  grid-column: 1 / -1;
}

.consult button,
.consult-form button {
  min-height: 50px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 83, 184, 0.2);
}

.form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.inner-hero {
  position: relative;
  width: 100%;
  min-height: clamp(150px, 13vw, 210px);
  display: flex;
  align-items: center;
  margin: 0;
  padding: clamp(28px, 4vw, 52px) var(--hero-bleed);
  overflow: hidden;
  border: 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 67, 158, 0.96) 0%, rgba(0, 89, 185, 0.88) 34%, rgba(0, 97, 190, 0.35) 62%, rgba(0, 71, 154, 0.04) 100%),
    url("assets/banner-1.png") center / cover no-repeat;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 42, 110, 0.08));
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  width: min(560px, 70%);
  padding: 0 var(--panel-x);
}

.inner-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  font-weight: 800;
}

.inner-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.inner-crumb a:hover {
  color: #fff;
}

.page-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-title h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.page-title p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.breadcrumb a:hover {
  color: var(--blue-800);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--content-gap);
}

.side-panel {
  display: grid;
  gap: 20px;
}

.side-panel h2,
.list-panel h2 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
}

.side-panel-head {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 20px;
  border-radius: 24px;
  background: linear-gradient(145deg, #0b3c8c 0%, #1458c4 58%, #dce9ff 100%);
  color: #fff;
}

.side-panel-head::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -34px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.side-panel-head h2 {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: #fff;
}

.side-panel-head p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.7;
}

.side-panel-kicker,
.side-contact-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.category-list,
.related-list,
.pagination {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list a,
.related-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: #273b56;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    color 0.2s ease, background 0.2s ease;
}

.category-list li + li,
.related-list li + li {
  margin-top: 12px;
}

.category-list-text {
  min-width: 0;
}

.category-list-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--blue-800);
  font-size: 12px;
}

.category-list a:hover,
.related-list a:hover {
  transform: translateX(4px);
  border-color: rgba(20, 88, 196, 0.25);
  box-shadow: 0 16px 34px rgba(16, 57, 118, 0.08);
  color: var(--blue-800);
}

.article-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.article-page-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #edf2f8;
}

.article-page-list .article-title {
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
}

.article-page-list .article-title a:hover {
  color: var(--blue-800);
}

.article-page-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.article-page-list time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pagination a,
.pagination span {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: #fff;
  color: #273b56;
  font-weight: 700;
}

.pagination .active {
  color: #fff;
  border-color: var(--blue-800);
  background: var(--blue-800);
}

.detail-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.detail-header h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.28;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.detail-body {
  padding-top: 24px;
  color: #30445e;
}

.detail-body p {
  margin: 0 0 16px;
}

.detail-body img {
  width: 100%;
  margin: 22px 0;
  border: 1px solid var(--line);
}

.detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #273b56;
  font-weight: 700;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.gallery-card {
  border: 1px solid var(--line);
  background: #fff;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.gallery-card h2 {
  margin: 14px 16px 4px;
  font-size: 18px;
  line-height: 1.3;
}

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

.related-gallery-cards {
  display: grid;
  gap: 14px;
}

.related-gallery-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.related-gallery-card img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
}

.related-gallery-card span {
  color: #30445e;
  font-size: 14px;
  line-height: 1.45;
}

.related-gallery-card:hover {
  border-color: rgba(0, 83, 184, 0.35);
}

.related-gallery-card:hover span {
  color: var(--blue-800);
}

.qa-page-list {
  display: grid;
  gap: 14px;
}

.qa-item {
  border: 1px solid var(--line);
  background: #fff;
}

.qa-item .article-title {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #edf2f8;
  color: #273b56;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.qa-item .article-title a:hover {
  color: var(--blue-800);
}

.qa-item .qa-summary {
  margin: 0;
  padding: 16px 18px;
  color: var(--muted);
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: var(--content-gap);
  align-items: start;
}

.apply-summary {
  border-left: 4px solid var(--blue-800);
  padding-left: 22px;
}

.message-summary {
  border-left: 0;
  padding-left: 0;
}

.apply-summary h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.apply-summary p {
  margin: 0 0 16px;
  color: var(--muted);
}

.apply-summary ul {
  margin: 0;
  padding-left: 18px;
  color: #30445e;
}

.employment-section .employment-copy,
.cms-richtext {
  color: #30445e;
  font-size: var(--home-body-size);
  line-height: 1.9;
}

.employment-section .employment-copy p,
.cms-richtext p {
  margin: 0 0 16px;
}

.cms-richtext img {
  max-width: 100%;
  height: auto;
}

.cms-richtext table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 18px 0;
}

.cms-richtext table td,
.cms-richtext table th {
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.cms-richtext ul,
.cms-richtext ol {
  padding-left: 22px;
}

.child-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.child-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.child-card strong {
  color: var(--blue-800);
  font-size: 18px;
}

.child-card span {
  color: var(--muted);
  font-size: 13px;
}

.category-list a.active,
.related-list a.active {
  border-color: transparent;
  background: linear-gradient(135deg, #0f4fb5 0%, #1f74df 100%);
  box-shadow: 0 18px 34px rgba(15, 79, 181, 0.22);
  color: #fff;
}

.category-list a.active .category-list-badge,
.related-list a.active .category-list-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.category-list a.active:hover,
.related-list a.active:hover {
  color: #fff;
}

.side-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.side-news-list li {
  padding: 13px 0;
  border-bottom: 1px solid #edf2f8;
}

.side-news-list .article-title {
  margin: 0 0 5px;
  color: #30445e;
  font-size: 14px;
  line-height: 1.55;
}

.side-news-list .article-title a:hover {
  color: var(--blue-800);
}

.side-news-list time {
  color: var(--muted);
  font-size: 12px;
}

.related-major-cards {
  display: grid;
  gap: 14px;
}

.related-major-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.related-major-card img {
  width: 92px;
  height: 68px;
  object-fit: cover;
}

.related-major-card span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.related-major-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.related-major-card em {
  overflow: hidden;
  color: var(--muted);
  display: -webkit-box;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-major-card small {
  color: var(--blue-800);
  font-size: 12px;
}

.related-major-card:hover {
  border-color: rgba(0, 83, 184, 0.35);
}

.related-major-card:hover strong {
  color: var(--blue-800);
}

.side-form {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 22px 20px;
  border: 1px solid rgba(20, 88, 196, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.side-form::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f4fb5 0%, #59b5ff 100%);
}

.side-form h3 {
  margin: 10px 0 10px;
  color: var(--blue-800);
  font-size: 18px;
}

.side-form label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #30445e;
}

.side-form label span {
  font-size: 13px;
  font-weight: 400;
}

.side-form input,
.side-form select,
.side-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.side-form input,
.side-form select {
  min-height: 42px;
}

.side-form textarea {
  resize: vertical;
}

.side-form input:focus,
.side-form select:focus,
.side-form textarea:focus {
  outline: 2px solid rgba(0, 83, 184, 0.18);
  border-color: var(--blue-800);
}

.side-contact-btn {
  width: 100%;
  margin-top: 10px;
  border-radius: 999px;
}

.side-qa {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.side-qa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f8;
}

.side-qa-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
}

.side-qa-head a {
  color: var(--muted);
  font-size: 13px;
}

.side-qa ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-qa li + li {
  border-top: 1px solid #edf2f8;
}

.side-qa li a {
  display: block;
  padding: 10px 0;
  color: #30445e;
  font-size: 14px;
  line-height: 1.55;
}

.side-qa li a:hover {
  color: var(--blue-800);
}

.cms-pagination {
  margin-top: 26px;
}

.detail-actions a {
  color: var(--blue-800);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: var(--content-gap);
  align-items: start;
  padding: 24px 0 8px;
}

.product-detail-image img {
  width: 100%;
  border: 1px solid var(--line);
}

.product-detail-summary {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

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

.contact-card p {
  margin: 0;
  color: #30445e;
}

.apply-contact-box {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.apply-contact-box p {
  margin: 0 0 8px;
}

.apply-contact-box p:last-child {
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid var(--line);
  background: #d7e0ea;
  color: #30445e;
}

.footer-inner {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 30px 0;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.footer p {
  margin: 4px 0;
  font-size: 13px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-qr {
  border-color: var(--line);
}

.floating-qrcode {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 10px 8px;
  border: 1px solid #d5deea;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(18, 36, 62, 0.16) !important;
}

.floating-qrcode img {
  width: 118px;
  height: auto;
  max-width: 100%;
  background: #fff;
}

.floating-qrcode span {
  color: #506276;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

@media (min-width: 1440px) {
  :root {
    --content-width: min(1560px, calc(100% - 80px));
    --bleed-padding: max(40px, calc((100% - 1560px) / 2));
    --hero-bleed: max(40px, calc((100% - 1560px) / 2));
    --section-x: clamp(72px, 6vw, 120px);
    --section-gap: 34px;
    --panel-y: 48px;
    --panel-x: 36px;
    --content-gap: 44px;
    --grid-gap: 24px;
  }

  .topbar {
    min-height: 92px;
  }

  .nav {
    min-height: 54px;
  }

  .nav a {
    min-height: 54px;
    padding: 16px 24px;
  }

  .hero {
    min-height: clamp(560px, 33vw, 700px);
  }

  .hero-swiper,
  .hero .swiper-wrapper,
  .hero .swiper-slide {
    height: clamp(560px, 33vw, 700px);
  }

}

@media (max-width: 960px) {
  :root {
    --section-gap: 24px;
    --panel-y: 36px;
    --panel-x: 28px;
    --content-gap: 28px;
    --grid-gap: 20px;
    --heading-gap: 20px;
    --home-title-size: 24px;
    --home-card-title-size: 17px;
    --home-body-size: 14px;
    --home-meta-size: 13px;
    --home-list-title-size: 14px;
  }

  .major-grid,
  .article-grid,
  .two-column,
  .consult,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .consult {
    grid-template-columns: 1fr;
    padding-left: 28px;
    padding-right: 28px;
  }

  .consult-form {
    max-width: 760px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .page-title,
  .page-layout,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .child-card-grid,
  .contact-card-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .side-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: var(--content-gap);
  }

  .gallery-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .notice-board {
    grid-template-columns: 220px 1fr;
  }

  .notice-items {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .notice-items li:nth-last-child(-n + 2) {
    border-bottom: 1px solid #edf2f8;
  }

  .notice-items li:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    padding: 24px 0;
  }

  .floating-qrcode {
    right: 14px;
    bottom: 18px;
  }

  .floating-qrcode img {
    width: 102px;
    height: auto;
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  :root {
    --content-width: calc(100% - 28px);
    --section-gap: 18px;
    --panel-y: 28px;
    --panel-x: 18px;
    --content-gap: 22px;
    --grid-gap: 16px;
    --heading-gap: 18px;
    --home-title-size: 21px;
    --home-card-title-size: 16px;
    --home-body-size: 14px;
    --home-meta-size: 13px;
    --home-list-title-size: 14px;
    --home-date-size: 12px;
    --home-button-size: 13px;
  }

  .topbar {
    min-height: auto;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 14px 0;
  }

  .header-actions {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand strong {
    font-size: 24px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .phone {
    gap: 10px;
    padding: 8px 10px;
    order: 1;
  }

  .phone img {
    width: 26px;
    height: 26px;
  }

  .phone small {
    font-size: 11px;
    line-height: 1.05;
  }

  .phone strong {
    font-size: 18px;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12, 24, 44, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
  }

  .nav-wrap {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    width: min(320px, calc(100vw - 36px));
    height: 100dvh;
    padding: 18px 16px 20px;
    overflow-y: auto;
    background: #ffffff;
    box-shadow: -18px 0 40px rgba(14, 28, 52, 0.22);
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  .nav-drawer-head {
    display: flex;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: visible;
    gap: 8px;
    padding: 0;
    background: transparent;
  }

  .nav a {
    flex: none;
    min-height: 44px;
    padding: 13px 14px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #253b59;
    border: 1px solid var(--line);
    background: #f8fbff;
  }

  .nav a.active,
  .nav a:hover {
    color: var(--blue-800);
    border-color: #bfd8fb;
    background: #edf5ff;
  }

  .hero,
  .hero-swiper,
  .hero .swiper-wrapper,
  .hero .swiper-slide {
    min-height: 380px;
    height: 380px;
  }

  .notice-feature {
    margin-top: var(--section-gap);
  }

  .notice-board {
    grid-template-columns: 1fr;
  }

  .notice-title {
    align-items: center;
    padding: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .notice-title a {
    min-height: 24px;
    margin-top: 0;
  }

  .notice-items {
    margin-top: var(--heading-gap);
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
  }

  .notice-items li {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    min-height: auto;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .notice-items li::before {
    top: 22px;
  }

  .consult {
    padding-left: 18px;
    padding-right: 18px;
  }

  .consult-form {
    padding: 24px 20px;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .major-grid,
  .article-grid,
  .two-column,
  .consult,
  .apply-layout,
  .consult form,
  .consult-form,
  .gallery-page-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .article-page-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .breadcrumb {
    white-space: normal;
  }

  .inner-hero {
    min-height: 136px;
    padding: 26px var(--hero-bleed);
    background:
      linear-gradient(90deg, rgba(0, 67, 158, 0.97) 0%, rgba(0, 89, 185, 0.9) 54%, rgba(0, 97, 190, 0.36) 100%),
      url("assets/banner-1.png") center / cover no-repeat;
  }

  .inner-hero-content {
    width: 100%;
  }

  .inner-hero h1 {
    margin-bottom: 12px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: start;
  }

  .floating-qrcode {
    right: 10px;
    bottom: 12px;
    padding: 8px;
  }

  .floating-qrcode img {
    width: 88px;
    height: auto;
    max-width: 100%;
  }

  .floating-qrcode span {
    font-size: 11px;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-wrap {
    transform: translateX(0);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 420px) {
  :root {
    --content-width: calc(100% - 24px);
  }

  .topbar {
    gap: 10px;
    padding: 12px 0;
  }

  .brand strong {
    font-size: 20px;
  }

  .phone {
    gap: 8px;
    padding: 7px 8px;
  }

  .phone img {
    width: 22px;
    height: 22px;
  }

  .phone small {
    display: none;
  }

  .phone strong {
    font-size: 16px;
  }

  .nav {
    gap: 7px;
  }

  .nav a {
    min-height: 42px;
    padding: 12px 12px;
    font-size: 14px;
  }

  .nav-wrap {
    width: min(290px, calc(100vw - 24px));
    padding: 16px 14px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
