:root {
    --df-bg: #f4f6f8;
    --df-surface: #ffffff;
    --df-surface-soft: #f8fafb;
    --df-text: #17202a;
    --df-text-soft: #66717d;
    --df-border: #e1e6ea;
    --df-header: #101820;
    --df-accent: #1f8f5f;
    --df-accent-soft: #e8f5ef;
    --df-radius: 14px;
    --df-shadow: 0 8px 28px rgba(16, 24, 32, 0.06);
    --df-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--df-bg);
    color: var(--df-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 40px), var(--df-container));
    margin-inline: auto;
}

/* HEADER */

.site-header {
    background: var(--df-header);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: baseline;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-size: 24px;
    white-space: nowrap;
}

.brand-datos {
    color: #ffffff;
}

.brand-futbol {
    color: #70d39f;
}

.brand-net {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    font-size: 15px;
    margin-left: 2px;
    letter-spacing: -0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 11px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.site-nav-link.is-active {
    background: rgba(112, 211, 159, 0.14);
    color: #70d39f;
}

/* MAIN */

.site-main {
    min-height: calc(100vh - 190px);
}

.page-shell {
    padding: 28px 0 56px;
}

/* BREADCRUMB */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--df-text-soft);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: var(--df-accent);
}

.breadcrumb-separator {
    color: #a5adb5;
}

/* HERO */

.entity-hero {
    background: var(--df-surface);
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--df-shadow);
    margin-bottom: 24px;
}

.entity-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    flex: 0 0 auto;
}

.entity-info {
    min-width: 0;
}

.entity-title {
    margin: 0 0 7px;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.entity-subtitle {
    margin: 0;
    color: var(--df-text-soft);
    line-height: 1.7;
}

/* GRID */

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

.section-spacing {
    margin-top: 22px;
}

/* CARDS */

.card {
    background: var(--df-surface);
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    overflow: hidden;
    box-shadow: var(--df-shadow);
}

.card-header {
    padding: 17px 20px;
    border-bottom: 1px solid var(--df-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.card-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.card-body {
    padding: 20px;
}

.card-link {
    color: var(--df-accent);
    font-size: 14px;
    font-weight: 600;
}

.card-link:hover {
    text-decoration: underline;
}

/* STAT CARDS */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.stat-box {
    background: var(--df-surface-soft);
    border: 1px solid #edf0f2;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.stat-label {
    display: block;
    margin-top: 5px;
    color: var(--df-text-soft);
    font-size: 12px;
}

.supporting-text {
    margin: 15px 0 0;
    color: var(--df-text-soft);
    font-size: 14px;
}

/* FIXTURES */

.fixture-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fixture-item {
    padding: 15px 20px;
    border-bottom: 1px solid #edf0f2;
}

.fixture-item:last-child {
    border-bottom: 0;
}

.fixture-item:hover {
    background: #fbfcfd;
}

.fixture-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 9px;
    color: #7a858e;
    font-size: 12px;
}

.fixture-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.fixture-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.fixture-team.away {
    justify-content: flex-end;
    text-align: right;
}

.fixture-team-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixture-team-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex: 0 0 auto;
}

.fixture-score {
    min-width: 58px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

.fixture-vs {
    min-width: 58px;
    text-align: center;
    color: var(--df-text-soft);
    font-size: 13px;
    font-weight: 650;
}

.empty-state {
    margin: 0;
    color: var(--df-text-soft);
}

/* PILLS */

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
    background: var(--df-surface-soft);
    color: var(--df-text-soft);
    border: 1px solid var(--df-border);
}

.badge-accent {
    background: var(--df-accent-soft);
    border-color: #caebda;
    color: #126b45;
}

/* FOOTER */

.site-footer {
    background: #0d141a;
    color: #ffffff;
    margin-top: 40px;
}

.footer-inner {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    font-weight: 800;
    letter-spacing: -0.025em;
}

.footer-text {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 28px), var(--df-container));
    }

    .header-inner {
        min-height: 64px;
    }

    .site-nav {
        gap: 2px;
    }

    .site-nav-link {
        min-height: 36px;
        padding: 6px 8px;
        font-size: 13px;
    }

    .site-brand {
        font-size: 22px;
    }

    .page-shell {
        padding: 18px 0 40px;
    }

    .entity-hero {
        padding: 20px;
        align-items: flex-start;
        gap: 16px;
    }

    .entity-logo {
        width: 72px;
        height: 72px;
    }

    .entity-title {
        font-size: 27px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fixture-item {
        padding: 14px;
    }

    .fixture-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
    }

    .fixture-team {
        gap: 6px;
        font-size: 13px;
    }

    .fixture-team-logo {
        width: 22px;
        height: 22px;
    }

    .fixture-score,
    .fixture-vs {
        min-width: 42px;
        font-size: 15px;
    }

    .footer-inner {
        min-height: 135px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 12px;
    }
}

/* COMPETITIONS */

.competition-summary {
    margin: 0;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.standings-scroll {
    width: 100%;
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.standings-table th,
.standings-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #edf0f2;
    text-align: center;
    font-size: 14px;
}

.standings-table th {
    background: var(--df-surface-soft);
    color: var(--df-text-soft);
    font-size: 12px;
    font-weight: 700;
}

.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
    text-align: left;
}

.standings-table tbody tr:last-child td {
    border-bottom: 0;
}

.standings-table tbody tr:hover {
    background: #fbfcfd;
}

.standing-pos {
    width: 58px;
    font-weight: 700;
}

.standing-points {
    font-weight: 800;
}

.standing-team {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
}

.standing-team:hover {
    color: var(--df-accent);
}

.standing-team img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

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

.team-link-card {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--df-border);
    border-radius: 10px;
    background: var(--df-surface-soft);
    font-size: 14px;
    font-weight: 600;
}

.team-link-card:hover {
    border-color: #b8daca;
    background: var(--df-accent-soft);
}

.team-link-card img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex: 0 0 auto;
}

@media (max-width: 760px) {
    .teams-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
}

/* MATCHES */

.match-hero {
    background: var(--df-surface);
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    box-shadow: var(--df-shadow);
    padding: 28px;
}

.match-meta-top {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.match-date {
    text-align: center;
    color: var(--df-text-soft);
    font-size: 14px;
    margin-bottom: 26px;
}

.match-scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    min-width: 0;
}

.match-team:hover .match-team-name {
    color: var(--df-accent);
}

