/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  html {
    font-size: 16px;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: "Source Han Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #22335e;
    background: #fff;
    width: 100%;
  }
  
  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  p, h1, h2, h3, h4, ul, ol, dl {
    margin: 0;
    padding: 0;
  }
  
  ul, ol {
    list-style: none;
  }
  
  /* ===== Design Tokens ===== */
  :root {
    --color-primary: #a22135;
    --color-primary-dark: #8c1726;
    --color-accent: #9a2341;
    --color-accent-red: #a9002b;
    --color-text: #22335e;
    --color-text-muted: #4b4c57;
    --color-text-dark: #0d0d0d;
    --color-text-gray: #787878;
    --color-border: #dadee6;
    --color-border-pink: #d2a2a2;
    --color-orange: #ff926d;
    --color-orange-active: #ff9f7f;
    --color-nav-active: #851714;
    --color-white: #fff;
    --safe-width: 1440px;
    --gutter: 24px;
    --section-gap: 40px;
  }
  
  /* ===== Layout ===== */
  .page {
    width: 100%;
    overflow: hidden;
    background: #fff;
  }
  
  .container {
    width: 100%;
    max-width: var(--safe-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  
  .flex {
    display: flex;
  }
  
  .flex-col {
    display: flex;
    flex-direction: column;
  }
  
  .flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .flex-wrap {
    flex-wrap: wrap;
  }
  
  .flex-1 {
    flex: 1;
  }
  
  .gap-8 { gap: 8px; }
  .gap-12 { gap: 12px; }
  .gap-16 { gap: 16px; }
  .gap-20 { gap: 20px; }
  .gap-24 { gap: 24px; }
  .gap-32 { gap: 32px; }
  
  /* ===== Section Title ===== */
  .section-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .section-title__en {
    color: var(--color-primary);
    font-size: 13px;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0.5px;
  }

  .section-title__en::after,
  .notice-panel__title-en::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    margin-left: 8px;
    background: var(--color-primary);
    vertical-align: middle;
  }
  
  .section-title__cn {
    color: var(--color-text);
    font-size: 30px;
    font-weight: 500;
    line-height: 42px;
  }
  
  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  
  .section-header__more {
    color: var(--color-accent);
    font-size: 18px;
    font-weight: 500;
    line-height: 18px;
  }
  
  .section-header__more--white {
    color: var(--color-white);
  }
  
  /* ===== Tabs ===== */
  .tabs {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
  }
  
  .tabs__item {
    font-size: 20px;
    line-height: 20px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
  }

  .tabs__item:hover {
    color: var(--color-accent);
  }

  .tabs__item--active {
    color: var(--color-accent);
    font-weight: 500;
  }

  .tabs__item--active-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 28px;
  }

  .tabs__item--active-bar::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 8px;
    background: transparent;
    transition: background-color 0.2s ease;
  }

  .tabs__item--active.tabs__item--active-bar::after {
    background: #c21b17;
  }
  
  /* ===== Divider ===== */
  .divider-h {
    width: 100%;
    height: 1px;
    background: var(--color-border);
  }
  
  .divider-v {
    width: 1px;
    height: 12px;
    background: var(--color-primary);
    flex-shrink: 0;
  }
  
  /* ===== Header ===== */
  .site-header {
    background: var(--color-primary);
  }
  
  .top-bar {
    position: relative;
    z-index: 500;
    height: 41px;
    background: var(--color-primary-dark);
    display: flex;
    align-items: center;
  }
  
  .top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
  }
  
  .top-bar__left,
  .top-bar__right {
    display: flex;
    align-items: center;
    height: 100%;
  }
  
  .top-bar__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 100%;
    color: var(--color-white);
    font-size: 12px;
    font-family: Roboto, sans-serif;
    line-height: 16px;
    text-decoration: none;
    white-space: nowrap;
  }

  .top-bar__item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .top-bar__item--has-dropdown .top-bar__link::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.2s ease;
  }

  .top-bar__item--has-dropdown:hover .top-bar__link::after,
  .top-bar__item--has-dropdown.top-bar__item--hover .top-bar__link::after {
    transform: rotate(180deg);
  }

  .top-bar__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 120px;
    padding: 6px 0;
    background: #ffffff;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 20px rgba(35, 21, 21, 0.14);
    z-index: 400;
  }

  .top-bar__item--has-dropdown:hover .top-bar__dropdown,
  .top-bar__item--has-dropdown.top-bar__item--hover .top-bar__dropdown {
    display: block;
    animation: topBarDropdownIn 0.2s ease;
  }

  .top-bar__dropdown a {
    display: block;
    padding: 8px 16px;
    color: #646464;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .top-bar__dropdown a:hover {
    color: #851714;
    background-color: rgba(133, 23, 20, 0.08);
  }

  @keyframes topBarDropdownIn {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(-4px);
    }

    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }
  
  .top-bar__right > * {
    position: relative;
  }
  
  .top-bar__right > * + *::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
  }
  
  .main-header {
    display: flex;
    flex-direction: column;
    background: var(--color-primary);
  }
  
  .main-header__brand {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  .main-header__logo img {
    width: 256px;
    max-width: 100%;
    height: auto;
  }
  
  .main-header__title {
    color: var(--color-white);
    font-size: clamp(20px, 2vw, 30px);
    font-family: Roboto, sans-serif;
    line-height: 1.2;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
  }
  
  .main-nav {
    background: var(--color-white);
    width: 100%;
    position: relative;
    z-index: 200;
  }
  
  .main-nav__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
  }
  
  .main-nav__item {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    color: #231515;
    font-size: 22px;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    line-height: 22px;
    transition: color 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
  }

  .main-nav__item-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 6px;
  }

  .main-nav__item--has-dropdown {
    cursor: pointer;
    user-select: none;
  }

  .main-nav__item--has-dropdown .main-nav__item-text::after {
    content: "";
    width: 0;
    height: 0;
    margin-top: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease;
  }

  .main-nav__item:hover,
  .main-nav__item--hover,
  .main-nav__item--active {
    /* color: #851714;
    background: rgba(133, 23, 20, 0.06); */
  }

  .main-nav__item--has-dropdown:hover .main-nav__item-text::after,
  .main-nav__item--has-dropdown.main-nav__item--hover .main-nav__item-text::after {
    transform: rotate(180deg);
  }

  .main-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    background-color: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(35, 21, 21, 0.12);
    z-index: 300;
  }

  .main-nav__item--has-dropdown:hover .main-nav__dropdown,
  .main-nav__item--has-dropdown.main-nav__item--hover .main-nav__dropdown {
    display: block;
    animation: mainNavDropdownIn 0.22s ease;
  }

  .main-nav__dropdown a {
    display: block;
    padding: 12px 16px;
    color: #646464;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    word-break: keep-all;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .main-nav__dropdown a:hover {
    color: #851714;
    background-color: rgba(133, 23, 20, 0.08);
  }

  .main-nav__dropdown a:active {
    background-color: rgba(133, 23, 20, 0.14);
  }

  @keyframes mainNavDropdownIn {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-header__brand {
    cursor: pointer;
  }
  .top-bar__left .top-bar__link,
  .top-bar__right .top-bar__link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .top-bar__left .top-bar__link:hover,
  .top-bar__right .top-bar__link:hover,
  .top-bar__item--has-dropdown:hover > .top-bar__link,
  .top-bar__item--has-dropdown.top-bar__item--hover > .top-bar__link {
    color: var(--color-white);
    background: var(--color-primary);
  }
  
  .top-bar__link img {
    width: auto;
    height: 16px;
  }
  
  /* ===== Hero ===== */
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
    background: url("../images/newindex/img/background-campus-fade.png") center / cover no-repeat;
  }
  
  .hero__bg {
    display: none;
  }
  
  .hero__inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
  }
  
  .hero__banner {
    flex: 1 1 70%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__banner .hero__swiper {
    width: 100%;
    aspect-ratio: 945 / 532;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .hero__banner .hero__swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
  }

  .hero__banner .hero__swiper .swiper-pagination {
    bottom: 16px;
  }

  .hero__banner .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 1;
  }

  .hero__banner .swiper-pagination-bullet-active {
    background: var(--color-primary);
  }

  .hero__banner-main {
    width: 100%;
    aspect-ratio: 945 / 532;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
  }
  
  .hero__dots {
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
  
  .hero__dots img {
    width: auto;
    height: 8px;
  }
  
  .hero__sidebar {
    flex: 1 1 39%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  
  /* ===== Notice Panel ===== */
  .notice-panel__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .notice-panel__tabs {
    margin-bottom: 0;
    gap: 24px;
    flex: 1;
    min-width: 0;
  }

  .notice-panel__tabs .tabs__item {
    font-size: 24px;
    line-height: 32px;
    color: #666;
  }

  .notice-panel__tabs .tabs__item--active {
    color: #000;
    font-weight: 500;
  }

  .notice-panel__tabs .tabs__item--active-bar {
    min-height: 36px;
  }
  
  .notice-panel__title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .notice-panel__title-en {
    color: var(--color-primary);
    font-size: 13px;
    font-family: Roboto, sans-serif;
    font-weight: 500;
  }
  
  .notice-panel__title-cn {
    color: #000;
    font-size: 30px;
    font-weight: 500;
  }
  
  .notice-list {
    display: none;
    flex-direction: column;
  }

  .notice-list.notice-list--active {
    display: flex;
    animation: notice-list-fade 0.28s ease;
  }

  @keyframes notice-list-fade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .notice-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 12px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .notice-list__item:hover {
    background: rgba(162, 33, 53, 0.06);
  }

  .notice-list__item:hover .notice-list__text {
    color: var(--color-primary);
  }

  .notice-list__item:hover .notice-list__date {
    color: var(--color-accent);
  }
  
  .notice-list__item img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
  }
  
  .notice-list__text {
    flex: 1;
    font-size: 16px;
    color: #000;
    letter-spacing: -0.5px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
  }

  .notice-list__date {
    flex-shrink: 0;
    font-size: 16px;
    color: #000;
    white-space: nowrap;
    transition: color 0.2s ease;
  }
  
  /* ===== Calendar Widget ===== */
  .calendar-widget {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
  }

  .calendar-widget__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-shrink: 0;
  }

  .calendar-widget__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(162, 33, 53, 0.08);
    overflow: hidden;
  }

  .calendar-widget .calendar_content {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(162, 33, 53, 0.03) 0%, #fff 40%);
  }

  .calendar-widget__table-wrap {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .calendar-widget #hdsfCalendarTime {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .calendar-widget .calendar_table {
    width: 100%;
    flex: 1;
    height: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    background: transparent;
  }

  .calendar-widget .calendar_table th,
  .calendar-widget .calendar_table td {
    padding: 8px 2px;
    border: none;
    font-size: 16px;
    color: var(--color-text);
    position: relative;
  }

  .calendar-widget .calendar_table tbody {
    height: 100%;
  }

  .calendar-widget .calendar_table tbody tr {
    height: 16.666%;
  }

  .calendar-widget .calendar_nav th {
    background: rgba(162, 33, 53, 0.06);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: default;
    padding: 12px 4px;
  }

  .calendar-widget .calendar_nav .cal_prev,
  .calendar-widget .calendar_nav .cal_next {
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
  }

  .calendar-widget .calendar_nav .cal_prev:hover,
  .calendar-widget .calendar_nav .cal_next:hover {
    color: var(--color-primary-dark);
  }

  .calendar-widget .calendar_week th {
    background: rgba(162, 33, 53, 0.03);
    font-weight: 500;
    font-size: 14px;
    color: rgba(34, 51, 94, 0.75);
    padding: 8px 2px;
  }

  .calendar-widget .calendar_week th:first-child,
  .calendar-widget .calendar_week th:last-child {
    color: var(--color-orange);
  }

  .calendar-widget .calendar_table td.other-month {
    color: rgba(34, 51, 94, 0.35);
  }

  .calendar-widget .calendar_table td.has_event {
    color: var(--color-primary);
    font-weight: 700;
    cursor: pointer;
  }

  .calendar-widget .calendar_table td.has_event::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(162, 33, 53, 0.12);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .calendar-widget .calendar_table td.has_event.past_event {
    color: #fff;
  }

  .calendar-widget .calendar_table td.has_event.past_event::before {
    background: rgba(162, 33, 53, 0.45);
  }

  .calendar-widget .calendar_table td.has_event.future_event {
    color: var(--color-accent-red);
  }

  .calendar-widget .calendar_table td.has_event.future_event::before {
    background: rgba(162, 33, 53, 0.15);
  }

  .calendar-widget .calendar_table td.today {
    color: #fff;
    font-weight: 700;
  }

  .calendar-widget .calendar_table td.today::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary-dark);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .calendar-widget .calendar_table td.today.has_event,
  .calendar-widget .calendar_table td.today.has_event.past_event {
    color: #fff !important;
  }

  .calendar-widget .calendar_table td.today.has_event::before,
  .calendar-widget .calendar_table td.today.has_event.past_event::before {
    background: var(--color-primary) !important;
    z-index: 0;
  }

  .calendar-widget .calendar_table td.today .calendar-day,
  .calendar-widget .calendar_table td.has_event .calendar-day {
    position: relative;
    z-index: 1;
  }

  .calendar-widget .calendarInfo {
    background: #fff;
    box-shadow: 0 4px 16px rgba(162, 33, 53, 0.12);
    border-radius: 8px;
    padding: 14px 16px;
    overflow: visible;
    min-width: 240px;
    max-width: 340px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: auto;
    z-index: 2;
  }

  .calendar-widget .calendarInfo::after {
    content: '';
    position: absolute;
    top: -8px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-primary);
  }

  .calendar-widget .calendarInfo ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .calendar-widget .calendar_event_item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text);
    min-width: 0;
  }

  .calendar-widget .calendar_event_item .calendar-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
  }

  .calendar-widget .calendar_event_item .calendar-type--kzzph,
  .calendar-widget .calendar_event_item .calendar-type--kzxjh {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .calendar-widget .calendar_legend-tag--xjh,
  .calendar-widget .calendar_event_item .calendar-type--xjh {
    background-color: #a22135;
  }

  .calendar-widget .calendar_legend-tag--kzxjh,
  .calendar-widget .calendar_event_item .calendar-type--kzxjh {
    background-color: #4a6fa5;
  }

  .calendar-widget .calendar_legend-tag--zph,
  .calendar-widget .calendar_event_item .calendar-type--zph {
    background-color: #e8872b;
  }

  .calendar-widget .calendar_legend-tag--kzzph,
  .calendar-widget .calendar_event_item .calendar-type--kzzph {
    background-color: #2d8f6f;
  }

  .calendar-widget .calendar_event_item .calendar-time {
    flex-shrink: 0;
    color: var(--color-text-muted);
    font-size: 12px;
  }

  .calendar-widget .calendar_event_item a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text);
  }

  .calendar-widget .calendar_event_item a:hover {
    color: var(--color-primary);
  }

  .calendar-widget .calendar_legend {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 14px;
    padding: 6px 12px 8px;
    border-top: 1px solid rgba(162, 33, 53, 0.1);
    background: #fff;
  }

  .calendar-widget .calendar_legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
  }

  .calendar-widget .calendar_legend-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 4px 4px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
  }



  .calendar-widget .calendar_legend-text {
    color: #000;
  }

  .event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    flex-shrink: 0;
  }

  .event-list__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.14px;
    min-width: 0;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  .event-list__item:hover {
    background: rgba(162, 33, 53, 0.06);
  }

  .event-list__item:hover .event-list__text {
    color: var(--color-primary);
  }

  .event-list__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text);
    transition: color 0.2s ease;
  }

  .event-list__item img {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
  }
  
  /* ===== Search Bar ===== */
  .search-section {
    padding: 24px 0 32px;
    background: url("../images/newindex/img/background-light-ribbon.png") center top / 100% 187px no-repeat;
  }
  
  .search-section__inner {
    display: flex;
    justify-content: center;
  }
  
  .search-box {
    width: 1128px;
    max-width: 100%;
    height: 131px;
    margin: 0 auto;
    padding: 20px 26px 14px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #5296fe;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  
  .search-box__input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    background: transparent;
    color: var(--color-text-gray);
    font-size: 16px;
    font-family: "Source Han Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 18px;
    resize: none;
    overflow: hidden;
    min-height: 18px;
    max-height: 36px;
  }
  
  .search-box__input::placeholder {
    color: var(--color-text-gray);
  }
  
  .search-box__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }
  
  .search-box__filters {
    display: flex;
    align-items: center;
    gap: 0;
  }
  
  .search-box__filter {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #654141;
    font-size: 16px;
    font-weight: 350;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
    user-select: none;
  }

  .search-box__filter:hover {
    color: var(--color-primary);
  }

  .search-box__filter--active {
    color: var(--color-primary);
    font-weight: 500;
    background: rgba(162, 33, 53, 0.08);
  }
  
  .search-box__filter img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  
  .search-box__filter-divider {
    width: 1px;
    height: 14px;
    background: #ccc;
    margin: 0 36px;
    flex-shrink: 0;
  }
  
  .search-box__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    width: 86px;
    height: 36px;
    padding: 0;
    background: var(--color-white);
    border: 1px solid #991839;
    border-radius: 4px;
    color: #991839;
    font-size: 14px;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
  }
  
  .search-box__btn img {
    width: 16px;
    height: 16px;
  }
  
  /* ===== Job Cards ===== */
  .jobs-section {
    padding: 36px 0;
    background: url("../images/newindex/img/jygw.png") center / cover no-repeat;
  }
  
  .jobs-section__bg {
    display: none;
  }
  
  .jobs-section__inner {
    display: flex;
    gap: 32px;
    align-items: stretch;
  }

  .jobs-section__main {
    flex: 1 1 66%;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .jobs-section__sidebar {
    flex: 1 1 34%;
    min-width: 0;
    max-width: 489px;
    display: flex;
    flex-direction: column;
  }
  
  .jobs-grid {
    display: none;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
    min-height: 436px;
  }

  .jobs-grid.jobs-grid--active {
    display: flex;
  }

  .job-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    height: 132px;
    border-radius: 4px;
    border: 1px solid var(--color-border-pink);
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  }

  .job-card:hover {
    border-color: transparent;
    background: url("../images/newindex/svg/bg-job-card-featured.svg") center / 100% 100% no-repeat;
  }

  .job-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    height: 100%;
    min-width: 0;
  }

  .job-card__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .job-card__company {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .job-card__tags {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-accent-red);
  }

  .job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    min-width: 0;
  }

  .job-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .job-card__location img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .job-card__date {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--color-text);
  }
  
  .job-card__date img {
    width: 14px;
    height: 14px;
  }
  
  /* ===== Internship Section ===== */
  .internship-section {
    padding: 48px 0;
    background: url("../images/newindex/img/huaban-6958007612.png") center / cover no-repeat;
  }

  .internship-section__inner {
    display: flex;
    align-items: stretch;
    gap: 32px;
  }

  .internship-section__left {
    flex: 1 1 66%;
    min-width: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
  }

  .internship-section__left-inner {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .internship-section__right {
    flex: 1 1 34%;
    min-width: 0;
    max-width: 489px;
    background: #fff;
    display: flex;
    flex-direction: column;
  }

  .internship-section__right-inner {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .internship-section__left .section-header,
  .internship-section__right .section-header {
    margin-bottom: 20px;
  }

  .internship-section__tabs {
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .internship-section__left .tabs__item {
    font-size: 16px;
    line-height: 22px;
  }

  .internship-panels {
    flex: 1;
    min-height: 0;
  }

  .internship-panel {
    display: none;
    animation: internship-panel-fade 0.32s ease;
  }

  .internship-panel.internship-panel--active {
    display: block;
  }

  @keyframes internship-panel-fade {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .internship-section__lists {
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }

  .internship-section__col {
    flex: 1;
    min-width: 0;
  }

  .company-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .company-list__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 8px;
    margin: 0 -8px;
    border-bottom: 1px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .company-list__item:hover {
    background: rgba(162, 33, 53, 0.06);
  }

  .company-list__item:hover .company-list__name {
    color: var(--color-primary);
  }

  .company-list__item:hover .company-list__date {
    color: var(--color-accent);
  }

  .company-list__logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
  }

  .company-list__info {
    flex: 1;
    min-width: 0;
  }

  .company-list__category {
    font-size: 15px;
    color: #000;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .company-list__name {
    font-size: 14px;
    color: #464646;
    line-height: 22px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
  }

  .company-list__date {
    flex-shrink: 0;
    text-align: center;
    font-size: 14px;
    color: #000;
    line-height: 20px;
    transition: color 0.2s ease;
  }

  /* ===== Activity Cards ===== */
  .activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }

  .activity-card {
    display: flex;
    gap: 14px;
    padding: 4px;
    background: var(--color-white);
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    min-height: 108px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  }

  .activity-card:hover {
    border-color: rgba(162, 33, 53, 0.12);
    box-shadow: 0 12px 36px rgba(162, 33, 53, 0.14);
    transform: translateY(-2px);
  }

  .activity-card:hover .activity-card__title {
    color: var(--color-primary);
  }

  .activity-card__thumb {
    flex-shrink: 0;
    width: 125px;
    height: 125px;
    border-radius: 4px 0 0 4px;
    overflow: hidden;
  }

  .activity-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .activity-card:hover .activity-card__thumb img {
    transform: scale(1.05);
  }

  .activity-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px 10px 0;
    min-width: 0;
  }

  .activity-card__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
  }

  .activity-card__subtitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .activity-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    line-height: 20px;
    color: #20252b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .activity-card__location img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .activity-card__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 20px;
    color: var(--color-text);
  }

  .activity-card__date img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  
  /* ===== Policy & FAQ ===== */
  .policy-faq-section {
    padding: 48px 0;
    background: url("../images/newindex/img/zclc.png") center / cover no-repeat;
  }

  .policy-faq-section__grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
  }

  .policy-faq-section__col {
    flex: 1;
    min-width: 0;
    min-height: 520px;
    display: flex;
    flex-direction: column;
  }

  .policy-faq-section__col .section-header {
    margin-bottom: 20px;
    flex-shrink: 0;
  }

  .policy-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 432px;
  }

  .policy-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 8px;
    border-bottom: 1px solid var(--color-border);
    line-height: 22px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .policy-list__item:hover {
    background: rgba(162, 33, 53, 0.04);
  }

  .policy-list__item:hover .policy-list__title {
    color: var(--color-primary);
  }

  .policy-list__type {
    color: var(--color-accent);
    font-size: 15px;
    font-weight: 500;
    flex-shrink: 0;
    line-height: 22px;
  }

  .policy-list__title {
    flex: 1;
    font-size: 15px;
    color: var(--color-text);
    min-width: 0;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
  }

  .policy-list__date {
    flex-shrink: 0;
    font-size: 14px;
    color: #666;
    line-height: 22px;
  }

  .faq-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 432px;
  }

  .faq-item {
    padding: 16px 0 16px 20px;
    border-bottom: 1px solid var(--color-border);
  }
  .faq-item:hover {
    background: rgba(162, 33, 53, 0.04);
    cursor: pointer;
  }

  /* .faq-item:first-child {
    padding-top: 0;
  } */

  .faq-item__q {
    display: flex;
    align-items: flex-start;
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 22px;
    color: var(--color-text-dark);
  }

  .faq-item__a {
    margin: 0;
    padding-left: 22px;
    font-size: 14px;
    line-height: 22px;
    color: #464646;
  }

  .faq-item__text {
    flex: 1;
    min-width: 0;
  }

  .faq-item__label {
    color: #b10835;
    flex-shrink: 0;
    font-weight: 500;
  }

  .faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: -10px;
    margin-right: 8px;
    margin-top: -1px;
  }
  
  /* ===== Service Links Strip & Partner Banner ===== */
  @keyframes strip-breathe {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.04);
    }
  }

  .service-strip {
    padding: 48px 0;
  }

  .service-strip__logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .partner-section {
    padding: 32px 0;
    background: linear-gradient(123deg, #d8eafd 0%, #d7e7ff 100%);
  }

  .partner-section__banners {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .service-strip__logos img,
  .partner-section__banners img {
    cursor: pointer;
    flex-shrink: 0;
    width: 240px;
    height: 84px;
    object-fit: contain;
    border-radius: 4px;
    transform-origin: center center;
    animation: strip-breathe 3.2s ease-in-out infinite;
    transition: filter 0.25s ease;
  }

  .partner-section__banners img {
    background: rgba(255, 255, 255, 0.35);
  }

  .service-strip__logos img:hover,
  .partner-section__banners img:hover {
    animation-play-state: paused;
    filter: brightness(1.05);
  }

  .service-strip__logos img:nth-child(1),
  .partner-section__banners img:nth-child(1) {
    animation-delay: 0s;
  }

  .service-strip__logos img:nth-child(2),
  .partner-section__banners img:nth-child(2) {
    animation-delay: 0.4s;
  }

  .service-strip__logos img:nth-child(3),
  .partner-section__banners img:nth-child(3) {
    animation-delay: 0.8s;
  }

  .service-strip__logos img:nth-child(4),
  .partner-section__banners img:nth-child(4) {
    animation-delay: 1.2s;
  }

  .partner-section__banners img:nth-child(5) {
    animation-delay: 1.6s;
  }
  
  /* ===== Footer ===== */
  .site-footer {
    color: var(--color-white);
    background: #20252b;
    padding: 48px 0 0;
    display: flex;
    flex-direction: column;
  }
  
  .site-footer__bg {
    display: none;
  }
  
  .site-footer__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }
  
  .site-footer__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
  }
  
  .site-footer__contact h3,
  .site-footer__qrcode h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 34px;
    margin-bottom: 16px;
  }
  
  .site-footer__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .site-footer__info-item {
    display: flex;
    gap: 8px;
    font-size: 16px;
    line-height: 22px;
  }
  
  .site-footer__info-label {
    font-weight: 350;
    flex-shrink: 0;
  }
  
  .site-footer__info-value {
    font-weight: 500;
  }
  
  .site-footer__qrcode img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  .site-footer__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
  }
  
  .site-footer__logo img {
    width: 161px;
    height: 80px;
    object-fit: contain;
  }
  
  .site-footer__bottom {
    width: 100%;
    background: #474a50;
    margin-top: 32px;
  }

  .site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 14px;
    font-family: Roboto, sans-serif;
  }

  .site-footer__copyright {
    font-weight: 500;
    letter-spacing: 0.25px;
  }
  
  .site-footer__support {
    display: flex;
    gap: 8px;
    font-size: 16px;
  }
  
  .site-footer__support-label {
    font-weight: 350;
  }
  
  .site-footer__support-value {
    font-weight: 500;
  }

  /* ===== Viewport Scroll Animation ===== */
  .viewport-animate {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--animate-delay, 0ms);
    will-change: opacity, transform;
  }

  .viewport-animate.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .viewport-animate.is-visible--instant {
    transition: none !important;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .viewport-animate.viewport-animate--fast {
    transform: translate3d(0, 16px, 0);
    transition:
      opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0ms;
  }

  .viewport-animate.viewport-animate--fast.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .viewport-animate.viewport-animate--fast.viewport-animate--from-left {
    transform: translate3d(-16px, 0, 0);
  }

  .viewport-animate.viewport-animate--fast.viewport-animate--from-right {
    transform: translate3d(16px, 0, 0);
  }

  .viewport-animate.viewport-animate--fast.viewport-animate--from-left.is-visible,
  .viewport-animate.viewport-animate--fast.viewport-animate--from-right.is-visible {
    transform: translate3d(0, 0, 0);
  }

  .viewport-animate--from-left {
    transform: translate3d(-32px, 0, 0);
  }

  .viewport-animate--from-right {
    transform: translate3d(32px, 0, 0);
  }

  .viewport-animate--from-left.is-visible,
  .viewport-animate--from-right.is-visible {
    transform: translate3d(0, 0, 0);
  }

  @media (prefers-reduced-motion: reduce) {
    .viewport-animate {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
  }
  