/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/

/*Custom css*/

/*    SUPER EAGLES – HUB + NEXT MATCH (CSS, compact + EN comments) */

/* -------------------- 0) TOKENS -------------------- */
:root{
  --brand:#e72208;
  --brand-weak:#eef6ff;
  --ink:#0f172a;
  --muted:#667085;
  --card:#ffffff;
  --line:#eaeef2;
  --soft:#fafafb;

  --radius:14px;
  --shadow:0 6px 18px rgba(16,24,40,.06);
  --shadow-sm:0 3px 8px rgba(16,24,40,.05);
}

/* -------------------- 1) HUB SECTIONS -------------------- */
.se-fr, .se-squad, .se-coach, .se-aw, .se-history, .se-faqs{
  width:100%;
  max-width:none;
  margin:18px 0 28px;
}

/* -------------------- 2) SHARED: tabs + chips -------------------- */
.se-tabs, .se-fr-tabs{
  display:inline-flex;
  gap:0;
  padding:4px;
  margin:8px 0 14px;
  background:#fff;
  border:1px solid #eaeef2;
  border-radius:999px;
  box-shadow:0 4px 12px rgba(16,24,40,.06);
}
.se-tabs [role="tab"], .se-fr-tabs [role="tab"]{
  appearance:none;
  border:0;
  background:transparent;
  cursor:pointer;
  min-width:86px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:.02em;
  color:#0f172a;
}
.se-tabs [role="tab"][aria-selected="true"],
.se-fr-tabs [role="tab"][aria-selected="true"]{
  color:#fff;
  background:linear-gradient(180deg,#ff4b2b,#e72208);
  box-shadow:0 6px 16px rgba(231,34,8,.25);
}

/* Generic chip (watch/report, etc.) */
.chip{
  display:inline-block;
  padding:.36rem .22rem;
  border-radius:999px;
  font-size:.85rem;
  border:1px solid #cfe1ff;
  background:var(--brand-weak);
  color:#0b3b8c;
  text-decoration:none;
  transition:filter .15s ease, transform .15s ease;
}
.chip:hover{ filter:brightness(.97); transform:translateY(-1px); }
.chip-watch{ background:#eef6ff; border-color:#cfe1ff; color:#0b3b8c; }
.chip-report{ background:#f1f59; border-color:#e2e8f0; color:#0f172a; }

/* -------------------- 3) FIXTURES (table) -------------------- */
.se-fr-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid #eaeef2;
  border-radius:12px;
  box-shadow:0 3px 8px rgba(16,24,40,.05);
  overflow:hidden;
}
.se-fr-table thead th{
  background:#fafafb;
  color:#111827;
  font-weight:700;
  padding:.68rem .8rem;
  border-bottom:1px solid #eaeef2;
}
.se-fr-table td{
  padding:.68rem .8rem;
  border-bottom:1px solid #eaeef2;
}
.se-fr-table tbody tr:hover{ background:#fbfbfc; }
.ph td{ color:#667085; font-style:italic; }

/* -------------------- 5) COACH / AFCON-WCQ / HISTORY -------------------- */
.se-coach h2, .se-aw h2, .se-history h2, .se-faqs h2{
  font-size:1.35rem;
  margin:0 0 .8rem;
  color:#0f172a;
}
.se-coach h3, .se-aw h3{
  font-size:1.05rem;
  margin:.1rem 0 .5rem;
  color:#0f172a;
}
.se-par{ color:#667085; }

.se-card-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
  margin-top:.7rem;
}
@media (max-width:780px){
  .se-card-row{ grid-template-columns:1fr; }
}

.se-coach-card, .se-panel-card{
  background:#fff;
  border:1px solid #eaeef2;
  border-radius:14px;
  padding:16px;
  box-shadow:0 3px 8px rgba(16,24,40,.05);
}
.se-bullets{
  padding-left:1rem;
  margin:.4rem 0 0;
}
.se-bullets li{
  margin:.22rem 0;
  color:#111827;
}
.se-link{
  color:#0b3b8c;
  text-decoration:none;
  border-bottom:1px dotted currentColor;
}
.se-link:hover{ opacity:.9; }

.se-aw .se-panels{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
  margin-top:.6rem;
}
@media (max-width:780px){
  .se-aw .se-panels{ grid-template-columns:1fr; }
}

.se-history .se-history-body{
  background:#fff;
  border:1px solid #eaeef2;
  border-radius:14px;
  padding:16px;
  box-shadow:0 3px 8px rgba(16,24,40,.05);
}

/* light dividers & hover */
.se-coach, .se-aw, .se-history{
  border-top:1px solid #eef2f6;
  padding-top:18px;
}
.se-coach-card:hover,
.se-panel-card:hover,
.se-history .se-history-body:hover{
  box-shadow:0 6px 18px rgba(16,24,40,.08);
}

/* -------------------- 6) FAQs -------------------- */
.se-faq{
  background:#fff;
  border:1px solid #eaeef2;
  border-radius:14px;
  padding:.65rem .9rem;
  margin:.6rem 0;
  box-shadow:0 3px 8px rgba(16,24,40,.05);
  overflow:hidden;
}
.se-faq-q{
  list-style:none;
  cursor:pointer;
  font-weight:700;
  color:#0f172a;
  display:flex;
  align-items:center;
  gap:.5rem;
  outline:none;
}
.se-faq-q::-webkit-details-marker{ display:none; }
.se-faq-q::after{
  content:"+";
  margin-left:auto;
  font-weight:800;
  color:#e72208;
}
.se-faq[open] .se-faq-q::after{ content:"–"; }
.se-faq-a{ padding:.55rem 0 .2rem; }
.se-faq-text{
  margin:0;
  color:#475569;
  line-height:1.55;
}
@media (max-width:600px){
  .se-faqs h2{ font-size:1.25rem; }
}

/* Anchor scroll offsets for sticky headers */
#fixtures-results, #squad, #coach, #afcon-wcq, #history, #faqs{
  scroll-margin-top:80px;
}

/* -------------------- 7) NEXT MATCH – Shell -------------------- */
#next-match{
  margin:28px 0 24px;
  scroll-margin-top:80px;
}
.se-next-card{
  width:100%;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

/* H2 */
#next-match h2{
  display:flex;
  align-items:center;
  gap:.6rem;
  color:var(--ink);
  font-weight:800;
  font-size:clamp(1.1rem, 1rem + .6vw, 1.4rem);
  line-height:1.2;
  margin:0 0 .8rem;
  position:relative;
}
#next-match h2::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background:#d50102;
  box-shadow:0 0 0 4px color-mix(in oklab, #d50102, #fff 75%);
}
#next-match h2 .right-pill{
  margin-left:auto;
  font-size:.78rem;
  font-weight:700;
  padding:.22rem .5rem;
  border-radius:999px;
  background:#f6f7ff;
  border:1px solid #dee3ff;
  color:#3041d2;
}

/* Header row: Nigeria vs Ghana */
.nm-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.nm-team{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:var(--ink);
  padding:.18rem .45rem;
  background:#f7f8fc;
  border:1px solid var(--line);
  border-radius:10px;
}
.nm-team img{
  width:38px;
  height:38px;
}
.nm-team strong{
  font-size:1.15rem;
  letter-spacing:.01em;
}
.nm-vs{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:.78rem;
  border-radius:999px;
  background:#eef6ff;
  border:1px solid #cfe1ff;
  color:#0b3b8c;
  box-shadow:var(--shadow-sm);
}

/* Meta grid */
.nm-meta{
  display:grid;
  grid-template-columns:repeat(5,minmax(140px,1fr));
  gap:10px;
  margin:.55rem 0 .85rem;
}
@media (max-width:980px){
  .nm-meta{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:640px){
  .nm-meta{ grid-template-columns:repeat(2,1fr); }
}
.nm-item{
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:10px;
  padding:.6rem .7rem;
  box-shadow:var(--shadow-sm);
}
.nm-item dt{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted);
  margin:0 0 .2rem;
}
.nm-item dd{
  margin:0;
  color:var(--ink);
  font-weight:700;
}

/* Optional badge */
.nm-badge{
  margin-left:auto;
  padding:.3rem .6rem;
  border-radius:999px;
  font-size:.82rem;
  border:1px solid #ffd6cf;
  background:#fff2ef;
  color:#a31907;
}
.nm-badge.is-confirmed{
  background:#e8fff2;
  border-color:#bdf2d1;
  color:#106c3a;
}

/* -------------------- 8) XI block (header + list) -------------------- */
.nm-xi{
  border-top:1px dashed var(--line);
  padding-top:.9rem;
}
.nm-xi-head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:.5rem .65rem;
  border:1px solid var(--line);
  background:#f9fbff;
  border-radius:12px;
  box-shadow:var(--shadow-sm);
}
.nm-xi-title{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-weight:800;
  color:#0f172a;
}
.nm-xi-title::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#2563eb;
  display:inline-block;
}
.nm-note{
  margin-left:auto;
  font-size:.85rem;
  color:var(--muted);
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  white-space:nowrap;
}
.nm-note::before{
  content:"⏰";
  opacity:.9;
}
.nm-formation{ margin:0; }
.nm-formation .form-pill{
  background:#eef6ff;
  border:1px solid #cfe1ff;
  color:#0b3b8c;
  font-weight:800;
  font-size:.8rem;
  padding:.24rem .5rem;
}

