/* ==========================================================================
   PronosDistrict — surcouche du thème (couleurs issues du logo)
   Bleu nuit #0b1522 · Vert citron #94d44b · Blanc
   ========================================================================== */
:root {
  --pd-navy: #0b1522;
  --pd-navy-2: #14213a;
  --pd-navy-3: #1b2a44;
  --pd-green: #94d44b;
  --pd-green-dark: #6fae2a;
  --pd-green-soft: #eef8e2;
  --pd-gold: #ffd03a;
  --pd-gray: #f3f5f8;
  --pd-border: #e3e7ee;
  --pd-text: #1d2433;
  --pd-muted: #6b7486;
  --pd-red: #e5484d;
  --pd-radius: 10px;
}

body { color: var(--pd-text); background: var(--pd-gray); }
a { color: var(--pd-green-dark); }
a:hover, a:focus { color: var(--pd-navy); }
.page { background: var(--pd-gray); }

/* ---------- Boutons : texte bleu nuit sur vert pour le contraste ---------- */
.button-primary, .button-primary:focus { color: var(--pd-navy) !important; background-color: var(--pd-green); border-color: var(--pd-green); }
.button-primary:hover, .button-primary:active { color: #fff !important; background-color: var(--pd-navy); border-color: var(--pd-navy); }
.button-secondary, .button-secondary:focus { color: #fff !important; background-color: var(--pd-navy); border-color: var(--pd-navy); }
.button-secondary:hover { color: var(--pd-navy) !important; background-color: var(--pd-green); border-color: var(--pd-green); }
.badge-primary { background: var(--pd-green); color: var(--pd-navy); }
.badge-secondary { background: var(--pd-navy); color: #fff; }

/* ---------- Header ---------- */
.rd-navbar-brand .brand img { max-height: 70px; width: auto; }
.rd-navbar-brand h2 { color: var(--pd-green); font-size: 13px; letter-spacing: .25em; text-transform: uppercase; margin: 0 0 0 24px; font-weight: 600; }
.rd-navbar-classic .rd-navbar-main-top { background: #0e1826; } /* = fond du logo */
.rd-navbar-static .mobile-brand { display: none; }
.rd-navbar-static .rd-navbar-nav > li + li { margin-left: 34px; }
.rd-navbar-classic .rd-navbar-main-bottom { background: var(--pd-navy-2); }
.rd-navbar-main-element .user-chip { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.rd-navbar-main-element .user-chip .pts { background: var(--pd-green); color: var(--pd-navy); border-radius: 20px; padding: 2px 10px; font-size: 12px; }
.rd-navbar-fixed .rd-navbar-panel { background: var(--pd-navy); }
.rd-navbar-fixed .rd-navbar-panel .mobile-brand img { max-height: 40px; }
.rd-navbar-static .rd-nav-item.active .rd-nav-link,
.rd-navbar-static .rd-nav-item .rd-nav-link:hover { color: var(--pd-green); }

/* ---------- Bandeau de page ---------- */
.pd-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 400px at 85% -10%, rgba(148,212,75,.35), transparent 60%),
              linear-gradient(120deg, var(--pd-navy) 0%, var(--pd-navy-2) 60%, var(--pd-navy-3) 100%);
  padding: 56px 0 48px;
}
.pd-hero::after { /* traits de vitesse inspirés du logo */
  content: ""; position: absolute; right: -60px; top: 20px; width: 420px; height: 160px; opacity: .12;
  background: repeating-linear-gradient(-8deg, transparent 0 14px, #fff 14px 18px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.pd-hero h1 { color: #fff; font-size: 34px; margin: 0; }
.pd-hero h1 span, .pd-hero .accent { color: var(--pd-green); }
.pd-hero p { color: rgba(255,255,255,.75); margin-top: 10px; max-width: 640px; }
.pd-hero .pd-breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.pd-hero .pd-breadcrumb a { color: rgba(255,255,255,.8); }
.pd-hero-home { padding: 80px 0 70px; }
.pd-hero-home h1 { font-size: 46px; line-height: 1.1; }
.pd-hero-home .hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.pd-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 36px; }
.pd-hero-stats div strong { display: block; font-size: 28px; color: var(--pd-green); line-height: 1; }
.pd-hero-stats div span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); }

/* ---------- Cartes ---------- */
.pd-section { padding: 40px 0; }
.pd-card { background: #fff; border-radius: var(--pd-radius); box-shadow: 0 2px 10px rgba(11,21,34,.06); border: 1px solid var(--pd-border); }
.pd-card + .pd-card { margin-top: 20px; }
.pd-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--pd-border); }
.pd-card-header h3, .pd-card-header h4, .pd-card-header h5 { margin: 0; font-size: 17px; color: var(--pd-navy); }
.pd-card-header h3::before, .pd-card-header h5::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--pd-green); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }
.pd-card-body { padding: 20px; }
.pd-empty { text-align: center; color: var(--pd-muted); padding: 30px 10px; }
.pd-empty .icon { font-size: 36px; display: block; margin-bottom: 8px; }

