/*
  信德海事站点通用样式表
  - 重置与基础排版
  - 布局基础与工具类
  - 头部、导航、页脚
  说明：
  - 选择器语义化，命名清晰
  - 响应式断点采用移动优先
*/

/* CSS重置（精简现代） */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-inline: auto;
}

main#content {
  transition: padding-top 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  font-weight: inherit;
}


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

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

a:hover {
  text-decoration: none !important;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

input,
select,
textarea {
  font: inherit;
}

/* 颜色变量 */
:root {
  --brand-blue: #007ec9;
  /* Main Xinde Blue */
  --brand-light-blue: #ebf5ff;
  --text-dark: #333333;
  --text-gray: #666666;
  --border-color: #e5e5e5;
  --bg-light: #f9f9f9;
  --success-600: #16a34a;
  --danger-600: #dc2626;
  --warning-600: #d97706;
  --accent-600: #0ea5e9;
  --surface: #ffffff;
}



.bg-gray {
  width: 100%;
  background-color: #dddddd;
}

main {
  max-width: 1920px;
  margin-inline: auto;
  background-color: #eeeeee;
  padding-bottom: 50px;
}

header {
  max-width: 1920px;
  margin-inline: auto;
  background-color: #ffffff;
}



/* ==================== */
/*   布局容器（核心）      */
/* ==================== */

/* 主内容区容器：1660px 宽，居中 */
.xinde-container {
  width: 100%;
  max-width: 1660px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* 中等内容区容器：1440px 宽，用于内容聚焦页 */
.xinde-container-md {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* 响应式：平板及移动端容器内边距调整 */
@media (max-width: 1024px) {

  .xinde-container,
  .xinde-container-md {
    padding-inline: 16px;
  }
}

@media (max-width: 768px) {

  .xinde-container,
  .xinde-container-md {
    padding-inline: 12px;
  }
}

/* ==================== */
/*   页面通用标题样式     */
/* ==================== */

/* 页面主标题 */
.page-title-lg {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .page-title-lg {
    font-size: 24px;
  }
}

/* 布局基础 */
.usercenter-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
}

/* Header uses full-width containers so it can adapt to viewport width */


/* Simple account/auth header for login/registration pages */


.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 40px;
  background-color: #ffffff;
}

.auth-header__menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-right: 16px;
  color: #333333;
}

.auth-header__menu i {
  font-size: 20px;
}

.auth-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
}

.auth-header__logo {
  height: 50px;
  width: auto;
}

.auth-header__slogan {
  font-size: 14px;
  color: #666666;
}

.auth-header__profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-header__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #ebebeb;
}

.auth-header__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-header__name {
  margin-left: 10px;
  font-size: 16px;
  color: #666666;
}

.auth-header__arrow {
  margin-left: 20px;
  font-size: 16px;
  color: #999999;
}

@media (max-width: 768px) {
  .auth-header {
    padding-inline: 16px;
  }

  .auth-header__menu {
    display: inline-flex;
  }

  .auth-header__slogan {
    display: none;
  }
}


.banner-strip {
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.banner-strip img {
  width: 100%;
  height: auto;
}

/* Custom Pagination for Banner */
.banner-strip .swiper-pagination {
  bottom: 10px;
  /* Ensure it's at the bottom */
  z-index: 10;
  /* Ensure it's above images */
}

.banner-strip .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  /* Add spacing */
}

.banner-strip .swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}

/* Activity Swiper */
.activity-swiper-container {
  position: relative;
}

.activity-swiper {
  width: 100%;
  overflow: hidden;
}

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

.activity-swiper .card {
  height: 100%;
}

/* Activity Swiper 导航按钮 - 方形设计 */
.activity-prev,
.activity-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0 !important;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  z-index: 10;
  transition: all 0.2s ease;
}

.activity-prev:hover,
.activity-next:hover {
  background: #004393;
  border-color: #004393;
  color: #ffffff;
}

.activity-prev::after,
.activity-next::after {
  display: none;
}

.activity-prev::before {
  content: '';
  width: 10px;
  height: 10px;
  border-left: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  margin-left: 4px;
}

.activity-next::before {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid #6b7280;
  border-top: 2px solid #6b7280;
  transform: rotate(45deg);
  margin-right: 4px;
}

