/* Scoped to roster embeds. School Profiles provides optional color variables. */
.lebco-team-roster {
    --lebco-roster-line: rgba(127,127,127,.28);
    --lebco-roster-row: rgba(127,127,127,.07);
    margin-block: 1.5em;
    max-width: 100%;
    clear: both;
}
.lebco-team-roster .lebco-roster-heading {
    display: flex;
    align-items: center;
    gap: .85em;
    background: var(--lebco-school-primary, var(--lebco-roster-row));
    color: var(--lebco-school-text, inherit);
    border-block-end: .28rem solid var(--lebco-school-secondary, transparent);
    border-radius: .35em;
    padding: .85em 1em;
    margin-bottom: .85em;
}
.lebco-team-roster .lebco-roster-heading-text { min-width: 0; }
.lebco-team-roster .lebco-roster-heading .lebco-school-logo {
    display: block;
    flex: 0 0 3.75em;
    width: 3.75em;
    height: 3.75em;
    max-width: 3.75em;
    max-height: 3.75em;
    object-fit: contain;
    background: #fff;
    border-radius: .25em;
    padding: .2em;
    margin: 0;
}
/* Theme article rules target headings/paragraphs by ID: preserve contrast. */
.lebco-team-roster .lebco-roster-heading .lebco-roster-title {
    color: inherit !important;
    font-size: 1.4em;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 !important;
    padding: 0;
    overflow-wrap: anywhere;
}
.lebco-team-roster .lebco-roster-heading .lebco-roster-subtitle {
    color: var(--lebco-school-text, inherit) !important;
    font-size: .9em;
    line-height: 1.4;
    font-weight: 600;
    margin: .25em 0 0 !important;
    padding: 0;
    overflow-wrap: anywhere;
}
.lebco-team-roster .lebco-roster-coach,
.lebco-team-roster .lebco-roster-mascot { font-size: .9em; margin: 0 0 .85em; }
.lebco-team-roster .lebco-roster-table-wrap { overflow-x: auto; max-width: 100%; }
.lebco-team-roster .lebco-roster-table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border: 0;
    background: transparent;
    margin: 0;
    font-size: 1em;
}
.lebco-team-roster .lebco-roster-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.lebco-team-roster .lebco-roster-table :is(th,td) {
    border: 0;
    border-bottom: 1px solid var(--lebco-roster-line);
    padding: .7em .65em;
    text-align: start;
    vertical-align: middle;
    line-height: 1.35;
    background: transparent;
    color: inherit;
}
.lebco-team-roster .lebco-roster-table thead th {
    background: var(--lebco-school-primary, var(--lebco-roster-row));
    color: var(--lebco-school-text, inherit) !important;
    font-size: .85em;
    font-weight: 700;
    white-space: nowrap;
}
.lebco-team-roster .lebco-roster-table tbody tr:nth-child(even) { background: var(--lebco-roster-row); }
.lebco-team-roster .lebco-roster-table .lebco-roster-number { width: 3.5em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lebco-team-roster .lebco-roster-table tbody .lebco-roster-name { font-size: 1.05em; font-weight: 700; overflow-wrap: anywhere; }
.lebco-team-roster .lebco-roster-table .lebco-roster-year { width: 5em; }
.lebco-team-roster .lebco-roster-table .lebco-roster-position { width: 7em; overflow-wrap: anywhere; }
@media (max-width: 630px) {
    .lebco-team-roster .lebco-roster-heading { padding: .75em; gap: .65em; }
    .lebco-team-roster .lebco-roster-heading .lebco-roster-title { font-size: 1.25em; }
    .lebco-team-roster .lebco-roster-table :is(th,td) { padding: .65em .4em; }
    .lebco-team-roster .lebco-roster-table .lebco-roster-position { width: auto; }
}