/* confirmed modifier (optional) */
.nm-xi-head.is-confirmed{
  background:#f3fff6;
  border-color:#cdeeda;
}
.nm-xi-head.is-confirmed .nm-xi-title::before{ background:#16a34a; }
.nm-xi-head.is-confirmed .nm-note::before{ content:"✅"; }
.nm-xi-head.is-confirmed .nm-note{ color:#167a49; }

/* Base XI grid (fallback) */
.xi-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:.35rem 0 .65rem;
  padding:0;
  list-style:none;
}
@media (max-width:760px){
  .xi-grid{ grid-template-columns:repeat(2,1fr); }
}
.xi-grid li{
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:.5rem .6rem;
  box-shadow:var(--shadow-sm);
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--ink);
}
.xi-grid .pos{
  display:inline-block;
  min-width:36px;
  text-align:center;
  font-weight:800;
  color:#fff;
  background:var(--brand);
  border-radius:8px;
  padding:.18rem .35rem;
  font-size:.82rem;
}

/* Ideal XI list (widget style) */
.xi-grid-list{
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:12px;
}
.xi-grid-list li{
  display:grid;
  grid-template-columns:32px 48px 1fr;
  align-items:center;
  gap:10px;
  padding:.64rem .75rem;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .15s ease, transform .15s ease;
}
.xi-grid-list li:hover{
  box-shadow:0 2px 10px rgba(16,24,40,.08);
  transform:translateY(-1px);
}
.xi-grid-list .num{
  width:32px;
  height:32px;
  line-height:32px;
  text-align:center;
  border-radius:999px;
  font-weight:800;
  font-size:.82rem;
  background:var(--brand-weak);
  border:1px solid #cfe1ff;
  color:#0b3b8c;
}
.xi-grid-list .pos{
  display:inline-block;
  text-align:center;
  font-weight:800;
  color:#fff;
  background:#b01818;
  border-radius:10px;
  padding:.22rem .4rem;
  font-size:.82rem;
}
/* role-based colors */
.xi-grid-list .pos[data-role="GK"]{ background:#f59e0b; }
.xi-grid-list .pos[data-role*="B"]{ background:#0ea5e9; }
.xi-grid-list .pos[data-role="DM"],
.xi-grid-list .pos[data-role="CM"],
.xi-grid-list .pos[data-role="AM"],
.xi-grid-list .pos[data-role="RM"],
.xi-grid-list .pos[data-role="LM"]{ background:#10b981; }
.xi-grid-list .pos[data-role="RW"],
.xi-grid-list .pos[data-role="LW"],
.xi-grid-list .pos[data-role="ST"]{ background:#ef4444; }
.xi-grid-list .name{
  font-weight:700;
  color:var(--ink);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Responsive compaction */
@media (max-width:1024px){
  .xi-grid-list{ gap:10px; }
  .xi-grid-list li{ padding:.56rem .68rem; }
}
@media (max-width:760px){
  .xi-grid-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .xi-grid-list li{
    grid-template-columns:42px 1fr;
    padding:.48rem .6rem;
  }
  .xi-grid-list .num{ display:none; }
  .xi-grid-list .pos{
    min-width:42px;
    padding:.14rem .34rem;
    font-size:.78rem;
    border-radius:8px;
  }
  .xi-grid-list .name{
    font-size:.95rem;
    line-height:1.2;
    white-space:normal;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
}
@media (max-width:480px){
  .xi-grid-list{ grid-template-columns:1fr; }
  .xi-grid-list li{
    padding:.44rem .56rem;
    border-radius:10px;
  }
  .xi-grid-list .pos{
    min-width:38px;
    font-size:.76rem;
  }
  .xi-grid-list .name{ font-size:.92rem; }
}
@media (max-width:330px){
  .xi-grid-list{ grid-template-columns:1fr; }
}

/* Notes (Team news / Bench) */
.nm-notes{
  margin-top:.8rem;
  display:grid;
  gap:8px;
}
.nm-notes p{
  margin:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:.6rem .75rem;
  box-shadow:var(--shadow-sm);
  color:var(--ink);
}
.nm-notes strong{
  color:var(--ink);
  font-weight:800;
  margin-right:.35rem;
}
.nm-notes .nm-news,
.nm-notes .nm-bench{
  position:relative;
  padding-left:.75rem;
}
.nm-notes .nm-news{ border-left:4px solid #0ea5e9; }
.nm-notes .nm-bench{ border-left:4px solid #a855f7; }
.nm-notes .nm-news::before,
.nm-notes .nm-bench::before{
  content:"";
  position:absolute;
  left:-10px;
  top:12px;
  width:10px;
  height:10px;
  border-radius:999px;
  opacity:.18;
}
@media (max-width:640px){
  .nm-team strong{ font-size:1.06rem; }
  .nm-vs{
    width:30px;
    height:30px;
    font-size:.72rem;
  }
  .nm-notes p{ padding:.55rem .65rem; }
}

/* -------------------- 9) PAGE TITLES -------------------- */
.page-title-super-eagles{
  color:var(--ink);
  font-weight:800;
  font-size:clamp(1.9rem, 1.2rem + 2vw, 2.5rem);
  line-height:1.15;
  letter-spacing:-.01em;
  margin:0 0 .6rem;
  position:relative;
}
.page-title-super-eagles::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width:76px;
  height:4px;
  border-radius:999px;
  opacity:.9;
}

/* Optional small eyebrow */
.eyebrow{
  display:inline-block;
  margin:.25rem 0 .35rem;
  padding:.14rem .46rem;
  border-radius:999px;
  font-size:.78rem;
  font-weight:700;
  color:#0b3b8c;
  background:#eef6ff;
  border:1px solid #cfe1ff;
}

/* -------------------- 10) DARK MODE -------------------- */
@media (prefers-color-scheme: dark){
  :root{
    --card:#0b1220;
    --ink:#e5e7eb;
    --muted:#9ca3af;
    --line:rgba(255,255,255,.10);
    --brand-weak:rgba(37,99,235,.15);
  }
  .nm-item{ background:#0e172a; }
  .xi-grid-list li, .xi-grid li{ background:#0e172a; }
  .chip{
    color:#dbeafe;
    border-color:rgba(37,99,235,.35);
  }
}

/* Section titles: Fixtures/Results & Squad */
.se-fr h2,
.se-squad h2{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin:0 0 .9rem;
  color:var(--ink);
  font-weight:800;
  font-size:clamp(1.15rem, .9rem + .9vw, 1.5rem);
  line-height:1.2;
  position:relative;
}

/* Left accent dot */
.se-fr h2::before,
.se-squad h2::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background:#b01818;
  box-shadow:0 0 0 4px color-mix(in oklab, #b01818, #fff 78%);
  flex:0 0 auto;
}

/* Underline accent (#b01818) */
.se-fr h2::after,
.se-squad h2::after{
  content:"";
  position:absolute;
  left:16px;
  right:0;
  bottom:-8px;
  height:2px;
  border-radius:999px;
  opacity:.5;
}

/* ===== XI list – mobile: force 2 columns ===== */
@media (max-width:820px){
  /* Force 2-column grid */
  #next-match .nm-xi .xi-grid.xi-grid-list{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:8px !important;
  }
  /* Each item spans one column */
  #next-match .nm-xi .xi-grid.xi-grid-list > li{
    grid-column:auto !important;
    display:grid !important;
    grid-template-columns:42px 1fr !important;
    padding:.48rem .6rem !important;
    border-radius:10px !important;
  }
  /* Hide jersey number, clamp name to 2 lines */
  #next-match .nm-xi .xi-grid.xi-grid-list .num{
    display:none !important;
  }
  #next-match .nm-xi .xi-grid.xi-grid-list .pos{
    min-width:40px;
    padding:.12rem .34rem;
    font-size:.78rem;
    border-radius:8px;
  }
  #next-match .nm-xi .xi-grid.xi-grid-list .name{
    white-space:normal;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    line-height:1.2;
    font-size:.95rem;
  }
}

/* Extra small (≤360px): 1-column fallback */
@media (max-width:360px){
  #next-match .nm-xi .xi-grid.xi-grid-list{
    grid-template-columns:1fr !important;
  }
}

/* ============ AFCON & WCQ: borderless header + cards ============ */

/* Section title: no panel/border/underline */
.se-aw > h2{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 0 .6rem !important;
  font-weight:800;
  color:var(--ink);
  font-size:clamp(1.2rem, 1rem + .7vw, 1.6rem);
}
/* Keep left accent dot (optional) */
.se-aw > h2::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:8px;
  box-shadow:none;
  display:inline-block;
  margin-right:.5rem;
}
/* Remove title underline fully */
.se-aw > h2::after{
  display:none !important;
}

/* Cards: soft shadow, no hard border */
.se-aw .se-panel-card{
  border:0 !important;
  background:#fff;
  border-radius:14px;
  padding:18px 20px;
  box-shadow:0 2px 8px rgba(16,24,40,.04);
  transition:box-shadow .15s ease, transform .15s ease;
}
.se-aw .se-panel-card:hover{
  box-shadow:0 8px 24px rgba(16,24,40,.10);
  transform:translateY(-2px);
}

/* Card headings with accent dot */
.se-aw .se-panel-card h3{
  margin:0 0 .6rem;
  font-weight:800;
  color:#0b1220;
  font-size:1.06rem;
  display:flex;
  align-items:center;
  gap:.5rem;
}
.se-aw .se-panels > *:first-child h3::before,
.se-aw .se-panels > *:last-child h3::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#0ea5e9;
}

/* Subtle dotted underline for links */
.se-aw .se-panel-card a{
  color:#0b3b8c;
  text-decoration:none;
  border-bottom:1px dotted currentColor;
}
.se-aw .se-panel-card a:hover{ opacity:.9; }

/* =========================
   COACH & HISTORY — borderless, soft
   ========================= */

/* Remove section-level borders */
.se-coach,
.se-history{
  border-top:0 !important;
  padding-top:0 !important;
}

/* Titles: no panel or underline */
.se-coach > h2,
.se-history > h2{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 0 .6rem !important;
  font-weight:800;
  color:var(--ink);
  font-size:clamp(1.2rem, 1rem + .7vw, 1.6rem);
}
.se-coach > h2::after,
.se-history > h2::after{
  display:none !important;
}

/* Small accent dot */
.se-coach > h2::before,
.se-history > h2::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:8px;
  display:inline-block;
  margin-right:.5rem;
}