.activity-prev:hover::before {
  border-left-color: #ffffff;
  border-bottom-color: #ffffff;
}

.activity-next:hover::before {
  border-right-color: #ffffff;
  border-top-color: #ffffff;
}

.activity-prev {
  left: -54px;
  /* 定位到容器外侧 */
}

.activity-next {
  right: -54px;
}

/* 通用面包屑条 */
.breadcrumb-bar {
  background-color: #0b61aa;
  height: 80px;
  display: flex;
  align-items: center;
}

.breadcrumb-bar__inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.breadcrumb {
  font-size: 14px;
  color: #cfd8e6;
  margin: 0;
  margin-left: auto;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb__item a {
  color: #cfd8e6;
}

.breadcrumb__item--current {
  color: #ffffff;
  font-weight: 600;
}

.breadcrumb__separator {
  color: #cfd8e6;
}

.breadcrumb__icon {
  font-size: 18px;
  margin-right: 4px;
  vertical-align: -2px;
}

.section {
  padding-block: 30px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 12px;
  margin-bottom: 16px;
  height: 40px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 0.5px;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-actions a {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
}

/* Year filter header (Video, Forum list, etc.) */
.section-year-header,
.video-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-year-title,
.video-section__year {
  font-size: 28px;
  font-weight: 700;
}

.section-year-filter,
.video-section__filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-year-select {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.video-year-select__control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 100px 8px 12px;
  border-radius: 4px;
  border: 1px solid #1f558b;
  background-color: #ffffff;
  font-size: 16px;
  color: #333333;
}

.video-year-select__icon {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background-color: #1f558b;
  color: #ffffff;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* Pagination (shared by video, forum-list, latest-news, etc.) */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 8px;
}

.pagination__link {
  min-width: 45px;
  height: 45px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid #004494;
  background-color: transparent;
  color: #004494;
  font-size: 13px;
}

.pagination__link--current {
  background-color: #004494;
  color: #ffffff;
  border-color: #004494;
}

.pagination__link--prev,
.pagination__link--next {
  font-weight: 600;
  padding-inline: 20px;
}

.pagination__link:disabled {
  cursor: not-allowed;
}

.pagination__ellipsis {
  color: #666;
  font-size: 14px;
}

/* 分页移动端适配 */
@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
  }

  .pagination__link {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }

  .pagination__link--prev,
  .pagination__link--next {
    min-width: auto;
    padding: 0 12px;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .pagination {
    gap: 4px;
  }

  .pagination__link {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 11px;
  }

  .pagination__link--prev,
  .pagination__link--next {
    padding: 0 8px;
    font-size: 10px;
  }
}

/* Load More Button - 通用加载更多按钮 */
.load-more {
  margin-top: 32px;
  text-align: center;
}

.load-more__button {
  min-width: 220px;
  height: 44px;
  border-radius: 4px;
  border: none;
  background-color: #004494;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.load-more__button:hover {
  background-color: #005aca;
}

.load-more__button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Utility classes */
.text-muted {
  color: var(--text-gray);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background-color: var(--brand-blue);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
}

/* Chips */
.status-chip {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #004494;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase;
  z-index: 10;
  border-radius: 5px;
}

/* HOT 角标：使用图片 hot-icon.png，悬挂在蓝色块顶部 */
.chip-hot,
.chip-hot-w {
  position: absolute;
  top: -18px;
  left: 24px;
  display: inline-block;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  text-indent: -9999px;
  z-index: 10;
}

.chip-hot {
  background-image: url("../../common/img/icon/hot.png");
}

.chip-hot-w {
  background-image: url("../../common/img/icon/hot-w.png");
}

.chip-hot::after,
.chip-hot-w::after {
  content: none;
}

/* Card Styles - 通用卡片样式 */
.card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-media {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

.card-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: auto;
}

/* Overlay Card Style */
.overlay-card {
  position: relative;
}

.overlay-card .card-media {
  height: 100%;
  position: relative;
}

.overlay-card .card-media::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgb(14, 48, 81) 0%, rgba(14, 48, 81, 0.6) 40%, rgba(14, 48, 81, 0) 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 8px 8px;
}

.overlay-card .card-overlay-title {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding-inline: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-main .card-overlay-title {
  font-size: 20px;
}

/* Standard Card Style */
.standard-card .card-media {
  height: 200px;
  flex-shrink: 0;
}

.standard-card .card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.standard-card .card-title {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.4em * 2);
}

