/* 悉尼大学中国中心 — 中文版 */
/* 布局: PC 主内容 1086 居中;Banner/核心服务按参考站 grid;其余按 PSD */

:root {
  --color-orange: #c63a1e;
  --color-orange-deep: #b93318;
  --hero-orange: #e64626;
  --peach: #fcede2;
  --text-muted: #555;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f0f0f0;
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", Arial, sans-serif;
}

.page {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
ul {
  list-style: none;
}

/* ========== 页头 ========== */

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  height: 134px;
  padding: 0 20px;
}

.header-home {
  margin-left: 404px;
  display: flex;
  align-items: center;
}
.header-logo {
  display: flex;
  align-items: center;
}
.header-logo img {
  width: 282px;
}

.header-brand {
  margin: 0 0 0 38px;
  display: flex;
  align-items: center;
  color: var(--color-orange);
  font-size: 28.9px;
  line-height: 34px;
  white-space: nowrap;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.header-search {
  position: absolute;
  top: 50%;
  left: 1378px;
  transform: translateY(-50%);
}
.header-search img {
  width: 26px;
  height: 25px;
}

.header-search-panel {
  position: absolute;
  top: 50%;
  right: 186px;
  z-index: 20;
  display: none;
  align-items: center;
  width: 270px;
  height: 42px;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--color-orange);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}
.header-search-panel.is-open {
  display: flex;
}
.header-search-panel input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0 14px;
  outline: 0;
  background: transparent;
  color: #222;
  font-size: 14px;
}
.header-search-panel button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  flex-shrink: 0;
  background: var(--color-orange);
}
.header-search-panel button img {
  width: 18px;
  height: 18px;
}

.lang-switch {
  position: absolute;
  top: 50%;
  left: 1418px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 47px;
  background: #c63a1e;
  background-size: 100% 100%;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
}

/* ========== 主导航 ========== */

.main-nav {
  position: relative;
  z-index: 10;
  height: 73px;
  background: #000;
}

.nav-inner {
  display: flex;
  /* align-items: stretch; */
  /* gap: 120px; */
  height: 73px;
  margin-left: 430px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: rgba(216, 216, 216, 1);
  font-size: 15.5px;
  line-height: 19px;
  white-space: nowrap;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s var(--ease);
  flex: 1;
}
.nav-item,
.header-search,
.lang-switch,
.slider-arrow,
.hero-bars .bar,
.service-row,
.news-card,
.event-card,
.section-more,
.qr-item,
.footer-socials img,
.back-to-top,
.connect .connect-follow,
.card-media {
  cursor: pointer;
}

.nav-item:first-child {
  color: #fff;
}

.nav-item:hover,
.nav-item.is-active {
  background: #fff;
  color: #141414;
  font-weight: bold;
}

/* ========== Hero: 左橙块文字 + 右图,两列各 50%(参考站) ========== */

.hero {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(480px, 44vw, 728px);
  background: var(--hero-orange);
  overflow: hidden;
}

.hero-wrap {
  width: 100%;
  background: #e64626;
}

.hero-slider {
  position: relative;
  grid-column: 1 / -1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "content media";
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.75s ease,
    visibility 0s linear 0.75s;
}
.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s ease;
}

.hero__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10% 0% 4% 0;
  color: #000;
  align-items: flex-end;
}
.vvvvt {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 500px;
  margin-right: 30px;
}

.hero__title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  color: #000;
  max-width: 95%;
}
.hero__title em {
  display: block;
  font-style: normal;
}

.hero__date {
  display: flex;
  align-items: center;
  margin-top: 22px;
  font-size: clamp(15px, 1.3vw, 20px);
  color: #000;
}

.hero__cta {
  border-radius: 4px;
  display: flex;
  align-items: center;
  margin-top: 48px;
  padding: 18px 0px;
  width: 130px;
  background: #000;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  /* width: fit-content; */
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.hero__cta:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

.hero__media {
  grid-area: media;
  position: relative;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease);
}
.hero__media:hover img {
  transform: scale(1.04);
}

.slider-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px auto;
  opacity: 0.9;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.slider-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
  background-color: rgba(0, 0, 0, 0.46);
}
.slider-arrow--prev {
  left: 24px;
  background-image: url("../images/arrow-prev.png");
}
.slider-arrow--next {
  right: 24px;
  background-image: url("../images/arrow-next.png");
}

