/* Only the homepage teaser: full team schedules remain untouched. */
@font-face {
    font-family: 'SVA Match';
    src: url('../../../../uploads/2020/09/BebasNeuePro.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
body .sva-match-strip {
    background: #f8faf6;
    color: #183c2b;
    padding: clamp(22px, 2.5vw, 36px) clamp(18px, 4vw, 72px);
}
.sva-match-strip__title { max-width: 1440px; margin: 0 auto 16px; font-size: 13px; letter-spacing: .12em; color: #436c36; }
body .sva-match-strip .sva-fupa-widget { max-width: 1440px; }
body .sva-match-strip :is([id^="fp-widget_root"], [id^="fp-2"], .fp-widget-views, .fp-widget-view, .fp-team-matches-view, .fp-team-matches-view-module-wrapper) {
    width: 100% !important; max-width: none !important; height: auto !important; max-height: none !important;
    background: transparent !important; padding: 0 !important; overflow: visible !important;
}
body .sva-match-strip .fp-team-matches-view-module-header { display: none !important; }
body .sva-match-strip .fp-team-matches-view-module-matches {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
    height: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important;
}
.sva-match-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    background: #fff; border-radius: 20px; border: 1px solid #edf0e9;
    box-shadow: 0 5px 16px #00000018;
}
.sva-match-card--upcoming { border-color: #dce8d4; }
body .sva-match-strip .fp-team-matches-view-match-row-link {
    display: flex !important; flex: 1; width: 100% !important; min-width: 0 !important;
    color: #183c2b !important; text-decoration: none !important; background: transparent !important;
}
body .sva-match-strip .fp-team-matches-view-match-row-match {
    display: grid !important; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    align-items: center !important; gap: 8px; width: 100% !important; min-height: 210px;
    padding: 16px 12px !important; margin: 0 !important; border: 0 !important; box-sizing: border-box;
}
body .sva-match-strip .fp-team-matches-view-match-row-team-container {
    display: flex !important; flex-direction: column !important; align-items: center !important;
    justify-content: center !important; gap: 8px; min-width: 0 !important; width: auto !important;
}
body .sva-match-strip .fp-team-matches-view-match-row-emblem { order: -1; margin: 0 !important; width: 44px !important; height: 44px !important; flex: 0 0 44px !important; }
body .sva-match-strip :is(.fp-team-matches-view-match-row-picture, .fp-team-matches-view-match-row-image) {
    display: block !important; width: 44px !important; height: 44px !important; max-width: none !important; object-fit: contain !important;
}
body .sva-match-strip .fp-team-matches-view-match-row-name {
    color: #161d15 !important; font-family: 'SVA Match', 'Arial Narrow', sans-serif !important; font-size: 23px !important; font-weight: 400 !important;
    white-space: normal !important; text-align: center !important; line-height: 1.3 !important;
    overflow-wrap: anywhere; overflow: visible !important; text-overflow: clip !important; max-width: 100% !important; margin: 0 !important;
}
body .sva-match-strip .fp-team-matches-view-match-row-information { width: auto !important; min-width: 0 !important; margin: 0 !important; }
body .sva-match-strip .fp-team-matches-view-match-row-score-container { display: flex !important; justify-content: center; align-items: center; gap: 4px; }
body .sva-match-strip .fp-team-matches-view-match-row-score {
    background: transparent !important; color: #161d15 !important; font-family: 'SVA Match', 'Arial Narrow', sans-serif !important;
    font-size: 30px !important; font-weight: 400 !important; line-height: 1 !important; padding: 0 !important;
    min-width: 0 !important; width: auto !important; height: auto !important; border-radius: 0 !important;
}
body .sva-match-strip .fp-team-matches-view-match-row-score + .fp-team-matches-view-match-row-score::before { content: ':'; padding-right: 4px; color: inherit; }
body .sva-match-strip .fp-team-matches-view-match-status { font-family: 'SVA Match', 'Arial Narrow', sans-serif !important; font-weight: 400 !important; font-size: 30px !important; color: #161d15 !important; }
body .sva-match-strip .sva-match-card__action {
    display: block; padding: 12px; border-top: 0; margin-top: auto; flex-shrink: 0;
    color: #fff; background: #6aad44; text-align: center; font-size: 15px; font-weight: 500; text-decoration: none;
    text-transform: uppercase; letter-spacing: .035em;
}
body .sva-match-strip .sva-match-card__action:hover { background: #4c852f; color: #fff; }
.sva-match-strip a:focus-visible { outline: 3px solid #548b38 !important; outline-offset: -3px; }
body .sva-match-strip .fp-widget-footer-container { display: flex !important; justify-content: flex-end !important; width: 100% !important; margin-top: 12px !important; padding: 0 !important; background: transparent !important; }
body .sva-match-strip .fp-widget-footer-container > a[href*="/club/"] { flex: 0 1 auto !important; width: auto !important; text-align: left !important; }
body .sva-match-strip .fp-widget-footer-container > a:last-child { flex: 0 0 auto !important; width: auto !important; margin-left: auto !important; margin-right: 0 !important; padding-right: 0 !important; text-align: right !important; }
body .sva-match-strip .fp-widget-footer-container > a:last-child span { margin-right: 0 !important; padding-right: 0 !important; }
body .sva-match-strip .fp-widget-footer-link { font-size: 11px !important; color: #61735c !important; }
body .sva-match-strip .fp-widget-footer-container { max-width: none !important; box-sizing: border-box !important; margin-inline: 0 !important; justify-content: space-between !important; }
body .sva-match-strip .fp-widget-footer-container > a,
body .sva-match-strip .fp-widget-footer-container > a > span { padding: 0 !important; margin: 0 !important; }
.sva-match-strip__more { max-width: 1440px; margin: 12px auto 0; text-align: right; }
.sva-match-strip__more a { color: #183c2b; font-weight: 700; text-decoration: none; font-size: 15px; }
.sva-match-strip__more span { margin-left: 10px; color: #548b38; }
@media (max-width: 1000px) {
    body .sva-match-strip .fp-team-matches-view-module-matches {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(290px, 44%);
        overflow-x: auto !important; scroll-snap-type: x mandatory; padding-bottom: 16px !important;
    }
    .sva-match-card { scroll-snap-align: start; }
}
@media (max-width: 600px) {
    body .sva-match-strip .fp-team-matches-view-module-matches { grid-auto-columns: 90%; gap: 14px; }
    body .sva-match-strip .fp-team-matches-view-match-row-match { grid-template-columns: minmax(0, 1fr) 75px minmax(0, 1fr); padding: 16px 12px !important; }
    body .sva-match-strip .fp-team-matches-view-match-row-name { font-size: 21px !important; }
}

/* Full-schedule selection. Keep the original rows/links inside FuPa's tree. */
body .sva-match-strip--selected .fp-team-matches-view {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch;
}
body .sva-match-strip--selected :is(.fp-team-matches-view-month-block, .fp-team-matches-view-matches-wrapper) { display: contents !important; }
body .sva-match-strip--selected .fp-team-matches-view-month-header,
body .sva-match-strip--selected .fp-team-matches-view-match-row-wrapper:not(.sva-match-card) { display: none !important; }
body .sva-match-strip--selected .sva-match-card { display: flex !important; flex-direction: column; margin: 0 !important; padding: 0 !important; }
.sva-match-card__label { display: block; padding: 16px 16px 6px; text-align: center; color: #63765a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.sva-match-card--upcoming .sva-match-card__label { color: #4d8835; }
body .sva-match-strip--selected .fp-team-matches-view-match-caption {
    display: block !important; padding: 0 14px !important; text-align: center !important; color: #50624b !important;
    font-family: inherit !important; font-size: 12px !important; white-space: normal !important;
}
body .sva-match-strip--selected .fp-team-matches-view-match-row-match { min-height: 132px; }
@media (max-width: 1000px) {
    body .sva-match-strip--selected .fp-team-matches-view {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(290px, 44%);
        overflow-x: auto !important; scroll-snap-type: x mandatory; padding-bottom: 16px !important;
    }
}
@media (max-width: 600px) {
    body .sva-match-strip--selected .fp-team-matches-view { grid-auto-columns: 90%; gap: 14px; }
}
