#footer .site-footer__logo .custom-logo {
    width: 148px;
    max-height: none;
}

#footer h2 {
    color: #f2f3f3;
}

#footer .site-footer__description {
    color: var(--xl-muted);
}

#footer .site-footer__description a {
    color: var(--xl-green);
}

@media screen {
    #primary .entry-header .entry-title,
    #primary .entry-content :is(h1, h2, h3, h4, h5, h6):not(.has-text-color),
    #primary .entry-content th,
    #primary .sports-data-heading > :is(h1, h2),
    #primary .page-hero h1,
    #primary .news-card__title a,
    #primary.home-main #seo-introduction-title,
    #primary .xlch-card__body h2 a,
    #primary .entry-shell :is(.comments-title, .comment-reply-title),
    #primary #latest-posts-heading,
    #primary .post-navigation a {
        color: var(--xl-text);
    }

    #primary .entry-content :is(td, caption, figcaption, .wp-caption-text),
    #primary .comments-area :is(.comment-notes, .comment-form label),
    #primary .news-card__meta a {
        color: var(--xl-muted);
    }

    #primary.home-main #loi-gioi-thieu h1,
    #primary .entry-header :is(.entry-taxonomy, .entry-byline) a,
    #primary .page-hero .eyebrow a,
    #primary #latest-posts-heading + ul a,
    #primary .news-card__title a:is(:hover, :focus-visible),
    #primary .xlch-card__body h2 a:is(:hover, :focus-visible),
    #primary .post-navigation a:is(:hover, :focus-visible) {
        color: var(--xl-green);
    }
}

@media screen and (max-width: 767px) {
    #primary.home-main .match-toolbar .filter-pills {
        display: flex;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
    }

    #primary.home-main .match-toolbar .filter-pill {
        flex: 0 0 auto;
        padding-inline: 11px;
        white-space: nowrap;
    }
}

#footer .site-footer__contact {
    overflow-wrap: anywhere;
}

#footer .site-footer__contact p + p {
    margin-top: 6px;
}

/* Shared Livescore controls on the homepage and the full Livescore page. */
#primary #livescore-app .als-widget {
    --als-control-height: 36px;
    padding: 12px;
}

#primary #livescore-app .als-toolbar,
#primary #livescore-app .als-filter {
    gap: 8px;
    margin-bottom: 8px;
}

#primary #livescore-app .als-tabs {
    gap: 6px;
}

#primary #livescore-app .als-tabs button {
    min-height: var(--als-control-height);
    margin: 0;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.25;
}

#primary #livescore-app .als-date {
    height: var(--als-control-height);
}

#primary #livescore-app .als-date button {
    flex: 0 0 24px;
    width: 24px;
    min-height: 0;
    height: 100%;
    margin: 0;
    font-size: 22px;
}

#primary #livescore-app .als-date label {
    min-width: 0;
}

#primary #livescore-app .als-date label > span {
    display: none;
}

#primary #livescore-app .als-date input {
    width: 114px;
    min-width: 0;
    min-height: 0;
    height: calc(var(--als-control-height) - 4px);
    margin: 0;
    padding: 0 2px;
    font-size: 13px;
}

#primary #livescore-app .als-sort {
    gap: 5px;
    font-size: 12px;
    line-height: 1.25;
}

#primary #livescore-app .als-sort input {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin: 0;
}

#primary #livescore-app :is(#als-market, #als-league) {
    width: auto;
    height: var(--als-control-height);
    min-height: 0;
    margin: 0;
    padding: 4px 22px 4px 8px;
    font-size: 13px;
    line-height: 1.25;
}

@media (min-width: 992px) {
    #primary #livescore-app #als-market {
        flex: 0 0 130px;
        width: 130px;
    }

    #primary #livescore-app #als-league {
        width: 175px;
    }
}

