/* Kisure v553 — authoritative one-line fixture header for football-linked news cards. */
/*
 * Important: legacy card CSS uses `.news-card > a { display:block; }`, which is
 * more specific than a bare `.news-card-match-strip` selector.  Keep this rule
 * explicit/important so the fixture can never collapse into a vertical stack.
 */
a.news-card-match-strip,
article.news-card > a.news-card-match-strip,
.surface-card > a.news-card-match-strip{
    position:relative;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 42px auto 42px minmax(0,1fr) !important;
    grid-template-rows:1fr !important;
    grid-auto-flow:column !important;
    align-items:center !important;
    justify-items:stretch !important;
    column-gap:.58rem !important;
    row-gap:0 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:64px;
    padding:.68rem .9rem !important;
    margin:0 !important;
    overflow:hidden !important;
    border-bottom:1px solid color-mix(in srgb,var(--primary) 18%,var(--border-color,#d9e2ea));
    background:color-mix(in srgb,var(--surface,#fff) 96%,var(--primary) 4%);
    color:var(--text,#111827) !important;
    text-decoration:none !important;
    white-space:nowrap !important;
    box-sizing:border-box !important;
}
a.news-card-match-strip::before{
    content:"";
    position:absolute;
    inset:0 0 auto;
    height:4px;
    background:var(--primary,#0ea5a4);
}
a.news-card-match-strip.is-live::before{background:var(--danger,#dc2626)}
a.news-card-match-strip.is-upcoming::before{background:var(--accent,#f59e0b)}
a.news-card-match-strip.is-finished::before{background:var(--success,#16a34a)}
a.news-card-match-strip:hover{
    background:color-mix(in srgb,var(--surface,#fff) 91%,var(--primary) 9%);
    color:var(--text,#111827) !important;
}
html[data-theme="dark"] a.news-card-match-strip{
    background:color-mix(in srgb,var(--surface,#0f172a) 94%,var(--primary) 6%);
}

.news-card-match-strip > *{
    min-width:0;
    margin:0 !important;
}
.news-card-match-strip__team{
    display:block !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:var(--text,#111827) !important;
    font-family:"Space Grotesk",sans-serif;
    font-size:1.05rem;
    line-height:1.08;
    font-weight:900;
}
.news-card-match-strip__team--home{text-align:right}
.news-card-match-strip__team--away{text-align:left}

.news-card-match-strip__crest{
    display:grid !important;
    place-items:center !important;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    max-width:42px !important;
    overflow:hidden;
    border-radius:8px;
    background:transparent;
}
.news-card-match-strip__crest img{
    display:block !important;
    width:38px !important;
    height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    object-fit:contain;
}
.news-card-match-strip__crest i{
    color:var(--text-soft,#64748b);
    font-size:1.15rem;
}

.news-card-match-strip__result{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:.34rem !important;
    min-width:max-content !important;
    white-space:nowrap !important;
    font-family:"Space Grotesk",sans-serif;
    font-variant-numeric:tabular-nums;
}
.news-card-match-strip__score,
.news-card-match-strip__penalty,
.news-card-match-strip__phase,
.news-card-match-strip__kickoff{
    display:inline-block !important;
    flex:0 0 auto !important;
    margin:0 !important;
    font-family:"Space Grotesk",sans-serif;
    font-variant-numeric:tabular-nums;
    white-space:nowrap !important;
}
.news-card-match-strip__score{
    min-width:24px;
    text-align:center;
    color:var(--text,#111827) !important;
    font-size:1.78rem;
    line-height:.92;
    font-weight:950;
    letter-spacing:-.045em;
}
.news-card-match-strip__penalty{
    color:var(--text,#111827) !important;
    font-size:1rem;
    line-height:1;
    font-weight:900;
}
.news-card-match-strip__phase{
    min-width:30px;
    text-align:center;
    color:var(--text,#111827) !important;
    font-size:.84rem;
    line-height:1;
    font-weight:950;
    letter-spacing:.02em;
    text-transform:uppercase;
}
.news-card-match-strip.is-live .news-card-match-strip__phase{color:var(--danger,#dc2626) !important}
.news-card-match-strip__kickoff{
    display:block !important;
    justify-self:center !important;
    color:var(--text,#111827) !important;
    font-size:.9rem;
    line-height:1.08;
    font-weight:900;
    text-align:center;
}

@media(max-width:900px){
    a.news-card-match-strip,
    article.news-card > a.news-card-match-strip,
    .surface-card > a.news-card-match-strip{
        grid-template-columns:minmax(0,1fr) 36px auto 36px minmax(0,1fr) !important;
        column-gap:.42rem !important;
        min-height:58px;
        padding:.6rem .66rem !important;
    }
    .news-card-match-strip__team{font-size:.94rem}
    .news-card-match-strip__crest{width:36px !important;height:36px !important;min-width:36px !important;max-width:36px !important}
    .news-card-match-strip__crest img{width:33px !important;height:33px !important;max-width:33px !important;max-height:33px !important}
    .news-card-match-strip__score{font-size:1.58rem}
    .news-card-match-strip__penalty{font-size:.88rem}
    .news-card-match-strip__phase{font-size:.76rem}
    .news-card-match-strip__kickoff{font-size:.8rem}
}

@media(max-width:640px){
    a.news-card-match-strip,
    article.news-card > a.news-card-match-strip,
    .surface-card > a.news-card-match-strip{
        grid-template-columns:minmax(0,1fr) 31px auto 31px minmax(0,1fr) !important;
        column-gap:.28rem !important;
        min-height:54px;
        padding:.54rem .4rem !important;
    }
    .news-card-match-strip__team{font-size:.78rem}
    .news-card-match-strip__crest{width:31px !important;height:31px !important;min-width:31px !important;max-width:31px !important}
    .news-card-match-strip__crest img{width:28px !important;height:28px !important;max-width:28px !important;max-height:28px !important}
    .news-card-match-strip__result{gap:.22rem !important}
    .news-card-match-strip__score{min-width:19px;font-size:1.38rem}
    .news-card-match-strip__penalty{font-size:.72rem}
    .news-card-match-strip__phase{min-width:23px;font-size:.65rem}
    .news-card-match-strip__kickoff{max-width:120px;overflow:hidden;text-overflow:ellipsis;font-size:.7rem}
}

@media(max-width:390px){
    a.news-card-match-strip,
    article.news-card > a.news-card-match-strip,
    .surface-card > a.news-card-match-strip{
        grid-template-columns:minmax(0,1fr) 28px auto 28px minmax(0,1fr) !important;
        column-gap:.2rem !important;
        padding-inline:.3rem !important;
    }
    .news-card-match-strip__team{font-size:.7rem}
    .news-card-match-strip__crest{width:28px !important;height:28px !important;min-width:28px !important;max-width:28px !important}
    .news-card-match-strip__crest img{width:25px !important;height:25px !important;max-width:25px !important;max-height:25px !important}
    .news-card-match-strip__score{font-size:1.25rem}
    .news-card-match-strip__penalty{font-size:.66rem}
    .news-card-match-strip__phase{font-size:.6rem}
    .news-card-match-strip__kickoff{max-width:106px;font-size:.64rem}
}