.match-team-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.match-team-name {
    font-size: 20px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.match-result {
    text-align: center;
}

.match-score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    font-size: 44px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -0.05em;
}

.match-score-separator {
    color: #a1a9b0;
    font-weight: 500;
}

.match-status {
    display: inline-block;
    margin-top: 12px;
    color: var(--df-text-soft);
    font-size: 13px;
    font-weight: 650;
}

.match-status-live {
    color: #b42318;
}

.match-vs-large {
    font-size: 28px;
    font-weight: 800;
    color: var(--df-text-soft);
}

.match-details {
    margin: 0;
}

.match-details > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f2;
}

.match-details > div:first-child {
    padding-top: 0;
}

.match-details > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.match-details dt {
    color: var(--df-text-soft);
    font-size: 13px;
}

.match-details dd {
    margin: 0;
    text-align: right;
    font-weight: 650;
}

.match-details a:hover {
    color: var(--df-accent);
}

.match-team-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 760px) {
    .match-hero {
        padding: 22px 16px;
    }

    .match-scoreboard {
        grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
        gap: 10px;
    }

    .match-team-logo {
        width: 64px;
        height: 64px;
    }

    .match-team-name {
        font-size: 15px;
    }

    .match-score {
        gap: 7px;
        font-size: 32px;
    }

    .match-team-links {
        grid-template-columns: 1fr;
    }
}

.match-page-title {
    margin: 0 0 16px;
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.fixture-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.fixture-link:hover {
    color: inherit;
}

/* Competition navigation */
.competition-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 24px 0;
    padding: 6px;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.competition-nav::-webkit-scrollbar {
    display: none;
}

.competition-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 9px;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.competition-nav-link:hover {
    background: #f3f4f6;
    color: #111827;
}

.competition-nav-link.is-active {
    background: #16a34a;
    color: #ffffff;
}

.competition-nav-link.is-active:hover {
    background: #16a34a;
    color: #ffffff;
}

@media (max-width: 640px) {
    .competition-nav {
        margin: 18px 0;
        border-radius: 12px;
    }

    .competition-nav-link {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 0.86rem;
    }
}

/* Home */
.home-competitions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-competition-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 175px;
    padding: 22px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.home-competition-country {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-competition-title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
}

.home-competition-title a {
    color: #111827;
    text-decoration: none;
}

.home-competition-title a:hover {
    color: #16a34a;
}

.home-competition-season {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.home-competition-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.home-competition-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 11px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.home-competition-links a:hover {
    border-color: #16a34a;
    color: #15803d;
}

@media (max-width: 760px) {
    .home-competitions-grid {
        grid-template-columns: 1fr;
    }

    .home-competition-card {
        min-height: auto;
        padding: 18px;
    }

    .home-competition-links {
        margin-top: 18px;
    }
}

/* Home competition grid refinement */
.home-competitions-grid:has(.home-competition-card:only-child) {
    grid-template-columns: minmax(0, 560px);
}

@media (max-width: 760px) {
    .home-competitions-grid:has(.home-competition-card:only-child) {
        grid-template-columns: 1fr;
    }
}

/* DATOSFUTBOL MATCH DESIGN V2 */

.match-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 36px 38px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(255, 255, 255, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 90%,
            rgba(255, 255, 255, 0.07),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0b1520 0%,
            #10283a 52%,
            #0a1722 100%
        );
    border: 0;
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.18),
        0 2px 8px rgba(15, 23, 42, 0.08);
}

.match-hero::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    left: -160px;
    bottom: -210px;
    border-radius: 50%;
    border: 50px solid rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.match-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -130px;
    top: -150px;
    border-radius: 50%;
    border: 42px solid rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.match-hero > * {
    position: relative;
    z-index: 1;
}

.match-page-title {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.015em;
}

.match-meta-top {
    margin-bottom: 12px;
}