/* Cards: soft shadow + hover */
.se-coach .se-coach-card,
.se-history .se-history-body{
  border:0 !important;
  background:#fff;
  border-radius:14px;
  padding:18px 20px;
  box-shadow:0 2px 8px rgba(16,24,40,.04);
  transition:box-shadow .15s ease, transform .15s ease;
}
.se-coach .se-coach-card:hover,
.se-history .se-history-body:hover{
  box-shadow:0 8px 24px rgba(16,24,40,.10);
  transform:translateY(-2px);
}

/* Subtitles (coach inner blocks) */
.se-coach h3,
.se-history h3{
  margin:0 0 .6rem;
  font-weight:800;
  color:#0b1220;
  font-size:1.06rem;
  display:flex;
  align-items:center;
  gap:.5rem;
}
.se-coach h3::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#0ea5e9;
}

/* Optional subtle separators between list items */
.se-coach .se-bullets li + li,
.se-history .se-bullets li + li{
  border-top:1px dashed rgba(16,24,40,.10);
  padding-top:.35rem;
  margin-top:.35rem;
}

/* Links: subtle emphasis */
.se-coach a,
.se-history a{
  color:#0b3b8c;
  text-decoration:none;
  border-bottom:1px dotted currentColor;
}
.se-coach a:hover,
.se-history a:hover{
  opacity:.9;
}

