/* Stage 02: approved media on the retained Stage 01 architecture. */
.crest{background:transparent;box-shadow:none;border-radius:0;padding:0}
.crest img{width:100%;height:100%;object-fit:contain}
.home-hero{background:#f4f7f4;overflow:visible}
.hero-grid{grid-template-columns:.85fr 1.15fr;gap:54px;min-height:580px;padding-block:32px}
.hero-copy{padding-block:48px}
.photo-hero.hero-art{display:block;position:relative;height:auto;min-height:0;aspect-ratio:1.48;margin:0;isolation:isolate}
.photo-hero.hero-art:before{inset:-4% 3% -6% 7%;width:auto;height:auto;background:var(--efa-green);transform:rotate(-6deg);clip-path:polygon(4% 0,98% 0,100% 100%,0 94%);z-index:-1}
.photo-hero.hero-art:after{display:none}
.photo-hero picture{display:block;width:100%;height:100%;clip-path:polygon(7% 0,100% 4%,94% 100%,0 94%)}
.photo-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.has-portrait.player-placeholder:before,.has-portrait.player-placeholder:after{display:none}
.has-portrait.player-placeholder{display:block;aspect-ratio:3/4}
.has-portrait>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.jersey-badge{position:absolute;bottom:0;left:0;display:grid;place-items:center;min-width:1.3em;padding:.1em .22em;color:white;background:var(--efa-ink);border-top:4px solid #10a16d;font:850 4rem/.95 var(--display);letter-spacing:-.05em}
.profile-grid .jersey-badge{font-size:6rem}
.player-copy p{font-size:.875rem;font-weight:600;color:#334d5e;line-height:1.65}
.player-copy h3,.profile-name h1,.profile-lower h2{overflow-wrap:normal;word-break:normal;hyphens:manual}
.profile-name{display:block}
.profile-name h1{min-width:0;max-width:100%}
.profile-number{display:inline-block;margin-bottom:16px}
.instagram-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(8rem,calc((100% - 36px)/3))),1fr));align-items:start;gap:18px}
.video-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(14rem,calc((100% - 40px)/3))),1fr));align-items:start;gap:20px}
.photo-social.social-card,.photo-social.video-card{min-width:0;min-height:0;height:auto;padding:0;display:block;overflow:visible;background:var(--efa-ink);color:white}
.photo-social:before{display:none}
.photo-social .social-image{position:relative;aspect-ratio:4/5;min-width:0;background:#dce6e0}
.photo-social .social-image img{display:block;width:100%;height:100%;object-fit:contain;background:#dce6e0}
.photo-social.video-card .social-image{aspect-ratio:4/5;background:var(--efa-ink)}
.photo-social.video-card .social-image img{object-fit:cover;object-position:50% 40%}
.photo-social .social-copy{min-width:0;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.photo-social .social-type{position:static;display:block;letter-spacing:.08em}
.photo-social strong{display:block;position:static;max-width:none;width:100%;margin:0;overflow-wrap:normal;word-break:normal;hyphens:auto;line-height:1.15}
.photo-social .social-date,.photo-social .social-action{position:static;display:block;margin:0;max-width:100%;overflow-wrap:normal;line-height:1.5}
.photo-social .social-action{margin-top:4px}
.photo-social .play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;background:#062d3ce6;border:1px solid #fff8;color:#fff}
.editorial-photo{margin:0;min-width:0;background:#e3eae5}
.editorial-photo img{display:block;width:100%;height:auto;object-fit:cover}
.editorial-photo figcaption{padding:16px 20px;font-size:.8rem;line-height:1.6;color:#334d5e;background:#eef3ef}
.venue-photo img{aspect-ratio:3/2;object-fit:cover}
.academy-second-photo{margin-top:32px;max-width:820px}
@media(max-width:1100px){.hero-grid{gap:32px;min-height:500px}.hero-copy h1{font-size:4.8rem}.photo-hero.hero-art{aspect-ratio:1.4}}
@media(max-width:850px){.hero-grid{grid-template-columns:1fr;gap:20px;padding-block:0 46px;min-height:0}.hero-copy{padding:35px 0 12px}.hero-copy h1{font-size:clamp(2.5rem,13.7vw,5.5rem)}.photo-hero.hero-art{aspect-ratio:1.6;margin-inline:2%;width:96%}.profile-name{display:block}.photo-social .social-copy{padding:20px}}
@media(max-width:500px){.hero-grid{padding-bottom:30px}.photo-hero.hero-art{aspect-ratio:1.45}.jersey-badge{font-size:4rem}.profile-grid .jersey-badge{font-size:5rem}.photo-social .social-copy{padding:16px}.instagram-grid{gap:12px}.photo-social .social-type{letter-spacing:.05em}}
@media(min-width:600px){.player-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(16rem,calc((100% - 48px)/3))),1fr))}}

/* Evidence-driven text-resize repair, keeping the existing type sizes. */
.photo-social{container-type:inline-size}
.photo-social strong{hyphens:manual}
@container(max-width:12rem){.photo-social .social-copy{padding-inline:8px}}
.match-card{container-type:inline-size}
@container(max-width:18rem){.match-versus,.calendar-combined .match-versus{grid-template-columns:minmax(0,1fr);gap:24px}.match-versus .crest{margin-inline:auto}}
.two-cities>span{min-width:0;overflow-wrap:normal;hyphens:manual}

/* Independent QA: let enlarged profile copy take a full row before it can collide. */
.profile-grid,.profile-lower{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}
.position-group h2{overflow-wrap:normal;word-break:normal;hyphens:manual}
