/* ============================================================
   FIXTURES & RESULTS  (archive + single match centre)
   ============================================================ */
.nks-fx, .nks-fxs {
    --fx-max: 1180px;
    background: #edf0ff;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--nks-navy-deeper, #0A0F1E);
}

/* Fixtures brand blue override (cards, strip, scoreboard) */
.nks-fx, .nks-fxs, .nks-fxstrip {
    --nks-navy: #011589;
    --nks-navy-dark: #010f5e;
}

/* ── ARCHIVE HERO ─────────────────────────────────────────── */
.nks-fx-hero {
    background:
        radial-gradient(120% 140% at 85% -20%, rgba(255,215,0,.18), transparent 55%),
        linear-gradient(160deg, var(--nks-navy, #034694) 0%, var(--nks-navy-dark, #022F66) 50%, var(--nks-navy-deeper, #0A0F1E) 100%);
    color: #fff;
    text-align: center;
}
.nks-fx-hero.has-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
.nks-fx-hero__inner { max-width: var(--fx-max); margin: 0 auto; padding: clamp(44px, 6vw, 92px) clamp(16px, 5vw, 48px); }
.nks-fx-hero__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--nks-gold, #FFD700); margin-bottom: 14px; }
.nks-fx-hero__title { font-family: "Bebas Neue", sans-serif; font-size: clamp(46px, 8vw, 90px); line-height: .95; margin: 0 0 12px; color: #fff; }
.nks-fx-hero__sub { font-size: clamp(15px, 1.8vw, 19px); color: rgba(255,255,255,.78); margin: 0; }

/* ── FILTERS (shared pill styling) ────────────────────────── */
.nks-fx-filters {
    position: sticky; top: 0; z-index: 20;
    background: rgba(237,240,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(3,70,148,.1);
}
.nks-fx-filters__inner { max-width: var(--fx-max); margin: 0 auto; padding: 16px clamp(16px,5vw,48px); display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }
.nks-pa-filtergroup { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nks-pa-filtergroup__label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--nks-mid-gray, #6C757D); }
.nks-pa-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nks-pa-pill, .nks-fx-viewtabs a {
    font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none;
    color: var(--nks-navy, #034694); background: #fff;
    border: 1.5px solid rgba(3,70,148,.18); padding: 8px 18px; border-radius: 999px;
    transition: all .2s ease; white-space: nowrap;
}
.nks-pa-pill:hover { background: var(--nks-navy, #034694); border-color: var(--nks-navy, #034694); color: #fff; }
.nks-pa-pill.is-active { background: var(--nks-navy, #034694); border-color: var(--nks-navy, #034694); color: #fff; }
.nks-fx-viewtabs { margin-left: auto; gap: 8px; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.nks-fx-main { max-width: var(--fx-max); margin: 0 auto; padding: clamp(32px,4vw,56px) clamp(16px,5vw,48px) clamp(48px,7vw,90px); }
.nks-fx-section { margin-bottom: clamp(36px, 5vw, 60px); }
.nks-fx-section:last-child { margin-bottom: 0; }
.nks-fx-h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .02em;
    color: var(--nks-navy-deeper, #0A0F1E);
    margin: 0 0 22px; display: flex; align-items: center; gap: 16px;
}
.nks-fx-h2 span { position: relative; }
.nks-fx-h2::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, rgba(3,70,148,.25), transparent); }
.nks-fx-empty { color: var(--nks-mid-gray, #6C757D); font-size: 16px; padding: 8px 0 0; }

/* ── GRID ─────────────────────────────────────────────────── */
.nks-fx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .nks-fx-grid { grid-template-columns: 1fr; } }

/* ── FIXTURE CARD ─────────────────────────────────────────── */
.nks-fx-card {
    display: block; text-decoration: none; color: var(--nks-navy-deeper, #0A0F1E);
    background: #fff; border: 1px solid rgba(3,70,148,.1); border-radius: 16px;
    overflow: hidden; box-shadow: 0 6px 18px rgba(3,70,148,.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nks-fx-card:hover { transform: translateY(-5px); border-color: var(--nks-navy, #034694); box-shadow: 0 18px 40px rgba(3,70,148,.16); }

.nks-fx-card__top {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-bottom: 1px solid rgba(3,70,148,.07);
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.nks-fx-card__sport { color: var(--nks-navy-deeper,#0A0F1E); background: var(--nks-gold,#FFD700); padding: 3px 9px; border-radius: 999px; }
.nks-fx-card__comp { color: var(--nks-mid-gray,#6C757D); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nks-fx-card__ha { margin-left: auto; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }
.nks-fx-card__ha--home { background: var(--nks-navy,#034694); }
.nks-fx-card__ha--away { background: var(--nks-mid-gray,#6C757D); }

.nks-fx-card__body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 20px 16px; }
.nks-fx-side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.nks-fx-team { font-weight: 800; font-size: 14px; line-height: 1.2; }

.nks-fx-crest {
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: "Bebas Neue", sans-serif; font-size: 18px; letter-spacing: .04em;
}
.nks-fx-crest--home { background: linear-gradient(160deg, var(--nks-navy,#034694), var(--nks-navy-dark,#022F66)); color: var(--nks-gold,#FFD700); box-shadow: inset 0 0 0 2px rgba(255,215,0,.5); }
.nks-fx-crest--away { background: #eef1f6; color: var(--nks-navy,#034694); box-shadow: inset 0 0 0 1px rgba(3,70,148,.15); }
/* Image crests: white disc with the logo contained inside */
.nks-fx-crest--img { background: #fff; box-shadow: inset 0 0 0 1px rgba(3,70,148,.12), 0 1px 3px rgba(0,0,0,.08); padding: 6px; overflow: hidden; }
.nks-fx-crest--img img { width: 100%; height: 100%; object-fit: contain; display: block; }

.nks-fx-center { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 84px; }
.nks-fx-score { font-family: "Bebas Neue", sans-serif; font-size: 34px; line-height: 1; color: var(--nks-navy-deeper,#0A0F1E); }
.nks-fx-vs { font-family: "Bebas Neue", sans-serif; font-size: 26px; color: rgba(10,15,30,.4); }
.nks-fx-ko { font-size: 13px; font-weight: 700; color: var(--nks-navy,#034694); }
.nks-fx-badge { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; color: #fff; }
.nks-fx-badge--win  { background: #1f9d57; }
.nks-fx-badge--loss { background: #d23b3b; }
.nks-fx-badge--draw { background: #9099a6; }

.nks-fx-card__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 16px; border-top: 1px solid rgba(3,70,148,.07); background: #fafbff;
}
.nks-fx-foot__meta { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.nks-fx-date { font-weight: 700; color: var(--nks-navy-deeper,#0A0F1E); }
.nks-fx-venue { color: var(--nks-mid-gray,#6C757D); }
.nks-fx-tag { font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }
.nks-fx-tag--gold  { background: var(--nks-gold,#FFD700); color: var(--nks-navy-deeper,#0A0F1E); }
.nks-fx-tag--muted { background: #eef1f6; color: var(--nks-mid-gray,#6C757D); }
.nks-fx-tag--ft    { background: rgba(3,70,148,.08); color: var(--nks-navy,#034694); }

/* ============================================================
   HOMEPAGE FIXTURES STRIP (Elementor widget)
   ============================================================ */
.nks-fxstrip {
    --fx-max: 1180px;
    background: #fff;
    padding: clamp(40px, 6vw, 88px) clamp(16px, 5vw, 48px);
    font-family: "Plus Jakarta Sans", sans-serif;
}
.nks-fxstrip__inner { max-width: var(--fx-max); margin: 0 auto; }
.nks-fxstrip__head { text-align: center; margin-bottom: clamp(20px, 3vw, 32px); }
.nks-fxstrip__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--nks-navy, #034694); margin-bottom: 12px; }
.nks-fxstrip__title { font-family: "Bebas Neue", sans-serif; font-size: clamp(34px, 5.5vw, 58px); line-height: 1; margin: 0; color: var(--nks-navy-deeper, #0A0F1E); }

.nks-fxstrip__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(26px, 4vw, 40px); }
.nks-fxstrip__tab {
    appearance: none; cursor: pointer; font-family: inherit;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--nks-navy, #034694); background: #fff;
    border: 1.5px solid rgba(3,70,148,.2); padding: 9px 20px; border-radius: 999px;
    transition: all .2s ease;
}
.nks-fxstrip__tab:hover { background: var(--nks-navy, #034694); border-color: var(--nks-navy, #034694); color: #fff; }
.nks-fxstrip__tab.is-active { background: var(--nks-navy, #034694); border-color: var(--nks-navy, #034694); color: #fff; }

.nks-fxstrip__group { margin-bottom: clamp(26px, 4vw, 40px); }
.nks-fxstrip__group:last-of-type { margin-bottom: 0; }
.nks-fxstrip__label {
    font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--nks-mid-gray, #6C757D); margin: 0 0 16px;
    display: flex; align-items: center; gap: 12px;
}
.nks-fxstrip__label::after { content: ""; flex: 1; height: 1px; background: rgba(3,70,148,.12); }

.nks-fxstrip__cta { text-align: center; margin-top: clamp(30px, 4vw, 48px); }
.nks-fxstrip__btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
    color: #fff; background: var(--nks-navy, #034694);
    padding: 15px 34px; border-radius: 999px;
    box-shadow: 0 6px 18px rgba(1, 21, 137, .18);
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.nks-fxstrip__btn span { transition: transform .25s ease; }
.nks-fxstrip__btn:hover {
    background: var(--nks-gold, #FFD700);
    color: var(--nks-navy-deeper, #0A0F1E);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(1, 21, 137, .30);
}
.nks-fxstrip__btn:hover span { transform: translateX(5px); }
.nks-fxstrip__btn:active { transform: translateY(-1px); }
.nks-fxstrip__btn:focus-visible { outline: 3px solid var(--nks-gold, #FFD700); outline-offset: 3px; }

/* ============================================================
   SINGLE MATCH CENTRE
   ============================================================ */
.nks-fxs-hero {
    background:
        radial-gradient(120% 140% at 85% -20%, rgba(255,215,0,.16), transparent 55%),
        linear-gradient(160deg, var(--nks-navy,#034694) 0%, var(--nks-navy-dark,#022F66) 50%, var(--nks-navy-deeper,#0A0F1E) 100%);
    color: #fff;
}
.nks-fxs-hero__inner { max-width: var(--fx-max); margin: 0 auto; padding: clamp(28px,4vw,56px) clamp(16px,5vw,48px) clamp(36px,5vw,64px); text-align: center; }
.nks-fxs-hero__back { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); text-decoration: none; margin-bottom: 24px; }
.nks-fxs-hero__back:hover { color: var(--nks-gold,#FFD700); }
.nks-fxs-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.nks-fxs-badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 999px; }
.nks-fxs-badge--gold { color: var(--nks-navy-deeper,#0A0F1E); background: var(--nks-gold,#FFD700); border-color: var(--nks-gold,#FFD700); }

.nks-fxs-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px,4vw,48px); max-width: 760px; margin: 0 auto; }
.nks-fxs-team { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nks-fxs-team__name { font-family: "Bebas Neue", sans-serif; font-size: clamp(20px,3vw,30px); letter-spacing: .02em; line-height: 1.05; }
.nks-fxs-board .nks-fx-crest { width: clamp(64px, 10vw, 96px); height: clamp(64px, 10vw, 96px); font-size: clamp(24px, 4vw, 34px); }
.nks-fxs-board .nks-fx-crest--away { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.nks-fxs-board .nks-fx-crest--img { background: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 2px 8px rgba(0,0,0,.25); padding: 9px; }

.nks-fxs-center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nks-fxs-score { font-family: "Bebas Neue", sans-serif; font-size: clamp(48px, 10vw, 84px); line-height: .9; color: #fff; white-space: nowrap; }
.nks-fxs-vs { font-family: "Bebas Neue", sans-serif; font-size: clamp(34px,6vw,52px); color: rgba(255,255,255,.55); }
.nks-fxs-countdown { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--nks-gold-light,#FFE566); min-height: 18px; }
.nks-fxs-outcome { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; }
.nks-fxs-outcome--win  { background: #1f9d57; color: #fff; }
.nks-fxs-outcome--loss { background: #d23b3b; color: #fff; }
.nks-fxs-outcome--draw { background: #9099a6; color: #fff; }
.nks-fxs-status { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }

.nks-fxs-hero__when { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: rgba(255,255,255,.85); }
.nks-fxs-hero__venue { color: rgba(255,255,255,.6); font-size: 14px; }

/* Body */
.nks-fxs-body {
    max-width: var(--fx-max); margin: 0 auto;
    padding: clamp(36px,5vw,72px) clamp(16px,5vw,48px);
    display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: clamp(28px,4vw,56px); align-items: start;
}
.nks-fxs-h2 { font-family: "Bebas Neue", sans-serif; font-size: clamp(26px,3.4vw,38px); margin: 0 0 18px; position: relative; padding-bottom: 12px; }
.nks-fxs-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--nks-gold,#FFD700); }
.nks-fxs-content__inner { font-size: 17px; line-height: 1.8; color: #2b3340; }
.nks-fxs-content__inner p { margin: 0 0 1.2em; }

.nks-fxs-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 130px; }

/* Tickets box */
.nks-fxs-tickets { background: linear-gradient(160deg, var(--nks-navy,#034694), var(--nks-navy-deeper,#0A0F1E)); color: #fff; border-radius: 16px; padding: 26px; text-align: center; box-shadow: 0 16px 36px rgba(3,70,148,.2); }
.nks-fxs-tickets__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.nks-fxs-tickets__price { display: block; font-family: "Bebas Neue", sans-serif; font-size: 46px; line-height: 1.1; color: var(--nks-gold,#FFD700); }
.nks-fxs-tickets__price small { font-size: 18px; }
.nks-fxs-tickets__btn { display: block; width: 100%; margin-top: 14px; padding: 14px; border: 0; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--nks-navy-deeper,#0A0F1E); background: var(--nks-gold,#FFD700); transition: background .2s ease, transform .2s ease; }
.nks-fxs-tickets__btn:hover { background: var(--nks-gold-light,#FFE566); transform: translateY(-2px); }
.nks-fxs-tickets__btn.is-soldout { background: rgba(255,255,255,.15); color: rgba(255,255,255,.7); cursor: not-allowed; }
.nks-fxs-tickets__left { display: block; margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.6); }

/* Info box */
.nks-fxs-info { background: #fff; border: 1px solid rgba(3,70,148,.1); border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(3,70,148,.07); }
.nks-fxs-info__title { font-family: "Bebas Neue", sans-serif; font-size: 24px; margin: 0 0 12px; }
.nks-fxs-info__row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(3,70,148,.08); }
.nks-fxs-info__row:last-child { border-bottom: 0; }
.nks-fxs-info__row dt { font-size: 13px; color: var(--nks-mid-gray,#6C757D); }
.nks-fxs-info__row dd { margin: 0; font-size: 14px; font-weight: 700; text-align: right; }

/* Related */
.nks-fxs-related { max-width: var(--fx-max); margin: 0 auto; padding: 0 clamp(16px,5vw,48px) clamp(48px,7vw,90px); }
.nks-fxs-related .nks-fx-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .nks-fxs-related .nks-fx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .nks-fxs-related .nks-fx-grid { grid-template-columns: 1fr; } }

@media (max-width: 880px) {
    .nks-fxs-body { grid-template-columns: 1fr; }
    .nks-fxs-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .nks-fxs-side > * { flex: 1 1 240px; }
}
@media (max-width: 760px) {
    .nks-fx-filters { position: static; }
    .nks-fx-viewtabs { margin-left: 0; }
}