/* -------------------- 4) SQUAD (grid + cards) -------------------- */
.se-squad .se-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(360px,1fr));
  gap:16px;
}
@media (max-width:960px){
  .se-squad .se-grid{ grid-template-columns:1fr; }
}

.se-squad .se-card{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:14px;
  background:#fff;
  border:1px solid #eaeef2;
  border-radius:14px;
  padding:18px;
  box-shadow:0 3px 8px rgba(16,24,40,.05);
  align-items:center;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.se-squad .se-card img{
  width:150px;
  height:190px;
  object-fit:cover;
  border-radius:12px;
}
.se-squad .se-card .se-meta,
.se-squad .se-card > div:not(:first-child){
  display:flex;
  flex-direction:column;
  gap:6px;
}
.se-squad .se-card .se-name{
  margin:0 0 .25rem;
  font-size:1.25rem;
  font-weight:800;
  color:#0b1220;
  line-height:1.15;
}
.se-squad .se-card .se-club{
  margin:0;
  color:#334155;
  font-weight:600;
}
.se-squad .se-card .se-stats{
  margin:.1rem 0 0;
  color:#0f172a;
  font-weight:600;
}
.se-squad .se-card .se-stats strong{ font-weight:800; }
.se-squad .se-card .se-note{
  margin:.35rem 0 0;
  color:#475569;
}

/* Mobile compact */
@media (max-width:420px){
  .se-squad .se-card{
    grid-template-columns:78px 1fr;
    padding:10px;
    gap:8px;
  }
  .se-squad .se-card img{
    width:78px;
    height:96px;
  }
  .se-squad .se-card .se-name{ font-size:1rem; }
  .se-squad .se-card .se-club,
  .se-squad .se-card .se-stats,
  .se-squad .se-card .se-note{
    font-size:.9rem;
  }
}

/* Elementor mobile padding fix */
@media (max-width:560px){
  .elementor .elementor-widget-text-editor:has(.se-squad),
  .elementor .elementor-widget:has(.se-squad){
    padding-left:0 !important;
    padding-right:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .elementor .elementor-widget-text-editor:has(.se-squad) .elementor-widget-container,
  .elementor .elementor-widget:has(.se-squad) .elementor-widget-container{
    padding-left:0 !important;
    padding-right:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .se-squad{
    padding-left:16px;
    padding-right:16px;
  }
  .se-tabs{
    margin-left:-2px;
    margin-right:-2px;
  }
}

@media (max-width:520px){
  .se-squad .se-grid{ gap:12px; }
  .se-squad .se-card{
    grid-template-columns:110px 1fr;
    align-items:flex-start;
    gap:12px;
    padding:14px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(16,24,40,.08);
  }
  .se-squad .se-card img{
    width:110px !important;
    aspect-ratio:4/5;
    height:auto !important;
    object-fit:cover;
    object-position:50% 15%;
    border-radius:12px;
  }
  .se-squad .se-card .se-name{
    font-size:1.08rem;
    line-height:1.18;
    margin:0 0 .18rem;
  }
  .se-squad .se-card .se-club,
  .se-squad .se-card .se-stats{
    font-size:.92rem;
    line-height:1.28;
    margin:0;
  }
  .se-squad .se-card .se-note{
    font-size:.92rem;
    line-height:1.25;
    margin-top:.2rem;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .se-squad .se-card .se-club a{
    color:#0f172a;
    text-decoration:none;
    border-bottom:1px dotted rgba(15,23,42,.25);
  }
  .se-squad .se-card .se-club a:hover{ opacity:.85; }
}

@media (max-width:380px){
  .se-squad{
    padding-left:12px;
    padding-right:12px;
  }
  .se-squad .se-card{
    grid-template-columns:104px 1fr;
    gap:10px;
    padding:12px;
  }
  .se-squad .se-card img{
    width:104px !important;
    border-radius:12px;
  }
}

/* DESKTOP LAYOUT + FIXED IMAGE SIZES (no mobile changes) */

/* 1024–1279px: force 3 columns */
@media (min-width:1024px) and (max-width:1279.98px){
  .se-squad .se-panel .se-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:16px !important;
  }
  /* GK & FWD cards + images */
  .se-squad .se-panel[id$="-panel-0"] .se-card,
  .se-squad .se-panel[id$="-panel-3"] .se-card{
    display:grid;
    grid-template-columns:150px 1fr;
    gap:14px;
    box-sizing:border-box;
  }
  .se-squad .se-panel[id$="-panel-0"] .se-card img,
  .se-squad .se-panel[id$="-panel-3"] .se-card img{
    width:150px !important;
    height:190px !important;
    object-fit:cover;
    object-position:50% 15%;
    border-radius:12px;
  }
}

/* 1280px+: per-tab layout rules */
@media (min-width:1280px){
  /* GK + FWD: 3 columns */
  .se-squad .se-panel[id$="-panel-0"] .se-grid,
  .se-squad .se-panel[id$="-panel-3"] .se-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:16px !important;
  }
  .se-squad .se-panel[id$="-panel-0"] .se-card,
  .se-squad .se-panel[id$="-panel-3"] .se-card{
    grid-template-columns:150px 1fr;
    gap:14px;
    box-sizing:border-box;
  }
  .se-squad .se-panel[id$="-panel-0"] .se-card img,
  .se-squad .se-panel[id$="-panel-3"] .se-card img{
    width:150px !important;
    height:190px !important;
    object-fit:cover;
    object-position:50% 15%;
    border-radius:12px;
  }
}

/* MID (panel-2) — desktop GK ölçüsündə, 3 sütun */
@media (min-width:1280px){
  /* 3 column grid */
  .se-squad .se-panel[id$="-panel-2"] .se-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:16px !important;
  }

  /* Kartın daxili layout-u GK kimi */
  .se-squad .se-panel[id$="-panel-2"] .se-card{
    grid-template-columns:150px 1fr;
    align-items:center;
    gap:14px;
    padding:18px;
    box-sizing:border-box;
  }

  /* Şəkil ölçüləri – GK ilə eyni */
  .se-squad .se-panel[id$="-panel-2"] .se-card > img{
    width:150px !important;
    height:190px !important;
    object-fit:cover;
    object-position:50% 15%;
    border-radius:12px;
    flex:0 0 auto;
  }
}


/* Optional: scope only to home with body.home .sr-only */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  -webkit-clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}