.ship-list-main-card .card-title {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  min-height: 80px;
}

.standard-card:hover .card-title {
  color: var(--brand-blue);
}

.standard-card .card-meta {
  font-size: 16px;
  color: #656565;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  background-color: #fff;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* 头部 */
header.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 3px solid var(--brand-blue);
  background: #fff;
}

/* 滚动时：只保留品牌区和导航固定在顶部，广告横幅隐藏 */
/* ready状态：fixed定位但在视口外，准备滑入 */
header.site-header.site-header--ready {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* sticky状态：从顶部滑入显示 */
header.site-header.site-header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 向下滚动时隐藏header - 平滑滑出 */
header.site-header.site-header--hidden {
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 在所有固定浮动状态下隐藏广告和导航栏，避免切换类名时结构瞬间高度突变 */
header.site-header.site-header--ready .ad-banner,
header.site-header.site-header--ready nav.site-nav,
header.site-header.site-header--sticky .ad-banner,
header.site-header.site-header--sticky nav.site-nav,
header.site-header.site-header--hidden .ad-banner,
header.site-header.site-header--hidden nav.site-nav {
  display: none !important;
}

/* sticky 头部下允许展开菜单重新显示 */
header.site-header.site-header--ready nav.site-nav.menu-open,
header.site-header.site-header--sticky nav.site-nav.menu-open,
header.site-header.site-header--hidden nav.site-nav.menu-open {
  display: block !important;
}

/* 在所有固定浮动状态下缩小标题栏占位，保证平滑滚动 */
header.site-header.site-header--ready .brand-row,
header.site-header.site-header--sticky .brand-row,
header.site-header.site-header--hidden .brand-row {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 0;
  transition: none;
}

header.site-header.site-header--ready .brand-logo,
header.site-header.site-header--sticky .brand-logo,
header.site-header.site-header--hidden .brand-logo {
  height: 60px;
}

/* 菜单展开时移除 header transform，避免抽屉在滚动状态下被裁切 */
header.site-header.site-header--menu-open {
  transform: none !important;
}

/* 移除缩放效果 - 保持原始尺寸 */

/* 广告横幅 */
.ad-banner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.ad-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  border: none;
  z-index: 400;
  /* Higher than header search (300-320) */
}

.ad-close:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* 品牌区 */
.brand-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 45px;
  padding-top: 100px;
  transition:
    margin-top 0.3s ease,
    padding-bottom 0.3s ease,
    padding-top 0.3s ease;
}

/* 首页样式：保持原有样式不变 */
.brand-row--home {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 45px;
  padding-top: 45px;
}

.brand-row--home .brand {
  justify-content: center;
}

.brand-row--home .brand-slogan {
  text-align: left;
  align-self: end;
}

/* 其他页面样式：logo 在左侧，标语紧跟 */
.brand-row--other {
  grid-template-columns: 1fr auto 1fr;
  padding-bottom: 40px;
  padding-top: 40px;
  align-items: center;
}

.brand-row--other .brand {
  justify-content: center;
  grid-column: 2;
}

.brand-row--other .header-actions {
  grid-column: 3;
  justify-self: end;
}

.brand-slogan {
  font-size: 20px;
  color: var(--text-dark);
  text-align: left;
  align-self: end;
}

.brand {
  display: flex;
  justify-content: center;
}

.brand-logo {
  height: 60px;
  width: auto;
  max-width: 100%;
  transition: height 0.3s ease;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  position: relative;
  align-self: end;
}

.header-actions .icon-btn {
  width: 40px;
  height: 40px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-actions .icon-btn:hover {
  color: var(--brand-blue);
}

.header-actions .icon-btn i {
  font-size: 40px;
  line-height: 1;
}

.header-cn-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.header-cn-link:hover {
  color: var(--brand-blue);
}

/* 用户资料区域 */
.header-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.header-user-profile:hover {
  background-color: transparent;
}

.header-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid #d8d8d8;
  flex-shrink: 0;
}

