.teams-section .section-heading{align-items:flex-end;gap:16px}
.teams-section .section-heading>div:first-child{min-width:0}
.team-layouts{display:flex;justify-content:flex-end;gap:6px;flex-shrink:0;margin-left:auto}
.team-layouts button{display:grid;place-items:center;width:44px;height:44px;border:1px solid transparent;border-radius:10px;background:transparent;color:#646b68;padding:10px}
.team-layouts button[aria-pressed=true]{border-color:#e6cb61;background:#fff7d4;color:#645a35;box-shadow:0 0 0 3px #fffbed}
.team-layouts svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.35;fill:none;stroke-linecap:round;stroke-linejoin:round}
.teams-section .team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;overflow-anchor:none}
.teams-section .team-card{display:flex;flex-direction:column}
.teams-section .team-info{display:flex;flex-direction:column;flex:1}
.teams-section .team-info p{min-height:0}
.teams-section .card-foot{margin-top:auto}
.teams-section .team-info h3{overflow-wrap:anywhere}
.teams-section .team-cover strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.teams-section .team-cover.no-photo{background:#fff4c5;color:#665f45}
.teams-section .team-cover.no-photo::after{display:none}
.team-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:64px;font-weight:750}
.team-more-wrap{display:flex;justify-content:center;margin-top:30px;overflow-anchor:none}
.team-more-wrap[hidden]{display:none}
#teamMore{min-height:46px;min-width:180px;padding:11px 30px;border:1px solid #dce0d9;border-radius:10px;background:#fff;color:#292c26;font-size:15px;font-weight:650}
#teamMore:hover{background:#fff9df;border-color:#e7ce6a}
.teams-section .team-grid[data-layout=list]{grid-template-columns:1fr;gap:0}
.teams-section [data-layout=list] .team-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:24px 0;border-bottom:1px solid #e5e8e0;align-items:center}
.teams-section [data-layout=list] .team-card:first-child{padding-top:0}
.teams-section [data-layout=list] .team-cover{aspect-ratio:1.25}
.teams-section [data-layout=list] .team-cover strong{display:none}
.teams-section [data-layout=list] .team-info{padding:0}
.teams-section [data-layout=list] .team-info p{margin-bottom:8px}
.teams-section [data-layout=list] .card-foot{padding:0;border:0}
.teams-section .team-grid[data-layout=feature]{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 26px}
.teams-section [data-layout=feature] .team-cover{aspect-ratio:1.25}
.teams-section [data-layout=feature] .team-cover strong{font-size:30px;bottom:25px;left:25px;right:25px}
.detail-no-photo{display:grid;place-items:center;min-height:260px;background:#fff4c5;color:#665f45;font-weight:800;font-size:90px;touch-action:none}
#detailDialog:has(.detail-no-photo) .dialog-close{color:#252820;filter:none}
@media(max-width:900px){.teams-section .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.teams-section [data-layout=feature] .team-cover strong{font-size:24px}}
@media(max-width:600px){
 .teams-section .section-heading{gap:15px;margin-bottom:22px}
 .teams-section .section-heading>div:first-child{flex:1 1 100%}
 .team-layouts{margin-top:0}
 .teams-section .team-grid{gap:26px 14px}
 .teams-section .team-info h3{font-size:16px}
 .teams-section .team-info p{font-size:14px;line-height:1.65}
 .teams-section .team-cover strong{font-size:18px}
 .teams-section .card-foot button{font-size:14px;min-height:40px}
 .team-more-wrap{margin-top:26px}
 #teamMore{width:100%;min-height:48px}
 .teams-section [data-layout=list] .team-card{grid-template-columns:96px minmax(0,1fr);gap:15px;padding:19px 0;align-items:start}
 .teams-section [data-layout=list] .team-cover{aspect-ratio:1;border-radius:10px}
 .teams-section [data-layout=list] .team-info h3{margin:2px 0 5px}
 .teams-section [data-layout=list] .team-info p{margin:0 0 3px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .teams-section [data-layout=list] .tag{margin-bottom:3px}
 .teams-section .team-grid[data-layout=feature]{grid-template-columns:1fr;gap:28px}
 .teams-section [data-layout=feature] .team-cover{aspect-ratio:1.2}
 .teams-section [data-layout=feature] .team-cover strong{font-size:27px;left:22px;bottom:22px;right:22px}
 .teams-section [data-layout=feature] .team-info h3{font-size:19px}
 .team-placeholder{font-size:52px}
}