.match-hero .match-meta-top .badge {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.match-date {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.035em;
}

.match-scoreboard {
    grid-template-columns:
        minmax(0, 1fr)
        190px
        minmax(0, 1fr);
    gap: 36px;
}

.match-team {
    color: #ffffff;
    text-decoration: none;
}

.match-team-logo {
    width: 112px;
    height: 112px;
    padding: 14px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: 24px;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.20),
        inset 0 0 0 1px rgba(15, 23, 42, 0.04);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.match-team:hover .match-team-logo {
    transform: translateY(-3px);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.match-team-name {
    max-width: 240px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    text-wrap: balance;
}

.match-team:hover .match-team-name {
    color: #ffffff;
    opacity: 0.82;
}

.match-result {
    min-width: 0;
    padding: 20px 14px 18px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.match-score {
    gap: 15px;
    color: #ffffff;
    font-size: 58px;
    font-weight: 900;
    letter-spacing: -0.065em;
    font-variant-numeric: tabular-nums;
}

.match-score-separator {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.match-status {
    margin-top: 14px;
    padding: 6px 11px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.match-status-live {
    color: #ffffff;
    background: #c5221f;
    border-color: rgba(255, 255, 255, 0.18);
}

.match-vs-large {
    color: #ffffff;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* Primer bloque de información bajo el marcador */

.match-hero + .content-grid {
    margin-top: 22px;
}

.match-hero + .content-grid .card {
    border-radius: 18px;
}

.match-hero + .content-grid .card-header {
    padding-top: 20px;
}

/* Mobile */

@media (max-width: 760px) {

    .match-hero {
        padding: 24px 14px 26px;
        border-radius: 18px;
    }

    .match-page-title {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .match-date {
        margin-bottom: 22px;
        font-size: 12px;
    }

    .match-scoreboard {
        grid-template-columns:
            minmax(0, 1fr)
            94px
            minmax(0, 1fr);
        gap: 8px;
    }

    .match-team {
        gap: 10px;
    }

    .match-team-logo {
        width: 72px;
        height: 72px;
        padding: 9px;
        border-radius: 18px;
    }

    .match-team-name {
        max-width: 120px;
        font-size: 14px;
        line-height: 1.18;
    }

    .match-result {
        padding: 14px 6px 12px;
        border-radius: 16px;
    }

    .match-score {
        gap: 5px;
        font-size: 34px;
    }

    .match-vs-large {
        font-size: 27px;
    }

    .match-status {
        margin-top: 9px;
        padding: 5px 7px;
        font-size: 10px;
    }
}

@media (max-width: 390px) {

    .match-scoreboard {
        grid-template-columns:
            minmax(0, 1fr)
            82px
            minmax(0, 1fr);
        gap: 5px;
    }

    .match-team-logo {
        width: 64px;
        height: 64px;
        padding: 8px;
    }

    .match-team-name {
        font-size: 13px;
    }

    .match-score {
        font-size: 30px;
    }
}



/* DATOSFUTBOL MATCH DESIGN V3 */

/* Información inmediatamente bajo el marcador */

.match-hero + .content-grid {
    gap: 16px;
}

.match-hero + .content-grid .card {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
}

.match-hero + .content-grid .card-header {
    min-height: auto;
    padding: 17px 20px;
}

.match-hero + .content-grid .card-body {
    padding: 18px 20px;
}

.match-hero + .content-grid .match-details > div {
    padding: 9px 0;
}

/* Encabezados de secciones deportivas */

.match-section-header {
    align-items: center;
}

.match-section-kicker {
    margin: 4px 0 0;
    color: var(--df-text-soft);
    font-size: 12px;
    font-weight: 500;
}

/* Comparación */

.match-comparison-card {
    overflow: hidden;
}

.match-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.comparison-team-panel {
    min-width: 0;
    padding: 22px;
    background: #f8fafb;
    border: 1px solid #e6ebef;
    border-radius: 18px;
}

.comparison-team-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.comparison-team-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    object-fit: contain;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e5e9ed;
    border-radius: 14px;
}

.comparison-team-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.comparison-team-title a {
    color: var(--df-text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
}

.comparison-team-title a:hover {
    color: var(--df-accent);
}

.comparison-position {
    color: var(--df-text-soft);
    font-size: 12px;
    font-weight: 600;
}

.comparison-performance {
    margin-bottom: 20px;
}

.comparison-performance-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--df-text-soft);
    font-size: 12px;
}

.comparison-performance-top strong {
    color: var(--df-text);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.comparison-progress {
    height: 9px;
    overflow: hidden;
    background: #e7ecef;
    border-radius: 999px;
}

.comparison-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(
        90deg,
        #18a870 0%,
        #20c98b 100%
    );
    border-radius: inherit;
}

.comparison-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.comparison-metric {
    min-width: 0;
    padding: 11px 8px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7ebee;
    border-radius: 12px;
}

.comparison-metric strong {
    display: block;
    margin-bottom: 3px;
    color: var(--df-text);
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.comparison-metric span {
    display: block;
    color: var(--df-text-soft);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.comparison-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e3e8eb;
}

.comparison-form-label {
    color: var(--df-text-soft);
    font-size: 12px;
    font-weight: 650;
}

.form-pills {
    display: flex;
    gap: 6px;
}

.form-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 850;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.10);
}

.form-g {
    background: #16875d;
}

.form-e {
    background: #7b8790;
}

.form-p {
    background: #c83b3b;
}

.match-comparison-note {
    margin: 18px 2px 0;
    font-size: 11px;
}

/* H2H */

.match-h2h-card {
    overflow: hidden;
}

.h2h-scoreline {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        130px
        minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #e5eaed;
    border-radius: 18px;
}

.h2h-team-stat,
.h2h-draw-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    padding: 20px 12px;
    text-align: center;
}

.h2h-team-stat {
    background: #f8fafb;
}

.h2h-draw-stat {
    background: #ffffff;
    border-left: 1px solid #e5eaed;
    border-right: 1px solid #e5eaed;
}

.h2h-number {
    display: block;
    margin-bottom: 5px;
    color: var(--df-text);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.h2h-team-stat > span:not(.h2h-number),
.h2h-draw-stat > span:not(.h2h-number) {
    color: var(--df-text-soft);
    font-size: 11px;
    font-weight: 600;
}

.h2h-team-stat strong {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.2;
}

.h2h-extra-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.h2h-extra-stats > div {
    padding: 14px;
    text-align: center;
    background: #f8fafb;
    border: 1px solid #e7ebee;
    border-radius: 12px;
}

.h2h-extra-stats strong {
    display: block;
    margin-bottom: 3px;
    font-size: 18px;
    font-weight: 850;
}

.h2h-extra-stats span {
    color: var(--df-text-soft);
    font-size: 11px;
}

/* Mobile */

@media (max-width: 760px) {

    .match-comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-team-panel {
        padding: 18px;
    }

    .comparison-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .h2h-scoreline {
        grid-template-columns:
            minmax(0, 1fr)
            80px
            minmax(0, 1fr);
    }

    .h2h-team-stat,
    .h2h-draw-stat {
        min-height: 112px;
        padding: 16px 7px;
    }

    .h2h-number {
        font-size: 30px;
    }

    .h2h-team-stat strong {
        font-size: 11px;
    }

    .h2h-extra-stats {
        grid-template-columns: 1fr;
        gap: 7px;
    }
}


/* DATOSFUTBOL MATCH DESIGN V4 */

/* Franja compacta del encuentro */

.match-facts-bar {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(135px, 1fr)
    );
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--df-border);
    border-radius: 18px;
    box-shadow:
        0 8px 26px rgba(15, 23, 42, 0.055);
}

.match-fact {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 84px;
    padding: 16px 18px;
    color: var(--df-text);
    text-align: center;
    border-right: 1px solid #e8ecef;
}

.match-fact:last-child {
    border-right: 0;
}

.match-fact-label {
    display: block;
    margin-bottom: 5px;
    color: var(--df-text-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.match-fact strong {
    display: block;
    overflow: hidden;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.match-fact-link {
    text-decoration: none;
    transition:
        background 160ms ease,
        color 160ms ease;
}

.match-fact-link:hover {
    color: var(--df-accent);
    background: #f8fafb;
}

.match-fact-score {
    background: #f2f8f5;
}

.match-fact-score strong {
    color: #0e7954;
    font-size: 21px;
    letter-spacing: -0.04em;
}

/* Resumen posterior */

.match-summary-card {
    overflow: hidden;
    border-left: 4px solid #16875d;
}

.match-summary-card .card-header {
    background: linear-gradient(
        90deg,
        rgba(22, 135, 93, 0.055),
        transparent
    );
}

.match-summary-card .card-body {
    padding-top: 20px;
    padding-bottom: 20px;
}

.match-summary-card .supporting-text:first-child {
    margin-top: 0;
}

/* Datos previos: secundarios en partidos finalizados */

.match-preview-card {
    background: #fbfcfd;
    box-shadow: none;
}

.match-preview-card .card-header {
    background: #f8fafb;
}

.match-preview-card .card-title {
    font-size: 15px;
}

.match-preview-card .card-body {
    padding-top: 18px;
    padding-bottom: 18px;
}

.match-preview-card .supporting-text {
    font-size: 13px;
}

/* Próximos partidos */

.match-upcoming-card {
    overflow: hidden;
}

.match-upcoming-card > .card-body {
    padding-top: 15px;
    padding-bottom: 9px;
}

.match-upcoming-card > .card-body .card-title {
    position: relative;
    padding-left: 12px;
    font-size: 15px;
}

.match-upcoming-card > .card-body .card-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 16px;
    background: var(--df-accent);
    border-radius: 99px;
    transform: translateY(-50%);
}

.match-upcoming-card .fixture-item {
    margin: 0 16px 8px;
    overflow: hidden;
    background: #fafbfc;
    border: 1px solid #e8ecef;
    border-radius: 12px;
}

.match-upcoming-card .fixture-item:last-child {
    margin-bottom: 12px;
}

.match-upcoming-card .fixture-item:hover {
    background: #f5f8f9;
}

.match-upcoming-card .fixture-link {
    padding: 12px 14px;
}

.match-upcoming-card .fixture-meta {
    margin-bottom: 7px;
}

.match-upcoming-card .fixture-team-logo {
    width: 24px;
    height: 24px;
}

/* Bloque final de equipos */

.match-teams-card {
    box-shadow: none;
}

.match-teams-card .card-header {
    padding-top: 15px;
    padding-bottom: 15px;
}

.match-teams-card .card-body {
    padding-top: 14px;
    padding-bottom: 14px;
}

.match-teams-card .team-link-card {
    min-height: 58px;
}

/* Mobile */

@media (max-width: 760px) {

    .match-facts-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .match-fact {
        min-height: 72px;
        padding: 13px 10px;
        border-right: 1px solid #e8ecef;
        border-bottom: 1px solid #e8ecef;
    }

    .match-fact:nth-child(2n) {
        border-right: 0;
    }

    .match-fact strong {
        font-size: 12px;
    }

    .match-fact-score strong {
        font-size: 18px;
    }

    .match-upcoming-card .fixture-item {
        margin-left: 10px;
        margin-right: 10px;
    }

    .match-upcoming-card .fixture-link {
        padding: 11px 10px;
    }
}


/* DATOSFUTBOL TEAM DESIGN V1 */

/* Hero */

.team-hero {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 34px 38px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(255, 255, 255, 0.08),
            transparent 26%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(255, 255, 255, 0.055),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0b1520 0%,
            #10283a 52%,
            #0a1722 100%
        );
    border: 0;
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.16),
        0 2px 8px rgba(15, 23, 42, 0.08);
}

.team-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -150px;
    top: -170px;
    border-radius: 50%;
    border: 50px solid rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.team-hero > * {
    position: relative;
    z-index: 1;
}

.team-hero .entity-logo {
    width: 118px;
    height: 118px;
    flex: 0 0 118px;
    padding: 14px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.22);
}

.team-hero .entity-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.team-hero .entity-subtitle {
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.8;
}

.team-hero .entity-subtitle a {
    display: inline-flex;
    align-items: center;
    margin: 3px 2px;
    padding: 4px 9px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.team-hero .entity-subtitle a:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Cards */

.team-page .card {
    border-radius: 18px;
    box-shadow:
        0 8px 26px rgba(15, 23, 42, 0.055);
}

.team-page .card-header {
    padding: 18px 20px;
}

.team-page .card-title {
    letter-spacing: -0.02em;
}

.team-page .card-body {
    padding: 20px;
}

/* Primer resumen */

.team-overview-grid {
    margin-top: 22px;
    gap: 16px;
}

.team-overview-grid .card {
    overflow: hidden;
}

.team-overview-grid .card:first-child {
    border-top: 3px solid #16875d;
}

.team-overview-grid .card:nth-child(2) {
    border-top: 3px solid #1f6f9f;
}

/* Stats */

.team-page .stats-grid {
    gap: 10px;
}

.team-page .stat-box {
    padding: 15px 12px;
    background: #f8fafb;
    border: 1px solid #e7ebee;
    border-radius: 13px;
}

.team-page .stat-value {
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.team-page .stat-label {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 650;
}

/* Rendimiento por competición */

.team-competition-stats-card {
    overflow: hidden;
}

.team-competition-stats-card > .card-body {
    display: grid;
    gap: 14px;
}

.team-competition-stats-card
.card-body
> .section-spacing {
    margin: 0;
    padding: 20px;
    background: #f8fafb;
    border: 1px solid #e5eaed;
    border-radius: 16px;
}

.team-competition-stats-card
.card-body
> .section-spacing
> .card-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 17px;
}

.team-competition-stats-card a {
    color: var(--df-text);
}

.team-competition-stats-card a:hover {
    color: var(--df-accent);
}

/* Forma */

.team-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5eaed;
}

.team-form-label {
    color: var(--df-text-soft);
    font-size: 12px;
    font-weight: 700;
}

/* Fixtures */

.team-page .fixture-item {
    transition:
        background 160ms ease,
        transform 160ms ease;
}

.team-page .fixture-item:hover {
    background: #f8fafb;
}

.team-page .fixture-meta {
    font-size: 11px;
}

.team-page .fixture-team-logo {
    width: 28px;
    height: 28px;
}

/* Badges */

.team-page .badge {
    border-radius: 999px;
}

/* Mobile */

@media (max-width: 760px) {

    .team-hero {
        min-height: auto;
        padding: 26px 18px;
        border-radius: 18px;
    }

    .team-hero .entity-logo {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
        padding: 10px;
        border-radius: 20px;
    }

    .team-hero .entity-title {
        font-size: 26px;
    }

    .team-hero .entity-subtitle {
        font-size: 12px;
    }

    .team-page .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-page .stat-value {
        font-size: 19px;
    }

    .team-competition-stats-card
    .card-body
    > .section-spacing {
        padding: 16px;
    }

    .team-form-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}


/* DATOSFUTBOL TEAM DESIGN V2 */

/* Forma de liga */

.team-standing-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid #e5eaed;
}


