/* V2 common: consolidated component rules and their responsive states. */
/* A disabled/empty banner group must not leave a blank pre-footer row. */
.pre-footer-banner:not(:has(.strip-rotator)) {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
picture,
video,
iframe {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

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

button {
  border: 0;
  background: none;
}

body {
  min-width: 320px;
}

:root {
  --color-primary: #0568a8;
  --color-primary-dark: #064b78;
  --color-primary-soft: #eaf4fa;
  --color-accent: #d6a229;
  --color-text: #1f2937;
  --color-heading: #102a3a;
  --color-muted: #667085;
  --color-bg: #fff;
  --color-bg-soft: #f5f7f9;
  --color-border: #dfe5ea;
  --container: 1280px;
  --gutter: 24px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-xs: 0 1px 2px rgba(15, 42, 58, 0.05);
  --shadow-soft: 0 6px 20px rgba(15, 42, 58, 0.07);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

.news-list {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
}

.news-list > li {
  min-width: 0;
  max-width: 100%;
}

.news-list > li > a {
  min-width: 0;
  max-width: 100%;
  margin-inline: 0;
  overflow: hidden;
}

.news-list__title {
  display: block;
  width: 0;
  flex-basis: 0;
}

.news-list time {
  flex-shrink: 0;
}

[role="tabpanel"] {
  min-width: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--color-primary-dark);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

a,
button {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

a:hover {
  color: var(--color-primary);
}

:focus-visible {
  outline: 3px solid rgba(5, 104, 168, 0.35);
  outline-offset: 3px;
}

.section {
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.section--soft {
  background: var(--color-bg-soft);
  border-top: 0;
}

.section-header {
  display: flex;
  align-items: end;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  position: relative;
  padding-bottom: 12px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  color: var(--color-heading);
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
}

.section-tabs {
  display: flex;
  gap: var(--space-3);
  overflow: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.section-tab {
  min-height: 44px;
  padding: 10px 2px;
  color: var(--color-muted);
  cursor: pointer;
}

.section-tab[aria-selected="true"] {
  color: var(--color-primary);
  font-weight: 650;
}

.section-more {
  margin-left: auto;
  padding: 10px 0;
  color: var(--color-primary);
  font-size: 14px;
  white-space: nowrap;
}

.media {
  overflow: hidden;
  background: #e9eef2;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.media:hover img {
  transform: scale(1.02);
}

.media-16x9 {
  aspect-ratio: 16/9;
}

.media-3x2 {
  aspect-ratio: 3/2;
}

.media-4x3 {
  aspect-ratio: 4/3;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.meta {
  color: var(--color-muted);
  font-size: 14px;
}

.news-list {
  display: grid;
  gap: 0;
}

.news-list li {
  border-bottom: 1px solid var(--color-border);
}

.news-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 6px;
  margin-inline: -6px;
  border-radius: var(--radius-sm);
  line-height: 1.45;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

.news-list a:hover {
  background: #f6f9fb;
}

.news-list a::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: transform 0.2s ease;
}

.news-list a:hover::before {
  transform: scale(1.4);
}

.news-list time {
  margin-left: auto;
  color: var(--color-muted);
  font-size: 13px;
  white-space: nowrap;
}

.news-list__title {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.more-arrow::after {
  content: " →";
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.site-footer {
  margin-top: var(--space-6);
  background: #102a3a;
  color: #dce7ed;
}

.footer-links {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer h2 {
  font-size: 24px;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.site-footer p,
.site-footer li {
  font-size: 14px;
  line-height: 1.9;
}

.site-footer a:hover {
  color: #fff;
}

.friend-select {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid #3e5665;
  border-radius: var(--radius-sm);
  background: #17394d;
  color: #fff;
  cursor: pointer;
}

.friend-select:hover {
  border-color: #5b7889;
}

.friend-select:focus-visible {
  outline-color: rgba(255, 255, 255, 0.6);
}

.wechat-qr {
  margin-top: 16px;
}

.wechat-qr__placeholder {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.wechat-qr__placeholder small {
  display: block;
  color: #8fa6b3;
  font-size: 11px;
}

.wechat-qr img {
  width: 118px;
  height: 118px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid #34505f;
  color: #aebfc9;
  font-size: 13px;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.breadcrumb {
  padding: 18px 0;
  color: var(--color-muted);
  font-size: 14px;
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9aa5ad;
}

.strip-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 7/1;
  min-height: 84px;
  margin: 18px 0 22px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
}

.strip-rotator__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.strip-rotator__track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s ease;
}

.strip-item {
  flex: 0 0 100%;
  height: 100%;
  list-style: none;
}

.strip-item a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-item__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 12px 8px;
  background: linear-gradient(transparent, rgba(4, 27, 42, 0.72));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.strip-item a:hover .strip-item__caption {
  opacity: 1;
}

.strip-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(9, 45, 67, 0.4);
  color: #fff;
  cursor: pointer;
  padding: 0;
  border: 0;
  transition: background-color 0.2s ease;
}

.strip-arrow svg {
  width: 14px;
  height: 14px;
}

.strip-arrow--prev {
  left: 8px;
}

.strip-arrow--next {
  right: 8px;
}

.strip-arrow:hover {
  background: rgba(9, 45, 67, 0.65);
}

.strip-arrow:focus-visible {
  outline-color: rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* Pointer devices reveal controls over the image; touch keeps explicit controls. */
@media (hover: hover) and (pointer: fine) {
  [data-strip] .strip-arrow,
  [data-slider] .slider-arrow {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background-color 0.2s ease;
  }
  [data-strip]:hover .strip-arrow,
  [data-strip]:focus-within .strip-arrow,
  [data-slider]:hover .slider-arrow,
  [data-slider]:focus-within .slider-arrow {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none), (pointer: coarse) {
  [data-strip] .strip-arrow,
  [data-slider] .slider-arrow {
    opacity: 1;
    pointer-events: auto;
  }
}

.strip-dots {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strip-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(9, 45, 67, 0.38);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

.strip-dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(5, 104, 168, 0.35);
}

@media (max-width: 767px) {
  .strip-rotator {
    aspect-ratio: auto;
    min-height: 66px;
  }
}

.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
}

.utility-bar {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}

.utility-bar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 36px;
  gap: 20px;
  color: var(--color-muted);
  font-size: 13px;
}

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

.site-logo img {
  width: 299px;
  height: auto;
}

.site-search {
  display: flex;
  width: 435px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.site-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 14px;
}

.site-search input:focus {
  outline: none;
}

.site-search:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(5, 104, 168, 0.15);
}

.site-search button {
  width: 48px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
}

.site-search button:hover {
  background: var(--color-primary-dark);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-menu-toggle span,
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-heading);
}

.main-nav {
  background: var(--color-primary-dark);
  color: #fff;
}

.nav-groups {
  display: grid;
  grid-template-columns: 230px 230px 230px 230px 80px;
  min-height: 66px;
}

.nav-group {
  position: relative;
  padding: 4px 10px 3px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-group:nth-child(1) {
  background: #187ac0;
}

.nav-group:nth-child(2) {
  background: #1670b3;
}

.nav-group:nth-child(3) {
  background: #1066a8;
}

.nav-group:nth-child(4) {
  background: #045b9c;
}

.nav-group:nth-child(5) {
  background: #024d84;
  border-right: 0;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 29px;
  white-space: nowrap;
}

.nav-row--primary a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.nav-row--secondary a {
  color: #eaf4fa;
  font-size: 12px;
}

.nav-row a:hover,
.nav-row a.is-active {
  color: #ffef67;
}

.nav-row a:focus-visible {
  outline-color: rgba(255, 239, 103, 0.85);
  outline-offset: 2px;
}

.nav-group--quick {
  padding-inline: 8px;
}

.nav-group--quick .nav-row {
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  min-height: 58px;
}

.nav-group--quick a {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.nav-group:not(.nav-group--quick) {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: 29px 29px;
  column-gap: 16px;
}

.nav-group:not(.nav-group--quick) .nav-row {
  display: contents;
}

.nav-group:not(.nav-group--quick) a {
  align-self: center;
}

.nav-group:not(.nav-group--quick) .nav-row--primary a:nth-child(1) {
  grid-area: 1/1;
}

.nav-group:not(.nav-group--quick) .nav-row--primary a:nth-child(2) {
  grid-area: 2/1;
}

.nav-group:not(.nav-group--quick) .nav-row--secondary a:nth-child(1) {
  grid-area: 1/2;
}

.nav-group:not(.nav-group--quick) .nav-row--secondary a:nth-child(2) {
  grid-area: 1/3;
}

.nav-group:not(.nav-group--quick) .nav-row--secondary a:nth-child(3) {
  grid-area: 2/2;
}

.nav-group:not(.nav-group--quick) .nav-row--secondary a:nth-child(4) {
  grid-area: 2/3;
}

.legacy-layout {
  display: grid;
  grid-template-columns: 700px 280px;
  gap: 20px;
  margin-top: 1.5em;
}

.page-header {
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 30px;
  color: var(--color-heading);
}

.list-layout {
  display: grid;
  grid-template-columns: 700px 280px;
  gap: 20px;
  margin-top: 10px;
}

.list-layout > * {
  min-width: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 700px 280px;
  gap: 20px;
  margin-top: 10px;
}

.article-layout > * {
  min-width: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: 700px 280px;
  gap: 20px;
}

.page-layout > * {
  min-width: 0;
}

.pre-footer-banner {
  display: grid;
  grid-template-columns: 700px 280px;
  gap: 20px;
}

@media (min-width: 1320px) {
  .pre-footer-banner {
    grid-template-columns: 896px 358px;
    gap: 26px;
  }
}

@media (min-width: 768px) and (max-width: 1319px) {
  .pre-footer-banner {
    grid-template-columns: minmax(0, 7fr) minmax(250px, 2.8fr);
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .pre-footer-banner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pre-footer-banner > .strip-rotator {
  min-width: 0;
  grid-column: 1;
}

@media (max-width: 1039px) {
  .container {
    width: calc(100% - 40px);
  }
}

@media (max-width: 1039px) {
  .nav-groups {
    grid-template-columns: 23% 23% 23% 23% 8%;
  }
}

@media (max-width: 1039px) {
  .nav-group:not(.nav-group--quick) {
    column-gap: 8px;
    padding-inline: 6px;
  }
}

@media (max-width: 1039px) {
  .nav-row--primary a {
    font-size: 13px;
  }
}

@media (max-width: 1039px) {
  .nav-row--secondary a {
    font-size: 11px;
  }
}

@media (max-width: 1039px) {
  .legacy-layout,
  .list-layout,
  .article-layout,
  .page-layout {
    grid-template-columns: minmax(0, 7fr) minmax(250px, 2.8fr);
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 32px);
  }
}

@media (max-width: 767px) {
  .utility-bar__inner {
    justify-content: space-between;
    min-height: 34px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .brand-row {
    min-height: 72px;
  }
}

@media (max-width: 767px) {
  .site-logo img {
    width: 210px;
  }
}

@media (max-width: 767px) {
  .site-search {
    display: none;
  }
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 767px) {
  .main-nav {
    position: relative;
  }
}

@media (max-width: 767px) {
  .nav-groups {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: none;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 72px);
    overflow: auto;
    background: var(--color-primary-dark);
  }
}

@media (max-width: 767px) {
  .nav-groups.is-open {
    display: grid;
  }
}

@media (max-width: 767px) {
  .nav-group,
  .nav-group:nth-child(n) {
    display: block;
    padding: 8px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--color-primary-dark);
  }
}

@media (max-width: 767px) {
  .nav-group:not(.nav-group--quick) .nav-row {
    display: flex;
  }
}

@media (max-width: 767px) {
  .nav-row {
    min-height: 34px;
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .nav-row--primary a {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .nav-row--secondary a {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .nav-group--quick .nav-row {
    align-items: flex-start;
    flex-direction: row;
    justify-content: flex-start;
    min-height: 34px;
  }
}

@media (max-width: 767px) {
  .legacy-layout,
  .list-layout,
  .article-layout,
  .page-layout {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .footer-links {
    grid-template-columns: 1fr;
    padding-block: 32px;
  }
}

@media (max-width: 767px) {
  .section-header:has(.section-tabs) {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .section-tabs {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 420px) {
  .site-logo img {
    width: 190px;
  }
}

@media (min-width: 1320px) {
  .nav-groups {
    grid-template-columns: 294px 294px 294px 294px 104px;
  }
}

@media (min-width: 1320px) {
  .nav-group:not(.nav-group--quick) {
    padding-inline: 14px;
    column-gap: 20px;
  }
}

@media (min-width: 1320px) {
  .legacy-layout,
  .list-layout,
  .article-layout,
  .page-layout {
    grid-template-columns: 896px 358px;
    gap: 26px;
  }
}

@media (min-width: 768px) and (max-width: 1319px) {
  .nav-groups {
    grid-template-columns: 23% 23% 23% 23% 8%;
  }
}

@media (min-width: 768px) and (max-width: 1319px) {
  .nav-group:not(.nav-group--quick) {
    padding-inline: 6px;
    column-gap: 8px;
  }
}

@media (min-width: 768px) and (max-width: 1319px) {
  .nav-row--primary a {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1319px) {
  .nav-row--secondary a {
    font-size: 11px;
  }
}

@media (min-width: 768px) and (max-width: 1319px) {
  .legacy-layout,
  .list-layout,
  .article-layout,
  .page-layout {
    grid-template-columns: minmax(0, 7fr) minmax(250px, 2.8fr);
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .legacy-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 768px) {
  .main-nav .nav-groups {
    min-height: 80px;
  }
}

@media (min-width: 768px) {
  .main-nav .nav-group:not(.nav-group--quick) {
    grid-template-columns: max-content max-content max-content;
    grid-template-rows: 34px 34px;
    justify-content: space-between;
    column-gap: 6px;
    padding-block: 6px;
  }
}

@media (min-width: 768px) {
  .main-nav .nav-row--primary a {
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }
}

@media (min-width: 768px) {
  .main-nav .nav-row--secondary a {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }
}

@media (min-width: 768px) {
  .main-nav .nav-group--quick .nav-row {
    min-height: 68px;
    justify-content: space-evenly;
    gap: 4px;
  }
}

@media (min-width: 1320px) {
  .main-nav .nav-groups {
    min-height: 88px;
  }
}

@media (min-width: 1320px) {
  .main-nav .nav-group:not(.nav-group--quick) {
    grid-template-rows: 38px 38px;
    padding-inline: 14px;
  }
}

@media (min-width: 1320px) {
  .main-nav .nav-row--primary a {
    font-size: 17px;
    letter-spacing: 0.04em;
  }
}

@media (min-width: 1320px) {
  .main-nav .nav-row--secondary a {
    font-size: 14px;
    letter-spacing: 0.04em;
  }
}

@media (min-width: 1320px) {
  .main-nav .nav-group--quick a {
    font-size: 15px;
    letter-spacing: 0.04em;
  }
}

@media (min-width: 1320px) {
  .main-nav .nav-group--quick .nav-row {
    min-height: 76px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .main-nav .nav-row--primary a {
    font-size: 12px;
    letter-spacing: 0;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .main-nav .nav-row--secondary a {
    font-size: 10px;
    letter-spacing: 0;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .main-nav .nav-group--quick a {
    font-size: 11px;
  }
}

.main-nav {
  position: relative;
  z-index: 90;
}

.main-nav .nav-entry {
  position: static;
  align-self: center;
  padding-right: 0;
}

.main-nav .nav-row--primary > .nav-entry:nth-child(1) {
  grid-area: 1/1;
}

.main-nav .nav-row--primary > .nav-entry:nth-child(2) {
  grid-area: 2/1;
}

.nav-expand {
  margin-left: 2px;
  width: 10px;
  font-size: 12px;
  color: inherit;
  cursor: pointer;
}

.nav-dropdown {
  position: absolute;
  z-index: 120;
  display: none;
  width: max-content;
  max-width: calc(100vw - 32px);
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 100% 0 0 round 4px);
  transition:
    clip-path 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.18s ease,
    visibility 0.3s;
  background: var(--submenu-bg, #1066a8);
  color: #fff;
  border-radius: 0 7px 7px 0;
  box-shadow: 0 7px 18px rgba(0, 35, 65, 0.18);
  transform-origin: left top;
}

.nav-entry.is-open > .nav-dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0 round 4px);
}

.nav-dropdown__links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  min-height: 44px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
  overscroll-behavior-x: contain;
}

@media (min-width: 768px) and (max-width: 1319px) {
  .main-nav .nav-group {
    min-width: 0;
  }
  .main-nav .nav-group:not(.nav-group--quick) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .main-nav .nav-entry,
  .main-nav .nav-row a {
    min-width: 0;
  }
  .main-nav .nav-entry > a,
  .main-nav .nav-row--secondary > a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.main-nav .nav-group .nav-dropdown__links > a:nth-child(n) {
  grid-area: auto;
  flex: 0 0 auto;
  display: block;
  padding: 11px 15px;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition:
    background-color 0.18s,
    color 0.18s;
}

@media (min-width: 768px) {
  .nav-dropdown--two-rows { border-radius: 7px; }
  .nav-dropdown--two-rows .nav-dropdown__links {
    display: grid;
    grid-template-columns: var(--submenu-columns);
    overflow-x: visible;
    align-items: stretch;
  }
  .main-nav .nav-group .nav-dropdown--two-rows .nav-dropdown__links > a {
    white-space: normal;
    overflow-wrap: anywhere;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .nav-entry.is-open > .nav-dropdown { animation: fszi-nav-right .46s both; }
  .nav-expand { transition: color .2s ease; }
  .nav-entry.is-open .nav-expand { color: #ffef67; }
}

@keyframes fszi-nav-right {
  0% { opacity: 0; transform: scaleX(.3); clip-path: inset(0 90% 0 0); }
  65% { opacity: 1; transform: scaleX(1); clip-path: inset(0); }
  82% { transform: scaleX(.975); }
  100% { opacity: 1; transform: scaleX(1); clip-path: inset(0); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-entry.is-open > .nav-dropdown { animation: none; }
  .nav-expand { transition: none; }
}

.main-nav .nav-group .nav-dropdown__links > a:hover,
.main-nav .nav-group .nav-dropdown__links > a:focus-visible {
  color: #ffef67;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
  .main-nav .nav-row--primary {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .main-nav .nav-entry {
    display: block;
    max-width: 100%;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .nav-dropdown {
    position: static;
    width: 100%;
    max-width: calc(100vw - 64px);
    max-height: 0;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .nav-entry.is-open > .nav-dropdown {
    max-height: 72px;
    margin-block: 4px;
  }
}

@media (max-width: 767px) {
  .nav-dropdown__links {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .nav-expand {
    width: 32px;
    min-height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown {
    transition: none;
  }
}

.news-list li {
  border-bottom: 0;
}

.news-list a {
  padding: 12px 0;
  margin-inline: 0;
  background: transparent;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.news-list a:hover {
  background: transparent;
  transform: translateX(2px);
}

.news-list a::before {
  background: #c3ced6;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}

.news-list a:hover::before {
  background: var(--color-primary);
  transform: scale(1.3);
}

[data-tabs] [role="tabpanel"] {
  animation: v2fade 0.22s ease;
}

.sidebar-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 24px;
}

.sidebar-panel__head {
  height: auto;
  min-height: 42px;
  padding: 0 0 10px;
  border-bottom: 0;
  background: transparent;
  border-radius: 0;
}

.sidebar-panel__head h2 {
  font-size: clamp(17px, 1.3vw, 19px);
}

.sidebar-panel__body {
  padding: 4px 0 0;
}

.sidebar-panel .news-list a {
  padding: 10px 0;
  font-size: clamp(14px, 1.05vw, 15px);
}

.sidebar-video img {
  border-radius: var(--radius-md);
}

.sidebar-video__play {
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.sidebar-video:hover .sidebar-video__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--color-primary);
  color: #fff;
}

.sidebar-profile {
  gap: 12px;
}

.sidebar-profile img {
  border-radius: var(--radius-sm);
}

.sidebar-profile h3 {
  font-size: clamp(16px, 1.25vw, 18px);
  transition: color 0.18s ease;
}

.sidebar-links {
  margin-top: 10px;
  border-top: 0;
}

.sidebar-links a {
  padding: 7px 0;
  border-top: 0;
  font-size: clamp(13px, 1vw, 14px);
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.sidebar-links a:hover {
  transform: translateX(2px);
}

.page-header {
  padding: 16px 0 22px;
  border-bottom: 0;
}

.page-header h1 {
  font-size: clamp(28px, 2.6vw, 34px);
}

.breadcrumb {
  padding: 20px 0;
}

@media (max-width: 767px) {
  .sidebar-panel {
    margin-bottom: 20px;
  }
}

.sidebar-panel__head {
  justify-content: space-between;
  align-items: center;
}

.sidebar-panel__head h2 {
  flex: 0 0 auto;
}

.sidebar-panel__more {
  flex: 0 0 auto;
  padding: 8px 0;
  font-size: 13px;
  color: var(--color-muted);
  transition: color 0.18s ease;
}

.sidebar-panel__more:hover {
  color: var(--color-primary);
}

.sidebar-profile {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
}

.sidebar-profile .media {
  height: 90px;
  border-radius: var(--radius-sm);
}

.sidebar-profile h3 {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 650;
}

.sidebar-profile:hover h3 {
  color: var(--color-primary);
}

.news-list--compact a {
  padding: 7px 0;
  font-size: 14px;
}

@media (max-width: 767px) {
  .strip-rotator {
    aspect-ratio: auto;
    min-height: 70px;
  }
}

@media (max-width: 767px) {
  .strip-item {
    flex: 0 0 100%;
  }
}

:where(.sidebar-panel) {
  margin-bottom: 14px;
  border: 1px solid #e8edf2;
  border-radius: var(--radius-md);
  background: #fff;
}

:where(.sidebar-panel__head) {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid #e8edf2;
  background: #fff;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

:where(.sidebar-panel__head h2) {
  position: relative;
  padding-left: 12px;
  font-size: 17px;
  color: var(--color-heading);
}

:where(.sidebar-panel__head h2::before) {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 15px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--color-primary);
}

:where(.sidebar-panel__body) {
  padding: 8px 12px;
}

:where(.sidebar-panel .news-list a) {
  padding: 8px 0;
  font-size: 14px;
}

:where(.sidebar-panel .news-list time) {
  display: none;
}

:where(.sidebar-video) {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.sidebar-video > img,
.sidebar-video > iframe,
.sidebar-video > video {
  display: block;
  width: 100%;
  border-radius: inherit;
  border: 0;
}

:where(.sidebar-video img) {
  width: 100%;
  aspect-ratio: 278/210;
  object-fit: cover;
}

:where(.sidebar-video__play) {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
}

:where(.sidebar-panel__head) {
  justify-content: space-between;
}

:where(.sidebar-panel__head h2) {
  flex: 0 0 auto;
}

:where(.sidebar-panel__more) {
  flex: 0 0 auto;
  padding: 8px 0;
  font-size: 13px;
  color: var(--color-muted);
  transition: color 0.18s ease;
}

:where(.sidebar-panel__more:hover) {
  color: var(--color-primary);
}

:where(.sidebar-profile) {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
}

:where(.sidebar-profile img) {
  width: 72px;
  height: 90px;
  object-fit: cover;
}

:where(.sidebar-profile h3) {
  font-size: 15px;
  line-height: 1.4;
}

:where(.sidebar-profile p) {
  display: none;
}

:where(.sidebar-links) {
  margin-top: 8px;
}

:where(.sidebar-links a) {
  display: block;
  padding: 5px 0;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
}

.sidebar-panel.sidebar-panel--notice {
  background: #f0f6fb;
  border: 1px solid #dce8f2;
  box-shadow: 0 4px 16px rgba(22, 65, 96, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-panel--notice .sidebar-panel__head {
  background: transparent;
  padding: 12px 14px;
  border-bottom: 1px solid #dce8f2;
  min-height: 46px;
  height: auto;
}

.sidebar-panel--notice .sidebar-panel__body {
  padding: 8px 14px 12px;
}

.pre-footer-banner {
  margin-top: 28px;
}

.pre-footer-banner .strip-rotator {
  margin: 0;
}
/* Shared article metadata share entry; popup opens inward and below the header. */
.article-meta .share-wechat--meta { position: relative; margin-left: auto; }
.article-meta .share-wechat--meta .share-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 6px; border: 0; background: transparent; cursor: pointer; }
.article-meta .share-wechat--meta .share-pop { top: calc(100% + 10px); bottom: auto; left: auto; right: 0; }
.article-meta .share-wechat--meta .share-pop::after { top: -6px; bottom: auto; left: auto; right: 13px; transform: rotate(225deg); }
.breadcrumb-trail { overflow-wrap: anywhere; line-height: 1.8; }

/* Shared content tracks: desktop 40px, tablet 28px. */
@media (min-width: 768px) {
  :root { --content-column-gap: 28px; }
  .container.legacy-layout,
  .list-layout.list-layout,
  .article-layout.article-layout,
  .page-layout.page-layout,
  .container.pre-footer-banner,
  .activities .activity-group {
    grid-template-columns: minmax(0, 7fr) minmax(250px, 2.8fr);
    column-gap: var(--content-column-gap);
  }
  .home-main .module-pair,
  .activities .activity-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--content-column-gap);
  }
}

@media (min-width: 1024px) {
  .home-main .home-lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--content-column-gap);
  }
}

@media (min-width: 1320px) {
  :root { --content-column-gap: 40px; }
  .container.legacy-layout,
  .list-layout.list-layout,
  .article-layout.article-layout,
  .page-layout.page-layout,
  .container.pre-footer-banner,
  .activities .activity-group {
    grid-template-columns: minmax(0, 1fr) 358px;
  }
}
