.teams-page { padding-block: clamp(1.5rem, 4vw, 3rem); }
.teams-heading { display: flex; align-items: center; gap: 1rem; }
.teams-heading img { object-fit: contain; }
.teams-heading h1 { font-size: clamp(2rem, 6vw, 4rem); color: #162b4c; margin: 0; line-height: 1; }
.teams-tabs { display: flex; flex-wrap: wrap; gap: .55rem; padding-block: 1rem; margin-block: .5rem 1rem; border-bottom: 3px solid #a01d39; }
.teams-tabs a { background: #162b4c; color: white; font-weight: 760; padding: .65rem .85rem; border-radius: .25rem; text-decoration: none; }
.teams-tabs a:hover, .teams-tabs a[aria-current] { background: #a01d39; text-decoration: underline; }
.teams-section { margin-block: 1.4rem; }
.teams-section h2 { color: #a01d39; }
.teams-page select { padding: .5rem; border: 1px solid #a5b1c6; border-radius: .25rem; background: white; }
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: .8rem; margin-block: .8rem 1.2rem; }
.teams-grid.teams-finals { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.teams-card { display: flex; flex-direction: column; gap: .4rem; background: #fff; border: 1px solid #cad4e5; border-radius: .25rem; text-align: center; overflow: hidden; padding: .6rem; }
.teams-card h3 { color: #162b4c; margin: .15rem 0; }
.teams-card p { margin: .1rem 0; }
.teams-card a, .teams-final-sheet a { color: #8f233a; font-weight: 650; }
.teams-card a { font-size: .9rem; }
.teams-photo { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; background: #eef1f6; color: #4c5970; }
.teams-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.teams-trophies { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.3rem; text-align: center; }
.teams-trophies figure { margin: 0; min-width: 7.5rem; }
.teams-trophy { height: 6rem; margin-bottom: .3rem; }
.teams-trophy img { width: 7rem; height: 100%; object-fit: contain; }
.teams-trophy-overlay { position: absolute; bottom: .3rem; right: .3rem; width: 3rem; height: 3.5rem; background: white; border: 1px solid #cad4e5; }
.teams-card .teams-result { color: #8f233a; }
.teams-final-sheet { background: white; border: 1px solid #cad4e5; padding: 1rem; margin-top: .8rem; max-width: 42rem; }
.teams-trophy { display: grid; place-items: center; color: #4c5970; }
.teams-trophy-overlay img { width: 100%; height: 100%; object-fit: contain; }
.teams-trophy-overlay span { font-size: .7rem; }
