:root {
    --ssff-maroon: #1E90CF;
    --ssff-red: #EC252C;
    --ssff-gold: #F5EC25;
    --ssff-dark: #000304;
    --ssff-blue: #1E90CF;
    --ssff-green: #009048;
    --ssff-body: #f5f5f5;
    --ssff-surface: #ffffff;
    --ssff-surface-soft: #f4f1f3;
    --ssff-surface-muted: #eef0f4;
    --ssff-hover: #f5fafd;
    --ssff-text: #212529;
    --ssff-text-soft: #5c6770;
    --ssff-muted-bg: #eef4fb;
    --ssff-border: #e3e9ef;
    --bs-primary: var(--ssff-blue);
    --bs-primary-rgb: 30, 144, 207;
}

[data-theme="dark"] {
    color-scheme: dark;
    --ssff-body: #0a121f;
    --ssff-surface: #122036;
    --ssff-surface-soft: #1a2a3f;
    --ssff-surface-muted: #1d2d42;
    --ssff-hover: #1c2f49;
    --ssff-text: #e8eef7;
    --ssff-text-soft: #9fb0c5;
    --ssff-muted-bg: #1a2a3f;
    --ssff-border: #243650;
}

body {
    font-family: "ClanOT", "HelveticaNeueLT Arabic 55 Roman", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    background: var(--ssff-body);
    color: var(--ssff-text);
}
[dir=rtl] body { font-family: "HelveticaNeueLT Arabic 55 Roman", "ClanOT", sans-serif; }

.bg-primary {
    background: var(--ssff-blue) !important;
}

/* Keep the header nav SSFF-blue on every page; page-side legacy theme css
   (home.css, match-details.css, gallery.css ...) re-define .bg-primary as
   maroon (#8C0321) AFTER this file, so pin the nav with a higher-specificity rule. */
.ctm-nav.bg-primary {
    background: var(--ssff-blue) !important;
}

.text-primary { color: var(--ssff-blue) !important; }

.btn-primary,
.badge-category {
    background: var(--ssff-blue);
    border-color: var(--ssff-blue);
}
.btn-primary:hover,
.btn-primary:focus { background: var(--ssff-maroon); border-color: var(--ssff-maroon); }
.btn-outline-primary { color: var(--ssff-blue); border-color: var(--ssff-blue); }
.btn-outline-primary:hover { background: var(--ssff-blue); border-color: var(--ssff-blue); }

a { color: var(--ssff-dark); }
a:hover { color: var(--ssff-blue); }

.sec-component { padding: 60px 0; }
.bg-lightgrey1 { background: #eef0f4; }
.mb-32 { margin-bottom: 32px; }

.ctm-nav .navbar-nav .nav-link {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 18px 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}
.ctm-nav .navbar-nav .nav-link.active {
  background: transparent;
  color: #F5EC25;
}
.navbar .nav-item .nav-link:hover { color: #fff; }
.ctm-nav .dropdown-menu-wrap { border: 0; border-radius: 0 0 10px 10px; box-shadow: 0 14px 34px rgba(0,0,0,.18); min-width: 480px; padding: 22px; }
.submenu-columns { display: flex; gap: 24px; }
.submenu-column ul { list-style: none; padding: 0; margin: 0; }
.submenu-column ul li a { display: block; padding: 7px 10px; color: var(--ssff-dark); font-size: 15px; font-weight: 500; border-radius: 6px; }
.submenu-column ul li a:hover { background: #e6f4fd; color: var(--ssff-blue); }

.header-search-wrap input {
    border: 1px solid #e3e3e3;
    border-radius: 50px;
    padding: 10px 18px;
    min-width: 260px;
    font-size: 14px;
}

.inner-banner {
    background-color: #1E90CF;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 161px;
    width: 100%;
    z-index: 0;
}
@media (max-width: 767.98px) {
    .inner-banner { min-height: 140px; }
}
.inner-banner h1,
.inner-banner h2,
.inner-banner h3 {
    bottom: 40px;
    margin-bottom: 0;
    z-index: 2;
}
.ball-img {
    position: absolute;
    inset-inline-end: 5%;
    top: -100px;
    opacity: 0;
    visibility: hidden;
    transform: rotate(0deg) scale(.5);
    transition: opacity 1s ease, transform 2s ease, top 3s ease;
    pointer-events: none;
}
.ball-img.loaded {
    opacity: 1;
    visibility: visible;
    top: 70px;
    transform: rotate(500deg) scale(.5);
}

@media (max-width: 575.98px) {
    .inner-banner {
        min-height: 140px;
    }
    .inner-banner h1,
    .inner-banner h2,
    .inner-banner h3 {
        bottom: 28px;
        max-width: 78%;
        font-size: 22px;
        line-height: 1.25;
    }
}

.custom-next img {
    transition: transform .2s ease;
}
.custom-prev img {
    transform: scale(-1);
    transition: transform .2s ease;
}
[dir=rtl] .custom-prev img,
[dir=rtl] .custom-next img {
    transform: scale(-1) !important;
}
[dir=rtl] .custom-prev img {
    transform: scale(1) !important;
}

.team-card { background: #fff; border-radius: 14px; padding: 24px 16px; box-shadow: 0 4px 16px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; height: 100%; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(30,144,207,.16); }
.team-logo { display: inline-flex; }
.team-logo img, .player-card img { height: 96px; width: auto; }
.team-logo-lg img, .competition-logo img { height: 120px; width: auto; }
.player-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.06); position: relative; height: 100%; }
.player-number {
    position: absolute;
    top: 10px;
    inset-inline-start: 12px;
    font-size: 26px;
    font-weight: 800;
    color: var(--ssff-blue);
    opacity: .35;
}

.competition-card {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(20,54,66,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    color: var(--ssff-dark);
    text-decoration: none;
}
.competition-card:hover, .competition-card:focus { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(30,144,207,.16); color: inherit; }
.competition-card .competition-accent {
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--ssff-blue) 0%, #48A9E6 100%);
    transition: height .2s ease;
}
.competition-card:hover .competition-accent { height: 6px; }
.competition-card .competition-body { display: block; padding: 28px 22px 24px; text-align: center; }
.competition-card .competition-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f4f1f3;
    margin-bottom: 16px;
    transition: background .2s ease;
}
.competition-card .competition-logo img { max-width: 62px; max-height: 62px; width: auto; height: auto; }
.competition-card:hover .competition-logo { background: #fdf0f2; }
.competition-card .competition-name { color: #1E90CF; font-weight: 700; text-transform: uppercase; font-size: 20px; letter-spacing: .5px; }
.competition-card .competition-meta { display: block; color: #6c757d; font-size: 14px; margin-bottom: 14px; }
.competition-card .competition-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ssff-blue);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.competition-card .competition-cta i { transition: transform .2s ease; }
.competition-card:hover .competition-cta i { transform: translateX(4px); }
[dir=rtl] .competition-card .competition-cta i { transform: scaleX(-1); }
[dir=rtl] .competition-card:hover .competition-cta i { transform: translateX(-4px) scaleX(-1); }

.competition-group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1E90CF;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee2e6;
}
.section-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9e4e6;
    padding-bottom: 14px;
}
[dir=rtl] .section-header { border-bottom-color: #dcd0d4; }
.competition-group-title::before {
    content: "";
    width: 6px;
    height: 26px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--ssff-blue) 0%, #48A9E6 100%);
}
.competition-count {
    margin-inline-start: auto;
    background: #f4f1f3;
    color: var(--ssff-blue);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 700;
}

.competitions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .competitions-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1200px) {
    .competitions-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

.comp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 768px) { .comp-stats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.comp-stat {
    background: #fff;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(5, 26, 43, .07);
    border-block-start: 3px solid var(--ssff-blue);
}
.comp-stat > i {
    display: block;
    font-size: 24px;
    color: var(--ssff-blue);
    margin-bottom: 8px;
    -webkit-text-stroke: .4px var(--ssff-gold);
}
.comp-stat-num {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--ssff-dark);
    line-height: 1;
}
.comp-stat-txt {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ssff-dark);
    opacity: .75;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* ---- Competition detail page ---- */
.comp-hero {
    position: relative;
    overflow: hidden;
    background-color: #063b22;
    padding: 46px 0 58px;
    color: #fff;
}
.comp-hero-back {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    text-decoration: none;
}
.comp-hero-back:hover { color: #F5EC25; }
[dir=rtl] .comp-hero-back i { transform: scaleX(-1); }
.comp-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 36px;
}
.comp-hero-logo {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .96);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(5, 26, 43, .35);
    padding: 18px;
}
.comp-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.comp-hero-title {
    margin: 0 0 12px;
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    color: #fff;
}
.comp-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.comp-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}
.comp-hero-chip-ghost { background: rgba(245, 236, 37, .16); border-color: rgba(245, 236, 37, .5); color: #F5EC25; }
.comp-hero-desc { color: rgba(255, 255, 255, .92); font-size: 17px; max-width: 760px; }
.comp-hero-desc p { color: rgba(255, 255, 255, .92); margin-bottom: 0; }
@media (max-width: 767.98px) {
    .comp-hero { padding: 30px 0 40px; }
    .comp-hero-back { margin-bottom: 20px; }
    .comp-hero-inner { flex-direction: column; text-align: center; gap: 18px; }
    .comp-hero-logo { width: 112px; height: 112px; border-radius: 18px; }
    .comp-hero-title { font-size: 26px; }
    .comp-hero-chips { justify-content: center; }
    .comp-hero-desc { margin: 0 auto; }
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 576px) { .teams-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .teams-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (min-width: 1400px) { .teams-grid { grid-template-columns: repeat(5, 1fr); } }
.team-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 20px 12px;
    box-shadow: 0 6px 18px rgba(5, 26, 43, .07);
    border-block-start: 3px solid var(--ssff-blue);
    min-height: 96px;
}
.team-tile img { height: 54px; width: auto; max-width: 80%; }
.team-tile span { font-size: 14px; font-weight: 700; color: var(--ssff-dark); line-height: 1.25; }

.next-match-card.fx-last::after {
    background: linear-gradient(90deg, #009048, #F5EC25 55%, #EC252C);
}

/* Fixtures/Results numbered tab pills — re-assert SSFF blue + tighter text padding.
   (match-details.css overrides .nav-pills .nav-link.active to maroon + site.css
   gives the links 7px 35px padding at 20px font, which renders awkwardly.) */
#compTab .nav-link,
#fixturesTab .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    border-radius: 999px;
}
#compTab .nav-link.active,
#fixturesTab .nav-link.active {
    background-color: var(--ssff-blue);
    border-color: var(--ssff-blue);
    color: #fff !important;
}
#compTab .nav-link.active .tab-count,
#fixturesTab .nav-link.active .tab-count {
    background: #fff;
    color: var(--ssff-blue);
}
#compTab .tab-count,
#fixturesTab .tab-count {
    margin-inline-start: 0;
}
@media (max-width: 575.98px) {
    #compTab .nav-link,
    #fixturesTab .nav-link { padding: 8px 14px; font-size: 13px; gap: 5px; }
}

/* Rank table — single flat auto-layout table (was QFA nested header/body tables that misaligned)
   Used on: standings, competitions index/show, home squad/flags tables. */
