/**
 * 网站不达标项全面检查清单 - 全局升级样式
 * 参考：Northern Trust 亚太站档次，主色 #2257a6
 * 统一：Hero、区块间距、卡片阴影/圆角/图片、按钮、标题层级
 */

/* ========== Hero 区域（清单 1.5：所有 Hero 渐变遮罩） ========== */
.css-w0iny4,
.css-8io8a7,
.css-hudgt3,
.css-4l5gbm,
.css-1l2xm7d {
  position: relative;
}
.css-w0iny4::before,
.css-8io8a7::before,
.css-hudgt3::before,
.css-4l5gbm::before,
.css-1l2xm7d::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
/* show_news / list_news / channel_news 等 Hero 蓝底 */
.nt-ssr-1d00y3z-RenderElement-WrapperStylesCommon-Normal,
.nt-ssr-eavmad-RenderElement-WrapperStylesCommon-Normal-wrapperStyling {
  position: relative;
}
.nt-ssr-1d00y3z-RenderElement-WrapperStylesCommon-Normal::before,
.nt-ssr-eavmad-RenderElement-WrapperStylesCommon-Normal-wrapperStyling::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
/* channel_whatwedo Hero 已有 __overlay，补一层渐变 */
.whatwedo-hero {
  position: relative;
}
.whatwedo-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
/* user.html Banner 遮罩 */
.user-profile-banner {
  position: relative;
}
.user-profile-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.user-profile-banner .user-profile-info { position: relative; z-index: 2; }
/* Hero 主标题：桌面端 50px、字重 100、行高 3.688rem */
.css-1kt4h0x {
  font-weight: 100 !important;
  line-height: 3.688rem !important;
}
@media (min-width: 1120px) {
  .css-1kt4h0x {
    font-size: 3.125rem !important; /* 50px */
  }
}

/* ========== 区块与容器 ========== */
.nt-ssr-1xz639m {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}
@media (min-width: 768px) {
  .nt-ssr-1xz639m {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
.nt-ssr-aodf25 {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 1120px) {
  .nt-ssr-aodf25 {
    padding-left: 100px;
    padding-right: 100px;
  }
}

/* ========== 区块标题（装饰线主色 #2257a6） ========== */
.nt-ssr-1daeozk,
.nt-ssr-1daeozk1,
.nt-ssr-1daeozk2 {
  font-weight: 200;
  text-align: center;
  margin: 0 auto 40px;
  letter-spacing: 2.84px;
}
.nt-ssr-1daeozk::before,
.nt-ssr-1daeozk1::before,
.nt-ssr-1daeozk2::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: #2257a6;
  margin: 0 auto 30px;
}
@media (min-width: 781px) {
  .nt-ssr-1daeozk,
  .nt-ssr-1daeozk1,
  .nt-ssr-1daeozk2 {
    font-size: 46px;
    line-height: 56px;
    letter-spacing: 3px;
  }
}

/* ========== 卡片：圆角 8px、默认无阴影、悬停阴影 0 4px 12px rgba(0,0,0,0.1) ========== */
.nt-ssr-1dpvayn {
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
}
.nt-ssr-1dpvayn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
.nt-ssr-1dpvayn:hover img {
  transform: scale(1.06);
}

/* ========== 卡片图片：缩放 1.06、过渡 0.3s、aspect-ratio、object-fit ========== */
.nt-ssr-8jdrh3 {
  width: 100%;
  aspect-ratio: 320 / 220;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.nt-ssr-1dpvayn:hover .nt-ssr-8jdrh3 {
  transform: scale(1.06);
}

/* ========== 卡片内容区 padding 24px ========== */
.nt-ssr-imdxdg {
  padding: 24px !important;
  box-sizing: border-box;
}
.nt-ssr-98o95h {
  margin-bottom: 10px !important;
}

/* ========== 主 CTA 按钮（清单规范） ========== */
.myBtn,
a.myBtn,
.btn-hero-cta {
  display: inline-block;
  padding: 14px 24px !important;
  font-size: 1rem;
  font-weight: 500;
  color: #fff !important;
  background-color: #2257a6;
  border: 1px solid #fff;
  border-radius: 4px;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.myBtn:hover,
a.myBtn:hover,
.btn-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34,87,166,0.4);
}
.myBtn:active,
a.myBtn:active,
.btn-hero-cta:active {
  transform: scale(0.98) translateY(0);
}

/* ========== 正文/描述文字 ========== */
.nt-ssr-18e22ji,
.nt-ssr-18e22ji p {
  line-height: 1.5 !important;
  font-weight: 300;
  color: #3d4042;
}
.nt-ssr-10132qb {
  font-weight: 300;
  line-height: 1.5;
}

/* 导航顶栏 .nav20-header 样式已迁至 nav20-header.css，避免多处重复 */

/* ========== 响应式：移动端容器 ========== */
@media (max-width: 1119px) {
  .nt-ssr-aodf25 {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (min-width: 768px) and (max-width: 1119px) {
  .nt-ssr-aodf25 {
    padding-left: 36px;
    padding-right: 36px;
  }
}

/* ========== 文字层级（清单 11.2） ========== */
.nt-ssr-18e22ji h1,
.nt-ssr-18e22ji h2,
.nt-ssr-18e22ji h3 {
  color: #333;
  font-weight: 500;
}

/* ========== 动画：清单 5.2 / 5.3 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.2s; }
.animate-delay-2 { transition-delay: 0.4s; }
.animate-delay-3 { transition-delay: 0.6s; }

/* 图片进入动画：清单 5.6 scale(0.95) */
.animate-img {
  transition: transform 0.3s ease;
}
.nt-ssr-1dpvayn:hover .animate-img {
  transform: scale(1.06);
}

/* ========== 表单：清单第八章 ========== */
.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page input[type="tel"],
.contact-page textarea,
.contact-main input[type="text"],
.contact-main input[type="email"],
.contact-main input[type="tel"],
.contact-main textarea {
  min-height: 44px;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-page input:focus,
.contact-page textarea:focus,
.contact-main input:focus,
.contact-main textarea:focus {
  border-color: #2257a6;
  box-shadow: 0 0 0 3px rgba(34,87,166,0.1);
  outline: none;
}
.contact-page label,
.contact-main label {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  display: block;
}

/* ========== 可访问性：焦点样式（清单 13.4） ========== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #2257a6;
  outline-offset: 2px;
}
#skip-content:focus {
  outline: 2px solid #2257a6;
  outline-offset: 2px;
}
