/* ============ Team page (/en/team/, /ch/team/) ============ */
/* Loaded after style.css and landing-refresh.css. */
.nav-links a[aria-current="page"] { color:var(--dark); }

.team-intro { padding:72px 0 8px; }
.team-intro .sec-head { max-width:720px; margin-bottom:0; }
.team-intro h1 { font-size:46px; font-weight:800; line-height:1.1; letter-spacing:-1.2px; margin-bottom:16px; text-wrap:balance; }
.team-intro p { color:#3b3b42; font-size:17px; text-wrap:pretty; }
.nobr { white-space:nowrap; }

/* One row per person: photo left, name and background right */
.team-list { padding:40px 0 90px; }
.member { display:grid; grid-template-columns:260px minmax(0,1fr); grid-template-rows:auto 1fr; grid-template-areas:"photo head" "photo body"; column-gap:56px; padding:48px 0; border-top:1px solid var(--line); }
.member:first-child { border-top:none; padding-top:16px; }
.m-photo { grid-area:photo; align-self:start; }
.m-photo img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:20px; background:var(--bg-soft); }
.m-head { grid-area:head; }
.m-head h2 { font-size:30px; font-weight:800; line-height:1.2; letter-spacing:-.6px; }
.m-title { display:inline-block; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; font-size:15.5px; font-weight:800; margin-top:4px; }
.m-body { grid-area:body; max-width:640px; margin-top:16px; }
.m-body > p { color:#3b3b42; font-size:16px; text-wrap:pretty; }
.m-points { list-style:none; display:grid; gap:10px; margin-top:18px; }
.m-points li { position:relative; padding-left:26px; font-size:14.5px; color:#3b3b42; }
.m-points li::before { content:""; position:absolute; left:0; top:4px; width:16px; height:16px; border-radius:50%; background:#FFF0E5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.2 5 8.3l4.2-4.6' fill='none' stroke='%23FF5C00' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.m-link { display:inline-block; margin-top:20px; padding-bottom:2px; border-bottom:1.5px solid var(--line); font-size:14px; font-weight:700; }
.m-link:hover { border-color:var(--dark); }

.team-cta { padding-top:0; }
.cta-actions { display:flex; flex-wrap:wrap; gap:12px; }

@media (max-width:860px){
  .member { grid-template-columns:200px minmax(0,1fr); column-gap:32px; }
}
/* Phones: small photo beside the name, background underneath */
@media (max-width:600px){
  .team-intro { padding:44px 0 0; }
  .team-intro h1 { font-size:32px; letter-spacing:-.8px; }
  .team-intro p { font-size:15.5px; }
  .team-list { padding:24px 0 60px; }
  .member { grid-template-columns:96px minmax(0,1fr); grid-template-rows:auto auto; grid-template-areas:"photo head" "body body"; column-gap:16px; align-items:center; padding:32px 0; }
  .m-photo img { border-radius:16px; }
  .m-head h2 { font-size:22px; letter-spacing:-.3px; }
  .m-title { font-size:14px; }
  .m-body > p { font-size:15px; }
  .m-points li { font-size:14px; }
  .team-cta { padding-top:0; }
  .cta-actions { width:100%; }
}
