.page-equipos .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.page-equipos .team-card{min-width:0;padding:28px;background:#fff;border-radius:8px;border-top:4px solid #225b3b}
.page-equipos .team-card-female{border-top-color:#ab2643;background:#fffafb}
.page-equipos .team-card .team-phrase{font-size:15px;margin-bottom:20px}
.team-league{margin-bottom:20px}
.league-stats{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:10px;margin:0;padding-top:18px;border-top:1px solid #dce3e9}
.league-stats>div{padding:10px 6px;min-width:0}.league-stats dt{font-size:12px;font-weight:600;color:#526373}.league-stats dd{font:700 42px/1.1 var(--display);margin:6px 0 0;color:#123d66}.league-stats dd small{font-size:22px}
.league-stats .league-goals{background:#e5f2e3;border-radius:6px;padding-left:14px}.league-stats .league-goals dd{color:#225b3b}
.page-equipos .team-card .league-balance{font-size:12px;color:#526373;margin:10px 0 20px}
.league-fixtures{display:grid;grid-template-columns:1fr 1fr;gap:12px}.league-fixture{background:#f2f5f8;border-radius:5px;padding:14px;min-width:0}.league-round{font-size:11px;font-weight:700;color:#183e65;display:block;margin-bottom:8px;letter-spacing:.02em;text-transform:uppercase}
.page-equipos .team-card .league-opponent{font-size:14px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;margin:0 0 10px;color:#192c41}.league-match-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:11px;color:#526373;flex-wrap:wrap}.league-score{font-size:19px;color:#225b3b;white-space:nowrap}
.page-equipos .team-card .league-date,.page-equipos .team-card .league-empty{font-size:12px;color:#526373;line-height:1.5;margin:8px 0 0}.league-source{margin-top:16px}.league-source a{display:block;font-size:12px;font-weight:600;color:#164d7c;text-decoration:underline;text-underline-offset:3px}.league-source small{display:block;font-size:11px;color:#667583;margin-top:5px}
@media(max-width:760px){.page-equipos .team-grid{grid-template-columns:1fr}.page-equipos .team-card{padding:22px}.league-fixture{padding:12px}.league-stats dd{font-size:40px}}
@media(max-width:350px){.league-fixtures{grid-template-columns:1fr}}

/* Approved mobile layout: all team information stays visible in a compact card. */
@media(max-width:760px){
 .page-equipos .team-grid{gap:16px;align-items:start}
 .page-equipos .team-card{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;column-gap:7px;row-gap:0;min-height:0;padding:14px 15px 12px;border-radius:9px}
 .page-equipos .team-card .team-name{grid-column:1;grid-row:1;font-size:clamp(19px,4.8vw,27px);line-height:1.03;margin:0;overflow-wrap:normal}
 .page-equipos .team-card .team-division{grid-column:2;grid-row:1;font-size:clamp(14px,3.5vw,19px);line-height:1.15;margin:0;padding-left:7px;border-left:1px solid #dce3e1}
 .page-equipos .team-card .team-group{grid-column:3;grid-row:1;font-size:11px;line-height:1.25;margin:0;padding-left:7px;border-left:1px solid #dce3e1}
 .page-equipos .team-card .team-phrase{grid-column:1/-1;grid-row:2;font-size:13px;line-height:1.3;margin:7px 0 8px}
 .page-equipos .team-card .team-league,.page-equipos .team-card .league-source{display:contents}
 .page-equipos .team-card .league-stats{grid-column:1/-1;grid-row:3;grid-template-columns:1fr 1fr 1.15fr;gap:6px;padding-top:7px;margin:0}
 .page-equipos .team-card .league-stats>div{padding:5px 6px}
 .page-equipos .team-card .league-stats>div+div{border-left:1px solid #e0e6e8}
 .page-equipos .team-card .league-stats dt{font-size:11px;line-height:1.15}
 .page-equipos .team-card .league-stats dd{font-size:30px;line-height:1.02;margin:2px 0 0}
 .page-equipos .team-card .league-stats dd small{font-size:16px}
 .page-equipos .team-card .league-stats .league-goals{padding-left:10px;border-left:0}
 .page-equipos .team-card .league-balance{grid-column:1/-1;grid-row:4;font-size:11px;line-height:1.25;margin:5px 0 8px}
 .page-equipos .team-card .league-fixtures{grid-column:1/-1;grid-row:5;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .page-equipos .team-card .league-fixture{display:grid;grid-template-rows:auto 1fr auto auto;align-content:start;gap:0;padding:8px 9px}
 .page-equipos .team-card .league-round{font-size:11px;line-height:1.15;letter-spacing:0;margin-bottom:4px}
 .page-equipos .team-card .league-opponent{font-size:12px;line-height:1.2;margin:0 0 5px}
 .page-equipos .team-card .league-match-meta{font-size:11px;line-height:1.2;gap:3px 6px}
 .page-equipos .team-card .league-score{font-size:16px;line-height:1.15}
 .page-equipos .team-card .league-date,.page-equipos .team-card .league-empty{font-size:11px;line-height:1.25;margin:4px 0 0}
 .page-equipos .team-card .league-source a{grid-column:1/3;grid-row:6;font-size:11.5px;line-height:1.25;margin-top:9px}
 .page-equipos .team-card>.text-link{grid-column:3;grid-row:6;justify-self:end;text-align:right;font-size:11.5px;line-height:1.25;margin-top:9px;padding:0;border:0;text-decoration:underline;text-underline-offset:3px}
 .page-equipos .team-card .league-source small{grid-column:1/-1;grid-row:7;font-size:11px;line-height:1.2;margin-top:6px}
}
@media(max-width:350px){
 .page-equipos .team-card{padding:12px 11px;column-gap:5px}
 .page-equipos .team-card .team-division,.page-equipos .team-card .team-group{padding-left:5px}
 .page-equipos .team-card .league-fixture{padding:7px}
 .page-equipos .team-card .league-source a,.page-equipos .team-card>.text-link{font-size:11px}
}

/* Compact team directory with calm, solid title colours. */
.page-equipos .team-grid{align-items:start;gap:18px}
.page-equipos .team-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;align-content:start;column-gap:12px;row-gap:0;padding:18px 20px 16px;min-height:0}
.page-equipos .team-card:nth-child(14n+1){--team-shade:#dce9d9}.page-equipos .team-card:nth-child(14n+2){--team-shade:#d1e5dc}.page-equipos .team-card:nth-child(14n+3){--team-shade:#d7e8e6}.page-equipos .team-card:nth-child(14n+4){--team-shade:#dce9ed}.page-equipos .team-card:nth-child(14n+5){--team-shade:#e2e9d5}.page-equipos .team-card:nth-child(14n+6){--team-shade:#d5e2e8}.page-equipos .team-card:nth-child(14n+7){--team-shade:#dce3d3}.page-equipos .team-card:nth-child(14n+8){--team-shade:#e0ebe3}.page-equipos .team-card:nth-child(14n+9){--team-shade:#cfe2df}.page-equipos .team-card:nth-child(14n+10){--team-shade:#dde7eb}.page-equipos .team-card:nth-child(14n+11){--team-shade:#d4e3d5}.page-equipos .team-card:nth-child(14n+12){--team-shade:#d8e4dc}.page-equipos .team-card:nth-child(14n+13){--team-shade:#d4e0df}.page-equipos .team-card:nth-child(14n){--team-shade:#e2e8dc}
.page-equipos .team-card .team-name{grid-column:1/-1;grid-row:1;color:#173b35;background:var(--team-shade,#dce9d9);background-image:none;animation:none;box-shadow:none;border-radius:6px;padding:6px 10px;font-size:30px;line-height:1.05;font-weight:800;margin:0 0 8px;overflow-wrap:anywhere}
.page-equipos .team-card .team-division{grid-column:1;grid-row:2;font-size:17px;line-height:1.2;margin:0;border:0;padding:0}
.page-equipos .team-card .team-group{grid-column:2;grid-row:2;justify-self:end;text-align:right;font-size:12px;line-height:1.25;margin:0;padding:0;border:0}
.page-equipos .team-card .division-second{color:#b32132;font-weight:800}
.page-equipos .team-card .team-phrase{grid-column:1/-1;grid-row:3;font-size:14px;line-height:1.3;margin:7px 0 9px}
.page-equipos .team-card .team-league,.page-equipos .team-card .league-source{display:contents}
.page-equipos .team-card .league-stats{grid-column:1/-1;grid-row:4;grid-template-columns:1fr 1fr 1.2fr;gap:7px;padding-top:8px;margin:0}
.page-equipos .team-card .league-stats>div{padding:5px 7px}
.page-equipos .team-card .league-stats dt{font-size:11px;line-height:1.2}
.page-equipos .team-card .league-stats dd{font-size:34px;line-height:1;margin:3px 0 0}
.page-equipos .team-card .league-stats dd small{font-size:18px}
.page-equipos .team-card .league-balance{grid-column:1/-1;grid-row:5;font-size:11px;line-height:1.3;margin:6px 0 9px}
.page-equipos .team-card .league-fixtures{grid-column:1/-1;grid-row:6;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-self:stretch}
.page-equipos .team-card .league-fixture{display:flex;flex-direction:column;padding:9px 10px;min-width:0}
.page-equipos .team-card .league-round{font-size:10px;line-height:1.2;margin:0 0 5px;letter-spacing:0}
.page-equipos .team-card .league-opponent{font-size:13px;line-height:1.2;margin:0 0 6px;flex:1}
.page-equipos .team-card .league-match-meta{font-size:11px;line-height:1.2}
.page-equipos .team-card .league-score{font-size:17px;line-height:1.1}
.page-equipos .team-card .league-date,.page-equipos .team-card .league-empty{font-size:11px;line-height:1.25;margin:5px 0 0}
.page-equipos .team-card .league-source a{grid-column:1;grid-row:7;font-size:12px;line-height:1.25;margin:10px 0 0}
.page-equipos .team-card>.text-link{grid-column:2;grid-row:7;justify-self:end;text-align:right;font-size:12px;line-height:1.25;margin:10px 0 0;padding:0;border:0;text-decoration:underline;text-underline-offset:3px}
.page-equipos .team-card .league-source small{grid-column:1/-1;grid-row:8;font-size:10px;line-height:1.2;margin:5px 0 0}
.page-equipos .team-card-profile{display:flex;flex-direction:column;align-items:stretch}
.page-equipos .team-card-profile .team-group{align-self:flex-start;text-align:left;margin:4px 0 0}
.page-equipos .team-card-profile .team-division{font-size:17px;font-weight:700}
.page-equipos .team-profile ul{margin:4px 0 12px;padding-left:19px}
.page-equipos .team-profile li{font-size:14px;line-height:1.4;margin:0 0 8px}
.page-equipos .team-profile p{font-size:14px;line-height:1.4;margin:0}
.page-equipos .team-card-profile>.text-link{align-self:flex-start;text-align:left;margin-top:14px}
@media(max-width:760px){
 .page-equipos .team-grid{gap:12px}
 .page-equipos .team-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:11px 12px 10px;column-gap:7px}
 .page-equipos .team-card .team-name{font-size:clamp(23px,6vw,28px);line-height:1;padding:5px 8px;margin-bottom:6px}
 .page-equipos .team-card .team-division{font-size:15px;line-height:1.15}
 .page-equipos .team-card .team-group{font-size:10px;line-height:1.2}
 .page-equipos .team-card .team-phrase{font-size:12px;line-height:1.25;margin:5px 0 6px}
 .page-equipos .team-card .league-stats{padding-top:5px;gap:5px}
 .page-equipos .team-card .league-stats>div{padding:3px 5px}
 .page-equipos .team-card .league-stats dd{font-size:27px;margin-top:2px}
 .page-equipos .team-card .league-stats dt{font-size:10px}
 .page-equipos .team-card .league-balance{font-size:10px;margin:4px 0 6px}
 .page-equipos .team-card .league-fixtures{gap:6px}
 .page-equipos .team-card .league-fixture{padding:6px 7px}
 .page-equipos .team-card .league-round{font-size:10px;margin-bottom:3px}
 .page-equipos .team-card .league-opponent{font-size:11px;line-height:1.15;margin-bottom:4px}
 .page-equipos .team-card .league-match-meta,.page-equipos .team-card .league-date,.page-equipos .team-card .league-empty{font-size:10px}
 .page-equipos .team-card .league-date{margin-top:3px}
 .page-equipos .team-card .league-source a,.page-equipos .team-card>.text-link{font-size:11px;line-height:1.2;margin-top:7px}
 .page-equipos .team-card .league-source small{font-size:10px;margin-top:4px}
 .page-equipos .team-card-profile{display:flex}
 .page-equipos .team-card-profile .team-division{font-size:16px}
 .page-equipos .team-card-profile .team-group{font-size:12px;margin-top:4px}
 .page-equipos .team-card-profile .team-phrase,.page-equipos .team-profile li,.page-equipos .team-profile p{font-size:13px;line-height:1.35}
}

/* Tighter opening and season summary for the team directory. */
.page-equipos .tab-watercolor{padding-top:10px}
.page-equipos .tab-watercolor .tab-watercolor-title{margin-bottom:12px}
.page-equipos .teams-directory{padding-top:38px;padding-bottom:12px;border-top:0}
.page-equipos .teams-directory .team-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px;padding:8px 0;border:0}
.page-equipos .teams-directory .team-stats strong{font-size:clamp(30px,3.5vw,44px);line-height:1}
.page-equipos .teams-directory .team-stats span{font-size:12px;line-height:1.25;margin-top:4px}
.page-equipos .teams-directory>.source-note{margin:18px 0 0}
@media(max-width:650px){.page-equipos .tab-watercolor{padding-top:8px}.page-equipos .teams-directory .team-stats{gap:8px;margin-bottom:16px;padding-block:4px}.page-equipos .teams-directory .team-stats strong{font-size:30px}.page-equipos .teams-directory .team-stats span{font-size:11px}}
