/* Solo estilos específicos; hereda css/style.css. */
.g3-team .team-hero{padding-top:180px;padding-bottom:64px}
.team-mosaic{position:relative;display:grid;grid-template-columns:1.1fr 1fr;gap:14px;padding:18px 0 18px 18px}
.team-mosaic::before{content:"";position:absolute;left:0;top:0;width:66px;height:66px;background:var(--red);z-index:0}
.team-mosaic img{position:relative;height:176px;object-fit:cover;object-position:center 20%;background:var(--soft)}
.team-mosaic img:first-child{grid-row:span 2;height:366px;object-position:center top}
.team-index{display:flex;flex-wrap:wrap;gap:0 26px;padding-top:12px;padding-bottom:34px;scroll-margin-top:140px}
.team-index a{padding:12px 0;border-bottom:1px solid var(--line);font-weight:700;font-size:14px}
.team-index a span{color:var(--red);margin-left:10px}.team-index a:hover{color:var(--red)}
.team-profile{scroll-margin-top:112px}.team-profile-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:70px;align-items:start}
.team-portrait{position:sticky;top:145px;min-width:0}.team-portrait img{width:100%;height:auto;max-height:560px;object-fit:contain;object-position:top center;background:#fff;border-bottom:7px solid var(--red)}
.team-return{display:inline-block;margin-top:18px;font-size:13px;font-weight:700}
.team-biography{min-width:0}.team-biography h2{font-size:clamp(23px,2.6vw,35px);line-height:1.22;margin-bottom:16px;overflow-wrap:anywhere}
.team-role{color:var(--red);font-size:17px;font-weight:700;margin-bottom:32px}
.team-biography h3{margin:30px 0 14px;font-size:18px;color:var(--ink)}
.team-biography p:not(.team-role){font-size:15px;line-height:1.8;margin-bottom:14px;overflow-wrap:anywhere}
.team-contact{margin-top:25px}.team-works{margin-top:32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.team-works summary{cursor:pointer;font-size:17px;font-weight:700;padding:22px 0}.team-work-list{padding-bottom:24px}
.team-biography .team-work-title{font-weight:700;color:var(--blue);margin-top:30px;padding-top:20px;border-top:1px solid var(--line)}
.team-biography .team-work-list p{font-size:13px;line-height:1.65;margin-bottom:7px}
.team-bottom{background:var(--blue);color:#fff}.team-bottom h2{font-size:clamp(28px,4vw,46px);margin-bottom:16px}.team-bottom .button{background:var(--red)}
.g3-team a:focus-visible,.g3-team summary:focus-visible{outline:3px solid var(--red);outline-offset:5px}
@media(max-width:800px){.team-profile-grid{grid-template-columns:1fr;gap:36px}.team-portrait{position:static;max-width:420px}.team-profile{padding:60px 0}.team-mosaic{max-width:540px}.g3-team .team-hero{padding-top:155px}.team-index{gap:0 18px}.team-mosaic img{height:140px}.team-mosaic img:first-child{height:294px}}
@media print{.team-portrait{position:static}.team-profile-grid{display:block}.team-portrait img{max-height:220px;width:auto}.team-index,.team-return,.team-contact,.team-bottom{display:none}.team-profile{break-before:page}.team-works::details-content{content-visibility:visible}}

.team-values{display:grid;grid-template-columns:1fr 1fr;gap:48px}.team-values h2{font-size:24px}.team-values>div{border-top:4px solid var(--red);padding-top:24px}@media(max-width:700px){.team-values{grid-template-columns:1fr;gap:32px}}