/* Rendimiento por competición */

.team-competition-stats-card
.card-body
> .section-spacing {
    position: relative;
    overflow: hidden;
}

.team-competition-stats-card
.card-body
> .section-spacing::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #16875d;
}

.team-competition-performance {
    margin: 0 0 18px;
}

.team-performance-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 7px;
    color: var(--df-text-soft);
    font-size: 11px;
    font-weight: 650;
}

.team-performance-heading strong {
    color: var(--df-text);
    font-size: 18px;
    font-weight: 850;
}

.team-competition-stats-card .stats-grid {
    grid-template-columns:
        repeat(auto-fit, minmax(125px, 1fr));
}


/* Últimos 5 */

.team-recent-card {
    overflow: hidden;
}

.team-recent-card .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(22, 135, 93, 0.055),
            transparent 55%
        );
}

.team-recent-card .card-body > .stats-grid:first-child {
    grid-template-columns:
        repeat(auto-fit, minmax(125px, 1fr));
}

.team-recent-card .card-body > .card-title {
    margin-top: 24px;
    margin-bottom: 11px;
    padding-top: 18px;
    border-top: 1px solid #e6eaed;
    font-size: 15px;
}

.team-recent-card .supporting-text {
    margin: 16px 0 0;
    font-size: 12px;
}