.rank-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}
.rank-table thead th {
    background: #f4f1f3;
    color: var(--ssff-dark);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 14px 16px;
    text-align: start;
    border-bottom: 2px solid var(--ssff-blue);
    white-space: nowrap;
}
.rank-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #f0e9ec;
    text-align: center;
}
.rank-table tbody tr:last-child td { border-bottom: 0; }
.rank-table tbody tr:hover td { background: #f5fafd; }
.rank-table .rank-pos { text-align: start; color: var(--ssff-blue); font-weight: 800; width: 52px; }
.rank-table .rank-club { text-align: start; font-size: 16px; }
.rank-table .rank-flag { display: inline-flex; margin-inline-end: 10px; vertical-align: -4px; }
.rank-table .rank-flag img { height: 22px; width: auto; border-radius: 6px; }
.rank-table .rank-name { font-weight: 700; color: var(--ssff-dark); white-space: nowrap; }
.rank-table .rank-pts { font-weight: 800; color: var(--ssff-blue); width: 72px; }
.rank-table .rank-empty { padding: 24px; text-align: center; color: #8a939c; }
.rank-table .rank-status { font-size: 18px; width: 90px; }
.rank-table .rank-up i { color: #0d8a58; }
.rank-table .rank-down i { color: #d32f2f; }
.rank-table-simple .rank-col-status { text-align: center; }

/* "Show All" expander for trimmed ranking tables */
.rank-table-more-btn { text-align: center; margin-top: 16px; }
.rank-table-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    border-radius: 50px;
    background: var(--ssff-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--ssff-blue);
    cursor: pointer;
    transition: background .2s, color .2s;
}
.rank-table-toggle:hover { background: var(--ssff-dark); border-color: var(--ssff-dark); color: #fff; }
[data-theme="dark"] .rank-table-toggle {
    background: var(--ssff-surface-soft);
    color: var(--ssff-text);
    border-color: var(--ssff-border);
}
[data-theme="dark"] .rank-table-toggle:hover { background: var(--ssff-blue); color: #fff; }
@media (max-width: 575.98px) {
    .rank-table thead th { padding: 10px 10px; font-size: 11.5px; }
    .rank-table tbody td { padding: 11px 10px; }
    .rank-table .rank-flag { margin-inline-end: 6px; }
    .rank-table .rank-flag img { height: 18px; }
    .rank-table .rank-name { font-size: 14px; }
}

.gallery-card { border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.gallery-card img { width: 100%; height: 220px; object-fit: cover; transition: transform .35s; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-caption {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 100%;
    padding: 32px 14px 12px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.72));
}

.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.07); height: 100%; }
.news-card-body h6 a { color: var(--ssff-dark); font-weight: 700; }
.news-card-body h6 a:hover { color: var(--ssff-blue); }
.news-card-image { overflow: hidden; }
.news-card-image img { transition: transform .35s; }
.news-card:hover .news-card-image img { transform: scale(1.05); }
.bs-news-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.bs-news-cell { min-width: 0; }
@media (min-width: 768px) { .bs-news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 992px) { .bs-news-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.badge-category { color: #fff; font-weight: 600; }

.article-body { line-height: 1.9; font-size: 17px; color: #333; }
.article-body h2, .article-body h3, .article-body h4 { margin-top: 28px; color: var(--ssff-dark); }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.article-body blockquote { border-inline-start: 4px solid var(--ssff-blue); background: #eef6fd; padding: 14px 20px; border-radius: 6px; font-style: italic; }

.match-details-box { background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.07); height: 100%; }
.team-emblem { display: inline-flex; }
.team-emblem img { height: 68px; width: auto; border-radius: 10px; }
.score-box { font-size: 22px; color: var(--ssff-blue); }
.date-colon { color: var(--ssff-maroon); font-weight: 700; }

/* Match cards grid (fixtures) */
.match-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.mc-cell { min-width: 0; }
/* Match card inner row — theme bootstrap lacks .flex-sm-row/flex-grow-1, so own the layout */
.mc-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding-inline: 4px;
}
.mc-row .mc-team { flex: 1 1 auto; width: auto; min-width: 96px; max-width: 170px; }
.mc-row .mc-team small { display: block; margin-top: 8px; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--ssff-dark); }
.mc-row .mc-center { flex: 0 0 auto; text-align: center; padding-inline: 4px; }
.mc-venue { font-size: 12px; }
.mc-venue i { margin-inline-end: 5px; }
@media (max-width: 575.98px) {
    .mc-row { flex-direction: column; gap: 12px; }
    .mc-row .mc-team { max-width: 220px; }
}
.match-cards-grid .match-details-box { padding: 16px 14px 14px; }
.match-cards-grid .match-date { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.match-cards-grid .match-date > span:first-child { font-size: 13px; font-weight: 700; color: #566070; }
.match-cards-grid .match-date i { margin-inline-end: 8px; }
.match-date .match-date-day { color: #7b8a96; }
.fx-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.fx-sched { background: #eef3f8; color: var(--ssff-blue); }
.fx-live { background: #ffe9ea; color: #d32f2f; animation: fxPulse 1.4s ease-in-out infinite; }
.fx-ft { background: #e7f6ef; color: #0d8a58; }
@keyframes fxPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, .35); }
  50% { box-shadow: 0 0 0 5px rgba(211, 47, 47, 0); }
}
@media (min-width: 768px) {
  .match-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 992px) {
  .match-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  border-radius: 50px;
  margin-inline-start: 5px;
  background: rgba(0, 0, 0, .12);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.fx-chip.active .chip-count { background: rgba(255, 255, 255, .25); }
.fx-chips-sep { margin: 0 4px; opacity: .4; }

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ssff-blue);
    color: #fff;
    font-size: 19px;
    flex-shrink: 0;
}
.contact-form .form-control:focus { border-color: var(--ssff-blue); box-shadow: 0 0 0 .2rem rgba(30,144,207,.15); }

.search-section-title {
    border-inline-start: 4px solid var(--ssff-blue);
    padding-inline-start: 12px;
    margin-bottom: 14px;
}
.search-result { margin-bottom: 18px; }
.chip-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
}
.chip-card:hover { background: var(--ssff-blue); color: #fff; border-color: var(--ssff-blue); }

.footer-section { background: var(--ssff-dark); color: rgba(255,255,255,.78); }
.footer-heading { color: var(--ssff-gold); font-weight: 700; margin-bottom: 18px; }
.footer-about { line-height: 1.8; font-size: 14.5px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--ssff-gold); }
.latest-posts-list { list-style: none; padding: 0; margin: 0; }
.latest-posts-list li { margin-bottom: 14px; }
.latest-post-item { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ssff-dark); }
.latest-post-thumb { flex-shrink: 0; }
.latest-post-thumb img { width: 78px; height: 62px; object-fit: cover; border-radius: 8px; }
.latest-post-body strong { display: block; font-size: 14.5px; line-height: 1.4; }
.latest-post-body small { color: var(--ssff-blue); }
.widget-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    padding: 20px;
    margin-bottom: 24px;
}
.widget-title {
    border-inline-start: 4px solid var(--ssff-blue);
    padding-inline-start: 12px;
    font-weight: 700;
}
.contact-info-widget p { margin-bottom: 10px; font-size: 14.5px; }

.toast-alert {
    position: fixed;
    top: 20px;
    inset-inline-end: 20px;
    z-index: 2000;
    padding: 14px 22px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    animation: toastIn .3s ease;
}
.toast-success { background: #1d9c50; }
.toast-error { background: #d3222b; }
@keyframes toastIn { from { transform: translateY(-16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.rtl-layout { direction: rtl; text-align: right; }

.pagination { --bs-pagination-active-bg: var(--ssff-blue); --bs-pagination-active-border-color: var(--ssff-blue); }

.mobile-submenu { list-style: none; padding-inline-start: 18px; }

/* ===== Mobile menu: icons, spacing & tap targets ===== */
.ctm-nav .offcanvas .navbar-nav .nav-link {
    padding: 13px 8px;
    font-size: 15px;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.ctm-nav .offcanvas .navbar-nav .nav-link > i,
.ctm-nav .offcanvas .navbar-nav .mm-label > i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, .78);
}
.ctm-nav .offcanvas .navbar-nav .nav-link .mm-label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ctm-nav .offcanvas .navbar-nav .nav-link .mm-caret {
    color: rgba(255, 255, 255, .65);
    transition: transform .25s ease;
}
.ctm-nav .offcanvas .navbar-nav .nav-link:not(.collapsed) .mm-caret {
    transform: rotate(180deg);
}
.ctm-nav .offcanvas .mobile-submenu {
    padding-inline-start: 0;
    margin-top: 2px;
    background: rgba(0, 0, 0, .14);
    border-radius: 10px;
    padding-block: 4px;
}
.ctm-nav .offcanvas .mobile-submenu .nav-link {
    padding: 10px 14px 10px 38px;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
    border-bottom: 1px dashed rgba(255, 255, 255, .08);
    gap: 8px;
}
.ctm-nav .offcanvas .mobile-submenu .nav-link:last-child { border-bottom: 0; }
.ctm-nav .offcanvas .navbar-nav .nav-link:hover,
.ctm-nav .offcanvas .mobile-submenu .nav-link:hover { color: #F5EC25; }
.offcanvas-body { padding: 16px 18px 28px; }
.offcanvas-header { padding: 18px 18px 12px; }
.mobile-nav-btn-list { gap: 10px !important; }

/* ===== Mobile header: action buttons, hamburger & logo ===== */
.menu-btn {
  position: relative;
  top: auto;
  width: 36px !important;
  height: 36px !important;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: opacity .2s ease, transform .1s ease;
}
.menu-btn:hover { background: transparent !important; opacity: .8; }
.menu-btn:active { transform: scale(.9); }
.menu-btn::before,
.menu-btn::after { content: none !important; display: none !important; }
.menu-btn .menu-bar {
  display: block !important;
  width: 22px;
  height: 2.5px;
  border-radius: 99px;
  background: #fff !important;
  margin: 0;
  padding: 0;
}
@media (max-width: 991.98px) {
  .mobile-header-actions { gap: 16px !important; }
  .mobile-header-actions .ctm-btn {
    width: auto;
    height: 38px;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s ease, transform .1s ease;
  }
  .mobile-header-actions .ctm-btn:hover { background: transparent !important; opacity: .8; }
  .mobile-header-actions .ctm-btn:active { transform: scale(.92); }
  .mobile-header-actions .theme-toggle i { font-size: 21px; }
  .mobile-header-actions .lang-btn { gap: 8px; font-size: 13px; font-weight: 700; width: auto !important; padding-inline: 6px; }
  .mobile-header-actions .lang-btn .bi-globe2 { font-size: 16px; }
  .main-header .navbar-brand img { height: 66px !important; }
}

@media (max-width: 991.98px) {
    .sec-component { padding: 40px 0; }
    .dropdown-menu-wrap { min-width: 100% !important; }
    .header-search-wrap input { min-width: 100%; }
}
.competition-heading {
    color: var(--qfa-dark, #16012c);
}
.live-badge {
    background: #ff3b30;
    color: #fff;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}
.competition-logo.team-logo-sm { display: inline-flex; width: 44px; height: 44px; }

.standings-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
    padding: 24px;
}
.standings-table {
    border-radius: 8px;
    overflow: hidden;
}
.standings-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    transition: background .15s ease;
}
.standings-row:nth-child(odd) { background: #faf7f8; }
.standings-row:last-child { border-bottom: 0; }
.standings-row:hover { background: #f3eef0; }
.standings-row.qualify { box-shadow: inset 3px 0 0 var(--qfa-primary, #1E90CF); }
.standings-row .col-pos { width: 30px; color: var(--qfa-primary, #1E90CF); }
.standings-row .col-team { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.standings-row .col-team span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standings-row .col-static { width: 34px; text-align: center; color: #6d6d6d; }
.standings-row .col-points { width: 44px; text-align: center; }
.standings-emblem {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.standings-emblem img { max-width: 100%; max-height: 100%; }

.player-avatar {
    width: 92px;
    height: 92px;
    margin-inline: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--qfa-primary, #1E90CF), var(--qfa-red, #EC252C));
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(140, 3, 33, .25);
}
.player-avatar-lg { width: 140px; height: 140px; font-size: 44px; }
.player-photo { width: 92px; height: 92px; object-fit: contain; }
.player-profile-photo { width: 150px; height: 150px; object-fit: cover; border-radius: 12px; }
.numbered-jersey {
    display: inline-block;
    background: var(--qfa-gold, #ffb92e);
    color: #16012c;
    font-weight: 800;
    font-size: 15px;
    border-radius: 6px;
    padding: 2px 10px;
    margin-bottom: 8px;
}
.player-fact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

/* ---------- footer widgets (QFA theme) ---------- */
.social-links-widget {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.social-circle {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.3s all;
}
.social-circle:hover {
    background: #fff;
    color: #1E90CF;
    border-color: #fff;
}

.newsletter-form input.form-control {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50px;
    color: #fff;
    padding: 12px 22px;
}
.newsletter-form input.form-control::placeholder { color: rgba(255, 255, 255, .75); }
.newsletter-form input.form-control:focus {
    background: rgba(255, 255, 255, .18);
    border-color: #fff;
    box-shadow: none;
}
.btn-subscribe {
    background: #fff;
    color: #1E90CF;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s all;
}
.btn-subscribe:hover {
    background: #1E90CF;
    color: #fff;
    border-color: #fff;
}

/* ---------- home polish ---------- */
.banner-icons { display: flex; align-items: center; }
.team-table-ajax { margin-top: 18px; }
.fifa-world-ranking { margin-top: 6px; }

/* ---------- QFA hero banner ---------- */
.banner-holder-section .banner-image img,
.banner-holder-section .banner-image video {
    -o-object-position: center top;
       object-position: center top;
}
.banner-holder-section .banner-image video {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
}

/* ---------- QFA footer borders & logo ---------- */
.footer-section .footer-main img {
    max-width: 220px;
    height: auto;
}
.footer-section .bdr-start {
    border-inline-start: 1px solid #1E90CF;
}
.footer-section .bdr-end {
    border-inline-end: 1px solid #1E90CF;
}
.footer-section .bdr-bottom,
.footer-section .location-bdr {
    border-bottom: 1px solid #1E90CF;
}
@media (max-width: 1199.98px) {
    .footer-section .bdr-start,
    .footer-section .bdr-end,
    .footer-section .bdr-bottom,
    .footer-section .location-bdr {
        border: none;
    }
}

/* ===== News listing (QFA-style) ===== */
.single-news-section {
    padding: 48px 0 72px;
}
@media (max-width: 991.98px) {
    .single-news-section {
        padding: 28px 0 48px;
    }
}
.news-updates-section .search-holder {
    gap: 14px;
}
.news-updates-section .search-holder select,
.news-updates-section .border-date .form-control {
    min-width: 210px;
    font-weight: 600;
    color: #1E90CF;
    border-color: #e3d6da;
    background-color: #fff;
}
.news-updates-section .border-date {
    position: relative;
}
.news-updates-section .border-date .form-control {
    width: 210px;
    padding-block: 8px;
    color: #6c757d;
}
.filter-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #1E90CF;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 8px 14px;
    border: 1px solid #e3d6da;
    border-radius: 50px;
    background: #fff;
    transition: background .2s ease, color .2s ease;
    text-decoration: none;
}
.filter-clear-btn:hover {
    background: #1E90CF;
    border-color: #1E90CF;
    color: #fff;
}
.news-updates-section .card {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(20,54,66,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    background: #fff;
}
.news-updates-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(30,144,207,.15);
}
.news-updates-section .card .card-body {
    padding: 20px 18px 24px;
}
.news-updates-section .card .card-img-top {
    width: 100%;
    height: 230px;
}
.news-updates-section .card .btn-capsule {
    background: #f4f1f3;
    color: #1E90CF;
    padding-right: 3px;
    padding-left: 3px;
}
.news-updates-section .card .btn-capsule a h5 {
    color: #1E90CF;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.news-updates-section .card .btn-capsule:hover {
    background: #1E90CF;
}
.news-updates-section .card .btn-capsule:hover a h5 {
    color: #fff;
}
@media (max-width: 575.98px) {
    .news-updates-section .search-holder select,
    .news-updates-section .border-date .form-control {
        min-width: 100%;
        width: 100%;
    }
    .news-updates-section .search-holder {
        width: 100%;
    }
    .news-updates-section .search-holder .col-auto {
        width: 100%;
    }
}

/* ===== SSFF rebrand: remap QFA heritage maroon/teal to SSFF logo palette ===== */
.main-header { background-color: #1E90CF; }
.main-header .ctm-btn { background-color: #1E90CF; }
#search-wrapper { background-color: #1E90CF; border-color: rgba(255,255,255,.25); }
#search-wrapper input { background-color: #1E90CF; }
.offcanvas-end { background-color: #1E90CF; }
.navbar .nav-item .dropdown-menu-wrap {
  background: #06233B;
  border-top: 4px solid rgba(255, 255, 255, .16);
  z-index: 30;
}
.banner-holder-section h1 span { color: #F5EC25; }
.banner-holder-section .banner-icon2 { background-color: #1E90CF; }
.outlined-text1 { -webkit-text-stroke: 1px #1E90CF; text-stroke: 1px #1E90CF; }
.horizontal-scroll { scrollbar-color: #1E90CF transparent; }
.horizontal-scroll::-webkit-scrollbar-thumb { background: #1E90CF; }
.custom-prev, .custom-next { border-color: #1E90CF; }
.nav-pills .nav-link.active { background-color: #1E90CF; border-color: #1E90CF; }
.live-match-section .nav-pills .nav-item .nav-link { color: rgba(30,144,207,.55); }
.match-details-box .date { border-top: 1px solid #1E90CF; }
.match-details-box::after { background-color: #1E90CF; }
.match-details-box .date-colon { color: #1E90CF; }
.ctm-table .country-name { color: #000304; }
.ctm-table .win { background-color: #009048; }
.ctm-table .loss { background-color: #EC252C; }
.marque-section { border-bottom: 2px solid #F5EC25; }
.text-green { color: #009048 !important; }
.text-red { color: #EC252C !important; }
.bg-lightgrey1 { background: #eef0f4 !important; }

/* ===== Competitions hub (SSFF) ===== */
.comp-chips { display: inline-flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.comp-chip { display: inline-block; padding: 3px 10px; border-radius: 50px; background: #eef4fb; color: #1E90CF; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.comp-chip-type { background: #1E90CF; color: #fff; }
.comp-teaser { display: block; width: 100%; background: linear-gradient(180deg, #f6fafd, #eaf3fa); border: 1px solid #d9e9f4; border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.comp-teaser-label { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 800; color: #009048; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.comp-teaser-empty { color: #6c757d; font-size: 13px; text-align: center; padding: 10px; }
.comp-teaser-match { display: flex; align-items: center; justify-content: center; gap: 10px; }
.comp-teaser-team { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 74px; color: #000304; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.comp-teaser-team img { height: 34px; width: auto; object-fit: contain; }
.comp-teaser-vs { color: #6c757d; font-weight: 800; font-size: 12px; }
.comp-teaser-score { font-size: 20px; font-weight: 900; color: #EC252C; }
.comp-teaser-date { display: block; text-align: center; margin-top: 8px; color: #6c757d; font-size: 12px; font-weight: 600; }
.section-header-link { display: inline-flex; align-items: center; gap: 6px; color: #1E90CF; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; }
.section-header-link:hover { color: #009048; }
.standings-competition-name { color: #1E90CF; }

.ctm-nav { overflow-x: clip; }

/* ===== Keep nav dropdowns inside the viewport (kills side scroll) ===== */
.navbar .nav-item .dropdown-menu-wrap {
  inset-inline-start: 7px;
  inset-inline-end: auto;
}
.navbar .nav-item:nth-child(n+6) .dropdown-menu-wrap {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
.navbar .nav-item .dropdown-menu-wrap::before {
  inset-inline-start: 7px;
  inset-inline-end: auto;
}
.navbar .nav-item:nth-child(n+6) .dropdown-menu-wrap::before {
  inset-inline-end: 22px;
  inset-inline-start: auto;
}

/* no underline on submenu links */
.navbar .nav-item .dropdown-menu-wrap ul li a::after { display: none; }
.navbar .nav-item .dropdown-menu-wrap ul li a { text-decoration: none; }
@media (max-width: 991.98px) {
  .navbar .nav-item .dropdown-menu-wrap { background: transparent; border-top: none; }
}

/* ===== Sticky nav only: top banner scrolls away, menu stays pinned ===== */
.header-wrapper {
  position: static;
}
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-wrapper.scrolled ~ .sticky-nav {
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}

/* ===== SSFF professional footer ===== */
.footer-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #0e3a62 0%, #08263f 55%, #051a2b 100%);
}
.footer-section::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #1E90CF 0%, #009048 45%, #F5EC25 100%);
  z-index: 1;
}
.footer-section .footer-pattern {
  position: absolute;
  inset-inline-end: -180px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 144, 207, .16) 0%, rgba(30, 144, 207, 0) 70%);
  pointer-events: none;
}
.footer-section .footer-top { padding-block: 70px 40px; }
.footer-section .footer-brand .footer-logo img {
  max-height: 120px;
  width: auto;
  margin-bottom: 26px;
}
.footer-section .footer-desc p {
  color: rgba(255, 255, 255, .78);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 26px;
  max-width: 400px;
}
.footer-section .footer-title {
  color: #F5EC25;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .4px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
}
.footer-section .footer-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1E90CF, #009048);
}
.footer-section .footer-links li { margin-bottom: 13px; }
.footer-section .footer-links a {
  color: rgba(255, 255, 255, .8);
  font-weight: 300;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: color 300ms, padding-inline-start 300ms;
}
.footer-section .footer-links a:hover {
  color: #F5EC25;
  padding-inline-start: 5px;
}
.footer-section .footer-contact li {
  color: rgba(255, 255, 255, .78);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-section .footer-contact li a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: color 300ms;
}
.footer-section .footer-contact li a:hover { color: #F5EC25; }
.footer-section .footer-contact i {
  color: #1E90CF;
  font-size: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-section .footer-social-icons .banner-icon3 {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .3);
}
.footer-section .footer-social-icons .banner-icon3:hover {
  background: #1E90CF;
  border-color: #1E90CF;
}
.footer-section .footer-social-icons .banner-icon3:hover .instagram-icon,
.footer-section .footer-social-icons .banner-icon3:hover .youtube-icon,
.footer-section .footer-social-icons .banner-icon3:hover .facebook-icon,
.footer-section .footer-social-icons .banner-icon3:hover .twitter-icon { background: #06233B; }
.footer-section .footer-brands-box {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 10px;
  padding: 34px 0 10px;
}
.footer-section .footer-brands-box .brand-box { gap: 36px !important; row-gap: 30px !important; }
.footer-section .footer-brands-box .brand-box .footer-brand-logo {
  height: 48px !important;
  width: auto !important;
  object-fit: contain;
  opacity: .85;
  transition: opacity 300ms, transform 300ms;
}
.footer-section .footer-brands-box .brand-box a:hover .footer-brand-logo { opacity: 1; transform: scale(1.04); }
.footer-section .footer-brands-box p { color: rgba(255, 255, 255, .6) !important; }
.footer-top .footer-col-brand,
.footer-top .footer-col-contact,
.footer-top .footer-col-sponsors { width: 100%; }
@media (min-width: 992px) {
  .footer-top .row > .footer-col-brand,
  .footer-top .row > .footer-col-contact,
  .footer-top .row > .footer-col-sponsors { flex: 0 0 auto; width: 33.33333333%; }
}
.footer-links-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 44px clamp(18px, 3vw, 48px);
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-links-horizontal .footer-link-box {
  flex: 1 1 200px;
  min-width: 170px;
}
.footer-links-horizontal .footer-link-box .footer-title { margin-bottom: 18px; }
.footer-links-horizontal .footer-links li { margin-bottom: 12px; }
.footer-links-horizontal .footer-links a { font-size: 14px; }
.footer-contact-box .footer-title { margin-bottom: 16px; }
.footer-contact-box .footer-contact { margin-bottom: 0; }
.footer-contact-box .footer-contact li { margin-bottom: 14px; }
@media (max-width: 1199.98px) {
  .footer-links-horizontal .footer-link-box { flex: 1 1 calc(50% - 12px); }
}
@media (max-width: 575.98px) {
  .footer-links-horizontal .footer-link-box { flex: 1 1 50%; min-width: 0; }
}
.footer-section .footer-bottom {
  background: rgba(0, 0, 0, .32);
  padding-block: 18px;
  color: rgba(255, 255, 255, .6);
  text-align: center;
}
.footer-section .footer-bottom p { font-size: 14px; }
.footer-section .footer-bottom .footer-legal a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color 300ms;
}
.footer-section .footer-bottom .footer-legal a:hover { color: #F5EC25; }
@media (max-width: 991.98px) {
  .footer-section .footer-top { padding-block: 50px 30px; }
}

/* News listing: generous, deterministic space between cards */
#newsSection .news-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin: 0;
}
@media (min-width: 768px) {
  #newsSection .news-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}
@media (min-width: 1200px) {
  #newsSection .news-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 2rem;
  }
}
#newsSection .news-row > .col {
  flex: none;
  width: auto;
  max-width: none;
  padding: 0;
}

/* News filters: single SSFF banner */
.news-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 30px;
  padding: 14px 20px;
  border-radius: 16px;
  position: relative;
  background: linear-gradient(120deg, #0e3a62 0%, #135a8f 55%, #1E90CF 130%);
  box-shadow: 0 10px 26px rgba(5, 26, 43, .16);
}
.news-filter-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #F5EC25, #EC252C 55%, #009048);
}
.news-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F5EC25;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .7px;
  white-space: nowrap;
}
.news-filter-bar .form-select,
.news-filter-bar .border-date .form-control {
  border: 0;
  border-radius: 50px;
  background: #fff;
  color: #1E90CF;
  font-weight: 600;
  padding-block: 8px;
  min-height: 40px;
}
.news-filter-bar .form-select { min-width: 0; width: auto; flex: 1 1 200px; }
.news-filter-bar .border-date .form-control { width: 200px; color: #6c757d; }
.news-filter-bar .filter-clear-btn {
  margin-inline-start: auto;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.news-filter-bar .filter-clear-btn:hover {
  background: #EC252C;
  border-color: #EC252C;
  color: #fff;
}
@media (max-width: 991.98px) {
  .news-filter-bar .form-select { flex: none; min-width: 175px; }
  .news-filter-bar .filter-clear-btn { margin-inline-start: 0; }
}
@media (max-width: 575.98px) {
  .news-filter-bar { padding: 13px 14px; }
  .news-filter-bar > .form-select,
  .news-filter-bar > .border-date { flex: 1 1 100%; }
  .news-filter-bar .form-select,
  .news-filter-bar .border-date .form-control { width: 100%; min-width: 0; }
  .news-filter-bar .filter-clear-btn { margin-inline-start: 0; }
  .news-filter-bar .news-filter-label { flex: 1 1 100%; }
}

/* News cards: breathing room above & below each card */
.news-updates-section .slider-wrapper { padding: 10px 6px 26px; }
.news-updates-section .news-updates-slider .item { padding: 10px 8px; }
.news-updates-section .card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(5, 26, 43, .08);
  transition: transform .28s ease, box-shadow .28s ease;
}
.news-updates-section .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(30, 144, 207, .2);
}
.news-updates-section .card .card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-updates-section .card .card-img-top {
  border-radius: 15px 15px 0 0;
  aspect-ratio: 16 / 10;
  transition: transform .55s ease;
}
.news-updates-section .card figure {
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}
.news-updates-section .card:hover figure .card-img-top { transform: scale(1.07); }
.news-updates-section .card .card-body .date { margin-bottom: 0; }
.news-updates-section .card .card-body .card-title { margin-bottom: 0; font-size: 19px; line-height: 1.35; }
.news-updates-section .card .card-body .news-card-title-link {
  color: var(--ssff-dark);
  text-decoration: none;
}
.news-updates-section .card .card-body .news-card-title-link:hover .card-title { color: var(--ssff-blue); }
.news-card-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  background: linear-gradient(120deg, #1E90CF, #0e3a62);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 5px 12px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}
.news-card-more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ssff-blue, #1E90CF);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
  text-decoration: none;
  transition: gap .2s ease, color .2s ease;
}
.news-card-more:hover { color: var(--ssff-dark, #0e3a62); gap: 11px; }
.news-card-more i { transition: transform .2s ease; }
[dir='rtl'] .news-card-more i { transform: scaleX(-1); }
.news-updates-section .card .card-body .date { font-size: 13px; }
@media (min-width: 1200px) {
  .news-updates-section { padding-top: 70px; padding-bottom: 20px; }
}

/* ===== Modern page hero ===== */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background-color: #063b22;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 12, .55);
}
.page-hero.has-image .page-hero-content { z-index: 2; }
.page-hero-content { padding: 64px 0 44px; position: relative; z-index: 1; }
.page-hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #06233B;
  background: #F5EC25;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.page-hero-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}
.page-hero.has-image .page-hero-title { text-shadow: 0 4px 26px rgba(0, 0, 0, .55); }
.page-hero-subtitle {
  max-width: 720px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  font-weight: 300;
  margin: 16px 0 0;
  line-height: 1.7;
}
.page-hero.has-image .page-hero-subtitle { text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
[dir=rtl] .page-hero-title { text-transform: none; }
[dir=rtl] .page-hero.has-image::after {
  background: rgba(4, 20, 12, .55);
}
.breadcrumb-section {
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  padding: 16px 0;
}
.breadcrumb-section .breadcrumb-item a { color: #1E90CF; text-decoration: none; font-weight: 600; }
.breadcrumb-section .breadcrumb-item.active { color: rgba(6, 35, 59, .55); }

/* ===== Article / page detail ===== */
.article-page .article-prose {
  background: #fff;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 52px);
  box-shadow: 0 24px 60px rgba(5, 26, 43, .07);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px dashed #e6ecf2;
  color: rgba(6, 35, 59, .6);
  font-size: 14px;
}
.article-meta-item { display: inline-flex; align-items: center; gap: 7px; }
.article-meta-item i { color: #1E90CF; }
.article-body { font-size: 17px; line-height: 1.9; color: rgba(6, 35, 59, .9); }
.article-body h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0e3a62;
  margin: 38px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef0f4;
}
.article-body h3 { font-size: 21px; font-weight: 700; color: #0e3a62; margin: 30px 0 12px; }
.article-body h4 { font-size: 18px; font-weight: 700; color: #0e3a62; margin: 24px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul,
.article-body ol { padding-inline-start: 24px; margin-bottom: 18px; }
.article-body li { margin-bottom: 8px; }
.article-body ul li::marker { color: #1E90CF; }
.article-body ol li::marker { color: #009048; font-weight: 700; }
.article-body a { color: #1E90CF; text-decoration-thickness: 1px; }
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(5, 26, 43, .12);
}
.article-body blockquote {
  border-inline-start: 4px solid #009048;
  background: #f4faf7;
  padding: 18px 22px;
  border-radius: 12px;
  margin: 26px 0;
  font-style: italic;
  color: rgba(6, 35, 59, .8);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.article-body table th,
.article-body table td { border: 1px solid #e3eaf1; padding: 12px 14px; vertical-align: top; }
.article-body table th { background: #eef4fb; color: #0e3a62; font-weight: 700; text-align: start; }
.article-body table tr:nth-child(even) td { background: #f8fbfe; }
.article-body hr { margin: 34px 0; border-color: #e6ecf2; }
.article-body iframe { max-width: 100%; border-radius: 12px; }
.article-body .btn, .article-body .btn-primary {
  border-radius: 50px;
  padding: 9px 22px;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .page-hero { min-height: 250px; }
  .page-hero-content { padding: 46px 0 30px; }
  .article-page { padding: 36px 0; }
  .article-page .article-prose { padding: 24px 18px; }
  .article-body { font-size: 16px; }
  .article-meta { gap: 12px; font-size: 13px; }
}

/* ===== News detail page ===== */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
@media (min-width: 992px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
}
.article-main .article-prose {
  background: #fff;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: 0 24px 60px rgba(5, 26, 43, .07);
}
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 992px) {
  .article-sidebar { position: sticky; top: 114px; }
}
.sidebar-widget {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(5, 26, 43, .06);
  padding: 20px;
  border-block-start: 3px solid var(--ssff-red);
}
.sidebar-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ssff-dark);
}
.sidebar-title i { color: var(--ssff-red); font-size: 16px; }
.sidebar-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  color: #33475b;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.sidebar-cat-list a:hover { background: #f1f6fb; color: var(--ssff-blue); }
.sidebar-cat-list a.active { background: #eef6fd; color: var(--ssff-blue); }
.sidebar-cat-list a .count {
  margin-inline-start: auto;
  font-size: 11px;
  font-weight: 800;
  background: #eef3f8;
  color: var(--ssff-blue);
  border-radius: 50px;
  padding: 2px 9px;
  white-space: nowrap;
}
.sidebar-latest { display: flex; flex-direction: column; gap: 15px; }
.latest-item { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.latest-thumb {
  width: 78px;
  height: 60px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eef3f8;
}
.latest-thumb-ph { display: grid; place-items: center; color: #b6c6d4; font-size: 18px; }
.latest-body { min-width: 0; display: flex; flex-direction: column; }
.latest-title {
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ssff-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
  transition: color .15s ease;
}
.latest-item:hover .latest-title { color: var(--ssff-blue); }
.latest-date { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #7b8a96; font-weight: 600; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tags a {
  font-size: 12px;
  font-weight: 700;
  color: var(--ssff-blue);
  background: #eef6fd;
  border: 1px solid #dbe9f5;
  padding: 5px 12px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.sidebar-tags a:hover { background: var(--ssff-blue); color: #fff; }
@media (max-width: 991.98px) {
  .article-sidebar { position: static; }
}
.article-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(30, 144, 207, .09);
  color: #1E90CF;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.article-tag-chip:hover { background: #1E90CF; color: #fff; }
.article-tag-chip.is-tag {
  background: #f3f5f7;
  color: #0e3a62;
  text-transform: none;
}
.article-tag-chip.is-tag:hover { background: #0e3a62; color: #fff; }

.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #eef0f4;
}
.article-share { display: flex; align-items: center; gap: 8px; }
.share-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .6px;
  color: rgba(6, 35, 59, .55);
  margin-inline-end: 4px;
}
.share-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(5, 26, 43, .18); color: #fff; }
.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #0f1419; }
.share-btn.wa { background: #25D366; }
.share-btn.tg { background: #229ED9; }

.btn-back-news {
  border: 0;
  border-radius: 50px;
  padding: 11px 24px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #0e3a62, #1E90CF);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-back-news:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 144, 207, .3); }
[dir='rtl'] .btn-back-news i,
[dir='rtl'] .news-index-cta i { transform: scaleX(-1); }

.related-news-horizontal {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 36px;
  border-top: 2px solid #eef0f4;
  position: relative;
}
.related-news-horizontal::before {
  content: "";
  position: absolute;
  top: -2px;
  inset-inline-start: 0;
  width: 120px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #F5EC25, #EC252C 55%, #009048);
}
.related-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #0e3a62;
}
.related-heading i { color: #1E90CF; font-size: 20px; }
.related-grid { margin: 0; }
.related-news-horizontal .news-index-cta { margin-top: 0; }
@media (max-width: 991.98px) {
  .related-news-horizontal { margin-top: 44px; }
}
.news-index-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 700;
  color: #0e3a62;
  background: #eef4fb;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.news-index-cta:hover { background: linear-gradient(120deg, #0e3a62, #1E90CF); color: #fff; }
@media (max-width: 991.98px) {
  .related-news-modern { position: static; }
}

/* ---------------------------------------------------------------------------
   Teams listing + team profile + players — QFA style
--------------------------------------------------------------------------- */
.section-heading .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ssff-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
  margin-bottom: 8px;
}
.section-heading .section-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ssff-gold), var(--ssff-red));
  display: inline-block;
}
.section-heading.text-center .section-eyebrow {
  justify-content: center;
}
.section-heading.text-center .section-eyebrow::before {
  display: none;
}
.section-heading h2 {
  font-weight: 800;
  color: var(--ssff-dark);
}
.section-heading.text-center h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ssff-red), var(--ssff-gold));
}
.section-heading > p {
  color: #5c6b77;
  max-width: 560px;
}
.section-heading.text-center > p {
  margin-inline: auto;
}

.teams-listing .teams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 28px;
}
@media (min-width: 768px) {
  .teams-listing .teams-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (min-width: 1200px) {
  .teams-listing .teams-grid { grid-template-columns: repeat(4, 1fr); }
}
.team-feature-card {
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(5, 26, 43, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(5, 26, 43, .16);
}
.team-feature-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.team-feature-link:hover { color: inherit; }
.tfc-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0e3a62;
}
.tfc-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.team-feature-card:hover .tfc-cover-img { transform: scale(1.06); }
.tfc-type {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #06233B;
  background: var(--ssff-gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
  backdrop-filter: blur(2px);
}
.tfc-logo {
  position: absolute;
  inset-inline-end: 14px;
  bottom: -22px;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  box-shadow: 0 8px 18px rgba(5, 26, 43, .28);
}
.tfc-body { padding: 30px 20px 22px; position: relative; }
.tfc-nick {
  display: block;
  color: var(--ssff-red);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}
.tfc-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--ssff-dark);
  margin-bottom: 10px;
}
.tfc-desc {
  color: #60707d;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.tfc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 12px 0;
  border-block: 1px solid #eef2f6;
  margin-bottom: 14px;
}
.tfc-meta span {
  font-size: 13px;
  color: #54636f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tfc-meta span i { color: var(--ssff-blue); }
.tfc-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ssff-blue);
  font-size: 14px;
  transition: gap .2s ease, color .2s ease;
}
.team-feature-card:hover .tfc-more { gap: 12px; color: var(--ssff-red); }
.tfc-more i { font-size: 12px; }

/* Team profile — stat band */
.team-info-band {
  margin-top: -4px;
  position: relative;
  z-index: 5;
  padding-bottom: 6px;
}
.team-stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(5, 26, 43, .14);
}
.team-stats-grid::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--ssff-gold), var(--ssff-red) 55%, var(--ssff-blue));
}
@media (min-width: 992px) {
  .team-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 26px 22px; }
}
@media (min-width: 992px) {
  .team-stats-grid.stat-count-5 { grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 26px 16px; }
  .team-stats-grid.stat-count-5 .tst-value { font-size: 13.5px; }
}
.team-stat-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 14px;
  border-inline-end: 1px solid #eef2f6;
}
.team-stat-tile:last-child { border-inline-end: 0; }
.team-stat-tile i { color: var(--ssff-gold); font-size: 22px; filter: drop-shadow(0 0 6px rgba(245, 236, 37, .4)); -webkit-text-stroke: .4px var(--ssff-red); }
.tst-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #8895a1;
}
.tst-value {
  font-weight: 800;
  color: var(--ssff-dark);
  font-size: 15px;
  line-height: 1.35;
}

/* About / honours */
.team-about-text { color: #46545f; font-size: 15px; line-height: 1.8; }
.honours-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ssff-dark);
  margin-bottom: 16px;
}
.honours-box h4 i { color: var(--ssff-gold); -webkit-text-stroke: .6px var(--ssff-red); filter: drop-shadow(0 0 5px rgba(245,236,37,.35)); }
.honour-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.honour-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2eaf2;
  border-radius: 14px;
  font-size: 14px;
  color: #33424e;
  box-shadow: 0 5px 14px rgba(5, 26, 43, .05);
  border-inline-start: 4px solid var(--ssff-blue);
  transition: transform .2s ease, box-shadow .2s ease;
}
.honour-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 22px rgba(5, 26, 43, .12);
}
[dir='rtl'] .honour-list li:hover { transform: translateX(-4px); }
.honour-list li i {
  color: var(--ssff-gold);
  -webkit-text-stroke: .5px var(--ssff-red);
  font-size: 18px;
  flex-shrink: 0;
}
.honour-list li span { line-height: 1.55; }
@media (min-width: 768px) {
  .honour-list { grid-template-columns: repeat(2, 1fr); }
}

/* Coach panel */
.coach-panel {
  position: relative;
  background: linear-gradient(160deg, #0a2f52 0%, #135a8f 70%, #1E90CF 130%);
  border-radius: 18px;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.coach-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 3;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--ssff-gold), var(--ssff-red) 55%, var(--ssff-blue));
}
.coach-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 6.4;
  overflow: hidden;
}
.coach-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 43, .15) 0%, rgba(6, 25, 43, .55) 100%);
}
.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.coach-id {
  position: relative;
  margin-top: -38px;
  text-align: center;
}
.coach-avatar {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 10px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #06233B;
  background: var(--ssff-gold);
  border: 4px solid #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}
.coach-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ssff-gold);
  margin-bottom: 4px;
}
.coach-id h3 {
  font-weight: 800;
  font-size: 21px;
  margin-bottom: 0;
}
.coach-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 16px 0;
  padding: 13px 11px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
}
.coach-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: start;
  padding-inline: 6px;
}
.coach-fact + .coach-fact:nth-child(even) {
  border-inline-start: 1px solid rgba(255, 255, 255, .16);
}
.cf-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ssff-gold);
}
.cf-value {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}
.coach-bio {
  padding: 14px 28px 30px;
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  line-height: 1.75;
  text-align: start;
}

/* Timeline */
.team-timeline {
  position: relative;
  margin: 0;
  padding-inline-start: 30px;
}
.team-timeline::before {
  content: "";
  position: absolute;
  inset: 6px auto 6px 8px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--ssff-gold), var(--ssff-red) 55%, var(--ssff-blue));
}
.tl-item {
  position: relative;
  padding: 0 0 26px 24px;
}
.tl-item::before {
  content: "";
  position: absolute;
  inset-inline-start: -27px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ssff-red);
  border: 3px solid var(--ssff-gold);
  box-shadow: 0 0 0 4px rgba(236, 37, 44, .15);
}
.tl-year {
  display: inline-block;
  font-weight: 800;
  color: var(--ssff-blue);
  background: #eaf2fa;
  border-radius: 50px;
  padding: 3px 14px;
  font-size: 13px;
  letter-spacing: .6px;
  margin-bottom: 8px;
}
.tl-content {
  background: #fff;
  border: 1px solid #e8eef4;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 8px 20px rgba(5, 26, 43, .06);
}
.tl-content p { margin: 0; color: #46545f; font-size: 15px; line-height: 1.7; }

/* Journey sidebar layout */
.journey-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}
@media (min-width: 992px) {
  .journey-layout {
    grid-template-columns: 340px 1fr;
    gap: 56px;
  }
}
.journey-side { min-width: 0; }
@media (min-width: 992px) {
  .journey-side { position: sticky; top: 110px; }
}
.journey-intro { color: #45545f; font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
.journey-photo {
  margin: 0 0 22px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 28px rgba(5, 26, 43, .16);
}
.journey-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}
.journey-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 25, 43, 0), rgba(6, 25, 43, .78));
}
.journey-photo-caption i { color: var(--ssff-gold); }
.journey-facts {
  display: grid;
  gap: 10px;
}
.jf-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #e6edf3;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #51606c;
}
.jf-item i {
  color: var(--ssff-blue);
  font-size: 17px;
  margin-top: 1px;
}
.jf-item strong {
  color: var(--ssff-dark);
  font-weight: 800;
  white-space: nowrap;
  min-width: 44px;
}
.journey-main { min-width: 0; }

/* Squad groups + player mini cards */
.position-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ssff-dark);
  margin-bottom: 18px;
}
.position-heading .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ssff-red);
  box-shadow: 0 0 0 4px rgba(236, 37, 44, .12);
}
.position-heading .count {
  margin-inline-start: auto;
  background: linear-gradient(120deg, #0e3a62, var(--ssff-blue));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding-inline: 8px;
}
.players-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) {
  .players-mini-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 1200px) {
  .players-mini-grid { grid-template-columns: repeat(5, 1fr); }
}
.pm-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(5, 26, 43, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(5, 26, 43, .15);
}
.pm-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.pm-card-link:hover { color: inherit; }
.pm-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, #0e3a62 0%, #135a8f 75%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pm-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}
.pm-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ssff-gold);
  text-shadow: 0 3px 14px rgba(0, 0, 0, .35);
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 236, 37, .16), transparent 45%),
    linear-gradient(150deg, #0e3a62 0%, #135a8f 75%);
}
.pm-card:hover .pm-figure img { transform: scale(1.07); }
.pm-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #06233B;
  background: var(--ssff-gold);
  letter-spacing: .5px;
}
.pm-number {
  position: absolute;
  inset-block-end: 8px;
  inset-inline-end: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: rgba(236, 37, 44, .92);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .28);
}
.pm-body { padding: 13px 14px 15px; }
.pm-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ssff-dark);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-body > span { color: var(--ssff-red); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.pm-body .pm-team { display: block; margin-top: 4px; font-style: normal; color: #8a98a4; font-size: 12px; }

/* Injury badge on player cards */
.pm-injury {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  background: var(--ssff-red);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
  z-index: 1;
}

/* Player card mini stats */
.pm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf1f4;
  gap: 6px;
}
.pm-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding-inline: 4px;
  position: relative;
}
.pm-stat + .pm-stat::before {
  content: "";
  position: absolute;
  inset: 1px auto 1px 0;
  width: 1px;
  background: #edf1f4;
}
.pm-stat .ps-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #8a98a4;
}
.pm-stat strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--ssff-dark);
  line-height: 1;
}

/* Year filter select on players toolbar */
.year-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50px;
}
.year-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 30px 7px 14px;
  cursor: pointer;
}
.year-select select option { color: var(--ssff-dark); }
.year-select::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, .85);
  border-bottom: 2px solid rgba(255, 255, 255, .85);
  transform: rotate(45deg);
  position: absolute;
  inset-inline-end: 12px;
  margin-top: -3px;
  pointer-events: none;
}

/* Section headings with eyebrow inside flex row (no pseudo underline) */
.d-flex .section-heading h2::after { display: none; }

/* Empty squad */
.empty-squad-ico {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  font-size: 28px;
  color: var(--ssff-blue);
  background: #eaf2fa;
  margin-bottom: 16px;
}
.empty-squad p { color: #5c6b77; }

/* Players toolbar */
.players-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 6px;
  background: linear-gradient(120deg, #0e3a62 0%, #135a8f 55%, #1E90CF 130%);
  box-shadow: 0 10px 26px rgba(5, 26, 43, .16);
  position: relative;
  overflow: hidden;
}
.players-toolbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 0;
  background: linear-gradient(90deg, #F5EC25, #EC252C 55%, #009048);
}
.team-pills { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; }
.team-pills .pill {
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.team-pills .pill:hover { background: rgba(255, 255, 255, .22); }
.team-pills .pill.active {
  background: var(--ssff-gold);
  color: #06233B;
  border-color: var(--ssff-gold);
}
.players-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 50px;
  padding: 4px 8px 4px 16px;
  min-width: 240px;
  flex: 0 1 300px;
}
.players-search i { color: #9aa7b2; }
.players-search input {
  border: 0;
  outline: none;
  background: transparent;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--ssff-dark);
}
.players-search .search-clear {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--ssff-red);
  font-size: 12px;
  text-decoration: none;
}
.players-total {
  color: #5c6b77;
  font-size: 14px;
}

/* Fixtures rows */
.fixtures-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--ssff-dark);
  margin: 30px 0 14px;
}
.fixture-list { display: grid; gap: 12px; }
.fixture-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 18px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 6px 18px rgba(5, 26, 43, .06);
  border-inline-start: 4px solid var(--ssff-blue);
}
.fixture-row > .fx-comp { grid-column: 2; }
.fixture-row > .fx-match { grid-column: 3; grid-row: 1; }
.fixture-row > .fx-venue { grid-column: 2 / 4; color: #7b8a96; font-size: 13px; }
.fixture-row > .fx-badge { grid-column: 3; grid-row: 1; justify-self: end; }
@media (min-width: 768px) {
  .fixture-row { grid-template-columns: 92px 1fr auto auto auto; }
  .fixture-row > .fx-comp { grid-column: 2; }
  .fixture-row > .fx-match { grid-column: 3; grid-row: 1; }
  .fixture-row > .fx-venue { grid-column: 4; grid-row: 1; }
  .fixture-row > .fx-badge { grid-column: 5; grid-row: 1; }
}
.fx-date { font-size: 13px; font-weight: 700; color: var(--ssff-blue); white-space: nowrap; }
.fx-comp { color: #7b8a96; font-size: 13px; }
.fx-match { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.fx-match strong { font-weight: 700; }
.fx-vs { color: var(--ssff-red); font-weight: 800; font-size: 13px; }
.fx-badge { background: #eaf2fa !important; color: var(--ssff-blue) !important; font-weight: 700; }

/* Browse squads chips */
.teams-nav-sec { padding-bottom: 70px; }
.teams-nav-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(5, 26, 43, .08);
  overflow: hidden;
}
.teams-nav-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--ssff-gold), var(--ssff-red) 55%, var(--ssff-blue));
}
.teams-nav-inner > span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 13px;
  color: var(--ssff-dark);
  white-space: nowrap;
}
.teams-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.teams-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 50px;
  border: 1px solid #e2e9f0;
  background: #f7fafc;
  color: #33424e;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.teams-chips .chip img { width: 30px; height: 30px; object-fit: contain; border-radius: 50%; background: #fff; padding: 2px; }
.teams-chips .chip:hover { border-color: var(--ssff-blue); color: var(--ssff-blue); }
.teams-chips .chip.active {
  background: linear-gradient(120deg, #0e3a62, var(--ssff-blue));
  border-color: transparent;
  color: #fff;
}
.teams-chips .chip.active img { background: #fff; }

/* RTL arrow flips */
[dir="rtl"] .tfc-more i,
[dir="rtl"] .fixture-row .fx-venue,
[dir="rtl"] .team-squad-sec .btn i { transform: scaleX(-1); }

/* ---------------------------------------------------------------------------
   Footer newsletter + equal-height columns
--------------------------------------------------------------------------- */
.footer-links-horizontal .footer-link-box {
  display: flex;
  flex-direction: column;
}
.footer-links-horizontal .footer-links { display: flex; flex: 1; }
.footer-links-horizontal .footer-links ul { width: 100%; }
@media (max-width: 1199.98px) {
  .footer-links-horizontal .footer-link-box { flex: 1 1 calc(33.333% - 36px); min-width: 170px; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .footer-links-horizontal .footer-link-box { max-width: 31%; }
}
@media (max-width: 767.98px) {
  .footer-links-horizontal .footer-link-box { flex: 1 1 calc(50% - 24px); min-width: 0; }
}
@media (max-width: 575.98px) {
  .footer-links-horizontal .footer-link-box { flex: 1 1 calc(50% - 24px); min-width: 0; }
  .footer-links-horizontal { gap: 26px 20px; margin-top: 30px; padding-top: 26px; }
  .footer-links-horizontal .footer-link-box .footer-title { margin-bottom: 14px; }
  .footer-links-horizontal .footer-links li { margin-bottom: 10px; }
  .footer-links-horizontal .footer-links a { font-size: 13.5px; }
}
.footer-newsletter {
  margin-top: 0;
  padding: 30px 32px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(14, 58, 98, .65), rgba(30, 144, 207, .45));
  border: 1px solid rgba(255, 255, 255, .14);
}
.newsletter-bar {
  background: linear-gradient(115deg, #071f36 0%, #0d3c66 55%, #0a2b49 100%);
  padding-block: 56px 32px;
}
.newsletter-bar + .footer-section .footer-top { padding-top: 48px; }
.footer-newsletter::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #F5EC25, #EC252C 55%, #009048);
}
.fn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 30px;
}
.fn-info { flex: 1 1 260px; }
.fn-info h4 {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 6px;
}
.fn-info h4 i { color: var(--ssff-gold); }
.fn-info p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 14px; }
.fn-form { flex: 1 1 400px; }
.fn-input {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: 50px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.fn-input i { color: #9aa7b2; }
.fn-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font-size: 14px;
  color: var(--ssff-dark);
  background: transparent;
}
.fn-input .btn {
  background: linear-gradient(120deg, #0e3a62, var(--ssff-blue));
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding-inline: 26px;
  white-space: nowrap;
}
.fn-input .btn:hover { background: var(--ssff-red); }
.fn-msg { display: block; font-size: 13px; margin-top: 8px; padding-inline-start: 6px; }
.fn-msg.ok { color: #8be9a8; }
.fn-msg.err { color: var(--ssff-gold); }
@media (max-width: 991.98px) {
  .footer-newsletter { padding: 26px 22px; }
  .fn-input .btn { padding-inline: 18px; }
}
@media (max-width: 479.98px) {
  .fn-input { flex-wrap: wrap; padding: 10px; border-radius: 18px; gap: 8px; }
  .fn-input input { flex: 1 1 100%; padding-inline: 8px; }
  .fn-input .btn { width: 100%; }
}

/* ---------------------------------------------------------------------------
   Widen content containers — reduce empty side gutters on wide screens
--------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .container-lg,
  .container {
    max-width: calc(100% - 32px);
  }
}
@media (min-width: 1600px) {
  .container-lg,
  .container {
    max-width: calc(100% - 48px);
  }
}

/* ---------------------------------------------------------------------------
   Fixtures & Results page enhancements
--------------------------------------------------------------------------- */
.fx-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) { .fx-stats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.fx-stat {
  background: #fff;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(5, 26, 43, .07);
  border-block-start: 3px solid var(--ssff-red);
}
.fx-stat > i {
  display: block;
  font-size: 24px;
  color: var(--ssff-blue);
  margin-bottom: 8px;
  -webkit-text-stroke: .4px var(--ssff-gold);
}
.fx-stat-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--ssff-dark);
  line-height: 1;
}
.fx-stat-txt {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ssff-dark);
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.next-match-card {
  background: linear-gradient(120deg, #0d3c66, #135a8f);
  border-radius: 20px;
  padding: 28px 22px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(5, 26, 43, .22);
}
.next-match-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #F5EC25, #EC252C 55%, #009048);
}
.next-match-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #F5EC25;
}
.next-match-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.next-team { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 120px; }
.next-team img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.next-team span { font-weight: 700; font-size: 14px; text-align: center; line-height: 1.25; }
.next-center { flex: 1 1 260px; }
.next-vs {
  width: 52px; height: 52px; margin: 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #F5EC25; color: #06233B; font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.next-comp { font-size: 13px; opacity: .85; text-transform: uppercase; letter-spacing: .5px; }
.next-meta { font-size: 14px; color: #F5EC25; font-weight: 600; }
.next-venue { margin-bottom: 0; font-size: 13.5px; opacity: .85; }
.next-venue i { color: #F5EC25; }
.next-count {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nc-box {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 62px;
}
.nc-box b { display: block; font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.nc-box small { display: block; margin-top: 5px; font-size: 10.5px; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .6px; }
.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--ssff-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-inline-start: 6px;
}
.fx-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.fx-chip {
  border: 1px solid rgba(13, 60, 102, .25);
  background: #fff;
  color: var(--ssff-dark);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all .18s ease;
}
.fx-chip:hover { border-color: var(--ssff-dark); }
.fx-chip.active { background: var(--ssff-dark); color: #fff; border-color: var(--ssff-dark); }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ssff-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.live-badge i { animation: ssff-blink 1.1s ease-in-out infinite; }
@keyframes ssff-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------------------------------------------------------------------------
   Staff / board / management cards
--------------------------------------------------------------------------- */
.staff-group {
  padding-bottom: 12px;
}
.staff-group + .staff-group {
  margin-top: 48px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .staff-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
@media (min-width: 1200px) {
  .staff-grid { grid-template-columns: repeat(4, 1fr); }
}
.staff-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(5, 26, 43, .09);
  transition: transform .22s ease, box-shadow .22s ease;
}
.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(5, 26, 43, .16);
}
.staff-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.staff-card--link .staff-body h3 { color: var(--ssff-text, #0e2a47); }

/* Staff profile page */
.sp-profile { background: var(--ssff-surface, #fff); }
.sp-photo {
  max-width: 300px;
  border-radius: 16px;
  aspect-ratio: 4 / 4.6;
}
.sp-facts {
  margin-top: 18px;
  border: 1px solid var(--ssff-border, #e3e9ef);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ssff-surface, #fff);
}
.sp-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
}
.sp-fact + .sp-fact { border-top: 1px solid var(--ssff-border, #e3e9ef); }
.sp-fact span { color: var(--ssff-text-soft, #5c6770); font-size: 13px; font-weight: 600; }
.sp-fact strong { font-weight: 700; text-align: end; }
.sp-bio { color: var(--ssff-text-soft, #5a6675); font-size: 16px; line-height: 1.85; }
.sp-subhead { font-weight: 800; font-size: 19px; margin: 28px 0 14px; }
.sp-list { grid-template-columns: 1fr; }
.staff-photo {
  margin: 0;
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(160deg, #0e3a62 0%, #135a8f 80%);
  overflow: hidden;
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}
.staff-card:hover .staff-photo img { transform: scale(1.05); }
.staff-body {
  padding: 16px 18px 20px;
  position: relative;
}
.staff-body::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 18px;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #F5EC25, #EC252C 55%, #009048);
}
.staff-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ssff-dark);
  margin: 10px 0 5px;
  line-height: 1.3;
}
.staff-body span {
  color: var(--ssff-red);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ---------------------------------------------------------------------------
   Player profile page — modern layout
--------------------------------------------------------------------------- */
.player-hero {
  position: relative;
  padding: 54px 0 78px;
  background: linear-gradient(140deg, #0a2340 0%, #0e3a62 55%, #135a8f 130%);
  overflow: hidden;
}
.player-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.player-hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 47, .94) 0%, rgba(10, 35, 64, .82) 45%, rgba(10, 35, 64, .35) 100%),
    linear-gradient(0deg, rgba(7, 27, 47, .55), rgba(7, 27, 47, .1));
  pointer-events: none;
}
.player-hero .container-lg { position: relative; z-index: 2; }
.player-hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.player-hero-photo-box {
  position: relative;
  flex-shrink: 0;
}
.player-hero-photo {
  width: 190px;
  height: 190px;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
  background: linear-gradient(150deg, #135a8f, #1E90CF);
  border: 4px solid rgba(255, 255, 255, .28);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .4);
}
.player-hero-avatar {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 236, 37, .25), transparent 50%),
    linear-gradient(150deg, #0e3a62, #135a8f 75%);
  color: var(--ssff-gold);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 2px;
}
.player-hero-number {
  position: absolute;
  inset-block-end: -10px;
  inset-inline-end: -12px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ssff-gold);
  color: #06233B;
  font-weight: 900;
  font-size: 20px;
  border: 3px solid #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}
.player-hero-injury {
  position: absolute;
  inset-block-start: -10px;
  inset-inline-start: -10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #fff;
  background: var(--ssff-red);
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
}
.player-hero-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ssff-gold);
  margin-bottom: 12px;
}
.player-hero-eyebrow a { color: var(--ssff-gold); text-decoration: underline; text-underline-offset: 4px; }
.player-hero-title {
  color: #fff;
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.player-hero-meta {
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  margin-bottom: 22px;
}
.player-hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ph-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(4px);
}
.ph-chip i { color: var(--ssff-gold); font-size: 15px; }
.ph-chip > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.ph-chip strong { color: #fff; font-size: 15px; font-weight: 800; }
.ph-chip span span { color: rgba(255, 255, 255, .68); font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; }

.player-stats-band {
  position: relative;
  z-index: 3;
  margin-top: -30px;
  padding-bottom: 46px;
}
.player-stats-band .team-stats-grid {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 46px rgba(5, 26, 43, .14);
}
.player-stats-band .team-stat-tile { gap: 6px; padding: 18px 14px; }

.player-profile-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(5, 26, 43, .1);
  border: 1px solid #edf1f6;
  padding: 8px 26px;
}
.pp-fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f6;
}
.pp-fact:last-child { border-bottom: 0; }
.pp-fact > span { color: #7b8a96; font-size: 13.5px; }
.pp-fact > strong { color: var(--ssff-dark); font-size: 14.5px; font-weight: 700; text-align: end; }
.badge-fit,
.badge-injury {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.badge-fit { color: #0b7a4b; background: #e6f7ef; }
.badge-injury { color: #a4162e; background: #fdecef; }

.player-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 42px;
  row-gap: 34px;
}
.player-split-side,
.player-split-main { flex: 0 0 auto; width: 100%; }
@media (min-width: 992px) {
  .player-split-side { width: 40%; }
  .player-split-main { width: calc(60% - 42px); }
}

@media (min-width: 992px) {
  .player-hero-layout {
    flex-direction: row;
    align-items: center;
    gap: 44px;
    text-align: start;
  }
  .player-hero-photo { width: 220px; height: 220px; }
  .player-hero-eyebrow { justify-content: flex-start; }
  .player-hero-chips { justify-content: flex-start; }
}

/* contact secretariat hours */
.contact-workhours {
  background: #fff8f0;
  border: 1px solid rgba(217, 35, 47, .18);
  border-radius: 12px;
  padding: 14px 16px;
}
.contact-workhours h5 {
  color: #d9232f;
  font-size: 15px;
  font-weight: 700;
}
.contact-workhours p {
  font-size: 13.5px;
  color: #555;
}
.map-container { border-radius: 12px; overflow: hidden; }
.map-container iframe { display: block; }

/* footer bottom single-line legal + separation */
.footer-section .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 20px;
}
.footer-section .footer-bottom .footer-bottom-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer-section .footer-bottom .footer-legal { white-space: normal; }
@media (min-width: 768px) {
  .footer-section .footer-bottom .footer-bottom-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .footer-section .footer-bottom .footer-legal { white-space: nowrap; }
}

/* ===== Tenders page ===== */
.tenders-intro {
  background: #fff;
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 38px);
  box-shadow: 0 24px 60px rgba(5, 26, 43, .07);
}
.tenders-intro p { font-size: 16.5px; line-height: 1.9; color: rgba(6, 35, 59, .88); margin-bottom: 0; }
.tenders-intro p + p { margin-top: 14px; }
.tenders-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .tenders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .tenders-grid { grid-template-columns: repeat(3, 1fr); } }
.tender-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(5, 26, 43, .07);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  border-block-start: 3px solid var(--ssff-red);
}
.tender-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tender-type {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px;
  color: var(--ssff-blue); background: #eef6fd; padding: 5px 12px; border-radius: 50px;
}
.tender-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  padding: 5px 12px; border-radius: 50px;
}
.tender-closed { background: #ffedeb; color: #c62828; }
.tender-title { font-size: 17px; line-height: 1.45; font-weight: 800; color: var(--ssff-dark); margin: 0 0 14px; }
.tender-title a { color: inherit; text-decoration: none; transition: color .15s ease; }
.tender-title a:hover { color: var(--ssff-blue); }
.tender-facts { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tender-facts li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #5c6f82; font-weight: 600; }
.tender-facts li i { color: #1E90CF; margin-top: 2px; }
.tender-docs { background: #f7fafd; border: 1px dashed #dbe7f2; border-radius: 12px; padding: 14px; margin-bottom: 20px; }
.tender-docs-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--ssff-dark); margin-bottom: 10px; }
.tender-docs-label i { color: var(--ssff-red); }
.tender-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.tender-thumb {
  display: block;
  width: 82px; height: 112px;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(5, 26, 43, .14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tender-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tender-thumb:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(5, 26, 43, .22); }
.tender-docs-hint { margin: 10px 0 0; font-size: 11.5px; color: #8a9bab; }
.btn-tender-outline {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--ssff-blue); color: var(--ssff-blue);
  border-radius: 50px; padding: 9px 20px;
  font-size: 13.5px; font-weight: 800; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.btn-tender-outline:hover { background: var(--ssff-blue); color: #fff; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(5, 26, 43, .06);
  padding: 26px 22px 22px;
  overflow: hidden;
  border-block-start: 3px solid var(--ssff-gold);
}
.step-num {
  position: absolute;
  top: -14px; inset-inline-end: 8px;
  font-size: 56px; font-weight: 900; line-height: 1;
  color: rgba(13, 58, 98, .08);
  pointer-events: none;
}
.step-ico {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ssff-blue), #135a8f);
  color: #fff; font-size: 21px;
  margin-bottom: 14px;
}
.step-card h4 { font-size: 16.5px; font-weight: 800; color: var(--ssff-dark); margin: 0 0 8px; }
.step-card p { font-size: 13.5px; line-height: 1.65; color: #5c6f82; margin: 0; }
.tenders-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  background: linear-gradient(120deg, #0d3c66, #135a8f);
  border-radius: 20px;
  padding: 26px 28px;
  color: #fff;
  box-shadow: 0 16px 34px rgba(5, 26, 43, .18);
}
.tenders-cta-ico {
  display: grid; place-items: center;
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  background: #F5EC25; color: #06233B;
  font-size: 24px;
}
.tenders-cta-text { flex: 1 1 300px; min-width: 220px; }
.tenders-cta-text h3 { font-size: 18px; font-weight: 800; margin: 0 0 4px; color: #F5EC25; }
.tenders-cta-text p { font-size: 13.5px; opacity: .88; margin: 0; line-height: 1.6; }
.btn-tender-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F5EC25; color: #06233B;
  border-radius: 50px; padding: 11px 22px;
  font-size: 13.5px; font-weight: 800; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-tender-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }

/* ---------------------------------------------------------------------------
   Team profile — spacing pass (more breathing room)
--------------------------------------------------------------------------- */
/* Top-level team sections: taller vertical rhythm */
.team-journey-sec,
.team-squad-sec,
.team-news-sec,
.team-coachstaff-sec,
.team-fixtures-sec {
  padding: 78px 0;
}
.team-squad-sec .container-lg > .d-flex { margin-bottom: 34px; }
.team-news-sec .container-lg > .d-flex,
.team-coachstaff-sec .container-lg > .section-heading,
.team-fixtures-sec .container-lg > .section-heading { margin-bottom: 36px; }

/* Stat band */
.team-info-band { padding-bottom: 12px; }
.team-stats-grid { gap: 12px; padding: 22px; border-radius: 20px; }
@media (min-width: 992px) {
  .team-stats-grid { gap: 10px; padding: 30px 28px; }
  .team-stats-grid.stat-count-5 { gap: 8px; padding: 30px 22px; }
}
.team-stat-tile { gap: 7px; padding: 10px 20px; }
.tst-label { letter-spacing: 1.2px; }

/* About / honours */
.team-about-text p + p { margin-top: 1.15rem; }
.honours-box h4 { margin-bottom: 20px; }
.honour-list { gap: 22px; }
.honour-list li { padding: 18px 20px 22px; gap: 13px; }

/* Coach panel */
.coach-id { margin-top: -48px; }
.coach-avatar { margin-bottom: 16px; }
.coach-eyebrow { margin-bottom: 8px; }
.coach-id h3 { margin-top: 2px; }
.coach-facts { gap: 14px 12px; margin: 24px 26px 0; padding: 20px 18px; }
.coach-fact { gap: 5px; padding-inline: 10px; }
.coach-bio { padding: 18px 32px 36px; line-height: 1.85; }

/* Timeline */
.team-timeline { padding-inline-start: 34px; }
.team-timeline::before { inset-inline-start: 9px; }
.tl-item { padding: 0 0 36px 28px; }
.tl-item::before { inset-inline-start: -30px; }
.tl-year { margin-bottom: 12px; padding: 4px 16px; }
.tl-content { padding: 20px 26px; }

/* Journey sidebar */
.journey-layout { gap: 42px; }
@media (min-width: 992px) {
  .journey-layout { gap: 64px; }
}
.journey-intro { margin-bottom: 28px; }
.journey-photo { margin-bottom: 28px; }
.journey-facts { gap: 14px; }
.jf-item { padding: 15px 18px; }

/* Squad groups + player cards */
.position-heading { gap: 12px; margin-bottom: 24px; }
.players-mini-grid { gap: 18px; }
@media (min-width: 768px) {
  .players-mini-grid { gap: 24px; }
}
.pm-body { padding: 18px 20px 22px; }
.pm-body h4 { margin-bottom: 3px; }
.pm-body .pm-team { margin-top: 6px; }

/* Fixtures */
.fixtures-title { margin: 44px 0 18px; }
.fixture-list { gap: 14px; }
.fixture-row { gap: 10px 22px; padding: 18px 24px; }

/* Browse squads chips */
.teams-nav-sec { padding-top: 12px; padding-bottom: 88px; }
.teams-nav-inner { gap: 16px 26px; padding: 24px 28px; }
.teams-chips { gap: 12px; }

/* Coaching staff cards */
.staff-grid { gap: 20px; }
@media (min-width: 768px) {
  .staff-grid { gap: 26px; }
}
.staff-body { padding: 22px 24px 28px; }

/* ---------------------------------------------------------------------------
   Squad sheet UI (team pages) — season filter, captain, distinct squad rows
--------------------------------------------------------------------------- */
.squad-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-block-end: 34px;
  padding: 14px 18px;
  background: #f4f7fa;
  border: 1px solid #e4ecf3;
  border-radius: 16px;
}
.sq-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #5a6675;
}
.sq-filter-label i { color: var(--ssff-gold, #F2C14E); -webkit-text-stroke: .5px var(--ssff-red, #8C0321); }
.squad-year-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sypill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #33424e;
  background: #fff;
  border: 1.5px solid #d8e2eb;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.sypill:hover {
  color: #06233B;
  border-color: var(--ssff-gold, #F2C14E);
  transform: translateY(-2px);
  text-decoration: none;
}
.sypill.active {
  background: linear-gradient(120deg, #F5EC25, #F2C14E);
  color: #06233B;
  border-color: var(--ssff-gold, #F2C14E);
  box-shadow: 0 8px 18px rgba(242, 193, 78, .35);
}

.squad-captain-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
  margin-block-start: 2px;
  padding: 8px 16px 8px 10px;
  border-radius: 14px;
  background: linear-gradient(120deg, #fdf3c7, #f9e29b);
  border: 1px solid rgba(242, 193, 78, .55);
}
.squad-captain-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0E2A47;
  color: var(--ssff-gold, #F2C14E);
  font-weight: 800;
  font-size: 14px;
}
.squad-captain-info { display: flex; flex-direction: column; line-height: 1.25; }
.squad-captain-info .sq-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #8a6d06;
}
.squad-captain-info strong { font-size: 15px; font-weight: 800; color: #0E2A47; }
.squad-captain-role {
  font-size: 12px;
  font-weight: 700;
  color: #6b5610;
  background: rgba(255, 255, 255, .6);
  padding: 4px 12px;
  border-radius: 999px;
}

.squad-cards { align-items: stretch; }
.squad-cards .pm-card { display: flex; }
.squad-cards .pm-card .pm-card-link { flex: 1 1 auto; display: flex; flex-direction: column; }
.squad-cards .pm-card.has-captain {
  border: 2px solid rgba(242, 193, 78, .75);
  box-shadow: 0 12px 26px rgba(242, 193, 78, .18);
}
.has-captain .pm-figure {
  box-shadow: inset 0 -4px 0 var(--ssff-gold, #F2C14E);
}
.pm-cap {
  background: linear-gradient(120deg, #F5EC25, #F2C14E) !important;
  color: #06233B !important;
  box-shadow: 0 0 0 3px rgba(242, 193, 78, .35);
}
.pm-cap-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 236, 37, .5);
  color: #7c6000;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  vertical-align: 2px;
}
.pm-clubline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: 9px;
}
.pm-club,
.pm-country {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-club { color: #0E2A47; background: #eef3f8; }
.pm-club i { color: var(--ssff-gold, #F2C14E); -webkit-text-stroke: .4px var(--ssff-red, #8C0321); }
.pm-country { color: #24608a; background: #e8f1f8; }
.pm-country i { color: #1E90CF; }
.pm-body .pm-clubline + .pm-stats { margin-top: 14px; }

@media (max-width: 767.98px) {
  .squad-captain-role { display: none; }
  .squad-captain-box { width: 100%; margin-inline-start: 0; }
  .squad-captain-info { flex: 1 1 auto; }
  .pm-clubline { gap: 5px; }
  .pm-club, .pm-country { padding: 3px 9px; font-size: 10px; }
}

/* ---------------------------------------------------------------------------
   Coach section enhancement (team pages)
--------------------------------------------------------------------------- */
.coach-photo { display: grid; place-items: center; }
.coach-hero-letters {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--ssff-gold, #F2C14E);
  text-shadow: 0 4px 22px rgba(0, 0, 0, .4);
  background:
    radial-gradient(ellipse at 25% 20%, rgba(245, 236, 37, .22), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(30, 144, 207, .35), transparent 50%),
    linear-gradient(150deg, #0a2f52 0%, #135a8f 85%);
}
.coach-ribbon {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #F5EC25, #F2C14E);
  color: #06233B;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
}
.coach-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(245, 236, 37, .4);
  color: var(--ssff-gold, #F2C14E);
  font-size: 12px;
  font-weight: 700;
}
.coach-id { display: flex; flex-direction: column; align-items: center; }
.coach-id-main { display: flex; flex-direction: column; align-items: center; }
.coach-quote {
  position: relative;
  margin: 0;
  padding: 6px 30px 26px;
  text-align: start;
}
.coach-quote::before {
  content: "\201C";
  position: absolute;
  inset: 0 auto auto 22px;
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--ssff-gold, #F2C14E);
  opacity: .9;
}
.coach-quote .coach-bio { padding: 18px 0 0 34px; }
.coach-sign {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.coach-sign strong { color: var(--ssff-gold, #F2C14E); font-size: 14px; font-weight: 800; }
.coach-sign span { color: rgba(255, 255, 255, .7); font-size: 12px; }
.coach-avatar-empty {
  color: rgba(255, 255, 255, .75) !important;
  background: linear-gradient(150deg, #123 0%, #0a2f52 100%) !important;
  border: 4px dashed rgba(242, 193, 78, .55) !important;
  box-shadow: none !important;
}
.coach-bio-pending {
  padding: 18px 30px 34px !important;
  color: rgba(255, 255, 255, .72) !important;
  font-style: italic;
}
.coach-panel-empty::before { background: linear-gradient(90deg, #F2C14E, #fff 55%, #F2C14E); }

/* Coaching staff cards */
.staff-photo-letters {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 28% 18%, rgba(245, 236, 37, .2), transparent 55%),
    linear-gradient(150deg, #0a2f52 0%, #135a8f 85%);
}
.staff-letters {
  font-size: clamp(46px, 4vw, 64px);
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--ssff-gold, #F2C14E);
  text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  transition: transform .3s ease;
}
.staff-card:hover .staff-letters { transform: scale(1.08); }
.staff-role {
  color: var(--ssff-gold, #ae8a1f) !important;
  font-size: 11px;
  letter-spacing: 1.1px;
}

/* ---------------------------------------------------------------------------
   Referee staff stats (age / matches officiated / experience)
--------------------------------------------------------------------------- */
.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.staff-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 6px;
  text-align: center;
  background: #f4f7fa;
  border-radius: 10px;
  border: 1px solid #e9eff4;
  min-width: 0;
}
.staff-stat span {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .7px !important;
  color: var(--ssff-gold, #ae8a1f) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.staff-stat strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--ssff-dark, #0E2A47);
  line-height: 1.3;
}

/* ---------------------------------------------------------------------------
   Footer partners/sponsors — 3-column tile box beside Contact Us
--------------------------------------------------------------------------- */
.footer-sponsors-box .footer-title { margin-bottom: 16px; }
.sponsor-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 78px;
  padding: 10px 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: background 250ms ease, transform 250ms ease, border-color 250ms ease;
}
.sponsor-item:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(245, 236, 37, .45);
  transform: translateY(-2px);
  text-decoration: none;
}
.sponsor-name {
  font-weight: 800;
  color: #fff;
  font-size: 12px;
  letter-spacing: .4px;
  line-height: 1.3;
}
.footer-sponsors-box .footer-brand-logo {
  max-height: 38px;
  max-width: 100%;
  object-fit: contain;
  opacity: .88;
}
.sponsor-item:hover .footer-brand-logo { opacity: 1; }
@media (max-width: 991.98px) {
  .sponsor-grid3 { grid-template-columns: repeat(3, 1fr); }
}
.sponsor-role {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  line-height: 1.25;
  color: #F5EC25;
  margin-top: auto;
}
.sponsor-item { padding: 12px 6px; min-height: 88px; }
.sponsor-item .footer-brand-logo { margin-bottom: 2px; }

/* active section highlight */
.navbar .nav-item .dropdown-menu-wrap ul li a.active-link {
  color: #F5EC25;
  font-weight: 800;
}
.sponsor-note {
  margin-top: 14px;
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .6);
}

/* footer sponsors meta */
.sponsor-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  display: grid;
  gap: 6px;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .75);
}
.sponsor-meta-row { display: flex; align-items: flex-start; gap: 10px; }
.sponsor-meta-row i { color: #F5EC25; font-size: .95rem; margin-top: 1px; }
.sponsor-meta-txt { display: grid; gap: 1px; line-height: 1.35; }
.sponsor-meta-label { font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .5); }
.sponsor-meta-txt strong { font-size: .9rem; color: #fff; font-weight: 700; }
.sponsor-meta-sub { font-size: .75rem; color: rgba(255, 255, 255, .55); }
.sponsor-clock { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.power-link { color: rgba(255, 255, 255, .75); text-decoration: none; }
.power-link:hover { color: #F5EC25; }

/* footer contact richer rows */
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-row > i { color: #F5EC25; font-size: .95rem; margin-top: 2px; }
.footer-contact-txt { display: grid; gap: 1px; line-height: 1.45; }
.footer-contact-label {
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .5);
}
.footer-contact-value { color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none; }
.footer-contact-value:hover { color: #F5EC25; }
.footer-contact-extra {
  font-size: .75rem;
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
}
.footer-contact-extra:hover { color: #F5EC25; }

/* ===== Footer facelift ===== */
.footer-section { background: linear-gradient(165deg, #0c2f52 0%, #071e35 55%, #051523 100%); }
.footer-section::before { background: linear-gradient(90deg, #F5EC25 0%, #009048 48%, #1E90CF 100%); }

.footer-section .footer-title { color: #fff; font-size: 17px; letter-spacing: .6px; }
.footer-section .footer-title::after {
  background: linear-gradient(90deg, #F5EC25, rgba(245, 236, 37, 0));
  width: 46px;
}

.footer-section .footer-desc p { color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.8; }
.footer-section .footer-social-icons .banner-icon3 {
  background: rgba(245, 236, 37, .1);
  border-color: rgba(245, 236, 37, .35);
}
.footer-section .footer-social-icons { margin-top: 18px; }
.footer-section .footer-social-icons .banner-icon3:hover { background: #F5EC25; border-color: #F5EC25; }

/* brand column: affiliation chips */
.footer-affiliations { margin-top: 20px; }
.footer-affil-label {
  display: block;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 8px;
}
.footer-affil-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-affil-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 7px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
}
[data-theme="dark"] .footer-affil-chip { background: rgba(255, 255, 255, .06); }

/* contact rows: icon chips */
.footer-contact-row { gap: 12px; margin-bottom: 14px; }
.footer-contact-row > i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(245, 236, 37, .12);
  border: 1px solid rgba(245, 236, 37, .18);
  margin-top: 0;
  font-size: .95rem;
}
.footer-contact-label { color: rgba(255, 255, 255, .55); letter-spacing: .09em; }
.footer-contact-value { font-size: .9rem; font-weight: 700; }
.footer-contact-extra { opacity: .85; }

/* sponsor tiles */
.sponsor-item {
  gap: 7px;
  min-height: 112px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.sponsor-item:hover { background: rgba(255, 255, 255, .11); border-color: #F5EC25; transform: translateY(-3px); }
.footer-sponsors-box .footer-brand-logo {
  width: 100%;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  opacity: 1;
}
.sponsor-name { font-size: 11.5px; }
.sponsor-role { letter-spacing: .8px; font-size: 8.5px; color: #F5EC25; }

/* sponsors meta as card */
.sponsor-meta {
  margin-top: 16px;
  padding: 14px 15px 10px;
  background: rgba(0, 0, 0, .24);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  gap: 9px;
}
.sponsor-meta-label { color: rgba(255, 255, 255, .55); }
.sponsor-meta-txt strong { font-size: .95rem; }
.sponsor-meta-sub { color: rgba(255, 255, 255, .6); }

/* equal column heights + separators on desktop */
@media (min-width: 992px) {
  .footer-top .footer-col-contact,
  .footer-top .footer-col-sponsors {
    border-inline-start: 1px solid rgba(255, 255, 255, .09);
    padding-inline-start: clamp(20px, 2.2vw, 40px);
    padding-inline-end: clamp(20px, 2.2vw, 40px);
  }
  .footer-top .footer-col-brand,
  .footer-top .footer-col-contact,
  .footer-top .footer-col-sponsors { display: flex; flex-direction: column; }
  .footer-top .footer-brand,
  .footer-top .footer-contact-box,
  .footer-top .footer-sponsors-box { display: flex; flex-direction: column; flex: 1; }
  .footer-top .footer-brand { justify-content: space-between; }
  .footer-top .footer-sponsors-box .sponsor-meta { margin-top: auto; }
}

/* bottom bar */
.footer-section .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .3);
  padding-block: 20px;
}
.footer-section .footer-bottom .power-link { color: #F5EC25; font-weight: 600; }
.footer-section .footer-bottom .power-link:hover { text-decoration: underline; }

/* footer sponsors meta: horizontal 2x2 stat cells */
.sponsor-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px;
}
.sponsor-meta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  margin: 0;
}
.sponsor-meta-row i { margin: 0; font-size: 1.05rem; }
.sponsor-meta-txt { gap: 2px; line-height: 1.4; }
.sponsor-meta-label { font-size: .64rem; }
.sponsor-meta-txt strong { font-size: .9rem; }
.sponsor-meta-sub { font-size: .73rem; }
@media (max-width: 575.98px) {
  .sponsor-meta { grid-template-columns: 1fr; }
}

/* footer sponsors meta: single horizontal row */
.sponsor-meta {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.sponsor-meta-row { padding: 10px 9px; gap: 4px; }
.sponsor-meta-label { font-size: .6rem; letter-spacing: .05em; }
.sponsor-meta-txt strong { font-size: .78rem; line-height: 1.3; }
.sponsor-meta-sub { font-size: .68rem; line-height: 1.35; }
@media (max-width: 767.98px) {
  .sponsor-meta { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sponsor-meta-row { padding: 12px; }
}
@media (max-width: 575.98px) {
  .sponsor-meta { grid-template-columns: 1fr; }
}

/* ===== Social responsibility: contrast & colour alignment ===== */
.ab-eyebrow { color: #009048; }
.ab-section-head h2 { color: #0E2A47; }

.sr-icon {
  background: linear-gradient(160deg, #0E2A47, #123A60);
  color: #F5EC25;
  border: 1px solid rgba(245, 236, 37, .28);
}
.sr-pillar { border-block-end: 3px solid #F5EC25; }
.sr-pillar p, .sr-list li { color: #3F4D5C; }
.sr-list li i { color: #009048; }
.sr-tile { border-block-end: 3px solid #009048; }
.sr-tile .ab-eyebrow { color: #009048; }

.sr-partners {
  background: linear-gradient(160deg, #06233B 0%, #0B3552 55%, #0E446B 100%);
}
.sr-partners .ab-section-head .ab-eyebrow { color: #F5EC25; }
.sr-partners .ab-section-head h2 { color: #fff; }
.sr-partners .ab-section-head p { color: rgba(255, 255, 255, .78); }

.ab-cta {
  background: linear-gradient(135deg, #06233B 0%, #0c2b4b 55%, #005c39 175%);
}

/* Fixtures table (team pages) — same visual language as the standings tables */
.fx-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 28px;
  align-items: start;
}
@media (min-width: 992px) {
  .fx-groups { grid-template-columns: repeat(2, 1fr); }
  .fx-groups .fx-table { min-width: 0; }
}
.fixtures-table { margin-bottom: 8px; }
.fx-table { min-width: 720px; }
.fx-table .fx-col-date { text-align: start; white-space: nowrap; width: 150px; }
.fx-table .fx-col-date small { display: block; color: #7b8a96; font-size: 12px; margin-top: 2px; }
.fx-table .fx-col-date small i { color: #009048; margin-inline-end: 4px; }
.fx-table .fx-col-match { text-align: start; font-weight: 700; color: #0E2A47; white-space: nowrap; }
.fx-vs-sep { margin-inline: 10px; color: #7b8a96; font-size: 12px; text-transform: uppercase; font-weight: 800; }
.fx-table .fx-col-score { text-align: center; width: 90px; }
.fx-score-pill {
  display: inline-block;
  background: #F5EC25;
  color: #06233B;
  font-weight: 800;
  font-size: 12.5px;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.fx-table .fx-col-venue { text-align: start; color: #54616e; font-size: 14px; }
.fx-table .fx-col-stage { text-align: start; color: #06793f; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.fx-table .fx-col-status { text-align: center; width: 110px; }
.fx-table .fx-col-status .fx-badge {
  background: #EAF2FA !important;
  color: #0E3A5C !important;
  font-weight: 700;
  font-size: 11px;
}

/* Restore bootstrap grid cols broken by the duplicate minified bootstrap in site.css */
@media (min-width: 991.98px) {
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
}

/* ---------- Home news category tabs + slider arrows ---------- */
.news-cat-tabs {
    flex-wrap: wrap;
    gap: 8px;
    background: #fbfbfb;
    border: 1px solid rgba(210, 210, 210, .5);
    border-radius: 20px;
    padding: 8px 12px;
    display: inline-flex;
}
.news-cat-tabs .nav-item .nav-link {
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    font-size: 16px;
    color: rgba(140, 3, 33, .5);
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
}
.news-cat-tabs .nav-item .nav-link:hover {
    color: #8C0321;
}
.news-cat-tabs .nav-item .nav-link.active {
    background-color: #8C0321;
    color: #fff !important;
    border-color: #8C0321;
}
.news-updates-section .slider-btn-wrapper .custom-prev,
.news-updates-section .slider-btn-wrapper .custom-next {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(140, 3, 33, .18);
    border-color: #8C0321;
}
.news-updates-section .slider-btn-wrapper .custom-prev:hover,
.news-updates-section .slider-btn-wrapper .custom-next:hover {
    background-color: #8C0321;
}
.news-updates-section .slider-btn-wrapper .custom-prev:hover img,
.news-updates-section .slider-btn-wrapper .custom-next:hover img {
    filter: brightness(0) invert(1);
}
@media (max-width: 575.98px) {
    .news-cat-tabs { border-radius: 12px; padding: 6px; }
    .news-cat-tabs .nav-item .nav-link { padding: 7px 12px; font-size: 13px; }
}
.hero-arrow.slick-prev,
.hero-arrow.slick-next {
    position: absolute;
    top: 42%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(140, 3, 33, .55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background-color .2s ease;
}
.hero-arrow.slick-prev { inset-inline-start: 24px; }
.hero-arrow.slick-next { inset-inline-end: 24px; }
.hero-arrow.slick-prev:hover,
.hero-arrow.slick-next:hover { background-color: #8C0321; }
.hero-arrow.slick-disabled { opacity: .4; cursor: default; }
@media (max-width: 767.98px) {
    .hero-arrow.slick-prev,
    .hero-arrow.slick-next { width: 36px; height: 36px; inset-inline-start: 10px; inset-inline-end: 10px; }
}

/* Initial-letter badges (replaces removed crest fallback images) */
.team-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #c6002f, #8c0321);
    color: #fff;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}
.team-emblem .team-initial { height: 68px; width: 68px; font-size: 28px; }
.next-team .team-initial { height: 72px; width: 72px; font-size: 30px; }
.team-tile .team-initial { height: 54px; width: 54px; font-size: 24px; }
.rank-table .rank-flag .team-initial { height: 22px; width: 22px; font-size: 12px; }
.comp-teaser-team .team-initial { height: 34px; width: 34px; font-size: 16px; }

/* ==============================================================
   Dark / light theme toggle
   Driven by [data-theme="dark"] on <html>. Light = :root defaults.
   Header/footer/nav keep their branded SSFF-blue in both themes.
   ============================================================== */
[data-theme="dark"] {
    --bs-body-color: var(--ssff-text);
    --bs-body-bg: var(--ssff-body);
    --bs-emphasis-color: var(--ssff-text);
    --bs-secondary-bg: var(--ssff-surface-muted);
    --bs-tertiary-bg: var(--ssff-surface-muted);
    --bs-border-color: var(--ssff-border);
    --bs-emphasis-color-rgb: 232, 238, 247;
    --bs-secondary-color-rgb: 159, 176, 197;
    --bs-body-color-rgb: 232, 238, 247;
    --bs-link-color: var(--ssff-blue);
    --bs-link-color-rgb: 30, 144, 207;
    --bs-table-color: var(--ssff-text);
    --bs-table-bg: var(--ssff-surface);
}

/* theme toggle button (matches .lang-btn) */
.theme-toggle { display: flex; align-items: center; gap: 8px; font-size: 20px; line-height: 1; }

/* ---------- cards & panels ---------- */
[data-theme="dark"] .competition-card,
[data-theme="dark"] .comp-stat,
[data-theme="dark"] .team-tile,
[data-theme="dark"] .team-card,
[data-theme="dark"] .player-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .match-details-box,
[data-theme="dark"] .chip-card,
[data-theme="dark"] .widget-card,
[data-theme="dark"] .standings-panel,
[data-theme="dark"] .player-fact-card,
[data-theme="dark"] .news-updates-section .card,
[data-theme="dark"] .breadcrumb-section,
[data-theme="dark"] .article-page .article-prose,
[data-theme="dark"] .article-main .article-prose,
[data-theme="dark"] .sidebar-widget,
[data-theme="dark"] .team-feature-card,
[data-theme="dark"] .tfc-logo,
[data-theme="dark"] .team-stats-grid,
[data-theme="dark"] .player-stats-band .team-stats-grid,
[data-theme="dark"] .player-profile-card,
[data-theme="dark"] .honour-list li,
[data-theme="dark"] .tl-content,
[data-theme="dark"] .jf-item,
[data-theme="dark"] .pm-card,
[data-theme="dark"] .players-search,
[data-theme="dark"] .fixture-row,
[data-theme="dark"] .teams-nav-inner,
[data-theme="dark"] .fn-input,
[data-theme="dark"] .fx-stat,
[data-theme="dark"] .fx-chip,
[data-theme="dark"] .staff-card,
[data-theme="dark"] .contact-workhours,
[data-theme="dark"] .tenders-intro,
[data-theme="dark"] .tender-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .sypill,
[data-theme="dark"] .news-filter-bar .border-date .form-control,
[data-theme="dark"] .news-updates-section .border-date .form-control,
[data-theme="dark"] .filter-clear-btn,
[data-theme="dark"] .social-circle:hover,
[data-theme="dark"] .btn-subscribe,
[data-theme="dark"] #fixturesTab .nav-link.active .tab-count,
[data-theme="dark"] .rank-table,
[data-theme="dark"] .ctm-table > tbody > tr > td table td {
    background: var(--ssff-surface);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

/* ---------- soft / muted surfaces ---------- */
[data-theme="dark"] .bg-lightgrey1,
[data-theme="dark"] .competition-card .competition-logo,
[data-theme="dark"] .competition-count,
[data-theme="dark"] .rank-table thead th,
[data-theme="dark"] .news-updates-section .card .btn-capsule,
[data-theme="dark"] .standings-row:nth-child(odd),
[data-theme="dark"] .squad-filter,
[data-theme="dark"] .staff-stat,
[data-theme="dark"] .teams-chips .chip,
[data-theme="dark"] .tender-docs,
[data-theme="dark"] .article-tag-chip.is-tag {
    background: var(--ssff-surface-muted);
}
[data-theme="dark"] .standings-row:hover,
[data-theme="dark"] .rank-table tbody tr:hover td,
[data-theme="dark"] .sidebar-cat-list a:hover {
    background: var(--ssff-hover);
}
[data-theme="dark"] .sidebar-cat-list a.active,
[data-theme="dark"] .sidebar-cat-list a .count,
[data-theme="dark"] .latest-thumb,
[data-theme="dark"] .sidebar-tags a,
[data-theme="dark"] .article-body blockquote,
[data-theme="dark"] .news-index-cta,
[data-theme="dark"] .article-body table th,
[data-theme="dark"] .fx-sched,
[data-theme="dark"] .pm-club,
[data-theme="dark"] .pm-country {
    background: var(--ssff-muted-bg);
}
[data-theme="dark"] .article-body table tr:nth-child(even) td {
    background: var(--ssff-surface-soft);
}

/* ---------- text colour ---------- */
[data-theme="dark"] a { color: var(--ssff-text); }
[data-theme="dark"] a:hover { color: var(--ssff-blue); }
[data-theme="dark"] .article-body a { color: var(--ssff-blue); }
[data-theme="dark"] .article-body a:hover { color: var(--ssff-text); }
[data-theme="dark"] .card {
    --bs-card-bg: var(--ssff-surface);
    --bs-card-color: var(--ssff-text);
    --bs-card-border-color: var(--ssff-border);
}
[data-theme="dark"] .article-body,
[data-theme="dark"] .article-body h2,
[data-theme="dark"] .article-body h3,
[data-theme="dark"] .article-body h4,
[data-theme="dark"] .article-tag-chip.is-tag,
[data-theme="dark"] .related-heading,
[data-theme="dark"] .news-index-cta,
[data-theme="dark"] .honour-list li,
[data-theme="dark"] .teams-chips .chip,
[data-theme="dark"] .sypill,
[data-theme="dark"] .pm-club,
[data-theme="dark"] .ab-section-head h2,
[data-theme="dark"] .fx-table .fx-col-match,
[data-theme="dark"] .squad-captain-info strong,
[data-theme="dark"] .article-body table th { color: var(--ssff-text); }
[data-theme="dark"] .sidebar-cat-list a,
[data-theme="dark"] .sr-pillar p,
[data-theme="dark"] .sr-list li { color: var(--ssff-text-soft); }
[data-theme="dark"] .pm-country { color: var(--ssff-blue); }

/* grey text & icons — keep readable on dark surfaces */
[data-theme="dark"] .competition-card .competition-meta,
[data-theme="dark"] .rank-table .rank-empty,
[data-theme="dark"] .match-date .match-date-day,
[data-theme="dark"] .news-updates-section .border-date .form-control,
[data-theme="dark"] .news-filter-bar .border-date .form-control,
[data-theme="dark"] .comp-teaser-empty,
[data-theme="dark"] .comp-teaser-vs,
[data-theme="dark"] .comp-teaser-date,
[data-theme="dark"] .latest-date,
[data-theme="dark"] .tst-label,
[data-theme="dark"] .pm-body .pm-team,
[data-theme="dark"] .pm-stat .ps-label,
[data-theme="dark"] .players-search i,
[data-theme="dark"] .fn-input i,
[data-theme="dark"] .fixture-row > .fx-venue,
[data-theme="dark"] .fx-comp,
[data-theme="dark"] .pp-fact > span,
[data-theme="dark"] .tender-docs-hint,
[data-theme="dark"] .fx-table .fx-col-date small,
[data-theme="dark"] .fx-vs-sep,
[data-theme="dark"] .standings-row .col-static { color: var(--ssff-text-soft); }
[data-theme="dark"] .live-match-section .nav-pills .nav-item .nav-link { color: rgba(30, 144, 207, .82); }
[data-theme="dark"] .ctm-table .country-name,
[data-theme="dark"] .comp-teaser-team { color: var(--ssff-text); }
[data-theme="dark"] .text-black { color: var(--ssff-text) !important; }
[data-theme="dark"] .btn-capsule { color: var(--ssff-text); }
[data-theme="dark"] .pagination .page-link {
    color: var(--ssff-text-soft);
    background-color: var(--ssff-surface);
    border-color: var(--ssff-border);
}
[data-theme="dark"] .pagination .page-item.active .page-link {
    background-color: var(--ssff-blue);
    border-color: var(--ssff-blue);
    color: #fff;
}

/* ---------- homepage (QFA legacy) surfaces & black/grey text ---------- */
[data-theme="dark"] .team-table-bg {
    background:
        linear-gradient(135deg, rgba(4, 12, 24, .96) 0%, rgba(10, 30, 54, .90) 55%, rgba(14, 58, 98, .82) 100%),
        url("../images/ssff/hero-3.jpg") center/cover no-repeat;
    box-shadow: inset 0 0 0 1px var(--ssff-border);
}
[data-theme="dark"] .team-table-section .nav-link {
    background-color: var(--ssff-surface);
    color: var(--ssff-text);
    border-color: var(--ssff-border);
}
[data-theme="dark"] .ctm-table .points,
[data-theme="dark"] .ctm-table .prev-points { color: var(--ssff-text); }
[data-theme="dark"] .ctm-table .sl-no { color: var(--ssff-text-soft); }
[data-theme="dark"] .live-match-section .nav-pills {
    background: var(--ssff-surface-muted);
    border-color: var(--ssff-border);
}
[data-theme="dark"] .match-details-box .date,
[data-theme="dark"] .match-details-box .match-time {
    background-color: var(--ssff-surface-soft);
    color: var(--ssff-text);
}
[data-theme="dark"] .match-details-box .date-colon { color: var(--ssff-text); }
[data-theme="dark"] .match-details-box .box1,
[data-theme="dark"] .match-details-box .box2,
[data-theme="dark"] .match-details-box .box3 { border-color: var(--ssff-border); color: var(--ssff-text); }
[data-theme="dark"] .section-header { border-bottom-color: var(--ssff-border); }
[data-theme="dark"] .horizontal-scroll::-webkit-scrollbar-track { background: var(--ssff-surface-muted); }

/* content text safety net: anything still inheriting a hardcoded black body
   colour inside the page container is brightened for dark mode */
[data-theme="dark"] .container-lg p,
[data-theme="dark"] .container-lg li,
[data-theme="dark"] .container-lg td,
[data-theme="dark"] .container-lg th,
[data-theme="dark"] .container-lg dd,
[data-theme="dark"] .container-lg dt,
[data-theme="dark"] .container-lg figcaption { color: var(--ssff-text); }
[data-theme="dark"] .news-updates-section .news-date,
[data-theme="dark"] .news-updates-section small,
[data-theme="dark"] .news-updates-section .card-meta { color: var(--ssff-text-soft); }

/* ---------- borders & details ---------- */
[data-theme="dark"] .honour-list li,
[data-theme="dark"] .teams-chips .chip,
[data-theme="dark"] .tender-docs,
[data-theme="dark"] .article-body table th,
[data-theme="dark"] .article-body table td,
[data-theme="dark"] .sypill { border-color: var(--ssff-border); }
[data-theme="dark"] .article-body h2 { border-bottom-color: var(--ssff-border); }
[data-theme="dark"] .table-light {
    --bs-table-bg: var(--ssff-surface-muted);
    --bs-table-color: var(--ssff-text);
}
[data-theme="dark"] .article-meta { color: var(--ssff-text-soft); }
[data-theme="dark"] .fx-col-stage { color: #7fbfa0; }

/* ===== What We Are / Rules & Regulations: new full-HD background =====
   Replaces the old per-panel bg images (who-we-are-bg.png / rules.jpg,
   removed from the markup). Section sizes/heights are unchanged. */
.what-we-are {
    position: relative;
    background:
        linear-gradient(115deg, rgba(6, 35, 59, .9) 0%, rgba(14, 58, 98, .8) 45%, rgba(30, 144, 207, .62) 100%),
        url("../images/ssff/hero-2.jpg") center/cover no-repeat;
}
[data-theme="dark"] .what-we-are {
    background:
        linear-gradient(115deg, rgba(4, 12, 24, .95) 0%, rgba(10, 30, 54, .9) 55%, rgba(14, 58, 98, .8) 100%),
        url("../images/ssff/hero-2.jpg") center/cover no-repeat;
}
/* legacy gold/brown gradient on the right half no longer applies */
.what-we-are .section-end::before {
    content: none;
}

/* ===== Standings section: SSFF colours + full-HD photo background ===== */
/* Replace the legacy QFA maroon (#a44861) panels behind ranking tables with a
   uniform, clean surface so the white tables blend into one panel. These rule
   sets load before the theme tables CSS, so !important is required. */
.match-table-section .tab-content,
.match-table-section .matches-inner-content,
.team-table-section .tab-content,
.team-table-section .matches-inner-content {
    background-color: #fff !important;
}
[data-theme="dark"] .match-table-section .tab-content,
[data-theme="dark"] .match-table-section .matches-inner-content,
[data-theme="dark"] .team-table-section .tab-content,
[data-theme="dark"] .team-table-section .matches-inner-content {
    background-color: var(--ssff-surface) !important;
}
.team-table-bg {
    background:
        linear-gradient(115deg, rgba(6, 35, 59, .92) 0%, rgba(14, 58, 98, .86) 45%, rgba(30, 144, 207, .78) 100%),
        url("../images/ssff/hero-3.jpg") center/cover no-repeat;
    border-radius: 12px;
}

/* make the team/flag images in the ranking tables clearly visible */
.rank-table .rank-flag { margin-inline-end: 10px; }
.rank-table .rank-flag img { height: 26px; width: auto; }
@media (max-width: 575.98px) {
    .rank-table .rank-flag img { height: 20px; }
    .rank-table .rank-flag { margin-inline-end: 6px; }
}

/* ===== Smooth scrolling ===== */
/* Force instant native scrolling so anchors don't animate slowly and the
   page feels like a normal website (the template sets `scroll-behavior:
   smooth`). Keep scroll-padding so anchor links clear the sticky header. */
html,
:root {
    scroll-behavior: auto !important;
    scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: no-preference) {
    html,
    :root {
        scroll-behavior: auto !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
}

/* The live-scores panel ships a 50px-wide scrollbar; slim it down so
   scrolling it feels normal and responsive. */
.horizontal-scroll {
    scrollbar-width: thin !important;
    scrollbar-color: #1E90CF transparent;
    scrollbar-track-color: #f1f1f1;
}
.horizontal-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.horizontal-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
    background: #1E90CF;
    border-radius: 8px;
}
