* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #20252e;
  background: #ffffff;
  font-family:
    /* "Open Sans", */
    "Source Sans 3",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

button {
  font: inherit;
}

/* ==========================================================================
   Icons (IconPark Outline Data URI with mask-image)
   ========================================================================== */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.icon-left {
  background-color: transparent;
  background-image: url("../images/icon-left.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.icon-right {
  background-color: transparent;
  background-image: url("../images/icon-right.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.icon-more {
  background-color: transparent;
  background-image: url("../images/icon-more.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-mask-image: none;
  mask-image: none;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.banner {
  display: block;
  width: 100%;
  aspect-ratio: 750 / 262;
}

.banner-wap,
.banner-pc {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-pc {
  display: none;
}

/* ==========================================================================
   Layout Containers & Section Headings
   ========================================================================== */
.content-wrap {
  width: calc(100% - 24px);
  max-width: 1140px;
  margin: 0 auto;
}

.block-header {
  text-align: center;
  margin-bottom: 28px;
}

.block-title {
  margin: 0;
  color: #1861d5;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   Shared News Card Structure
   ========================================================================== */
.news-list {
  display: flex;
  flex-wrap: wrap;
}

.news-region .card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce8f5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 21px rgba(28, 78, 132, 0.08);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.news-region .image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.news-region .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.news-region .content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.news-region .title {
  margin: 0;
  color: #20252e;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 200ms ease;
}

.news-region .summary {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.news-region .meta {
  margin: 12px 0 0;
  color: #1880df;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.news-region .more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  color: #2473de;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Highlights Region
   ========================================================================== */
.news-region--highlights {
  padding: 40px 0 32px;
  background: #f3f8fd;
}

.highlights-swiper {
  overflow: hidden;
  border: 1px solid rgba(45, 112, 207, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(21, 78, 145, 0.12);
}

.highlights-swiper .swiper-slide {
  height: auto;
}

.news-region--highlights .card {
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.news-region--highlights .content {
  /* justify-content: center; */
  padding: 28px 24px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, #1c75e8 0%, #0d5ecc 100%);
}

.news-region--highlights .title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
}

.news-region--highlights .divider {
  width: 40px;
  height: 2px;
  flex: 0 0 auto;
  margin-top: 16px;
  border-radius: 1px;
  background-color: rgba(255, 255, 255, 0.75);
}

.news-region--highlights .summary {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.slider-arrow {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #1861d5;
  box-shadow: 0 6.4px 16px rgba(31, 99, 197, 0.22);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.slider-arrow .icon {
  font-size: 18px;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: #1150b5;
  box-shadow: 0 8.8px 20px rgba(31, 99, 197, 0.3);
  transform: translateY(-1px);
}

.highlight-pagination {
  position: static;
  display: flex;
  width: auto !important;
  align-items: center;
  gap: 9.6px;
}

.highlight-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 !important;
  border-radius: 50%;
  background: #8ec5f8;
  opacity: 1;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.highlight-pagination .swiper-pagination-bullet-active {
  background: #1861d5;
  transform: scale(1.15);
}

/* ==========================================================================
   Page Content Regions
   ========================================================================== */
.page-content {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.news-region--updates .news-list {
  gap: 20px 12px;
}

.news-region--updates .card {
  width: calc(50% - 6px);
}

/* ==========================================================================
   Global Cooperation Region
   ========================================================================== */
.news-region--cooperation {
  padding-top: 52px;
}

.news-region--cooperation .news-list {
  gap: 20px;
}

.news-region--cooperation .card {
  width: 100%;
  border-radius: 10px;
}

.news-region--cooperation .content {
  position: relative;
  min-height: 132px;
  padding: 18px 70px 20px 20px;
}

.news-region--cooperation .title {
  font-size: 18px;
}

.news-region--cooperation .meta {
  margin-top: 14px;
}

.news-region--cooperation .more {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  color: #1780df;
  background: #eaf5ff;
  line-height: 1;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.news-region--cooperation .more .icon {
  font-size: 18px;
}

/* ==========================================================================
   Hangzhou Model Region
   ========================================================================== */
.news-region--model {
  padding-top: 52px;
}

.news-region--model .news-list {
  gap: 24px;
}

.news-region--model .card {
  align-items: stretch;
  width: 100%;
  flex-direction: row;
  gap: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #eef6ff;
  box-shadow: none;
  transition: background-color 180ms ease;
}

.news-region--model .image {
  flex: 0 0 42%;
  max-width: 220px;
  border-radius: 0;
}

@media (max-width: 399px) {
  .news-region--model .image {
    flex: 0 0 50%;
  }
}

.news-region--model .content {
  /* justify-content: center; */
  padding: 10px 22px 10px 0;
}

.news-region--model .title {
  /* 移动端标题最多显示三行，超出显示省略号 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.news-region--model .more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 0;
  color: #2473de;
  font-weight: 600;
}

.news-region--model .more-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1780df;
  background: #d8ecff;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.news-region--model .more-icon .icon {
  font-size: 16px;
}

/* ==========================================================================
   Page Footer
   ========================================================================== */
.page-footer {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: #ffffff;
  background-color: #0874d7;
  text-align: center;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5.6px;
}

.copyright-line {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.95;
}

.copyright-line a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Hover & Focus States (Desktop Pointer)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .page-content .card:hover {
    border-color: rgba(36, 115, 222, 0.4);
    box-shadow: 0 13px 29px rgba(28, 78, 132, 0.14);
    transform: translateY(-3px);
  }

  .news-region--model .card:hover {
    border-color: transparent;
    background: #eef6ff;
    box-shadow: none;
    transform: none;
  }

  .news-region--model .card:hover .more {
    color: #2473de;
  }

  .news-region .title:hover {
    color: #2473de;
  }

  .news-region--highlights .title:hover {
    color: #fff2b2;
  }

  .news-region .image:hover img {
    transform: scale(1.035);
  }

  .news-region .more:hover {
    text-decoration: underline;
  }

  .news-region--cooperation .more:hover {
    background: #d8ecff;
    text-decoration: none;
    transform: translateX(2px);
  }

  .news-region--model .more:hover {
    text-decoration: none;
  }

  .news-region--model .card:hover .more .more-icon {
    background: #d8ecff;
    transform: translateX(2px);
  }
}

.news-region .image:focus-visible,
.news-region .title a:focus-visible,
.news-region .more:focus-visible,
.slider-arrow:focus-visible {
  outline: 3px solid rgba(24, 97, 213, 0.4);
  outline-offset: 3px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 768px) {
  .banner {
    aspect-ratio: 1920 / 590;
  }

  .banner-wap {
    display: none;
  }

  .banner-pc {
    display: block;
  }

  .content-wrap {
    width: calc(100% - 48px);
  }

  .block-header {
    margin-bottom: 36px;
  }

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

  .news-region--highlights {
    padding: 68px 0 48px;
  }

  .news-region--highlights .card {
    flex-direction: row;
  }

  .news-region--highlights .image {
    width: 58.5%;
    flex: 0 0 58.5%;
  }

  .news-region--highlights .content {
    width: 41.5%;
    flex: 0 0 41.5%;
    padding: 40px 36px;
  }

  .news-region--highlights .title {
    font-size: 34px;
  }

  .news-region--highlights .summary {
    font-size: 20px;
  }

  .news-region--updates .news-list {
    flex-wrap: nowrap;
    gap: 20px;
  }

  .news-region--updates .card {
    width: calc((100% - 3 * 20px) / 4);
  }

  .news-region--cooperation {
    padding-top: 68px;
  }

  .news-region--cooperation .news-list {
    flex-wrap: nowrap;
    gap: 28px;
  }

  .news-region--cooperation .card {
    width: calc((100% - 2 * 28px) / 3);
  }

  .news-region--model {
    padding-top: 68px;
  }

  .news-region--model .news-list {
    gap: 36px;
  }

  .news-region--model .card {
    width: calc(50% - 18px);
    padding: 0;
    gap: 22px;
    background: transparent;
  }

  .news-region--model .title {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    font-size: 18px;
  }

  .news-region--model .more {
    margin-top: 18px;
    color: #20252e;
  }

  .news-region--model .more-icon {
    background: #eaf5ff;
  }

  .page-footer {
    min-height: 136px;
  }

  .copyright-line {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .news-region--highlights {
    padding-top: 80px;
    padding-bottom: 56px;
  }

  .page-content {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .news-region--cooperation,
  .news-region--model {
    padding-top: 72px;
  }
}

/* ==========================================================================
   Accessibility: Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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