.header-user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.header-user-name {
  font-size: 16px;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.header-user-profile i {
  font-size: 20px;
  color: var(--text-gray);
  flex-shrink: 0;
}

.search-anchor {
  position: relative;
}

.header-search {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  border: 1px solid var(--brand-blue);
  border-radius: 10px;
  padding: 6px 10px;
  background: #fff;
  width: 0;
  height: 60px;
  opacity: 0;
  overflow: visible;
  transition:
    width 0.25s ease,
    opacity 0.2s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  z-index: 300;
}

.brand-row.search-open .search-anchor .header-search {
  width: auto;
  max-width: calc(100vw - 120px);
  opacity: 1;
}

.header-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  height: 100%;
}

.header-search .search-submit {
  background: none;
  border: none;
  color: var(--brand-blue);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}

.header-search .search-submit i {
  font-size: 20px;
}

.header-suggest {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  width: 100%;
  background: #fff;
  border-top: none;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  padding: 6px 0;
  z-index: 290;
}

.header-suggest li a {
  display: block;
  padding: 8px 12px;
  color: var(--text-dark);
}

.header-suggest li a:hover {
  background: var(--bg-light);
  color: var(--brand-blue);
}

.brand-row.search-open .header-search .icon-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-blue);
  z-index: 310;
}

.brand-row.search-open .header-search .icon-btn i {
  font-size: 24px;
}

.brand-row.search-open .header-search-input {
  padding-right: 44px;
}

.brand-row.search-open {
  grid-template-columns: auto 1fr auto;
}

.brand-row.search-open .brand {
  grid-column: 1;
  justify-content: flex-start;
}

.brand-row.search-open .brand-slogan {
  display: none;
}

/* 已移除：search-anchor 内图标按钮的绝对定位；展开时图标置于 header-search 内部 */

/* 菜单展开行为与搜索一致：Logo 左移，标语隐藏 */
.brand-row.menu-open {
  grid-template-columns: auto 1fr auto;
}

.brand-row.menu-open .brand {
  grid-column: 1;
  justify-content: flex-start;
}

.brand-row.menu-open .brand-slogan {
  display: none;
}

/* 导航 */
nav.site-nav {
  background: #fff;
  border-top: 1px solid #dddddd;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  font-weight: 800;
  color: #000;
  height: 100px;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.5px;
  font-family: "Times New Roman", Times, serif;
  transition: height 0.25s ease, opacity 0.25s ease;
}

/* 导航数据为空时折叠占位，避免 PC 出现空白导航带 */
nav.site-nav.site-nav--empty {
  border-top: none;
}

.nav-links.nav-links--empty {
  height: 0 !important;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* 与截图中 “LATEST” 文本一致的衬线字体效果 */

.site-nav--home .nav-links {
  display: flex;
}

/* sticky时保持导航栏可见 */

@media (max-width: 1440px) {
  .nav-links {
    gap: 56px;
    height: 80px;
    font-size: 18px;
  }
}

@media (max-width: 1280px) {
  .nav-links {
    gap: 40px;
    height: 70px;
    font-size: 16px;
  }
}

.nav-links a {
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--brand-blue);
}

/* 菜单展开时隐藏顶部一级菜单，避免重复 */
nav.site-nav.menu-open .nav-links {
  display: none !important;
}

/* 抽屉菜单仅用于移动端，避免影响 PC 下拉菜单 */
@media (max-width: 768px) {
  nav.site-nav.menu-opening,
  nav.site-nav.menu-open,
  nav.site-nav.menu-closing {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  nav.site-nav.menu-closing {
    pointer-events: none;
  }

  nav.site-nav.menu-opening .mega-menu,
  nav.site-nav.menu-open .mega-menu,
  nav.site-nav.menu-closing .mega-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: 50vw;
    min-width: 320px;
    max-width: 920px;
    background: #fff;
    overflow-y: auto;
    padding: 24px 20px 36px;
    z-index: 1000;
    border-radius: 16px 0 0 16px;
    box-shadow: -10px 0 28px rgba(15, 23, 42, 0.22);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.32s ease;
  }

  nav.site-nav.menu-open .mega-menu {
    transform: translateX(0);
    opacity: 1;
  }

  nav.site-nav.menu-closing .mega-menu {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* 巨型菜单 */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  z-index: 200;
  padding: 24px 0 100px 0;
  border-top: none;
}

.mega-menu .container {
  position: relative;
}

/* 菜单关闭按钮 - 默认隐藏，移动端显示 */
.mega-menu__close {
  display: none;
  position: absolute;
  top: 0;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #333;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mega-menu__close:hover {
  color: #004494;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.menu-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-title {
  font-size: 18px;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu-list a {
  color: var(--text-gray);
  font-size: 18px;
}

.menu-list a:hover {
  color: var(--brand-blue);
}

/* 隐藏元素 */
[hidden] {
  display: none !important;
}

.hero-banner {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 90, 170, 0) 0%, rgba(0, 90, 170, 0.2) 60%, rgba(0, 90, 170, 0.6) 100%);
}