/* Últimos 10 */

.team-form-card {
    overflow: hidden;
}

.team-form-card .card-body > .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-form-card .team-form-row {
    margin-top: 20px;
}

.team-form-card .form-pill {
    width: 30px;
    height: 30px;
}

.team-form-card .supporting-text {
    margin-bottom: 0;
}


/* Listados de partidos */

.team-fixtures-card,
.team-upcoming-card {
    overflow: hidden;
}

.team-fixtures-card .fixture-list,
.team-upcoming-card .fixture-list {
    padding: 12px 14px 14px;
}

.team-fixtures-card .fixture-item,
.team-upcoming-card .fixture-item {
    margin-bottom: 8px;
    overflow: hidden;
    background: #fafbfc;
    border: 1px solid #e6ebee;
    border-radius: 13px;
}

.team-fixtures-card .fixture-item:last-child,
.team-upcoming-card .fixture-item:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #e6ebee;
}

.team-fixtures-card .fixture-item:hover,
.team-upcoming-card .fixture-item:hover {
    background: #f5f8f8;
    transform: translateY(-1px);
}

.team-fixtures-card .fixture-link,
.team-upcoming-card .fixture-link {
    padding: 12px 14px;
}

.team-fixtures-card .fixture-meta,
.team-upcoming-card .fixture-meta {
    margin-bottom: 8px;
    color: var(--df-text-soft);
}

.team-fixtures-card .fixture-score {
    min-width: 70px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #e5eaed;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 850;
}

.team-upcoming-card .fixture-vs {
    min-width: 54px;
    padding: 5px 9px;
    background: #ffffff;
    border: 1px solid #e6ebee;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}


/* Próximo rival */

.team-next-opponent-card {
    overflow: hidden;
    border: 1px solid #dce8e3;
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.07);
}

.team-next-opponent-card .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(22, 135, 93, 0.09),
            rgba(22, 135, 93, 0.015)
        );
}

.team-next-opponent-card .card-title {
    font-size: 18px;
}

.team-next-opponent-card .card-body {
    padding: 22px;
}

.team-next-opponent-card .supporting-text:first-child {
    margin-top: 0;
    padding: 14px 16px;
    background: #f7faf8;
    border: 1px solid #e2ebe6;
    border-radius: 12px;
}

.team-next-opponent-card .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 14px;
}

.team-next-opponent-card .stat-box {
    background: #ffffff;
}

.team-next-opponent-card .stat-value {
    color: #0e7954;
}


/* Mejor jerarquía general */

.team-page .card-header .badge-accent {
    color: #0d7450;
    background: #eaf7f1;
    border-color: #cbe9dc;
}

.team-page .section-spacing {
    margin-top: 20px;
}


/* Mobile */

@media (max-width: 760px) {

    .team-standing-form {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-competition-stats-card .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .team-form-card .card-body > .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .team-next-opponent-card .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .team-fixtures-card .fixture-list,
    .team-upcoming-card .fixture-list {
        padding: 8px;
    }

    .team-fixtures-card .fixture-link,
    .team-upcoming-card .fixture-link {
        padding: 11px 9px;
    }

    .team-form-card .form-pills {
        flex-wrap: wrap;
    }
}


/* DATOSFUTBOL COMPETITION DESIGN V1 */

/* ========================================================
   HERO
   ======================================================== */

.competition-hero {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 36px 40px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(255, 255, 255, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 5% 105%,
            rgba(255, 255, 255, 0.055),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0b1520 0%,
            #10283a 54%,
            #0a1722 100%
        );
    border: 0;
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.16),
        0 2px 8px rgba(15, 23, 42, 0.08);
}

.competition-hero::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    right: -155px;
    top: -175px;
    border-radius: 50%;
    border: 54px solid rgba(255, 255, 255, 0.027);
    pointer-events: none;
}

.competition-hero > * {
    position: relative;
    z-index: 1;
}

.competition-hero .entity-info::before {
    content: "COMPETICIÓN";
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.competition-hero .entity-title {
    max-width: 760px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.competition-hero .entity-subtitle {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    line-height: 1.8;
}


/* ========================================================
   NAVEGACIÓN
   ======================================================== */

.competition-page .competition-nav {
    position: relative;
    z-index: 2;
    gap: 5px;
    margin: 20px 0;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e7ea;
    border-radius: 15px;
    box-shadow:
        0 7px 22px rgba(15, 23, 42, 0.055);
}

.competition-page .competition-nav-link {
    flex: 0 0 auto;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.competition-page .competition-nav-link:hover {
    background: #f3f7f5;
}

.competition-page .competition-nav-link.is-active {
    color: #ffffff;
    background: #137d58;
    box-shadow:
        0 4px 12px rgba(19, 125, 88, 0.20);
}


/* ========================================================
   TARJETAS GENERALES
   ======================================================== */

.competition-page .card {
    border-radius: 18px;
    box-shadow:
        0 8px 26px rgba(15, 23, 42, 0.055);
}

.competition-page .card-header {
    padding: 18px 20px;
}

.competition-page .card-body {
    padding: 20px;
}

.competition-page .card-title {
    letter-spacing: -0.02em;
}

.competition-page .section-spacing {
    margin-top: 20px;
}

.competition-page .stat-box {
    padding: 15px 12px;
    background: #f8fafb;
    border: 1px solid #e6ebee;
    border-radius: 13px;
}

.competition-page .stat-value {
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.competition-page .stat-label {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 650;
}


/* ========================================================
   TEMPORADA
   ======================================================== */

.competition-season-card {
    overflow: hidden;
    border-left: 4px solid #16875d;
}

.competition-season-card .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(22, 135, 93, 0.055),
            transparent
        );
}

.competition-summary {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -0.03em;
}


/* ========================================================
   TABLA DE POSICIONES
   ======================================================== */

.competition-standings-card {
    overflow: hidden;
}

.competition-standings-card .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(31, 111, 159, 0.055),
            transparent
        );
}

