body.single-sp_team #header img.avatar,
      body.single-sp_team #header .wp-post-image[src*="-fit-icon"] { display:none !important; }

      .efl-hero{ display:flex; flex-direction:column; align-items:center; gap:14px; padding:0 16px 16px; text-align:center; }
      .efl-hero-logo{ width: 220px; height: 220px; overflow:hidden; }
      .efl-hero-logo img{ width:100%; height:100%; object-fit:cover; display:block; }
      .efl-teamname{ font-weight:800; line-height:1.15; margin:0; font-size: clamp(26px, 3.5vw, 40px); }

      .efl-info-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:6px; }
      .efl-info-chip{ display:flex; align-items:center; gap:8px; padding:6px 10px; background:#f5f5f7; border-radius:999px; font-size:14px; line-height:1.2; color:#000; }
      .efl-info-chip img{ width:18px; height:18px; display:block; }
      .efl-info-chip b{ font-weight:800; margin-right:4px; color:#000; }
      .efl-info-chip span{ color:#000; }

      .efl-nav-wrap{ width:100%; margin: 18px 0 0; }
      .efl-nav{ display:flex; justify-content:center; gap:2px; background:#dd424a; border-radius:0; overflow:hidden; }
      .efl-nav a{ display:inline-block; padding:12px 18px; color:#fff; text-decoration:none; font-weight:700; letter-spacing:.2px; transition: background .15s ease, opacity .15s ease; }
      .efl-nav a:hover{ background: rgba(0,0,0,.12); }
      .efl-nav a.is-active{ background: rgba(0,0,0,.18); }

      .efl-nav-toggle{ display:none; cursor:pointer; padding:12px 18px; background:#dd424a; color:#fff; font-weight:800; user-select:none; }
      @media (max-width:768px){
        .efl-nav{ flex-direction:column; max-height:0; overflow:hidden; transition:max-height 0.3s ease; }
        .efl-nav.show{ max-height:500px; }
        .efl-nav-toggle{ display:block; }
        .efl-nav-wrap{ margin:0; }
      }

      .efl-alert{ margin:14px auto; max-width:800px; padding:10px 14px; background:#e7f7ec; color:#0a6b2b; border:1px solid #bfe7cc; border-radius:8px; text-align:center; font-weight:600; }

      .efl-section-title{ text-align:center; color:#fff; font-size:14px; font-weight:600; margin:18px 0; }

      .efl-form{ max-width:720px; margin:200px auto; }
      @media (max-width:640px){ .efl-form{ margin:100px auto; } }

      .efl-form-grid{ display:grid; grid-template-columns: 200px 1fr; gap:12px 16px; align-items:center; }
      .efl-form-label{ font-weight:700; text-align:right; }
      .efl-form-control input[type="text"]{ width:100%; max-width:420px; padding:10px 12px; border:1px solid #ddd; border-radius:5px; }
      .efl-form-control input[type="file"]{ max-width:420px; }
      @media (max-width:640px){
        .efl-form-grid{ grid-template-columns: 1fr; }
        .efl-form-label{ text-align:left; }
      }
      .efl-form-actions{ text-align:right; margin-top:16px; }
      .efl-btn-primary{ display:inline-block; padding:12px 20px; border:0; border-radius:5px; background:#dd424a; color:#fff; font-weight:800; cursor:pointer; transition: transform .06s ease, filter .2s ease; }
      .efl-btn-primary:hover{ filter:brightness(1.05); }
      .efl-btn-primary:active{ transform:translateY(1px); }

      /* margines dolny dla zakładki tabela */
      .efl-table-wrap{ margin-bottom:200px; }
      @media (max-width:640px){ .efl-table-wrap{ margin-bottom:100px; } }

:root { --efl-accent:#e54642; --efl-radius:5px; }
      .efl-tiles {
        font-family: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
        display:grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* desktop: 1 rząd */
        gap:14px;
        align-items:stretch;
        margin: 18px 0 8px;
      }
      @media (max-width:900px){ .efl-tiles{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
      @media (max-width:640px){ .efl-tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

      .efl-tile{background:#e54642;border:none;
        display:flex; flex-direction:column; align-items:center; justify-content:center;
        text-decoration:none; color:#111;
         border-radius:10px;
        padding:18px 12px; min-height:110px;
        transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease;
        
      }
      .efl-tile:hover,.efl-tile:focus-visible{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.12);background:#c93b38;}
      .efl-ic { display:inline-flex; margin-bottom:10px; color:var(--efl-accent); }
      .efl-label { font-weight:600; font-size:15px; }
    
.efl-tile, .efl-tile .efl-label { color:#fff; }

.efl-ic svg { width:36px; height:36px; }

.efl-tile:hover,.efl-tile:focus-visible{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.12);background:#c93b38;}
/* Outline (simple line) icon style */
.efl-ic svg,
.efl-ic svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Slightly smaller for elegance */
.efl-ic svg { width:34px; height:34px; }

.efls-card{background:#111;color:#fff;border:1px solid rgba(255,255,255,.15);border-radius:10px;padding:14px 16px;margin:12px 0}
.efl-section-title{font-weight:700;margin:0 0 8px}
.efl-center-title{text-align:center}
.efl-white{color:#fff}
.efl-big{font-size:1.2rem}
.efl-played-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:640px){.efl-played-grid{grid-template-columns:1fr}}
.efl-played-grid > *{background:#111;color:#fff;border:1px solid rgba(255,255,255,.15);border-radius:10px;padding:12px 14px}

.efl-ic img{width:50px;height:50px;display:block;margin:0 auto 6px auto}

/* === EFL PATCH OVERRIDES === */

/* Force unified tiles style on team pages */
body.single-sp_team .efl-tiles a.efl-tile {
  background: #e44541 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 10px !important;
}
body.single-sp_team .efl-tiles .efl-ic img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}
body.single-sp_team .efl-tiles .efl-label {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}

/* === /EFL PATCH OVERRIDES === */

/* leagues row spacing */
.efl-info-row--leagues{ margin-top:8px; }