/* ---------- Logo équipe ---------- */
.pd-team-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--pd-navy-2); color: var(--pd-green); font-weight: 700; letter-spacing: .02em; }
.pd-team-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

/* ---------- Ligne de match ---------- */
.pd-game { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--pd-border); position: relative; }
.pd-game:last-child { border-bottom: 0; }
.pd-game:hover { background: #fafbfc; }
.pd-game .team { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--pd-text); font-weight: 600; }
.pd-game .team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-game .team.home { justify-content: flex-end; text-align: right; }
.pd-game .team.home .pd-team-logo { order: 2; }
.pd-game .team.winner > span:not(.pd-team-logo) { color: var(--pd-navy); }
.pd-game .team.loser > span:not(.pd-team-logo) { color: var(--pd-muted); font-weight: 500; }
.pd-game .center { text-align: center; min-width: 120px; }
.pd-game .meta { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--pd-muted); margin-top: -4px; }
.pd-game .meta a { color: var(--pd-muted); }
.pd-game .meta a:hover { color: var(--pd-green-dark); }
.pd-score { display: inline-flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 800; color: var(--pd-navy); font-variant-numeric: tabular-nums; }
.pd-score b { background: var(--pd-navy); color: #fff; border-radius: 6px; min-width: 36px; padding: 2px 8px; }
.pd-kickoff { display: inline-block; background: var(--pd-gray); border-radius: 6px; padding: 4px 10px; font-weight: 700; color: var(--pd-navy); }
.pd-bonus { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); background: var(--pd-gold); color: var(--pd-navy); font-size: 10px; font-weight: 800; padding: 1px 8px; border-radius: 10px; letter-spacing: .05em; }