.competition-page .standings-scroll {
    padding: 8px 14px 16px;
    background: #ffffff;
}

.competition-page .standings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}

.competition-page .standings-table th {
    padding: 8px 12px;
    color: var(--df-text-soft);
    background: transparent;
    border: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.competition-page .standings-table td {
    padding: 12px;
    background: #f8fafb;
    border-top: 1px solid #e8ecef;
    border-bottom: 1px solid #e8ecef;
    font-size: 13px;
}

.competition-page .standings-table td:first-child {
    border-left: 1px solid #e8ecef;
    border-radius: 11px 0 0 11px;
}

.competition-page .standings-table td:last-child {
    border-right: 1px solid #e8ecef;
    border-radius: 0 11px 11px 0;
}

.competition-page .standings-table tbody tr:hover td {
    background: #f2f7f5;
}

.competition-page .standing-pos {
    font-size: 14px;
    font-weight: 850;
}

.competition-page .standing-points {
    color: #0d7954;
    font-size: 15px;
    font-weight: 900;
}

.competition-page .standing-team {
    gap: 9px;
    font-weight: 750;
}

.competition-page .standing-team img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}


/* ========================================================
   FIXTURES / RESULTADOS
   ======================================================== */

.competition-results-card {
    overflow: hidden;
}

.competition-page .fixture-list {
    padding: 12px 14px 14px;
}

.competition-page .fixture-item {
    margin-bottom: 8px;
    overflow: hidden;
    background: #fafbfc;
    border: 1px solid #e6ebee;
    border-radius: 13px;
    transition:
        background 160ms ease,
        transform 160ms ease;
}

.competition-page .fixture-item:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #e6ebee;
}

.competition-page .fixture-item:hover {
    background: #f4f8f6;
    transform: translateY(-1px);
}

.competition-page .fixture-link {
    padding: 12px 14px;
}

.competition-page .fixture-meta {
    margin-bottom: 8px;
    color: var(--df-text-soft);
    font-size: 11px;
}

.competition-page .fixture-team-logo {
    width: 28px;
    height: 28px;
}

.competition-page .fixture-score {
    min-width: 66px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #e4e9ec;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 850;
}

.competition-page .fixture-vs {
    min-width: 52px;
    padding: 5px 9px;
    background: #ffffff;
    border: 1px solid #e5eaed;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}


/* ========================================================
   EQUIPOS
   ======================================================== */

.competition-teams-card {
    overflow: hidden;
}

.competition-page .teams-grid {
    gap: 10px;
}

.competition-page .team-link-card {
    min-height: 72px;
    padding: 13px 15px;
    background: #f8fafb;
    border: 1px solid #e6ebee;
    border-radius: 13px;
    box-shadow: none;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.competition-page .team-link-card:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: #bcdccd;
}

.competition-page .team-link-card img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}


/* ========================================================
   BADGES
   ======================================================== */

.competition-page .badge {
    border-radius: 999px;
}

.competition-page .badge-accent {
    color: #0d7450;
    background: #eaf7f1;
    border-color: #cbe9dc;
}


/* ========================================================
   MOBILE
   ======================================================== */

@media (max-width: 760px) {

    .competition-hero {
        min-height: auto;
        padding: 27px 20px;
        border-radius: 18px;
    }

    .competition-hero .entity-title {
        font-size: 28px;
    }

    .competition-hero .entity-subtitle {
        font-size: 12px;
    }

    .competition-page .competition-nav {
        margin-top: 16px;
        border-radius: 13px;
    }

    .competition-page .competition-nav-link {
        padding: 8px 12px;
        font-size: 11px;
    }

    .competition-page .standings-scroll {
        padding-left: 8px;
        padding-right: 8px;
    }

    .competition-page .standings-table {
        min-width: 660px;
    }

    .competition-page .fixture-list {
        padding: 8px;
    }

    .competition-page .fixture-link {
        padding: 11px 9px;
    }

    .competition-page .teams-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {

    .competition-page .teams-grid {
        grid-template-columns: 1fr;
    }
}


/* DATOSFUTBOL HOME DESIGN V1 */

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 42px 44px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(255, 255, 255, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 4% 105%,
            rgba(255, 255, 255, 0.055),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0b1520 0%,
            #10283a 54%,
            #0a1722 100%
        );
    border: 0;
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.16),
        0 2px 8px rgba(15, 23, 42, 0.08);
}

.home-hero::before {
    content: "DATOSFUTBOL";
    display: block;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.home-hero::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -170px;
    top: -185px;
    border-radius: 50%;
    border: 58px solid rgba(255, 255, 255, 0.026);
    pointer-events: none;
}

.home-hero > * {
    position: relative;
    z-index: 1;
}

.home-hero .entity-title {
    max-width: 700px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.home-hero .entity-subtitle {
    max-width: 620px;
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.7;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.home-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 160ms ease,
        background 160ms ease;
}

.home-hero-action:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.home-hero-action-primary {
    color: #0a5d42;
    background: #ffffff;
    border-color: #ffffff;
}

.home-hero-action-primary:hover {
    color: #0a5d42;
    background: #f2faf6;
}

/* Cards Home */

.home-page .card {
    border-radius: 18px;
    box-shadow:
        0 8px 26px rgba(15, 23, 42, 0.055);
}

.home-page .card-header {
    padding: 18px 20px;
}

.home-page .section-spacing {
    margin-top: 20px;
}

.home-competitions-section {
    overflow: hidden;
}

.home-competitions-section .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(22, 135, 93, 0.06),
            transparent 55%
        );
}

.home-page .home-competition-card {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    border-radius: 16px;
    box-shadow: none;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.home-page .home-competition-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #16875d;
}

.home-page .home-competition-card:hover {
    transform: translateY(-2px);
    border-color: #bedccd;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, 0.06);
}

