.portal-home { overflow: hidden; background: #faf9f7; }
    .portal-home-hero {
      min-width: 1200px; height: 520px; position: relative; overflow: hidden;
      isolation: isolate; background: #edf1f2;
    }
    .hero-slide {
      position: absolute; inset: 0;
      background-position: center; background-repeat: no-repeat; background-size: cover;
      display: none;
    }
    .hero-slide:first-child { display: block; }
    .hero-slide::after {
      content: ""; position: absolute; width: 1503px; height: 1126px;
      top: -173px; right: -366px;
      background: radial-gradient(50.9% 50% at 50% 50%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.04) 100%);
      filter: blur(15px);
    }
    .portal-home-hero-copy {
      width: 100%; margin: 0; padding: 90px 250px 0 0;
      position: relative; z-index: 1; text-align: right; color: #971a18;
    }
    .portal-home-hero-copy span { display: none; }
    .portal-home-hero-copy h1 {
      margin: 0 0 32px;
      /* 与 portal-pages.css 的 .portal-home-hero-title 保持一致：优先用思源宋体 webfont，
         字体声明见 portal-pages.css 里的 @font-face "SourceHanSerifSC" */
      font-family: "SourceHanSerifSC", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
      font-size: 110px; font-weight: 900; line-height: 1.33;
      text-shadow: 0 2px 2px rgba(255,255,255,.65);
    }
    .portal-home-hero-copy h1 b { display: inline-block; transform: translateX(98px); }
    .portal-home-hero-copy p { margin: 0 22px 0 0; color: #3e3938; font-size: 34px; line-height: 1.2; letter-spacing: 8px; }
    .hero-dots {
      position: absolute; z-index: 5; bottom: 46px; left: 50%;
      display: flex; gap: 10px; transform: translateX(-50%);
    }
    .hero-dots button {
      display: block; width: 24px; height: 9px; padding: 0;
      border: 0; border-radius: 6px; background: rgba(255,255,255,.9); cursor: pointer;
    }
    .hero-dots button.active { background: var(--portal-red); }

    .portal-home .home-main {
      width: 1200px; position: relative; z-index: 3;
      margin-top: -28px; padding-top: 0; padding-bottom: 6px;
    }
    .home-panel-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; }
    .home-panel {
      padding: 24px 28px; border: 1px solid #eee3de; border-radius: 16px;
      background: #fff; box-shadow: 0 3px 12px rgba(117,63,38,.07);
    }
    .home-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
    .home-panel-head h2 {
      display: flex; align-items: center; gap: 12px; margin: 0;
      color: var(--portal-red); font-family: "STKaiti", "KaiTi", serif; font-size: 28px; font-weight: 600;
    }
    .home-panel-head a { color: #888; font-size: 13px; }
    .home-panel-head a:hover { color: var(--portal-red); }
    .home-panel-title-icon { width: 56px; height: 56px; flex: 0 0 56px; display: inline-flex; align-items: center; justify-content: center; }
    .home-panel-title-icon img { width: 100%; height: 100%; object-fit: contain; }

    .news-feature-link { display: block; color: inherit; }
    .news-feature-image { height: 265px; overflow: hidden; border-radius: 10px; }
    .news-feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
    .news-panel h3 { margin: 17px 0 8px; overflow: hidden; font-size: 17px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
    .home-summary { margin: 0 0 8px; color: #888; font-size: 13px; line-height: 1.8; }
    .home-list { margin-top: 12px; border-top: 1px solid #f0e5df; }
    .home-list a {
      display: flex; justify-content: space-between; gap: 20px;
      padding: 10px 0; border-bottom: 1px dashed #eee0d8; color: #555; font-size: 13px;
    }
    .home-list a::before { width: 4px; height: 4px; flex: 0 0 auto; margin: 8px 2px 0 0; content: ""; border-radius: 50%; background: var(--portal-red); }
    .home-list a span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .home-list time { color: #aaa; font-size: 12px; flex-shrink: 0; }

    .notice-list a { display: flex; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid #f0e7e3; color: #555; }
    .notice-list time {
      width: 70px; height: 66px; flex: 0 0 auto;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      border: 1px solid #ead9d0; border-radius: 3px; color: var(--portal-red);
    }
    .notice-list time b { font-size: 23px; font-weight: 500; line-height: 1; }
    .notice-list time small { margin-top: 5px; font-size: 11px; }
    .notice-list span { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

    .home-small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; align-items: stretch; }
    .home-small-grid .small-panel { min-height: 272px; }
    .small-panel { padding-bottom: 20px; }
    .small-panel-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
    .small-panel-feature img { width: 270px; height: 245px; border-radius: 8px; object-fit: cover; }
    .small-panel-item {
      display: flex; align-items: center; justify-content: space-between; gap: 14px;
      min-width: 0; height: 45px; overflow: hidden;
      border-bottom: 1px dashed #eee0d8; color: #666; font-size: 14px; white-space: nowrap;
    }
    .small-panel-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .small-panel-item time { margin-left: auto; flex: 0 0 auto; color: #aaa; font-size: 12px; }
    .small-panel-item:hover { color: var(--portal-red); }
    .admissions-panel .small-panel-item { font-size: 16px; }

    .gallery-panel, .topic-panel, .service-panel { margin-top: 24px; }
    .gallery-panel { padding: 26px 28px 30px; }
    .gallery-panel .home-panel-head { margin-bottom: 22px; }
    .campus-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
    .campus-gallery figure { min-width: 0; margin: 0; }
    .campus-gallery img {
      width: 100%; aspect-ratio: 257 / 197; height: auto; display: block;
      border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px rgba(210,192,183,.45);
    }
    .campus-gallery figcaption { padding-top: 11px; overflow: hidden; color: #666; font-size: 15px; line-height: 1.4; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

    .topic-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
    /* a = 已配置外链；span = 后台未配置 url 的兜底展示（不产生空 href），两者外观一致 */
    .topic-grid a, .topic-grid span { display: block; aspect-ratio: 262 / 178; overflow: hidden; border: 1px solid #efdfd5; border-radius: 8px; }
    .topic-grid .topics-icon { width: 100%; height: 100%; object-fit: cover; }

    .service-panel { padding: 0; overflow: hidden; }
    .service-panel .home-panel-head { height: 86px; margin: 0; padding: 0 28px; }
    .service-panel .home-panel-head h2 { font-size: 27px; }
    .service-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid #f6eee9; background: #fff8f4; }
    .service-grid-inner {
      position: relative; min-width: 0; height: 120px;
      display: flex; flex-direction: row; align-items: center; justify-content: center;
      gap: 13px; padding: 0 14px; text-align: center; color: #666; font-size: 15px; line-height: 1.45;
    }
    .service-grid-inner:hover { background: #fff0e8; color: var(--portal-red); }
    .service-grid-inner::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 33px; background: #eaded9; }
    .service-grid-inner:last-child::after { display: none; }
    .service-icon { width: 44px; height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; }
    .service-icon img { width: 100%; height: 100%; object-fit: contain; }

    @media (max-width: 1200px) {
      .portal-home-hero { min-width: 0; height: 360px; }
      .portal-home-hero-copy { padding: 50px 40px 0 0; }
      .portal-home-hero-copy h1 { font-size: 60px; }
      .portal-home-hero-copy h1 b { transform: translateX(50px); }
      .portal-home-hero-copy p { font-size: 22px; }
      .portal-home .home-main, .home-main { width: auto; padding-left: 20px; padding-right: 20px; }
      .home-panel-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
      .home-small-grid { grid-template-columns: 1fr 1fr; }
      .campus-gallery { grid-template-columns: repeat(4, 1fr); }
      .topic-grid { grid-template-columns: repeat(4, 1fr); }
      .service-grid { grid-template-columns: repeat(4, 1fr); }
    }
    @media (max-width: 768px) {
      .portal-home-hero { height: 220px; }
      .portal-home-hero-copy { padding: 30px 20px 0 0; }
      .portal-home-hero-copy h1 { font-size: 36px; margin-bottom: 12px; }
      .portal-home-hero-copy h1 b { transform: translateX(20px); }
      .portal-home-hero-copy p { font-size: 16px; letter-spacing: 3px; }
      .hero-dots { bottom: 20px; }
      .hero-dots button { width: 18px; height: 7px; }
      .portal-home .home-main { padding-left: 12px; padding-right: 12px; }
      .home-panel { padding: 16px; border-radius: 10px; }
      .home-panel-head h2 { font-size: 20px; }
      .home-panel-title-icon { width: 36px; height: 36px; flex: 0 0 36px; }
      .home-panel-grid { grid-template-columns: 1fr; gap: 12px; }
      .home-small-grid { grid-template-columns: 1fr; }
      .small-panel-body { grid-template-columns: 1fr; }
      .small-panel-feature img { width: 100%; height: auto; max-height: 180px; }
      .campus-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
      .topic-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
      .service-grid { grid-template-columns: repeat(3, 1fr); }
      .service-grid-inner { height: 90px; font-size: 13px; }
    }
    @media (max-width: 480px) {
      .portal-home-hero { height: 180px; }
      .portal-home-hero-copy h1 { font-size: 28px; }
      .portal-home-hero-copy h1 b { transform: translateX(10px); }
      .portal-home-hero-copy p { font-size: 14px; letter-spacing: 2px; }
      .home-panel { padding: 12px; }
      .campus-gallery { grid-template-columns: repeat(2, 1fr); }
      .topic-grid { grid-template-columns: repeat(2, 1fr); }
      .service-grid { grid-template-columns: repeat(2, 1fr); }
    }