/* Nations Championship 2026 page */

.wharf-nc {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.wharf-nc .page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wharf-nc .page-title {
    color: var(--wharf-green);
}

.wharf-nc .page-description {
    font-size: 1.1rem;
    color: #555;
}

.wharf-nc h2 {
    color: var(--wharf-green);
    border-bottom: 2px solid var(--wharf-gold);
    padding-bottom: 0.3rem;
    margin: 2rem 0 1rem;
}

.nc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.nc-table td,
.nc-table th {
    padding: 0.55rem 0.6rem;
    border-bottom: 1px solid #e6e1d4;
    text-align: center;
}

.nc-table thead th {
    background: var(--wharf-green);
    color: var(--wharf-gold);
}

.nc-table caption {
    font-weight: 700;
    color: var(--wharf-green);
    text-align: left;
    padding: 0.4rem 0;
}

.nc-table td:first-child,
.nc-table th:first-child {
    padding-left: 0.9rem !important;
}

.nc-table td:last-child,
.nc-table th:last-child {
    padding-right: 0.9rem !important;
}

.nc-team-col {
    text-align: left !important;
}

.nc-fixture-table .nc-home { text-align: right; width: 26%; }
.nc-fixture-table .nc-away { text-align: left; width: 26%; }
.nc-fixture-table .nc-when { white-space: nowrap; color: #555; width: 12%; }
.nc-fixture-table .nc-meta { font-size: 0.85rem; color: #666; text-align: right; }

.nc-score {
    font-weight: 700;
    color: var(--wharf-green);
    white-space: nowrap;
    width: 10%;
}

.nc-final {
    background: rgba(212, 168, 67, 0.15);
}

.nc-final .nc-label {
    color: var(--wharf-green);
    font-weight: 700;
}

.nc-tbd {
    color: #999;
    font-style: italic;
}

.nc-label {
    font-weight: 600;
}

.nc-standings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.nc-promo {
    display: inline-block;
    background: var(--wharf-green);
    color: var(--wharf-gold);
    border: 2px solid var(--wharf-gold);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin-top: 0.4rem;
}

.nc-clash {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8a6a1f;
    background: rgba(212, 168, 67, 0.2);
    border-radius: 3px;
    padding: 0 0.3rem;
    margin-top: 0.15rem;
}

.nc-note.nc-clash-note {
    color: #6b5418;
    font-size: 0.95rem;
}

.nc-note,
.nc-updated {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.6rem;
}

.nc-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    vertical-align: -2px;
    border: 1px solid #ddd;
    margin-right: 0.15rem;
}

@media (max-width: 700px) {
    .wharf-nc { padding: 0 0.25rem 2rem; overflow-wrap: anywhere; }
    .wharf-nc .page-title { font-size: 1.9rem; }
    .wharf-nc h2 { font-size: 1.35rem; }
    .nc-standings-grid { grid-template-columns: 1fr; }
    .nc-fixture-table { table-layout: fixed; }
    .nc-fixture-table .nc-meta { display: none; }
    .nc-fixture-table td { padding: 0.45rem 0.2rem; font-size: 0.85rem; }
    .nc-table td:first-child, .nc-table th:first-child { padding-left: 0.5rem !important; }
    .nc-table td:last-child, .nc-table th:last-child { padding-right: 0.5rem !important; }
    .nc-fixture-table .nc-when { width: 22%; white-space: normal; }
    .nc-fixture-table .nc-home,
    .nc-fixture-table .nc-away { width: 33%; }
    .nc-score { width: 12%; }
    .nc-fixture-table .nc-flag { display: block; margin: 0 0 0.15rem auto; }
    .nc-fixture-table .nc-away .nc-flag { margin: 0 auto 0.15rem 0; }
}