/* Past coaches: scroll UL only, not card */
.se-coach .se-card-row > .se-coach-card:nth-of-type(2){
  overflow:hidden;
}

.se-coach .se-card-row > .se-coach-card:nth-of-type(2) > ul,
.se-coach .se-card-row > .se-coach-card:nth-of-type(2) > div > ul{
  columns:2 260px;
  column-gap:16px;
  overflow-y:auto;
  overflow-x:hidden;
  width:100%;
  box-sizing:border-box;
  padding-right:10px;
  margin:0;
  word-break:break-word;
  hyphens:auto;
  scrollbar-width:thin;
}

/* Avoid breaking items between columns */
.se-coach .se-card-row > .se-coach-card:nth-of-type(2) li{
  break-inside:avoid;
  margin:.18rem 0;
}

/* Mobile: single column, no scroll */
@media (max-width:780px){
  .se-coach .se-card-row > .se-coach-card:nth-of-type(2) > ul,
  .se-coach .se-card-row > .se-coach-card:nth-of-type(2) > div > ul{
    columns:1;
    max-height:none;
    overflow:visible;
    padding-right:0;
  }
}

/* Past coaches: target UL inside 2nd card (handles Elementor wrappers) */
.se-coach .se-card-row > .se-coach-card:nth-of-type(2) > ul,
.se-coach .se-card-row > .se-coach-card:nth-of-type(2) > div > ul{
  columns:2 280px !important;
  column-gap:16px;
  max-height:clamp(420px, 65vh, 680px);
  overflow:auto;
  padding-right:8px;
  margin-top:.25rem;
}

