/* =========================================================
   全站共用样式：统一页头、首页 Our People 团队成员与 Insights 板块、
   Insights 文章页
   ========================================================= */

/* =================== 统一页头 =================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* 两个 Logo 比例不同：中文版带中文副标题，需要更高才能看清 */
.site-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.site-header--zh .site-logo img {
  height: 48px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0 13px;
  padding: 0;
}

.site-nav li:last-child {
  margin-right: 0;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-size: 1.05rem;
  font-weight: bold;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #007BFF;
}

/* 汉堡按钮 */
.site-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  background: none;
  border: 0;
  margin: 0;
  padding: 6px 0 6px 10px;
  cursor: pointer;
}

.site-menu-toggle span {
  display: block;
  background-color: #333;
  height: 3px;
  width: 30px;
  margin: 3px 0;
  border-radius: 2px;
}

@media (max-width: 1080px) {
  .site-menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 420px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    box-sizing: border-box;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    text-align: center;
  }

  .site-nav li,
  .site-nav li:last-child {
    margin: 14px 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0 16px;
  }

  .site-logo img {
    height: 34px;
  }

  .site-header--zh .site-logo img {
    height: 42px;
  }
}

@media (max-width: 360px) {
  .site-header--zh .site-logo img {
    height: 38px;
  }
}

/* 业务卡片：内边距计入宽度，业务页底部四张卡片可排成一行 */
.expertise-card {
  box-sizing: border-box;
}

/* =================== 首页：关于我们 =================== */
/* 文字较长：屏幕较矮的电脑上缩小字号，使全文在一屏内显示（段落规则优先于容器上的内联字号） */
@media (min-width: 769px) and (max-height: 940px) {
  #about-us .content-container p {
    font-size: 1.1rem;
    line-height: 1.7;
  }
}

/* =================== 首页：创始人板块底部 Meet Our Team / 认识我们的团队 按钮 =================== */
.founder-next {
  margin-top: 25px;
  text-align: center;
}

/* 与 Contact Us 的 Start Here 按钮样式一致 */
.next-page {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
}

.next-page:hover {
  background-color: #0069d9;
}

/* 屏幕较矮的电脑（如 1366×768 笔记本）上适当收紧创始人板块，使 Meet Our Team 按钮在一屏内可见 */
@media (min-width: 769px) and (max-height: 940px) {
  #our-founder .content-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #our-founder .content-wrapper h2 {
    margin-bottom: 15px !important;
    font-size: 2.2rem !important;
  }

  #our-founder .founder-container {
    padding: 0 20px;
  }

  #our-founder .founder-description {
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

@media (min-width: 769px) and (max-height: 780px) {
  #our-founder .content-wrapper h2 {
    margin-bottom: 10px !important;
    font-size: 1.8rem !important;
  }

  #our-founder .founder-image {
    flex-basis: 200px;
  }

  #our-founder .founder-image img {
    width: 200px;
    height: 200px;
  }

  #our-founder .founder-bio h3 {
    margin: 0 0 4px;
    font-size: 1.5rem;
  }

  #our-founder .founder-title {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  #our-founder .founder-description {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .founder-next {
    margin-top: 12px;
  }
}

/* =================== 首页：Our People 团队成员（沿用原团队卡片与左右箭头样式） =================== */
#our-people .overlay {
  background-color: rgba(240, 240, 255, 0.95);
}

#our-people .team-section {
  position: relative;
  z-index: 1;
  width: 95%;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

#our-people .team-section h2 {
  margin: 0 0 20px;
  color: #333;
}

#our-people .team-container {
  position: relative;
  width: 95%;
  margin: 0 auto;
  overflow: hidden;
}

#our-people .team-wrapper {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  padding: 12px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#our-people .team-wrapper::-webkit-scrollbar {
  display: none;
}

#our-people .team-card {
  flex: 0 0 calc((100% - 4 * 30px) / 5);
  min-width: 150px;
  max-width: 330px;
  padding-bottom: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

/* 卡片较少时居中，较多时仍可完整横向滚动 */
#our-people .team-card:first-child {
  margin-left: auto;
}

#our-people .team-card:last-child {
  margin-right: auto;
}

#our-people .team-card img {
  display: block;
  width: 100%;
  height: min(350px, 45vh);
  margin-bottom: 15px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid #ddd;
  border-radius: 8px 8px 0 0;
}

#our-people .team-card h3 {
  margin: 10px auto 5px;
  font-size: 1.2rem;
  color: #333;
}

#our-people .team-card p {
  max-width: 90%;
  margin: 0 auto;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #666;
  white-space: normal;
  overflow-wrap: break-word;
}

#our-people .team-card a {
  color: #000;
  text-decoration: none;
}

#our-people .team-card a:hover {
  color: #666;
}

/* 左右箭头 */
#our-people .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 80px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease;
}

#our-people .arrow[hidden] {
  display: none;
}

#our-people .arrow:hover {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

#our-people .arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  padding: 12px;
  border: solid #000;
  border-width: 0 3px 3px 0;
}

#our-people .left-arrow {
  left: 10px;
}

#our-people .right-arrow {
  right: 10px;
}

#our-people .left-arrow::before {
  transform: translate(-60%, -50%) rotate(135deg);
}

#our-people .right-arrow::before {
  transform: translate(-40%, -50%) rotate(-45deg);
}

@media (max-width: 992px) {
  #our-people .team-card {
    flex: 0 0 calc((100% - 3 * 30px) / 4);
    max-width: 270px;
  }
}