.home-page .home-competition-country {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-page .home-competition-title {
    margin-top: 6px;
    font-size: 20px;
    letter-spacing: -0.025em;
}

.home-page .home-competition-links {
    gap: 6px;
}

.home-page .home-competition-links a {
    padding: 6px 9px;
    background: #f4f7f6;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.home-results-section {
    overflow: hidden;
}

.home-results-section .fixture-list {
    padding: 12px 14px 14px;
}

.home-results-section .fixture-item {
    margin-bottom: 8px;
    overflow: hidden;
    background: #fafbfc;
    border: 1px solid #e6ebee;
    border-radius: 13px;
}

.home-results-section .fixture-item:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #e6ebee;
}

.home-results-section .fixture-link {
    padding: 12px 14px;
}

.home-results-section .fixture-score {
    min-width: 66px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #e5eaed;
    border-radius: 10px;
    font-weight: 850;
}

@media (max-width: 760px) {

    .home-hero {
        min-height: auto;
        padding: 30px 20px;
        border-radius: 18px;
    }

    .home-hero .entity-title {
        font-size: 30px;
    }

    .home-hero .entity-subtitle {
        font-size: 13px;
    }

    .home-hero-actions {
        margin-top: 20px;
    }

    .home-hero-action {
        flex: 1 1 auto;
    }

    .home-results-section .fixture-list {
        padding: 8px;
    }

    .home-results-section .fixture-link {
        padding: 11px 9px;
    }
}


/* DATOSFUTBOL GLOBAL FOOTBALL DESIGN V1 */

/* ========================================================
   HERO GLOBAL
   ======================================================== */

.global-football-hero {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 36px 40px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(255, 255, 255, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 4% 105%,
            rgba(255, 255, 255, 0.055),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0b1520 0%,
            #10283a 54%,
            #0a1722 100%
        );
    border: 0;
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.16),
        0 2px 8px rgba(15, 23, 42, 0.08);
}

.global-football-hero::before {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.47);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.today-hero::before {
    content: "AGENDA";
}

.results-hero::before {
    content: "RESULTADOS";
}

.standings-hero::before {
    content: "CLASIFICACIONES";
}

.global-football-hero::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    right: -155px;
    top: -175px;
    border-radius: 50%;
    border: 54px solid rgba(255, 255, 255, 0.027);
    pointer-events: none;
}

.global-football-hero > * {
    position: relative;
    z-index: 1;
}

.global-football-hero .entity-title {
    max-width: 760px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.global-football-hero .entity-subtitle {
    margin-top: 11px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}


/* ========================================================
   NAVEGACIÓN GLOBAL
   ======================================================== */

.global-football-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
    padding: 6px;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2e7ea;
    border-radius: 15px;
    box-shadow:
        0 7px 22px rgba(15, 23, 42, 0.055);
    scrollbar-width: none;
}

.global-football-nav::-webkit-scrollbar {
    display: none;
}

.global-football-nav-link {
    flex: 0 0 auto;
    padding: 9px 15px;
    color: var(--df-text-soft);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.global-football-nav-link:hover {
    color: var(--df-text);
    background: #f3f7f5;
}

.global-football-nav-link.is-active {
    color: #ffffff;
    background: #137d58;
    box-shadow:
        0 4px 12px rgba(19, 125, 88, 0.20);
}


/* ========================================================
   CARDS
   ======================================================== */

.global-football-page .card {
    overflow: hidden;
    border-radius: 18px;
    box-shadow:
        0 8px 26px rgba(15, 23, 42, 0.055);
}

.global-football-page .card-header {
    padding: 18px 20px;
}

.global-football-page .section-spacing {
    margin-top: 20px;
}

.global-football-page .badge {
    border-radius: 999px;
}


/* ========================================================
   PARTIDOS / RESULTADOS
   ======================================================== */

.global-fixtures-card .fixture-list,
.global-results-card .fixture-list {
    padding: 12px 14px 14px;
}

.global-fixtures-card .fixture-item,
.global-results-card .fixture-item {
    margin-bottom: 8px;
    overflow: hidden;
    background: #fafbfc;
    border: 1px solid #e6ebee;
    border-radius: 13px;
    transition:
        background 160ms ease,
        transform 160ms ease;
}

.global-fixtures-card .fixture-item:last-child,
.global-results-card .fixture-item:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #e6ebee;
}

.global-fixtures-card .fixture-item:hover,
.global-results-card .fixture-item:hover {
    background: #f4f8f6;
    transform: translateY(-1px);
}

.global-fixtures-card .fixture-link,
.global-results-card .fixture-link {
    padding: 12px 14px;
}

.global-fixtures-card .fixture-meta,
.global-results-card .fixture-meta {
    margin-bottom: 8px;
    color: var(--df-text-soft);
    font-size: 11px;
}

.global-fixtures-card .fixture-team-logo,
.global-results-card .fixture-team-logo {
    width: 28px;
    height: 28px;
}

.global-fixtures-card .fixture-score,
.global-results-card .fixture-score {
    min-width: 66px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #e4e9ec;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 850;
}

.global-fixtures-card .fixture-vs,
.global-results-card .fixture-vs {
    min-width: 52px;
    padding: 5px 9px;
    background: #ffffff;
    border: 1px solid #e5eaed;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}


/* Estados */

.global-fixtures-live {
    border-top: 3px solid #c5221f;
}

.global-fixtures-live .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(197, 34, 31, 0.07),
            transparent 55%
        );
}

.global-fixtures-scheduled {
    border-top: 3px solid #16875d;
}

.global-fixtures-scheduled .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(22, 135, 93, 0.06),
            transparent 55%
        );
}

.global-fixtures-finished {
    border-top: 3px solid #1f6f9f;
}

.global-fixtures-finished .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(31, 111, 159, 0.06),
            transparent 55%
        );
}

.global-fixtures-other {
    border-top: 3px solid #7b8790;
}


/* ========================================================
   TABLAS GLOBALES
   ======================================================== */

.global-standings-card {
    overflow: hidden;
}

.global-standings-card > .card-header {
    background:
        linear-gradient(
            90deg,
            rgba(22, 135, 93, 0.06),
            transparent 55%
        );
}

.global-standings-card .standings-section {
    padding: 0 14px 10px;
}

.global-standings-card .standings-section > .card-header {
    padding-left: 0;
    padding-right: 0;
}

.global-standings-page .standings-scroll {
    padding: 0;
    background: #ffffff;
}

.global-standings-page .standings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}