/* No column breaks, compact spacing */
.se-coach .se-card-row > .se-coach-card:nth-of-type(2) li{
  break-inside:avoid;
  margin:.18rem 0;
}

/* Mobile: single column, fully open list */
@media (max-width:780px){
  .se-coach .se-card-row > .se-coach-card:nth-of-type(2) > ul,
  .se-coach .se-card-row > .se-coach-card:nth-of-type(2) > div > ul{
    columns:1 !important;
    max-height:none;
    overflow:visible;
    padding-right:0;
  }
}
/* HUBS menu style */

.category-menu-wrap{
  background:transparent;
  border-top:1px solid #ececec;
  border-bottom:1px solid #e0e0e0;
  margin:0;
  padding:0;
  width:100%;
  position:relative;
  z-index:5;
  clear:both;
}

.category-menu-inner{
  max-width:1200px;
  margin:0 auto;
  padding-left:var(--head-inner-pad,20px);
  padding-right:var(--head-inner-pad,20px);
  box-sizing:border-box;
  background:#f5f5f5;
}

.category-menu{
  width:100%;
}

.category-menu-list{
  display:flex;
  align-items:stretch;
  list-style:none;
  margin:0;
  padding:0;
  width:100%;
  gap:0;
}

.category-menu-list > li{
  flex:1 1 0;
  min-width:0;
  margin:0;
}

