/* 加入我们 + 核心团队 图片精修 */

body[data-page="join.html"] .join-visual-panel{
  min-height:0 !important;
  aspect-ratio:4 / 5 !important;
  border-radius:34px !important;
}
body[data-page="join.html"] .join-visual-panel img{object-position:center 38% !important;}

body[data-page="join.html"] .join-real-grid.join-real-grid-4{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
}
body[data-page="join.html"] .join-real-grid.join-real-grid-4 figure{
  min-height:0 !important;
  aspect-ratio:5 / 4 !important;
}
body[data-page="join.html"] .join-real-grid.join-real-grid-4 figure:nth-child(1) img{object-position:center 42% !important;}
body[data-page="join.html"] .join-real-grid.join-real-grid-4 figure:nth-child(2) img{object-position:center 38% !important;}
body[data-page="join.html"] .join-real-grid.join-real-grid-4 figure:nth-child(3) img{object-position:center 42% !important;}
body[data-page="join.html"] .join-real-grid.join-real-grid-4 figure:nth-child(4) img{object-position:center 46% !important;}

body[data-page="team.html"] .team-hero-image{border-radius:34px !important;}
body[data-page="team.html"] .team-pro-grid{gap:30px !important;}
body[data-page="team.html"] .team-pro-card{
  grid-template-columns:340px 1fr !important;
  gap:30px !important;
  padding:18px !important;
  border-radius:32px !important;
}
body[data-page="team.html"] .team-pro-photo{
  min-height:0 !important;
  aspect-ratio:4 / 5 !important;
  border-radius:24px !important;
}
body[data-page="team.html"] .team-pro-card:nth-child(1) .team-pro-photo img{object-position:center 20% !important;}
body[data-page="team.html"] .team-pro-card:nth-child(2) .team-pro-photo img{object-position:center 22% !important;}
body[data-page="team.html"] .team-pro-card:nth-child(3) .team-pro-photo img{object-position:center 16% !important;}

body[data-page="team.html"] .team-support-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:26px !important;
}
body[data-page="team.html"] .team-support-card{
  grid-template-columns:220px 1fr !important;
  gap:22px !important;
  align-items:center !important;
  border-radius:30px !important;
}
body[data-page="team.html"] .team-support-card img{
  height:auto !important;
  aspect-ratio:4 / 5 !important;
  border-radius:22px !important;
}
body[data-page="team.html"] .team-support-card:nth-child(1) img{object-position:center 18% !important;}
body[data-page="team.html"] .team-support-card:nth-child(2) img{object-position:center 20% !important;}

@media (max-width:1180px){
  body[data-page="join.html"] .join-real-grid.join-real-grid-4,
  body[data-page="team.html"] .team-support-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:1040px){
  body[data-page="team.html"] .team-pro-card,
  body[data-page="team.html"] .team-support-card{
    grid-template-columns:1fr !important;
  }
}
@media (max-width:760px){
  body[data-page="join.html"] .join-real-grid.join-real-grid-4,
  body[data-page="team.html"] .team-support-grid{
    grid-template-columns:1fr !important;
  }
  body[data-page="join.html"] .join-visual-panel,
  body[data-page="join.html"] .join-real-grid.join-real-grid-4 figure,
  body[data-page="team.html"] .team-pro-photo,
  body[data-page="team.html"] .team-support-card img{
    aspect-ratio:4 / 3 !important;
  }
}


/* 核心团队移动端五人物翻页 */
.team-mobile-only{display:none;}

.team-mobile-flip-shell .mobile-slider-track{gap:18px !important;}
.team-mobile-flip-card{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  border:1px solid #ecd9b1;
  background:linear-gradient(180deg,#fffdf9 0%,#fff4df 100%);
  box-shadow:0 22px 48px rgba(55,35,0,.10);
}
.team-mobile-flip-count{
  position:absolute;
  top:16px;
  right:16px;
  z-index:2;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(23,23,23,.78);
  color:#f2d28b;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
}
.team-mobile-flip-photo{
  aspect-ratio:4 / 5;
  overflow:hidden;
  background:#f4ede1;
}
.team-mobile-flip-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.team-mobile-flip-card:nth-child(1) .team-mobile-flip-photo img{object-position:center 18%;}
.team-mobile-flip-card:nth-child(2) .team-mobile-flip-photo img{object-position:center 20%;}
.team-mobile-flip-card:nth-child(3) .team-mobile-flip-photo img{object-position:center 16%;}
.team-mobile-flip-card:nth-child(4) .team-mobile-flip-photo img{object-position:center 18%;}
.team-mobile-flip-card:nth-child(5) .team-mobile-flip-photo img{object-position:center 20%;}
.team-mobile-flip-body{padding:18px 18px 20px;}
.team-mobile-role{margin:0;color:#9b7430;font-size:13px;font-weight:800;line-height:1.7;}
.team-mobile-flip-body h3{margin:8px 0 10px;color:#22180f;font-size:28px;line-height:1.15;}
.team-mobile-tagline{color:#5f5147;font-size:13px;font-weight:700;line-height:1.75;}
.team-mobile-flip-body p:last-of-type{margin:12px 0 0;color:#5f5147;line-height:1.9;font-size:14px;}
.team-mobile-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.team-mobile-badges span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid #ead8af;color:#6c5130;font-size:12px;font-weight:800;}

@media (min-width:768px){
  .team-mobile-only{display:none !important;}
}

@media (max-width:767px){
  body[data-page="team.html"] .team-desktop-only{display:none !important;}
  body[data-page="team.html"] .team-mobile-only{display:block !important;}
  body[data-page="team.html"] .team-org-section{padding-top:6px;}
  body[data-page="team.html"] .team-mobile-flip-shell .mobile-slider-track{grid-auto-columns:minmax(92%,92%) !important;}
  body[data-page="team.html"] .team-mobile-flip-body h3{font-size:24px;}
  body[data-page="team.html"] .team-mobile-flip-body{padding:16px 16px 18px;}
}


/* 核心团队首屏：去掉右侧人物照片展示块 */
body[data-page="team.html"] .team-page-hero-grid{
  display:block !important;
  max-width:1180px;
}
body[data-page="team.html"] .team-page-copy{
  max-width:920px;
}
body[data-page="team.html"] .team-page-copy h1{
  max-width:900px;
}
body[data-page="team.html"] .team-page-copy p{
  max-width:780px;
}
body[data-page="team.html"] .team-hero-image{
  display:none !important;
}
@media (max-width:760px){
  body[data-page="team.html"] .team-page-copy{max-width:100%;}
}
