/* ===========================================================
   Hockey Standings — Borderless Modern Look (Non-Sticky)
   =========================================================== */
.hockey-standings table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1em 0;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.hockey-standings th,
.hockey-standings td {
    border: none;
    padding: 10px 8px;
    text-align: center;
    vertical-align: middle;
}

.hockey-standings th {
    background: #003366;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hockey-standings tr {
    border-bottom: 1px solid #f0f2f5;
}

.hockey-standings tr:last-child {
    border-bottom: none;
}

.hockey-standings tr:nth-child(even) {
    background-color: #f9fbfd;
}

/* Light blue highlight for favorite team */
.hockey-standings tr.highlight-team,
.hockey-schedule tr.highlight-team {
    background-color: #e6f2ff !important; /* soft ERC Ingolstadt blue */
    font-weight: bold;
}

.hockey-standings .team-name {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 150px;
}

.hockey-standings .team-logo {
    height: 20px;
    width: 20px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

/* "Last updated" text */
.hockey-standings .last-update,
.hockey-schedule .last-update {
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
    margin-top: 5px;
    text-align: right;
}

/* ===========================================================
   Hockey Schedule — Borderless Modern Look (Non-Sticky)
   =========================================================== */
.hockey-schedule table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1em 0;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.hockey-schedule th,
.hockey-schedule td {
    border: none;
    padding: 10px 8px;
    text-align: center;
    vertical-align: middle;
}

.hockey-schedule th {
    background: #003366;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hockey-schedule tr {
    border-bottom: 1px solid #f0f2f5;
}

.hockey-schedule tr:last-child {
    border-bottom: none;
}

.hockey-schedule tr:nth-child(even) {
    background-color: #f9fbfd;
}

.hockey-schedule .team-name {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

.hockey-schedule .team-logo {
    height: 20px;
    width: 20px;
    object-fit: contain;
    vertical-align: middle;
}

/* ===========================================================
   Responsive Adjustments
   =========================================================== */
@media (max-width: 768px) {
    .hockey-standings th.hide-mobile,
    .hockey-standings td.hide-mobile {
        display: none;
    }

    .hockey-standings table,
    .hockey-schedule table {
        font-size: 0.85rem;
    }

    .hockey-schedule .team-name .team-fullname {
        display: none !important;
    }

    .hockey-schedule .team-name::after {
        content: attr(data-shortname);
        margin-left: 4px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #333;
    }

    .hockey-schedule .team-logo {
        height: 18px;
        width: 18px;
    }

    .hockey-schedule .game-date {
        font-size: 0;
        position: relative;
    }

    .hockey-schedule .game-date::after {
        content: attr(data-short-date);
        font-size: 0.85rem;
    }

    .hockey-schedule th,
    .hockey-schedule td,
    .hockey-standings th,
    .hockey-standings td {
        padding: 6px 5px;
    }
}