.category-menu-list > li > a{
  display:flex;
  align-items:center;
  justify-content:center;
  column-gap:4px;
  min-height:44px;
  padding:10px 12px !important;

  box-sizing:border-box;
  margin:0;
  border-radius:0 !important;

  color:#222;
  text-decoration:none;

  font-size:12px;
  font-weight:600;
  letter-spacing:.15px;
  text-transform:uppercase;
  line-height:1.1;

  white-space:nowrap;
  background:transparent;
}

.category-menu-list > li + li > a{
  border-left:1px solid rgba(0,0,0,.08);
}

.category-menu-list > li.current-menu-item > a,
.category-menu-list > li.current-menu-ancestor > a,
.category-menu-list > li > a:hover{
  background:#d50102;
  color:#fff;
}

.category-menu-list img.menu-icon{
  width:14px;
  height:14px;
  display:inline-block;
  vertical-align:middle;
  margin:0;
}

.category-menu-list .menu-icon::before,
.category-menu-list .menu-icon::after{
  content:none !important;
}

#menu-item-470782 > a{
  background:#d50102 !important;
  color:#fff !important;
}

#menu-item-470782 > a:hover,
#menu-item-470782 > a:focus{
  background:#d50102 !important;
  color:#fff !important;
}

.category-menu-list .menu-icon-live{
  width:10px !important;
  height:10px !important;
  display:inline-block !important;
  position:relative !important;

  font-size:0 !important;
  line-height:0 !important;
  color:transparent !important;
  overflow:hidden !important;

  margin:0 !important;
  flex:0 0 auto !important;
}