.hero-bars {
  position: absolute;
  z-index: 5;
  bottom: 48px;
  left: calc(50% - 545px);
  display: flex;
  gap: 16px;
}
.hero-bars .bar {
  position: relative;
  width: 76px;
  height: 6px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.hero-bars .bar.is-active {
  background: #424242;
}
.hero-bars .bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  background: #424242;
  transform: scaleX(0);
  transform-origin: left center;
}

/* ========== 核心服务(参考站:左图 cover / 右列表) ========== */

.services {
  margin-top: 16px;
  background: var(--peach);
}

.services-inner {
  display: flex;
  justify-content: center;
  width: min(1920px, 100%);
  margin: 0 auto;
  min-height: 630px;
  position: relative;
}

.services-media-frame {
  width: min(1003px, 52%);
  height: 631px;
  position: absolute;
  top: 50px;
  left: 0;
  overflow: hidden;
}
.services-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease);
}
.services-media-frame:hover .services-media {
  transform: scale(1.05);
}

.services-list {
  /* padding: clamp(40px, 6vw, 90px) 11% 90px 7%; */
  display: flex;
  justify-content: flex-end;
  width: 1086px;
  margin-top: 50px;
}

.rivt {
  display: flex;
  width: 500px;
  flex-direction: column;
  padding: 0 20px 0 50px;
  box-sizing: border-box;
}
.rivt h2 {
  margin-bottom: 5px;
}

.services-list > h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  margin-bottom: clamp(24px, 3vw, 56px);
  color: #000;
}

.service-row {
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: clamp(18px, 2.5vw, 30px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    padding-left 0.3s var(--ease),
    border-color 0.2s var(--ease);
}
.service-row:hover {
  padding-left: 10px;
  border-bottom-color: var(--color-orange);
}

.service-text h3 {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  margin-bottom: 8px;
  color: #000;
  transition: color 0.2s var(--ease);
}
.service-row:hover h3 {
  color: var(--color-orange);
}

.service-text p {
  font-size: clamp(13px, 1vw, 14px);
  color: var(--text-muted);
  line-height: 1.55;
}

.service-arrow {
  width: 12px;
  height: 14px;
  margin-left: 9px;
  transition: transform 0.3s var(--ease);
}
.service-row:hover .service-arrow {
  transform: translateX(6px);
}

.service-divider {
  display: none;
}
.services .section-more {
  margin-top: 36px;
  align-self: flex-end;
}

/* ========== 新闻 ========== */

.news {
  height: 620px;
  margin-top: 127px;
}

.section-inner {
  width: min(1084px, 92%);
  margin: 0 auto;
}

.news h2,
.events h2 {
  color: #000;
  font-size: 23.8px;
  line-height: 28px;
}

.news-grid {
  display: flex;
  gap: 37px;
  margin-top: 28px;
}

.news-card {
  display: block;
  width: 331px;
  color: inherit;
  text-decoration: none;
}
.news-img-frame {
  width: 329px;
  height: 397px;
  overflow: hidden;
}
.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease-in-out;
}

.news-card h3 {
  position: relative;
  margin-top: 27px;
  color: #000;
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
  transition: color 0.25s ease;
}
.news-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 0;
  height: 2px;
  background: #c63a1e;
  transition: width 150ms;
}

.news-card time {
  display: block;
  margin-top: 26px;
  color: rgba(65, 65, 65, 1);
  font-size: 14px;
  line-height: 16px;
}

.section-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 36px;
  color: rgba(65, 65, 65, 1);
  font-size: 13.6px;
  cursor: pointer;
}
.service-arrow svg,
.more-arrow svg {
  display: block;
  width: 12px;
  height: auto;
}
.more-arrow svg,
.service-arrow svg {
  margin-top: 1px;
}
.more-arrow {
  width: 12px;
  height: 14px;
  margin-left: 9px;
}

/* ========== 最新活动 ========== */

.events {
  height: 100%;
  margin-top: 73px;
}

.events .section-inner {
  width: min(1086px, 92%);
}

.event-grid {
  display: flex;
  gap: 42px;
  margin-top: 28px;
}

.event-card {
  display: block;
  position: relative;
  width: 327px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.event-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: -45px;
  background: #f1f1f1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.event-card:hover::before {
  opacity: 1;
}

.event-img-frame {
  width: 325px;
  height: 241px;
  overflow: hidden;
}
.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease-in-out;
}