/* Saisie de pronostic */
.pd-predict { display: inline-flex; align-items: center; gap: 6px; }
.pd-predict input {
  width: 46px; height: 42px; text-align: center; font-size: 20px; font-weight: 800; color: var(--pd-navy);
  border: 2px solid var(--pd-border); border-radius: 8px; background: #fff; -moz-appearance: textfield; padding: 0;
}
.pd-predict input::-webkit-outer-spin-button, .pd-predict input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-predict input:focus { border-color: var(--pd-green); outline: none; box-shadow: 0 0 0 3px rgba(148,212,75,.25); }
.pd-predict input.filled { border-color: var(--pd-green); background: var(--pd-green-soft); }
.pd-predict .sep { font-weight: 800; color: var(--pd-muted); }
/* Bouton « enregistrer ce match » sous les scores */
.pd-save-one {
  display: block; margin: 6px auto 0; padding: 3px 12px; border-radius: 14px; cursor: pointer;
  font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  border: 1px solid var(--pd-navy); background: var(--pd-navy); color: #fff; transition: background .15s, color .15s;
}
.pd-save-one:hover { background: var(--pd-green); border-color: var(--pd-green); color: var(--pd-navy); }
.pd-save-one.saved { background: var(--pd-green-soft); border-color: var(--pd-green); color: #3f6d10; }
.pd-save-one.dirty { background: var(--pd-green); border-color: var(--pd-green); color: var(--pd-navy); }
.pd-save-one.saving { opacity: .6; cursor: wait; }
.pd-save-one.error { background: #fde8e8; border-color: var(--pd-red); color: #a22; white-space: normal; max-width: 160px; }
.pd-my-prono { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--pd-muted); }
.pd-my-prono strong { color: var(--pd-navy); }

/* Résultat du pronostic */
.pd-outcome { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: .03em; }
.pd-outcome.exact { background: var(--pd-green); color: var(--pd-navy); }
.pd-outcome.diff { background: #c9ec9f; color: var(--pd-navy); }
.pd-outcome.winner { background: #e5f4d3; color: #3f6d10; }
.pd-outcome.lost { background: #fde2e2; color: #a22; }
.pd-outcome.pending { background: var(--pd-gray); color: var(--pd-muted); }

/* Barre d'enregistrement collante */
.pd-savebar { position: sticky; bottom: 0; z-index: 20; background: var(--pd-navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--pd-radius) var(--pd-radius); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pd-savebar small { color: rgba(255,255,255,.7); }

/* Statuts */
.pd-status { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; }
.pd-status.scheduled { background: #e8eefc; color: #2b4ea2; }
.pd-status.live { background: var(--pd-red); color: #fff; }
.pd-status.finished { background: var(--pd-navy); color: #fff; }
.pd-status.postponed, .pd-status.cancelled { background: #fff1d6; color: #8a5a00; }

/* Forme V/N/D */
.pd-form { display: inline-flex; gap: 3px; }
.pd-form i { font-style: normal; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 4px; font-size: 11px; font-weight: 800; color: #fff; }
.pd-form i.V { background: var(--pd-green-dark); }
.pd-form i.N { background: #9aa3b2; }
.pd-form i.D { background: var(--pd-red); }

/* ---------- Tableaux ---------- */
.pd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-table th { background: var(--pd-navy); color: #fff; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; text-align: left; white-space: nowrap; }
.pd-table td { padding: 10px 12px; border-bottom: 1px solid var(--pd-border); vertical-align: middle; }
.pd-table tr:hover td { background: #fafbfc; }
.pd-table .num { text-align: center; font-variant-numeric: tabular-nums; }
.pd-table .pts { font-weight: 800; color: var(--pd-navy); }
.pd-table tr.me td { background: var(--pd-green-soft); }
.pd-rank { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: 13px; background: var(--pd-gray); color: var(--pd-navy); }
.pd-rank.r1 { background: var(--pd-gold); }
.pd-rank.r2 { background: #d6dbe3; }
.pd-rank.r3 { background: #e8b88a; }
.pd-table-wrap { overflow-x: auto; }
.pd-user { display: inline-flex; align-items: center; gap: 10px; color: var(--pd-text); font-weight: 600; }
.pd-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--pd-green); color: var(--pd-navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; overflow: hidden; flex-shrink: 0; }
.pd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pd-avatar.lg { width: 84px; height: 84px; font-size: 28px; border: 4px solid var(--pd-green); }

/* ---------- Podium ---------- */
.pd-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; margin-bottom: 24px; }
.pd-podium .step { background: #fff; border-radius: var(--pd-radius); text-align: center; padding: 18px 10px; border: 1px solid var(--pd-border); }
.pd-podium .step.first { padding-top: 28px; border-top: 4px solid var(--pd-gold); order: 2; }
.pd-podium .step.second { border-top: 4px solid #c0c7d2; order: 1; }
.pd-podium .step.third { border-top: 4px solid #d79a5e; order: 3; }
.pd-podium .step .pd-avatar { width: 56px; height: 56px; font-size: 18px; margin-bottom: 8px; }
.pd-podium .step strong { display: block; color: var(--pd-navy); }
.pd-podium .step .p { font-size: 22px; font-weight: 800; color: var(--pd-green-dark); }

/* ---------- Onglets / filtres ---------- */
.pd-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--pd-border); margin-bottom: 20px; }
.pd-tabs a { padding: 10px 16px; font-weight: 700; color: var(--pd-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.pd-tabs a.active, .pd-tabs a:hover { color: var(--pd-navy); border-bottom-color: var(--pd-green); }
.pd-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-chips a { padding: 6px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--pd-border); color: var(--pd-text); font-size: 13px; font-weight: 600; }
.pd-chips a.active, .pd-chips a:hover { background: var(--pd-navy); color: #fff; border-color: var(--pd-navy); }
.pd-rounds { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.pd-rounds a { flex-shrink: 0; min-width: 40px; text-align: center; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--pd-border); font-weight: 700; color: var(--pd-navy); font-size: 13px; }
.pd-rounds a.active { background: var(--pd-green); border-color: var(--pd-green); }
.pd-rounds a.done { color: var(--pd-muted); }

/* ---------- Recherche de compétition (suggestions) ---------- */
.pd-picker { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-picker .pd-input { flex: 1; min-width: 240px; }
.pd-picker-current { display: inline-flex; align-items: center; gap: 8px; background: var(--pd-navy); color: #fff; border-radius: 20px; padding: 6px 8px 6px 14px; font-size: 13px; font-weight: 700; }
.pd-picker-current a { color: var(--pd-navy); background: var(--pd-green); border-radius: 50%; width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 11px; }
.pd-picker-list { position: absolute; z-index: 50; top: 100%; left: 0; right: 0; margin-top: 4px; background: #fff; border: 1px solid var(--pd-border); border-radius: 8px; box-shadow: 0 10px 24px rgba(11,21,34,.15); max-height: 340px; overflow-y: auto; }
.pd-picker-item { padding: 9px 14px; cursor: pointer; border-bottom: 1px solid var(--pd-gray); }
.pd-picker-item:last-child { border-bottom: 0; }
.pd-picker-item strong { display: block; color: var(--pd-navy); font-size: 14px; }
.pd-picker-item small { color: var(--pd-muted); }
.pd-picker-item.active, .pd-picker-item:hover { background: var(--pd-green-soft); }
.pd-picker-empty { padding: 12px 14px; color: var(--pd-muted); font-size: 14px; }
.pd-searchbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.pd-searchbar .pd-picker { flex: 1 1 320px; }
/* Région et district sur la première ligne (noms de ligue longs), recherche texte en dessous. */
#competition-search .pd-searchbar select[name=region],
#competition-search .pd-searchbar select[name=district] { flex: 1 1 calc(50% - 5px); }
.pd-searchbar select { flex: 0 1 220px; min-width: 160px; border: 1px solid #cfd6e1; border-radius: 8px; padding: 10px 32px 10px 12px; font-size: 15px; background-color: #fff; color: var(--pd-text); }
.pd-searchbar .button { flex: 0 0 auto; margin: 0; }
/* Moteur région → district → compétition sur les pages de listes */
.pd-area-filter { margin-bottom: 22px; }
.pd-searchbar-area select { flex: 1 1 240px; min-width: 200px; }
.pd-searchbar-area .pd-picker { flex: 1 1 260px; }
.pd-favorites { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.pd-favorites-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #c99700; margin-right: 4px; }
.pd-favorites a { padding: 5px 12px; border-radius: 16px; background: #fff8de; border: 1px solid #f2dc8a; color: var(--pd-navy); font-size: 13px; font-weight: 600; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-favorites a:hover, .pd-favorites a.active { background: var(--pd-gold); border-color: var(--pd-gold); color: var(--pd-navy); }
.pd-area-current { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; }
.pd-star { border: 1px solid #f2dc8a; background: #fff; color: #8a6d00; border-radius: 16px; padding: 3px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.pd-star:hover, .pd-star.on { background: var(--pd-gold); border-color: var(--pd-gold); color: var(--pd-navy); }
.pd-area-reset { font-size: 13px; color: var(--pd-muted); }
.pd-geo-crumbs { margin: 0 0 18px; font-size: 14px; color: var(--pd-muted); }
.pd-geo-crumbs a { font-weight: 600; }
.pd-section-title { color: var(--pd-navy); margin: 0 0 14px; }
.pd-area { border-left: 4px solid var(--pd-green); }
.pd-area h4 { margin-top: 0; }
.pd-area.empty { border-left-color: var(--pd-border); opacity: .7; }
.pd-searchbar select:disabled { background-color: var(--pd-gray); color: var(--pd-muted); cursor: not-allowed; }
.pd-filterbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.pd-filterbar .pd-picker { flex: 1; min-width: 260px; }

/* ---------- Cartes compétition ---------- */
.pd-comp { display: block; background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); padding: 18px; height: 100%; transition: transform .15s, box-shadow .15s; color: var(--pd-text); }
.pd-comp:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,21,34,.1); color: var(--pd-text); }
.pd-comp .lvl { display: inline-block; background: var(--pd-navy); color: var(--pd-green); font-weight: 800; border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.pd-comp h4 { font-size: 16px; margin: 10px 0 4px; color: var(--pd-navy); }
.pd-comp small { color: var(--pd-muted); }

/* ---------- KPI ---------- */
.pd-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.pd-kpi { background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); padding: 16px; }
.pd-kpi .v { font-size: 28px; font-weight: 800; color: var(--pd-navy); line-height: 1.1; }
.pd-kpi .l { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--pd-muted); }
.pd-kpi.accent { background: var(--pd-navy); border-color: var(--pd-navy); }
.pd-kpi.accent .v { color: var(--pd-green); }
.pd-kpi.accent .l { color: rgba(255,255,255,.7); }

/* ---------- Barème ---------- */
.pd-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pd-scale div { background: #fff; border-radius: var(--pd-radius); border: 1px solid var(--pd-border); padding: 16px; text-align: center; }
.pd-scale strong { display: block; font-size: 30px; color: var(--pd-green-dark); }

/* ---------- Distribution des pronostics ---------- */
.pd-distrib { display: flex; height: 34px; border-radius: 8px; overflow: hidden; font-size: 12px; font-weight: 700; }
.pd-distrib div { display: flex; align-items: center; justify-content: center; min-width: 34px; }
.pd-distrib .h { background: var(--pd-green); color: var(--pd-navy); }
.pd-distrib .d { background: #c4cbd6; color: var(--pd-navy); }
.pd-distrib .a { background: var(--pd-navy); color: #fff; }

/* Grand affichage d'un match */
.pd-matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; text-align: center; }
.pd-matchup .pd-team-logo { margin-bottom: 10px; }
.pd-matchup h2 { color: #fff; font-size: 22px; margin: 0; }
.pd-matchup h2 a { color: #fff; }
.pd-matchup .pd-score { font-size: 44px; color: #fff; }
.pd-matchup .pd-score b { background: var(--pd-green); color: var(--pd-navy); min-width: 60px; }

/* ---------- Formulaires ---------- */
.pd-form-group { margin-bottom: 16px; }
.pd-form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--pd-navy); font-size: 14px; }
.pd-input, .pd-form-group select, .pd-form-group textarea {
  width: 100%; border: 1px solid #cfd6e1; border-radius: 8px; padding: 10px 12px; font-size: 15px; background: #fff; color: var(--pd-text);
}
.pd-input:focus, .pd-form-group select:focus, .pd-form-group textarea:focus { border-color: var(--pd-green); outline: none; box-shadow: 0 0 0 3px rgba(148,212,75,.25); }
.pd-error { color: var(--pd-red); font-size: 13px; margin-top: 4px; }
.pd-check { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; }
.pd-auth { max-width: 460px; margin: 0 auto; }

/* ---------- Alertes ---------- */
.pd-alert { border-radius: var(--pd-radius); padding: 12px 16px; margin-bottom: 20px; font-weight: 600; border-left: 4px solid; }
.pd-alert.success { background: var(--pd-green-soft); border-color: var(--pd-green-dark); color: #33600b; }
.pd-alert.error { background: #fde8e8; border-color: var(--pd-red); color: #8f1d1d; }
.pd-alert.warning { background: #fff5dc; border-color: #f0b400; color: #6b4b00; }

/* ---------- Articles ---------- */
.pd-article-card { display: block; background: #fff; border-radius: var(--pd-radius); overflow: hidden; border: 1px solid var(--pd-border); height: 100%; color: var(--pd-text); }
.pd-article-card .img { height: 170px; background: linear-gradient(135deg, var(--pd-navy), var(--pd-navy-3)); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.pd-article-card .img img.ph { max-width: 60%; opacity: .9; }
.pd-article-card .body { padding: 16px; }
.pd-article-card h4 { font-size: 17px; color: var(--pd-navy); margin: 6px 0; }
.pd-prose { font-size: 16px; line-height: 1.7; }
.pd-prose p { margin-bottom: 1em; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin: 20px 0 0; padding: 0; list-style: none; }
.pagination .page-link, .pagination > li > a, .pagination > li > span { border-radius: 6px !important; color: var(--pd-navy); border: 1px solid var(--pd-border); padding: 6px 12px; display: block; background: #fff; }
.pagination .active .page-link, .pagination .active > span { background: var(--pd-green); border-color: var(--pd-green); color: var(--pd-navy); }

/* ---------- Footer ---------- */
.footer-classic-dark { background: var(--pd-navy); }
.footer-classic-darken { background: #070e18; }
.pd-footer-links a { color: rgba(255,255,255,.75); display: block; padding: 3px 0; }
.pd-footer-links a:hover { color: var(--pd-green); }
.footer-classic h5 { color: #fff; }
.pd-footer-logo { max-width: 260px; }

@media (max-width: 767px) {
  .pd-hero h1 { overflow-wrap: anywhere; }
  .pd-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .pd-tabs a { flex-shrink: 0; padding: 10px 12px; }
  .pd-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .pd-chips a { flex-shrink: 0; }
  .pd-hero-home h1 { font-size: 32px; }
  .pd-hero h1 { font-size: 26px; }
  .pd-game { padding: 12px; gap: 8px; }
  .pd-game .team { font-size: 13px; }
  .pd-game .team .pd-team-logo { display: none; }
  .pd-game .center { min-width: 104px; }
  .pd-predict input { width: 40px; height: 38px; font-size: 18px; }
  .pd-matchup .pd-score { font-size: 32px; }
  .pd-matchup h2 { font-size: 16px; }
}