.hero-content {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: #fff;
  max-width: 720px;
}

.hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-title {
  font-size: 28px;
  font-weight: 800;
  margin-top: 6px;
}

.hero-summary {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.95;
}

/*
  Common styles specific to homepage cards have been moved to index.css.
  Retaining generic component styles here.
*/

/* Simple in-view animation */
[data-animate] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Search input */
.search-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

/* Footer */
footer.site-footer {
  background-color: #0e3051;
  color: #e8eef6;
  border-top: 4px solid var(--brand-blue);
  display: flex;
  flex-direction: column;
  padding-block: 60px;
}

footer.site-footer .container {
  flex: 1;
}

.footer-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: 3fr 4fr 1fr;
  position: relative;
}

.back-to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #0F9DC0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.back-to-top i {
  font-size: 22px;
}

.back-to-top:hover {
  background: #008bbf;
}

.footer-grid>div {
  position: relative;
}

.footer-grid>div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -50px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #2b9af3, rgba(255, 255, 255, 0));
}

.footer-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-slogan {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  line-height: 1.4;
  max-width: 100%;
  margin-top: 20px;
}

.footer-separator {
  width: 32px;
  height: 3px;
  background: var(--brand-blue);
  margin-top: -8px;
  margin-bottom: 4px;
}

.footer-note.no-margin {
  margin-bottom: 0;
}

.footer-note.highlight {
  color: var(--brand-blue);
}

.footer-title {
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  border-left: 3px solid var(--brand-blue);
  padding-left: 12px;
  line-height: 1;
  margin-top: 0;
}

.footer-note {
  font-size: 16px;
  color: #9baebf;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-text-teaser {
  position: relative;
}

.footer-text-teaser__content {
  display: -webkit-box;
  max-height: calc(1.6em * 2);
  margin-bottom: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: pre-line;
}

.footer-text-teaser__more {
  margin-left: 4px;
  color: var(--brand-blue);
  font-size: inherit;
  font-weight: 600;
  text-decoration: none;
}

.footer-text-teaser__more:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  color: #9baebf;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-item i {
  font-size: 16px;
  margin-top: 3px;
  color: #9baebf;
}

.footer-contact-richtext {
  color: #9baebf;
  font-size: 14px;
  line-height: 1.7;
}

.footer-contact-richtext > *:first-child {
  margin-top: 0;
}

.footer-contact-richtext > *:last-child {
  margin-bottom: 0;
}

.footer-contact-richtext p,
.footer-contact-richtext ul,
.footer-contact-richtext ol {
  margin: 0 0 10px;
}

.footer-contact-richtext ul,
.footer-contact-richtext ol {
  padding-left: 20px;
}

.footer-contact-richtext a {
  color: #9baebf;
  text-decoration: none;
  word-break: break-word;
}

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

.footer-contact-richtext strong,
.footer-contact-richtext h1,
.footer-contact-richtext h2,
.footer-contact-richtext h3,
.footer-contact-richtext h4,
.footer-contact-richtext h5,
.footer-contact-richtext h6 {
  color: #fff;
}

.footer-contact-richtext img,
.footer-contact-richtext video,
.footer-contact-richtext iframe,
.footer-contact-richtext table {
  max-width: 100%;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-socials .social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-socials .social-item:hover {
  opacity: 0.8;
}

.footer-socials .icon-circle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #7da0b8;
  font-size: 24px;
}

.footer-socials .label {
  color: #9baebf;
  font-size: 14px;
}

/* PC端保持 FOLLOW US 文字始终可见 */
@media (min-width: 1025px) {
  .footer-socials .label {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #9baebf !important;
  }
}

.footer-input-group {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  width: 100%;
}

.footer-input-wrapper {
  position: relative;
  flex: 1;
}