/* 文字统一左对齐(与标题同起点) */
.event-tag {
  position: relative;
  display: inline-block;
  margin: 27px 0 0 0;
  color: #c63a1e;
  font-size: 18px;
  line-height: 21px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.event-tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 0;
  height: 2px;
  background: #c63a1e;
  transition: width 150ms;
}

.event-card h3 {
  position: relative;
  margin-top: 27px;
  color: #000;
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
  transition: color 0.25s ease;
}
.event-card h3::after {
}

.event-card h6 {
  margin: 26px 0 0 0;
  color: #424242;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.event-card:hover .event-tag {
  margin-left: 17px;
}
.event-card:hover h3 {
  margin-left: 17px;
}
.event-card:hover h6 {
  margin-left: 17px;
}

.events .section-more {
  margin-top: 65px;
}

/* ========== 关注/二维码 ========== */

.connect {
  /* height: 263px; */
  margin-top: 89px;
  background: #e64626;
  padding-bottom: 65px;
}

.home-page .connect {
  background: #f1f1f1;
}

.connect-inner {
  margin-left: 438px;
  padding-top: 65px;
}

.connect-follow {
  /* width: 149px; */
  margin-bottom: 16px;
  color: #000;
  font-size: 15px;
  font-weight: bold;
  line-height: 15px;
  /* text-align: center; */
}

.qr-row {
  display: flex;
  gap: 60px;
}
.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}
.qr-item:hover {
  transform: translateY(-5px);
}
.qr-img {
  display: block;
}
.qr-student {
  width: 97px;
  height: 97px;
  border-radius: 4px;
}
.qr-official {
  width: 97px;
  height: 97px;
  overflow: hidden;
  border-radius: 4px;
}
.qr-alumni {
  width: 97px;
  height: 97px;
  border-radius: 4px;
}
.qr-item figcaption {
  margin-top: 11px;
  color: #000;
  font-size: 14px;
  line-height: 13px;
  text-align: center;
}

/* ========== 页脚 ========== */

.site-footer {
  height: 417px;
  /* margin-top: -26px; */
  background: #000;
  color: #fff;
}

.footer-legal {
  width: 100%;
  margin: 88px auto 0;
  padding: 18px 20px;
  box-sizing: border-box;
  background: #000;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  padding-top: 65px;
  margin-left: 423px;
}

.footer-logo {
  width: 304px;
  margin-top: 2px;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 57px;
  margin-top: 32px;
}
.footer-socials img:nth-child(1) {
  width: 30px;
  height: 24px;
}
.footer-socials img:nth-child(2) {
  width: 34px;
  height: 33px;
}
.footer-socials img:nth-child(3) {
  width: 32px;
  height: 32px;
}
.footer-socials img:nth-child(4) {
  width: 32px;
  height: 32px;
}

.footer-contact {
  margin-left: 152px;
}
.footer-contact h2 {
  font-size: 18.7px;
  line-height: 22px;
}
.footer-contact address {
  margin-top: 40px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.4;
}

.footer-quick {
  margin-left: 130px;
}
.footer-quick h2 {
  font-size: 19.55px;
  line-height: 23px;
}
.footer-quick p {
  margin-top: 38px;
  font-size: 15.98px;
  line-height: 24.33px;
  white-space: nowrap;
}

.footer-legal {
  font-size: 12px;
  line-height: 19px;
  text-align: center;
  color: #fff;
}

/* ========== 交互特效与过渡 ========== */

.skip-link {
  position: fixed;
  z-index: 120;
  top: -60px;
  left: 16px;
  padding: 10px 16px;
  color: #fff;
  background: var(--color-orange);
  font-size: 14px;
  transition: top 0.25s ease;
}
.skip-link:focus {
  top: 12px;
}

.scroll-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-orange), #f0762f);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.back-to-top {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--color-orange);
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-orange-deep);
}

/* Cookie 同意条：BaseLayout 在所有页面渲染，样式须随 styles.css 全站加载 */
.fixedCookie {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 72px;
  background: #f1f1f1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.fixedCookie .ndiv {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  align-items: center;
}
.fixedCookie p {
  color: #333;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fixedCookie .btn-accept {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 32px;
  background: #c63a1e;
  background-size: 100% 100%;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-left: 60px;
  flex-shrink: 0;
  cursor: pointer;
}
.fixedCookie .btn-accept:hover {
  background: #af2b11;
}
.fixedCookie p a {
  color: #c63a1e;
  text-decoration: underline;
}
.fixedCookie .btn-reject {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  background: #fff;
  color: #c63a1e;
  font-size: 14px;
  border: 1px solid #c63a1e;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-left: 12px;
  flex-shrink: 0;
  cursor: pointer;
}
.fixedCookie .btn-reject:hover {
  background: #fbe9e5;
}