.category-menu-list .menu-icon-live::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:50% !important;
  background:#22c55e !important;
  animation:csLiveBlink 1.1s infinite ease-in-out !important;
}

#menu-item-470782 > a::before{
  content:none !important;
  animation:none !important;
}

#menu-item-470782 .menu-icon-live svg,
#menu-item-470782 .menu-icon-live img{
  display:none !important;
}

@keyframes csLiveBlink{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.25; transform:scale(.6); }
}

.category-menu-wrap,
.category-menu-wrap *{
  font-family:inherit !important;
}
/* Lines should be container-aligned, not full width */
.category-menu-wrap{
  border-top:0 !important;
  border-bottom:0 !important;
  background:transparent !important;
}

.category-menu-inner{
  background:#f5f5f5 !important;
  border-top:1px solid #ececec !important;
  border-bottom:1px solid #e0e0e0 !important;
  box-sizing:border-box !important;
}
/* Remove header bottom line/shadow that sits above hubs bar */
.smart-head,
.smart-head-row,
.smart-head .inner,
.smart-head-a,
.smart-head-main{
  border-bottom:0 !important;
  box-shadow:none !important;
}

/* Make sure the line comes only from hubs container */
.category-menu-wrap{
  border-top:0 !important;
  border-bottom:0 !important;
  background:transparent !important;
}

.category-menu-inner{
  background:#f5f5f5 !important;
  border-top:1px solid #ececec !important;
  border-bottom:1px solid #e0e0e0 !important;
}
/* Hubs menu: mobil-də göstərmə */
@media (max-width: 767px) {
  .category-menu-wrap {
    display: none !important;
  }
}
/* FORCE: Live Scores qırmızı */
.category-menu-list > li.menu-item-470782 > a,
#menu-item-470782 > a,
.category-menu-list > li.menu-item-470782 > a:visited,
#menu-item-470782 > a:visited{
  background:#d50102 !important;
  color:#fff !important;
}

/* hover/focus da qırmızı qalsın */
.category-menu-list > li.menu-item-470782 > a:hover,
.category-menu-list > li.menu-item-470782 > a:focus,
#menu-item-470782 > a:hover,
#menu-item-470782 > a:focus{
  background:#d50102 !important;
  color:#fff !important;
}
.category-menu-list > li{ overflow:hidden; }
.category-menu-list > li > a{ width:100%; overflow:hidden; }

/* HUBS menu style ended */