/* 手机端：沿用原团队卡片的手机尺寸，横向滑动或点击箭头查看 */
@media (max-width: 768px) {
  .founder-next {
    margin-top: 12px;
  }

  .next-page {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  #our-people .team-section {
    width: 100%;
    padding: 10px 0;
  }

  #our-people .team-section h2 {
    margin-bottom: 10px;
    font-size: 1.6rem !important;
  }

  #our-people .team-container {
    width: 100%;
  }

  #our-people .team-wrapper {
    gap: 15px;
    padding: 10px 40px;
    box-sizing: border-box;
  }

  #our-people .team-card {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
    border-radius: 8px;
  }

  #our-people .team-card img {
    height: 200px;
    margin-bottom: 10px;
  }

  #our-people .team-card h3 {
    margin: 8px 0 5px;
    font-size: 1rem;
  }

  #our-people .arrow {
    width: 36px;
    height: 64px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
  }

  #our-people .arrow::before {
    padding: 8px;
  }

  #our-people .left-arrow {
    left: 2px;
  }

  #our-people .right-arrow {
    right: 2px;
  }
}

/* =================== 首页：Insights 专业洞见 =================== */
#insights .overlay {
  background-color: rgba(245, 245, 245, 0.85);
}

.insights-columns {
  display: flex;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.insights-column {
  flex: 1;
  min-width: 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.insights-column h3 {
  margin: 0 0 8px;
  padding-bottom: 8px;
  font-size: 1.3rem;
  color: #333;
  border-bottom: 2px solid #ddd;
}

/* 文章较多时在板块内滚动 */
.insights-list {
  max-height: calc(100vh - 340px);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.insight-item a {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e3e3e3;
  color: #333;
  text-decoration: none;
}

.insight-item:last-child a {
  border-bottom: 0;
}

.insight-item img {
  flex: 0 0 96px;
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}

.insight-item__text {
  flex: 1;
  min-width: 0;
}

.insight-item time {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  color: #777;
}

.insight-item__title {
  display: block;
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.35;
}

.insight-item a:hover .insight-item__title {
  color: #007BFF;
}

.insight-item__summary {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.insights-empty {
  margin: 0;
  padding: 30px 10px;
  text-align: center;
  font-size: 1.1rem;
  color: #777;
}

@media (max-width: 768px) {
  .insights-columns {
    flex-direction: column;
    gap: 12px;
  }

  .insights-column {
    padding: 10px 14px;
  }

  .insights-column h3 {
    margin-bottom: 4px;
    padding-bottom: 6px;
    font-size: 1rem;
  }

  .insights-list {
    max-height: calc((100vh - 310px) / 2);
  }

  .insight-item a {
    padding: 8px 0;
  }

  .insight-item img {
    display: none;
  }

  .insight-item time {
    margin-bottom: 2px;
    font-size: 0.72rem;
  }

  .insight-item__title {
    font-size: 0.9rem;
  }

  .insight-item__summary {
    font-size: 0.78rem;
  }

  .insights-empty {
    padding: 12px 10px;
    font-size: 0.95rem;
  }
}

/* =================== Insights 文章页通用容器 =================== */
.content-page {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: #333;
  background: url("../images/People_background.jpg") no-repeat center center fixed;
  background-size: cover;
}

.content-panel {
  max-width: 1100px;
  margin: 80px auto 60px;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
}

.content-panel > h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  color: #333;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2rem;
  z-index: 11;
  margin: 0;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 0.7rem;
  line-height: 2rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .content-page {
    background-attachment: scroll;
  }

  .content-panel {
    margin: 72px 10px 50px;
    padding: 20px 16px;
  }

  .content-panel > h1 {
    font-size: 1.5rem;
  }
}

.insight-meta {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: #666;
}

.insight-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #e8eef7;
  color: #1d4f91;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.insight-badge--events {
  background: #f6ece0;
  color: #8a4b08;
}

/* 文章页 */
.insight-article {
  max-width: 860px;
}

.insight-back {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #007BFF;
  text-decoration: none;
}

.insight-article h1 {
  margin: 6px 0 18px;
  font-size: 2rem;
  line-height: 1.3;
  color: #333;
}

.insight-cover {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 0 22px;
}

.insight-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}

.insight-body h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.insight-body h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
}

.insight-body p {
  margin: 0 0 16px;
}

.insight-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.insight-body blockquote {
  margin: 0 0 16px;
  padding: 4px 18px;
  border-left: 4px solid #ddd;
  color: #555;
}

.insight-body a {
  color: #007BFF;
}

.insight-body table {
  border-collapse: collapse;
  margin: 0 0 16px;
}

.insight-body th,
.insight-body td {
  border: 1px solid #ddd;
  padding: 6px 10px;
}

.insight-attachments {
  margin: 28px 0 0;
  padding: 16px 20px;
  background: #f4f7fb;
  border-radius: 8px;
}

.insight-attachments h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.insight-attachments ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-attachments li {
  margin: 6px 0;
}

.insight-attachments a {
  color: #007BFF;
  font-weight: bold;
  text-decoration: none;
}

.insight-attachments a::before {
  content: "PDF";
  display: inline-block;
  margin-right: 8px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #c7000b;
  color: #fff;
  font-size: 0.7rem;
  vertical-align: 2px;
}

@media (max-width: 600px) {
  .insight-article h1 {
    font-size: 1.45rem;
  }

  .insight-body {
    font-size: 1rem;
  }
}
