.occ27-program-home .section-kicker:empty,
.occ27-program-home .section-head p:empty {
    display: none;
}

.occ27-match-strip {
    background: #0b172b;
    color: #f5f7fa;
    padding-block: 20px 24px;
    scroll-margin-top: 94px;
}

.occ27-match-strip__head,
.occ27-match-strip__links,
.occ27-match-strip__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 16px;
}

.occ27-match-strip__head {
    margin-bottom: 12px;
}

.occ27-match-strip__head h2 {
    color: inherit;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.15;
    margin: 0;
}

.occ27-match-strip__head p {
    margin: 4px 0 0;
    color: #c3cddc;
    font-size: .875rem;
}

.occ27-match-strip__links a {
    color: #f9d689;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.occ27-match-strip__games {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.occ27-match-strip__game {
    display: block;
    min-height: 100%;
    padding: 10px 12px;
    color: #f5f7fa;
    background: #152742;
    border: 1px solid #344963;
    border-radius: 10px;
    text-decoration: none;
}

.occ27-match-strip__game:hover {
    color: #fff;
    border-color: #e4bb64;
}

.occ27-match-strip a:focus-visible {
    outline: 2px solid #ffdc8b;
    outline-offset: 2px;
}

.occ27-match-strip__meta {
    color: #c3cddc;
    font-size: .78rem;
}

.occ27-match-strip__meta strong {
    color: #f9d689;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
}

.occ27-team-profile-link {
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-thickness: .08em;
}

.occ27-team-profile-link:hover {
    text-decoration-thickness: .16em;
}

.occ27-match-strip__game a {
    color: inherit;
}

.occ27-match-strip__game a:hover {
    color: #f9d689;
}

#grupy-occ li > .occ27-team-profile-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
}

.occ27-group-team {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 12px;
    border-bottom: 1px solid #d5dee8;
}

.occ27-group-team:last-child {
    border-bottom: 0;
}

.occ27-team-live-link {
    font-size: .82rem;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.occ27-group-team .occ27-team-live-link {
    display: inline-flex;
    align-items: center;
    gap: .25em;
    min-height: 2rem;
}

.occ27-group-live {
    margin-block: 24px 32px;
    padding: clamp(14px, 3vw, 24px);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    scroll-margin-top: 110px;
}

.occ27-group-live .occ27-group-live__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.occ27-group-live .occ27-group-live__intro h2 {
    margin: 0 0 6px;
}

.occ27-group-live .occ27-group-live__intro p {
    margin: 0;
}

.occ27-group-live .occ27-group-live__panel {
    margin: 0;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
}

.occ27-group-live__panel summary {
    display: list-item;
    padding: 10px 12px;
    font-weight: 650;
    cursor: pointer;
}

.occ27-club-fixtures li time,
.occ27-match-archive time {
    font-variant-numeric: tabular-nums;
    font-weight: 650;
}

.occ27-match-archive .occ27-match-archive__list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.occ27-match-archive__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
}

.occ27-match-archive__teams {
    flex: 1 1 250px;
    font-weight: 650;
}

.occ27-match-strip__pair {
    display: grid;
    gap: 2px;
    margin-top: 6px;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.occ27-match-strip__pair b {
    color: #f9d689;
}

@media (max-width: 980px) {
    .occ27-match-strip__games {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .occ27-match-strip__games {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(75%, 220px);
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding: 4px 4px 8px;
    }

    .occ27-match-strip__games li {
        scroll-snap-align: start;
    }
}