.footer-input {
  padding: 10px 12px 10px 36px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e8eef6;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9baebf;
  font-size: 16px;
}

.footer-input::placeholder {
  color: #5a7085;
}

.footer-subscribe-btn {
  background: #007ec9;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 600;
}

.footer-subscribe-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.regulatory {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  font-size: 14px;
  text-align: center;
  color: #5a7085;
  margin-top: 20px;
}

.copyright {
  border-top: none;
  font-size: 14px;
  text-align: center;
  color: #5a7085;
  background: transparent;
  margin-top: -12px;
}

/* 已清理并合并覆盖样式到基础样式 */

/* （已移除重复的响应式块；相关样式已在上方合并） */
.site-nav {
  position: relative;
}

/* 大屏footer高度已在上方定义 */

/* 响应式 - 统一管理 */
@media (max-width: 1024px) {

  /* 导航 */
  .nav-links {
    display: none;
  }

  .mega-menu-grid {
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-title,
  .menu-list a {
    font-size: 13px;
  }

  .brand-logo {
    width: auto;
    height: 40px;
    max-width: 100%;
  }

  .header-actions .icon-btn {
    width: 24px;
    height: 24px;
  }

  .header-actions .icon-btn i {
    font-size: 24px;
  }

  .header-cn-link {
    min-width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .header-user-profile {
    height: 36px;
    padding: 0 8px;
    gap: 8px;
  }

  .header-user-avatar {
    width: 36px;
    height: 36px;
  }

  .header-user-name {
    max-width: 60px;
    font-size: 12px;
  }

  .header-user-profile i {
    font-size: 16px;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid>div:not(:last-child)::after {
    display: none;
  }

  .footer-socials {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .footer-socials .social-item {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
  }

  .footer-socials .label {
    text-align: center;
  }
}

@media (max-width: 768px) {

  .breadcrumb-bar {
    height: 48px;
  }

  .breadcrumb-bar__inner {
    gap: 10px;
  }

  .page-title {
    font-size: 18px;
    line-height: 1.2;
  }

  .breadcrumb {
    font-size: 11px;
  }

  .breadcrumb__list {
    gap: 4px;
  }

  .breadcrumb__icon {
    font-size: 14px;
    margin-right: 2px;
  }

  /* 头部与导航 */
  nav.site-nav {
    display: none;
    /* hide horizontal navigation bar on mobile */
  }

  .ad-banner {
    max-height: 180px;
  }

  .ad-banner img,
  .ad-banner video,
  .ad-banner .ad-image {
    max-height: 180px;
    object-fit: cover;
  }

  .brand-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding-block: 8px;
    padding: 20px 20px;
    background-color: #fff;
  }

  .brand-slogan {
    display: none;
  }

  .brand-row .brand {
    grid-column: 1;
    justify-content: flex-start;
  }




  .brand-row.search-open .brand-logo {
    display: none;
  }

  .brand-logo {
    width: auto;
    height: 40px;
    max-width: 100%;
  }

  header.site-header.site-header--ready .brand-logo,
  header.site-header.site-header--sticky .brand-logo,
  header.site-header.site-header--hidden .brand-logo {
    height: 40px;
  }

  .header-actions {
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
  }

  #header-auth-container {
    display: flex;
    align-items: center;
  }

  .mega-menu {
    padding-top: 60px;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .menu-title,
  .menu-list a {
    font-size: 12px;
  }

  .header-actions .icon-btn {
    width: 28px;
    height: 28px;
  }

  .header-actions .icon-btn i {
    font-size: 20px;
  }

  .brand-row.search-open .search-anchor {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-search {
    height: 40px;
  }

  .brand-row.search-open .header-search {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: none;
  }

  .header-suggest {
    width: 100%;
  }

  .header-actions .icon-btn {
    width: 24px;
    height: 24px;
  }

  .header-actions .icon-btn i {
    font-size: 24px;
  }

  .header-cn-link {
    min-width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .header-user-profile {
    height: 32px;
    padding: 0;
    gap: 0;
  }

  .header-user-avatar {
    width: 30px;
    height: 30px;
  }

  .header-user-name,
  .header-user-profile>i {
    display: none;
  }

  /* 页脚 - 保持单列 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid>div:not(:last-child)::after {
    display: none;
  }

  /* 移动端页脚精简：仅显示栏目标题，隐藏说明文字 */
  .footer-links-col .footer-note,
  .footer-links-col .footer-text-teaser,
  .footer-links-col .footer-contact-richtext {
    display: none !important;
  }

  /* 仅移动端：FOLLOW US 放到底部，PC 顺序保持不变 */
  .footer-links-col--utility {
    display: flex;
    flex-direction: column;
  }

  .footer-links-col--utility .footer-links-group--follow {
    order: 3;
  }

  .footer-links-col--utility .footer-links-group--legal {
    order: 1;
  }

  .footer-links-col--utility .footer-links-group--privacy {
    order: 2;
  }

  .footer-links-col--utility .footer-links-group--general {
    order: 3;
  }
  /* 移动端菜单打开状态 */
  nav.site-nav.menu-opening,
  nav.site-nav.menu-open {
    display: block !important;
  }

  nav.site-nav.menu-closing {
    display: block !important;
    pointer-events: none;
  }

  nav.site-nav.menu-opening .mega-menu,
  nav.site-nav.menu-open .mega-menu,
  nav.site-nav.menu-closing .mega-menu {
    width: min(52vw, 420px);
    min-width: 260px;
    padding: 20px 16px 32px;
    border-radius: 16px 0 0 16px;
  }

  nav.site-nav.menu-open .mega-menu {
    transform: translateX(0);
    opacity: 1;
  }

  nav.site-nav.menu-closing .mega-menu {
    transform: translateX(100%);
    opacity: 0;
  }

  nav.site-nav.menu-open .mega-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  nav.site-nav.menu-open .menu-col {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }

  nav.site-nav.menu-open .menu-col:last-child {
    border-bottom: none;
  }

  nav.site-nav.menu-open .menu-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  nav.site-nav.menu-open .menu-list {
    gap: 12px;
  }

  nav.site-nav.menu-open .menu-list a {
    font-size: 14px;
    color: #666;
  }

  /* 移动端显示关闭按钮 */
  .mega-menu__close {
    display: flex;
    top: 8px;
    right: 8px;
  }

  .footer-title {
    font-size: 12px;
  }

  .footer-slogan {
    font-size: 16px;
    margin-top: 8px;
    max-width: 100%;
  }

  .footer-note,
  .footer-contact-richtext {
    font-size: 13px;
    line-height: 1.5;
  }

  footer.site-footer {
    padding-block: 36px 22px;
  }

  .regulatory,
  .copyright {
    font-size: 12px;
  }

  .banner-parallax-section {
    margin: 12px 0;
  }

  .banner-parallax-content {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    border-radius: 8px !important;
  }

  .banner-parallax-content img,
  .banner-parallax-content video {
    max-height: 200px;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  nav.site-nav.menu-open .mega-menu,
  nav.site-nav.menu-closing .mega-menu {
    width: 82vw;
    min-width: 240px;
  }
}

/* Auth Footer Component - Global */
.auth-footer {
  width: 100%;
  padding: 30px 0 50px;
  text-align: center;
  margin-top: auto;
}

.auth-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.auth-footer__home-btn {
  display: inline-block;
  padding: 12px 50px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  background-color: transparent;
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-footer__home-btn:hover {
  background-color: #ffffff;
  color: #004494;
}

.auth-footer__copyright {
  color: #333;
  font-size: 14px;
  margin: 0;
}

/* ====================================
   横幅广告滚动视差效果 (通用)
   ==================================== */
.banner-parallax-section {
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.banner-parallax-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.banner-parallax-content {
  transform: scale(0.75);
  border-radius: 32px;
  opacity: 1;
  will-change: transform, border-radius, width;
  overflow: hidden;
  max-width: none;
  width: 75%;
  margin: 0 auto;
}

.banner-parallax-content.is-loaded {
  opacity: 1;
}

.banner-parallax-content.is-expanded {
  transform: scale(1);
  border-radius: 0;
  width: 100%;
}

.banner-parallax-content img,
.banner-parallax-content video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 容器模式：宽度保持100%容器，仅缩放效果 */
.banner-parallax-section[data-parallax-contained] {
  margin: 20px 0;
}

.banner-parallax-section[data-parallax-contained] .banner-parallax-content {
  transform: scale(0.9);
  border-radius: 16px;
  width: 100%;
  max-width: 100%;
}