@media (min-width: 1200px) {
    #primary #livescore-app .als-widget {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 175px;
        gap: 8px;
        align-items: center;
    }

    #primary #livescore-app .als-toolbar {
        grid-area: 1 / 1;
        margin: 0;
    }

    #primary #livescore-app .als-filter {
        display: contents;
    }

    #primary #livescore-app #als-league {
        grid-area: 1 / 2;
    }

    #primary #livescore-app #als-count {
        grid-area: 2 / 1 / 3 / -1;
        color: var(--als-muted);
        font-size: 12px;
    }

    #primary #livescore-app :is(#als-list, #als-updated) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    #primary #livescore-app .als-widget {
        --als-control-height: 34px;
        display: grid;
        grid-template-columns: minmax(150px, 1fr) minmax(0, 1fr) 34px;
        gap: 6px;
        padding: 8px;
        align-items: center;
    }

    #primary #livescore-app .als-toolbar,
    #primary #livescore-app.als-options-open .als-filter {
        display: contents;
    }

    #primary #livescore-app .als-tabs {
        grid-area: 1 / 1 / 2 / 3;
        gap: 4px;
    }

    #primary #livescore-app .als-tabs button {
        min-width: 0;
        padding: 4px 2px;
        font-size: 11px;
    }

    #primary #livescore-app .als-mobile-options {
        grid-area: 1 / 3;
        min-height: var(--als-control-height);
        margin: 0;
        border: 1px solid var(--als-line);
        border-radius: 5px;
        background: #292d2e;
        font-size: 22px;
        line-height: 1;
    }

    #primary #livescore-app .als-date {
        grid-area: 2 / 1;
        width: 100%;
    }

    #primary #livescore-app .als-date label {
        flex: 1 1 auto;
    }

    #primary #livescore-app .als-date input {
        width: 100%;
        font-size: 12px;
    }

    #primary #livescore-app .als-sort {
        grid-area: 2 / 2 / 3 / -1;
        justify-self: end;
        font-size: 11px;
    }

    #primary #livescore-app #als-market {
        grid-area: 3 / 1;
    }

    #primary #livescore-app #als-league {
        grid-area: 3 / 2 / 4 / -1;
    }

    #primary #livescore-app :is(#als-market, #als-league) {
        width: 100%;
        font-size: 12px;
    }

    #primary #livescore-app #als-count {
        grid-area: 4 / 1 / 5 / -1;
        color: var(--als-muted);
        font-size: 11px;
    }

    #primary #livescore-app :is(#als-list, #als-updated) {
        grid-column: 1 / -1;
    }
}

.analysis-hub__shell {
    max-width: 1200px;
    padding-block: clamp(24px, 4vw, 52px);
}

.analysis-hub__header {
    margin-bottom: 24px;
}

.analysis-hub__header h1 {
    margin: 0 0 8px;
    color: var(--xl-green);
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
}

.analysis-hub__header p {
    margin: 0;
    color: var(--xl-muted);
    font-size: clamp(16px, 1.6vw, 21px);
}

.analysis-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.analysis-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--xl-line-strong);
    border-radius: 10px;
    background: var(--xl-surface);
}

.analysis-card__link {
    display: block;
    height: 100%;
    color: var(--xl-muted);
}

.analysis-card__link img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.analysis-card__body {
    padding: 14px 16px 18px;
}

.analysis-card__body time {
    color: var(--xl-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.analysis-card__body h2 {
    margin: 5px 0 7px;
    color: var(--xl-text);
    font-size: 20px;
    line-height: 1.3;
}

.analysis-card__body p {
    margin: 0;
    color: var(--xl-muted);
    line-height: 1.5;
}

.analysis-card__link:is(:hover, :focus-visible) h2 {
    color: var(--xl-green);
}

.analysis-card__link:focus-visible {
    outline: 2px solid var(--xl-green);
    outline-offset: -2px;
}

@media (max-width: 900px) {
    .analysis-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .analysis-hub__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .xlc-live-mobile-focus #primary.match-detail-page {
        margin-inline: auto !important;
    }

}