.havecookie {
  margin-bottom: 72px;
}
.back-to-top {
  bottom: 90px !important;
}

@media screen and (max-width: 767px) {
  .fixedCookie {
    height: auto;
    min-height: 84px;
    padding: 10px 0;
  }
  .fixedCookie .ndiv {
    flex-wrap: wrap;
    gap: 10px 0;
  }
  .fixedCookie .btn-accept {
    margin-left: 20px;
  }
  .fixedCookie .btn-reject {
    margin-left: 12px;
  }
  .havecookie {
    margin-bottom: 84px;
  }
}

.lang-switch {
  transition: all 0.25s ease;
}
.lang-switch:hover {
  background: #af2b11;
}

html.motion-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.6s ease,
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

html.motion-ready .hero-slide .hero__title,
html.motion-ready .hero-slide .hero__date,
html.motion-ready .hero-slide .hero__cta {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.motion-ready .hero-slide.is-active .hero__title,
html.motion-ready .hero-slide.is-active .hero__date,
html.motion-ready .hero-slide.is-active .hero__cta {
  opacity: 1;
  transform: none;
}
html.motion-ready .hero-slide.is-active .hero__date {
  transition-delay: 0.12s;
}
html.motion-ready .hero-slide.is-active .hero__cta {
  transition-delay: 0.24s;
}

.news-card:hover .news-img,
.event-card:hover .event-img {
  transform: scale(1.1);
}

.news-card:hover h3 {
  color: #c63a1e;
}
.news-card:hover h3::after {
  width: 47px;
}
.event-card:hover h3 {
  color: #c63a1e;
}
.event-card:hover h3::after {
  width: 47px;
}
.event-card:hover .event-tag::after,
.event-tag:hover::after {
  width: 100%;
}

.section-more span,
.section-more i {
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.section-more:hover {
  color: var(--color-orange);
}
.section-more:hover i {
  transform: translateX(4px);
}

.footer-socials img {
  cursor: pointer;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.footer-socials img:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

/* 页脚社交图标二维码悬浮提示（首页不加载 pages.css，必须放在全站样式里） */
.footer-socials--qr .footer-social {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 33px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.footer-socials--qr .footer-social:nth-child(1) {
  width: 30px;
}
.footer-socials--qr .footer-social:nth-child(2) {
  width: 34px;
}
.footer-socials--qr .footer-social > img {
  width: 32px;
  height: 32px;
  margin-left: 0;
}
.footer-socials--qr .footer-social:nth-child(1) > img {
  width: 30px;
  height: 24px;
}
.footer-socials--qr .footer-social:nth-child(2) > img {
  width: 34px;
  height: 33px;
}
.footer-socials--qr .footer-social__tooltip {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 12px);
  left: 50%;
  width: 120px;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.footer-socials--qr .footer-social__tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
.footer-socials--qr .footer-social__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 8px solid transparent;
  border-top-color: #fff;
  transform: translateX(-50%);
}
.footer-socials--qr .footer-social__tooltip > img {
  width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
  transform: none;
  opacity: 1;
  transition: none;
}
.footer-socials--qr .footer-social:hover .footer-social__tooltip,
.footer-socials--qr .footer-social:focus-visible .footer-social__tooltip {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.footer-socials--qr .footer-social:first-child .footer-social__tooltip {
  left: 0;
  transform: none;
}
.footer-socials--qr .footer-social:first-child .footer-social__tooltip::after {
  left: 15px;
}
.footer-socials--qr .footer-social:last-child .footer-social__tooltip {
  left: auto;
  right: 0;
  transform: none;
}
.footer-socials--qr .footer-social:last-child .footer-social__tooltip::after {
  left: auto;
  right: 8px;
  transform: none;
}
@media (max-width: 767px) {
  .footer-socials--qr .footer-social__tooltip {
    top: calc(100% + 12px);
    bottom: auto;
  }
  .footer-socials--qr .footer-social__tooltip::before {
    top: auto;
    bottom: 100%;
  }
  .footer-socials--qr .footer-social__tooltip::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #fff;
  }
}

.header-search img {
  transition: transform 0.25s ease;
}
.header-search:hover img {
  transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.motion-ready .hero-slide .hero__title,
  html.motion-ready .hero-slide .hero__date,
  html.motion-ready .hero-slide .hero__cta {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .news-img,
  .event-img,
  .qr-item,
  .footer-socials img {
    transition: none;
  }
}

/* ========== 页脚快速导航列 ========== */

.footer-quick .qcol {
  display: inline-block;
  width: 70px;
}
.footer-quick a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.footer-quick a:hover {
  opacity: 0.75;
}

/* ========== 1:1 校准 ========== */

.nav-inner {
  width: 1086px;
}
/* .nav-item:nth-child(1) { margin-left: 30px; }
.nav-item:nth-child(2) { margin-left: 81px; }
.nav-item:nth-child(3) { margin-left: 80px; }
.nav-item:nth-child(4) { margin-left: 81px; }
.nav-item:nth-child(5) { margin-left: 81px; }
.nav-item:nth-child(6) { margin-left: 80px; } */

.news-card:nth-child(3) h3 {
  line-height: 26px;
}
.qr-item:nth-child(3) {
  margin-left: 1px;
}
.footer-socials img:nth-child(2) {
  margin-left: 1px;
}
.footer-socials img:nth-child(4) {
  margin-left: 1px;
}

/* ========== 桌面:主内容区统一为 1086px 居中 ========== */

@media screen and (min-width: 1200px) {
  .site-header {
  }
  .header-home {
    margin-left: 0;
  }
  .header-search {
    left: auto;
    right: 144px;
  }
  .lang-switch {
    left: auto;
    right: 20px;
  }
  .nav-inner {
    max-width: 1086px;
    margin: 0 auto;
  }
  .footer-inner {
    width: min(1086px, 92%);
    margin: 0 auto;
  }
  .connect-inner {
    width: min(1086px, 92%);
    margin: 0 auto;
  }
}

/* ========== 响应式:<1200px 移动端重排 ========== */

@media screen and (max-width: 1199px) {
  .site-header {
    height: auto;
    min-height: 84px;
    padding: 16px 20px;
    align-items: center;
  }
  .header-home {
    margin-left: 0;
  }
  .header-logo img {
    width: 190px;
    height: auto;
  }
  .header-brand {
    margin: 0 0 0 12px;
    font-size: 19px;
    line-height: 24px;
  }
  .header-search {
    top: 50%;
    left: auto;
    right: 104px;
    transform: translateY(-50%);
  }
  .header-search-panel {
    top: 50%;
    right: 154px;
    width: 240px;
  }
  .lang-switch {
    top: 50%;
    left: auto;
    right: 0;
    transform: translateY(-50%);
    width: 76px;
    height: 42px;
    font-size: 12px;
  }

  .main-nav {
    overflow-x: auto;
    background-size: auto 100%;
  }
  .nav-inner {
    width: max-content;
    margin-left: 20px;
    padding-right: 20px;
  }
  .nav-item {
    padding: 0 12px;
    width: auto !important;
  }
  .nav-item + .nav-item {
  }

  /* 移动端 hero:图上(56%)+色块下(44%),箭头图中,进度点块底 */
  .hero {
    height: clamp(440px, 70vw, 760px);
  }
  .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 56% 44%;
    grid-template-areas: "media" "content";
  }
  .hero__media {
    min-height: 0;
  }
  .hero__content {
    grid-area: content;
    background: var(--hero-orange);
    padding: 8% 6%;
    justify-content: flex-start;
    align-items: stretch;
  }
  .vvvvt {
    width: auto;
  }
  .hero__title {
    font-size: clamp(20px, 2.6vw, 40px);
  }
  .hero__date {
    font-size: clamp(13px, 1.3vw, 20px);
  }
  .hero__cta {
    margin-top: 14px;
    padding: 8px 0;
    width: 116px;
  }
  .hero-bars {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }
  .hero-bars .bar {
    width: 48px;
  }
  .slider-arrow {
    top: 28%;
  }
  .slider-arrow--prev {
    left: 12px;
  }
  .slider-arrow--next {
    right: 12px;
  }

  .services,
  .news,
  .events,
  .connect,
  .site-footer {
    height: auto;
    margin-top: 0;
  }
  .connect {
    background-size: 100% 100%;
  }
  .site-footer {
    background-size: 100% 100%;
    padding-bottom: 32px;
  }

  .services-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
  }
  .services-media-frame {
    position: static;
    width: 100%;
    height: 360px;
    min-height: 240px;
    top: 0;
  }
  .services-list {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0;
    padding: 28px 20px 40px;
  }
  .rivt {
    width: 100%;
    padding: 0;
  }

  .news,
  .events {
    padding: 48px 0 8px;
  }
  .news-grid,
  .event-grid {
    display: grid;
    gap: 32px 24px;
    margin-top: 32px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card,
  .event-card {
    width: auto;
    margin-left: 0 !important;
  }
  .news-img-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 340px;
  }
  .event-img-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 320px;
  }
  .event-card .event-tag,
  .event-card h3,
  .event-card h6 {
    margin-left: 0 !important;
  }
  .event-card h3 {
    margin-top: 24px;
  }

  .events .section-more {
    margin: 25px 0;
  }

  .connect-inner {
    margin-left: 0;
    padding: 32px 20px;
  }
  .connect-follow {
    width: auto;
    text-align: left;
  }
  .qr-row {
    gap: 32px;
  }
  .qr-item:nth-child(3) {
    margin-left: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
    margin-left: 0;
    padding: 40px 20px 0;
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }
  .footer-quick .qcol {
    width: 33%;
  }
  .footer-contact,
  .footer-quick {
    margin-left: 0;
    width: 303px;
  }
  .footer-contact address,
  .footer-quick p {
    margin-top: 16px;
  }
  .footer-socials {
    gap: 40px;
  }
  .footer-socials img {
    margin-left: 0 !important;
  }
  .footer-legal {
    width: 100%;
    margin-top: 40px;
    text-align: center;
  }
}

/* 平板:导航一排平铺 */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .main-nav {
    overflow-x: visible;
  }
  .nav-inner {
    width: auto;
    margin-left: 16px;
    padding-right: 16px;
  }
  .nav-item {
    padding: 0 10px;
    font-size: 14px;
  }
  .nav-item + .nav-item {
    margin-left: 6px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .nav-item {
    padding: 0 7px;
    font-size: 12.5px;
  }
  .nav-item + .nav-item {
    margin-left: 2px !important;
  }
}

/* 汉堡按钮(仅 <768px 显示) */
.nav-tools {
  display: none;
}
.nav-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 132px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media screen and (max-width: 767px) {
  .page {
    padding-top: 84px;
  }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 120;
    background: #fff;
  }
  .header-brand {
    display: block;
    margin: 0 0 0 10px;
    font-size: 15px;
    line-height: 20px;
  }
  .header-logo img {
    width: 120px;
  }
  .site-header .header-search,
  .site-header .lang-switch,
  .site-header .header-search-panel {
    display: none !important;
  }
  .nav-toggle {
    display: flex;
    position: static;
    transform: none;
    margin-left: auto;
    flex-shrink: 0;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    height: auto;
    overflow: visible;
    background-size: 100% 100%;
    z-index: 90;
  }
  .main-nav.is-open {
    display: block;
    background: #000;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  }
  .nav-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
  }
  .nav-search {
    display: flex;
    flex: 1;
    min-width: 0;
    height: 40px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
  }
  .nav-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 14px;
    background: transparent;
    font-size: 14px;
    outline: none;
  }
  .nav-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
  }
  .nav-search button img {
    width: 18px;
    height: 18px;
  }
  .nav-tools .lang-switch {
    position: static;
    transform: none;
    width: 76px;
    height: 42px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    width: auto;
    height: auto;
    margin-left: 0;
    padding: 8px 0;
  }
  .nav-item {
    width: 100% !important;
    height: 48px;
    padding: 0 20px;
    margin-left: 0 !important;
    font-size: 15px;
    flex: auto;
  }

  .services-media-frame {
    height: 240px;
  }
  .news-img-frame {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
  .event-img-frame {
    max-height: none;
  }

  .news-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }
  .qr-row {
    gap: 20px;
  }
  .qr-item {
    flex: 1;
  }
  .qr-item figcaption {
    line-height: 16px;
  }
}

/* 导航项固定块宽(仅桌面) */
@media screen and (min-width: 1200px) {
  .nav-item:nth-child(1) {
    width: 72px;
  }
  .nav-item:nth-child(2) {
    width: 117px;
  }
  .nav-item:nth-child(3) {
    width: 117px;
  }
  .nav-item:nth-child(4) {
    width: 117px;
  }
  .nav-item:nth-child(5) {
    width: 117px;
  }
  .nav-item:nth-child(6) {
    width: 102px;
  }
}

.section-more a {
  display: flex;
  align-items: center;
}
