/* Scoped to this shortcode so the rest of the WordPress theme stays intact. */
.hcl-sihf {
    --hcl-separator: #8bb8e8;
    --hcl-ink: #102f54;
    --hcl-link: #0054a6;
    container: hcl-schedule / inline-size;
    width: 100%;
    background: #fff;
    color: var(--hcl-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
}
.hcl-sihf, .hcl-sihf * { box-sizing: border-box; }
.hcl-sihf .hcl-sihf__games { list-style: none; margin: 0; padding: 0; }
.hcl-sihf .hcl-sihf__game {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 92px minmax(0, 1fr) 140px;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 20px 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.hcl-sihf .hcl-sihf__game + .hcl-sihf__game { border-top: 1px solid var(--hcl-separator); }
.hcl-sihf .hcl-sihf__date { display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.hcl-sihf .hcl-sihf__begin { font-weight: 400; color: #536781; }
.hcl-sihf .hcl-sihf__mobile-gap { display: none; }
.hcl-sihf .hcl-sihf__time-unit { display: inline; }
.hcl-sihf .hcl-sihf__team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hcl-sihf .hcl-sihf__team--home { justify-content: flex-end; text-align: right; }
.hcl-sihf .hcl-sihf__team--away { justify-content: flex-start; text-align: left; }
.hcl-sihf .hcl-sihf__name { font-weight: 400; overflow-wrap: anywhere; min-width: 0; }
.hcl-sihf .hcl-sihf__logo { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex: 0 0 56px; }
.hcl-sihf .hcl-sihf__logo img { display: block; width: 56px; height: 56px; max-width: 100%; object-fit: contain; border: 0; border-radius: 0; margin: 0; padding: 0; box-shadow: none; }
.hcl-sihf .hcl-sihf__result { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 0; }
.hcl-sihf .hcl-sihf__score { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hcl-sihf .hcl-sihf__remark { font-size: 14px; color: #536781; }
.hcl-sihf .hcl-sihf__link { text-align: right; }
.hcl-sihf .hcl-sihf__link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--theme-button-min-height, 40px);
    padding: var(--theme-button-padding, 5px 20px);
    border: var(--theme-button-border, none);
    border-radius: var(--theme-button-border-radius, 3px);
    background-color: var(--theme-button-background-initial-color, #041e42);
    color: var(--theme-button-text-initial-color, #fff);
    font-family: inherit;
    font-size: var(--theme-button-font-size, 15px);
    font-weight: var(--theme-button-font-weight, 500);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .12s ease, color .12s ease;
}
.hcl-sihf .hcl-sihf__link a:hover {
    background-color: var(--theme-button-background-hover-color, #041e42);
    color: var(--theme-button-text-hover-color, #fff);
    text-decoration: none;
}
.hcl-sihf .hcl-sihf__link a:focus-visible { outline: 2px solid var(--hcl-link); outline-offset: 4px; }
.hcl-sihf .hcl-sihf__message { margin: 0; padding: 16px 0; }
.hcl-sihf .hcl-sihf__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Mobile, plus a fallback for browsers without container queries. */
@media (max-width: 900px) {
    .hcl-sihf .hcl-sihf__game { grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr); gap: 12px 8px; padding: 16px 0 10px; align-items: start; }
    .hcl-sihf .hcl-sihf__date { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 0; font-size: 14px; white-space: nowrap; }
    .hcl-sihf .hcl-sihf__mobile-gap { display: inline; }
    .hcl-sihf .hcl-sihf__team { flex-direction: column; gap: 6px; text-align: center; justify-content: flex-start; }
    .hcl-sihf .hcl-sihf__team--home { flex-direction: column-reverse; }
    .hcl-sihf .hcl-sihf__name { font-size: 14px; }
    .hcl-sihf .hcl-sihf__result { padding-top: 10px; }
    .hcl-sihf .hcl-sihf__score { font-size: 24px; }
    .hcl-sihf .hcl-sihf__link { grid-column: 1 / -1; text-align: center; }
}
/* Also adapts when a shortcode is placed in a narrow desktop content column. */
@container hcl-schedule (max-width: 900px) {
    .hcl-sihf .hcl-sihf__game { grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr); gap: 12px 8px; padding: 16px 0 10px; align-items: start; }
    .hcl-sihf .hcl-sihf__date { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 0; font-size: 14px; white-space: nowrap; }
    .hcl-sihf .hcl-sihf__mobile-gap { display: inline; }
    .hcl-sihf .hcl-sihf__team { flex-direction: column; gap: 6px; text-align: center; justify-content: flex-start; }
    .hcl-sihf .hcl-sihf__team--home { flex-direction: column-reverse; }
    .hcl-sihf .hcl-sihf__name { font-size: 14px; }
    .hcl-sihf .hcl-sihf__result { padding-top: 10px; }
    .hcl-sihf .hcl-sihf__score { font-size: 24px; }
    .hcl-sihf .hcl-sihf__link { grid-column: 1 / -1; text-align: center; }
}