.global-standings-page .standings-table th {
    padding: 8px 12px;
    color: var(--df-text-soft);
    background: transparent;
    border: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.global-standings-page .standings-table td {
    padding: 12px;
    background: #f8fafb;
    border-top: 1px solid #e8ecef;
    border-bottom: 1px solid #e8ecef;
    font-size: 13px;
}

.global-standings-page .standings-table td:first-child {
    border-left: 1px solid #e8ecef;
    border-radius: 11px 0 0 11px;
}

.global-standings-page .standings-table td:last-child {
    border-right: 1px solid #e8ecef;
    border-radius: 0 11px 11px 0;
}

.global-standings-page .standings-table tbody tr:hover td {
    background: #f2f7f5;
}

.global-standings-page .standing-points {
    color: #0d7954;
    font-size: 15px;
    font-weight: 900;
}

.global-standings-page .standing-team {
    gap: 9px;
    font-weight: 750;
}

.global-standings-page .standing-team img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}


/* ========================================================
   MOBILE
   ======================================================== */

@media (max-width: 760px) {

    .global-football-hero {
        min-height: auto;
        padding: 27px 20px;
        border-radius: 18px;
    }

    .global-football-hero .entity-title {
        font-size: 28px;
    }

    .global-football-hero .entity-subtitle {
        font-size: 12px;
    }

    .global-football-nav {
        margin-top: 16px;
        border-radius: 13px;
    }

    .global-football-nav-link {
        padding: 8px 12px;
        font-size: 11px;
    }

    .global-fixtures-card .fixture-list,
    .global-results-card .fixture-list {
        padding: 8px;
    }

    .global-fixtures-card .fixture-link,
    .global-results-card .fixture-link {
        padding: 11px 9px;
    }

    .global-standings-card .standings-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .global-standings-page .standings-table {
        min-width: 660px;
    }
}


/* DATOSFUTBOL COMPETITION STANDINGS HERO V1 */

.competition-subpage-hero {
    min-height: 155px;
    padding: 30px 34px;
}

.competition-subpage-hero .entity-info::before {
    content: "TABLA DE POSICIONES";
}

.competition-subpage-hero .entity-title {
    font-size: 34px;
}

@media (max-width: 760px) {

    .competition-subpage-hero {
        min-height: auto;
        padding: 25px 20px;
    }

    .competition-subpage-hero .entity-title {
        font-size: 27px;
    }
}


/* DATOSFUTBOL COMPETITION SUBPAGES HERO V2 */

.competition-matches-page .competition-subpage-hero .entity-info::before {
    content: "PARTIDOS";
}

.competition-results-page .competition-subpage-hero .entity-info::before {
    content: "RESULTADOS";
}

.competition-calendar-page .competition-subpage-hero .entity-info::before {
    content: "CALENDARIO";
}


/* DATOSFUTBOL HEADER FOOTER V2 */

/* ========================================================
   COMPETITION STRIP
   ======================================================== */

.competition-strip {
    background: #0b1218;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.competition-strip-inner {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.competition-strip-label {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.42);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.competition-strip-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
}

.competition-strip-nav::-webkit-scrollbar {
    display: none;
}

.competition-strip-link {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: rgba(255, 255, 255, 0.62);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 150ms ease,
        color 150ms ease;
}

.competition-strip-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.competition-strip-link.is-active {
    color: #70d39f;
    background: rgba(112, 211, 159, 0.10);
}


/* ========================================================
   FOOTER V2
   ======================================================== */

.site-footer {
    padding-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.6fr)
        repeat(3, minmax(150px, 1fr));
    gap: 42px;
    padding-top: 44px;
    padding-bottom: 38px;
}

.footer-intro {
    max-width: 300px;
}

.footer-brand {
    display: inline-block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.footer-brand:hover {
    color: #70d39f;
}

.footer-text {
    max-width: 285px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 12px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-heading {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.40);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color 150ms ease;
}

.footer-column a:hover {
    color: #70d39f;
}

.footer-bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-copy,
.footer-bottom-text {
    color: rgba(255, 255, 255, 0.36);
    font-size: 11px;
}


/* ========================================================
   TABLET
   ======================================================== */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns:
            minmax(230px, 1.5fr)
            repeat(2, minmax(150px, 1fr));
        gap: 34px;
    }

    .footer-intro {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}


/* ========================================================
   MOBILE
   ======================================================== */

@media (max-width: 760px) {

    .competition-strip-inner {
        min-height: 40px;
        gap: 10px;
    }

    .competition-strip-label {
        display: none;
    }

    .competition-strip-nav {
        width: 100%;
    }

    .competition-strip-link {
        padding: 7px 9px;
        font-size: 10px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
        padding-top: 34px;
        padding-bottom: 30px;
    }

    .footer-intro {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        min-height: auto;
        padding-top: 18px;
        padding-bottom: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 430px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}


/* DATOSFUTBOL MATCH STANDINGS V1 */

.match-standings-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(18, 107, 69, 0.18);
    border-radius: 8px;
    background: rgba(112, 211, 159, 0.10);
    color: #126b45;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.match-standings-link:hover {
    background: rgba(112, 211, 159, 0.18);
}

.match-standings-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.match-standings-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 13px;
}

.match-standings-table th {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(16, 24, 32, 0.10);
    color: rgba(16, 24, 32, 0.56);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.match-standings-table th:nth-child(2) {
    text-align: left;
}

.match-standings-table td {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(16, 24, 32, 0.07);
    text-align: center;
}

.match-standings-table tbody tr:last-child td {
    border-bottom: 0;
}

.match-standing-position,
.match-standing-points {
    font-weight: 800;
}

.match-standing-team {
    text-align: left !important;
}

.match-standing-team a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: inherit;
    font-weight: 750;
    text-decoration: none;
}

.match-standing-team a:hover {
    color: #126b45;
}

.match-standing-team img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

@media (max-width: 760px) {

    .match-standings-card .match-section-header {
        align-items: flex-start;
        gap: 14px;
    }

    .match-standings-link {
        min-height: 32px;
        font-size: 11px;
    }
}


/* DATOSFUTBOL TEAM SEO LINKS V1 */

.team-context-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.team-context-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid rgba(18, 107, 69, 0.16);
    border-radius: 8px;
    background: rgba(112, 211, 159, 0.08);
    color: #126b45;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
}

.team-context-links a:hover {
    background: rgba(112, 211, 159, 0.16);
}

@media (max-width: 640px) {

    .team-context-links {
        gap: 7px;
    }

    .team-context-links a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
