/*
Theme Name: LWF Naama Modern Portal
Author: LWF Naama
Description: بوابة رياضية حديثة للرابطة الولائية لكرة القدم - النعامة، مستوحاة من بنية بوابات الرابطات الولائية الجزائرية.
Version: 3.10.0
*/
:root{--green:#087b48;--green2:#045b36;--dark:#062b20;--gold:#d5b44b;--bg:#f4f6f5;--text:#18211e;--muted:#6d7873;--line:#e2e9e5;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Cairo',Tahoma,Arial,sans-serif}
a{color:inherit}
.lwf-container{width:min(1180px,calc(100% - 30px));margin:auto}
.lwf-header{background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.07);position:relative;z-index:20}
.lwf-topbar{background:#fff}
.lwf-brand-row{min-height:150px;width:100%;max-width:none;margin:0;padding:0 28px;background:#fff;display:flex;align-items:center;justify-content:flex-start}
.lwf-brand{display:flex;width:auto;height:150px;align-items:center;justify-content:flex-start;direction:rtl;text-decoration:none;gap:22px;margin:0;flex:0 0 auto}
.lwf-brand-logo{flex:0 0 125px;display:flex;align-items:center;justify-content:center;width:125px;height:125px;z-index:4}
.lwf-brand-logo .custom-logo-link{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%}
.lwf-brand-logo img,.lwf-brand-logo .custom-logo{display:block;width:auto!important;max-width:112px!important;height:auto!important;max-height:112px!important;object-fit:contain}
.lwf-fallback-logo{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-size:38px}
.lwf-brand-text{flex:0 0 auto;min-width:0;display:flex;align-items:center;justify-content:flex-start;line-height:1.1;text-align:right;direction:rtl;z-index:2;white-space:nowrap}
.lwf-brand-text strong{display:block;font-size:44px!important;color:var(--dark);font-weight:900;white-space:nowrap;letter-spacing:-1px;margin:0}
.lwf-brand-text b{font-size:40px;color:var(--green);font-weight:900}
.lwf-brand-tools{display:none}
.lwf-menu-toggle{display:none;border:0;background:var(--green);color:#fff;border-radius:8px;padding:9px 13px;font-size:22px}
.lwf-breaking{height:48px;background:#b5121b;color:#fff;display:flex;align-items:stretch;overflow:hidden;direction:ltr;position:relative}
.lwf-breaking-label{direction:rtl;order:2;min-width:125px;background:#850b12;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:18px;position:relative;z-index:2;box-shadow:-6px 0 12px rgba(0,0,0,.12)}
.lwf-breaking-window{order:1;overflow:hidden;flex:1;position:relative;display:flex;align-items:center;direction:ltr}
.lwf-breaking-track{display:flex;align-items:center;white-space:nowrap;width:max-content;direction:ltr;animation:lwf-breaking-move 150s linear infinite}
.lwf-breaking-window:hover .lwf-breaking-track{animation-play-state:paused}
.lwf-breaking-track a,.lwf-breaking-track>span{color:#fff;text-decoration:none;font-size:15px;font-weight:800;direction:rtl;unicode-bidi:plaintext;margin:0 22px}
.lwf-breaking-sep{color:#ffd36a!important;font-size:10px!important;margin:0 5px!important;direction:ltr!important}
@keyframes lwf-breaking-move{0%{transform:translate3d(-100%,0,0)}100%{transform:translate3d(100%,0,0)}}
.lwf-nav-wrap{background:var(--dark)}
.lwf-nav{min-height:52px;display:flex;align-items:center}
.lwf-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}
.lwf-menu li{margin:0}
.lwf-menu a{display:block;padding:13px 20px;color:#fff;text-decoration:none;font-size:14px;font-weight:700;transition:.2s}
.lwf-menu a:hover,.lwf-menu .current-menu-item>a{background:var(--green)}
.lwf-clubs-strip{height:96px;background:#fff;border-bottom:1px solid var(--line);display:block;overflow:hidden;position:relative;direction:ltr}
.lwf-clubs-label{position:absolute!important;right:0!important;left:auto!important;top:0;height:100%;width:205px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:18px;direction:rtl;z-index:3;box-shadow:-5px 0 12px rgba(0,0,0,.08)}
.lwf-clubs-marquee{height:100%;overflow:hidden;margin-right:205px;padding-right:5px;direction:ltr}
.lwf-clubs-track{height:100%;display:flex;width:max-content;align-items:center;animation:lwf-marquee 4s linear infinite;direction:ltr}
.lwf-clubs-marquee:hover .lwf-clubs-track{animation-play-state:paused}
.lwf-team-item{height:78px;min-width:128px;padding:3px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;direction:rtl;border-left:1px solid #eef2ef}
.lwf-team-logo{width:48px;height:48px;display:grid;place-items:center}.lwf-team-logo img{max-width:48px;max-height:48px;object-fit:contain}.lwf-team-ball{font-size:27px}.lwf-team-name{font-size:11px;font-weight:800;white-space:nowrap;max-width:108px;overflow:hidden;text-overflow:ellipsis;color:#36413d}
@keyframes lwf-marquee{0%{transform:translate3d(-50%,0,0)}100%{transform:translate3d(0,0,0)}}
.lwf-home{padding-bottom:50px}
.lwf-hero-news{padding-top:28px}
.lwf-section-title,.lwf-card-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 14px}
.lwf-section-title h2,.lwf-card-head h2{margin:0;font-size:24px;font-weight:900;color:var(--dark)}
.lwf-section-title h2:after{content:"";display:inline-block;width:32px;height:4px;background:var(--green);border-radius:4px;margin-right:9px;vertical-align:middle}
.lwf-section-title a,.lwf-card-head a{font-size:13px;font-weight:800;color:var(--green);text-decoration:none}
.lwf-section-title span{font-size:13px;color:var(--muted)}
.lwf-slider{height:440px;border-radius:15px;overflow:hidden;position:relative;background:#17372b;box-shadow:0 12px 35px rgba(0,0,0,.10)}
.lwf-slides,.lwf-slide{height:100%}
.lwf-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s}
.lwf-slide.is-active{opacity:1;visibility:visible}
.lwf-slide-image{height:100%;display:block;background:#245542 center/cover no-repeat;position:relative}
.lwf-slide-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,18,12,.9),rgba(0,0,0,.04) 65%)}
.lwf-slide-content{position:absolute;right:40px;bottom:35px;left:40px;color:#fff;display:flex;flex-direction:column;align-items:flex-start}
.lwf-slide-date{background:var(--green);padding:4px 10px;border-radius:4px;font-size:12px;font-weight:700;margin-bottom:9px}
.lwf-slide-content strong{font-size:clamp(24px,3vw,40px);line-height:1.3;max-width:850px;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.lwf-slide-read{margin-top:14px;background:#fff;color:var(--dark);padding:8px 17px;border-radius:7px;font-size:13px;font-weight:900}
.lwf-slider-btn{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(255,255,255,.55);background:rgba(0,0,0,.3);color:#fff;border-radius:50%;font-size:31px;line-height:35px;cursor:pointer;z-index:3}
.lwf-slider-btn.prev{right:18px}.lwf-slider-btn.next{left:18px}
.lwf-dots{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:4}
.lwf-dot{width:8px;height:8px;border:0;border-radius:50%;background:rgba(255,255,255,.5);padding:0;cursor:pointer}
.lwf-dot.active{background:#fff;width:23px;border-radius:8px}
.lwf-section{margin-top:30px}
.lwf-score-panel,.lwf-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;box-shadow:0 6px 20px rgba(20,50,38,.04)}
.lwf-main-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-top:30px}
.lwf-side{display:grid;gap:20px}
.lwf-card-head{border-bottom:1px solid var(--line);padding-bottom:12px}
.lwf-table-wrap{overflow:auto}
.lwf-table-wrap table{width:100%;border-collapse:collapse}
.lwf-table-wrap th{background:var(--dark);color:#fff;padding:10px;font-size:12px}
.lwf-table-wrap td{padding:9px;border-bottom:1px solid var(--line);font-size:12px}
.lwf-table-wrap tr:nth-child(even){background:#f8faf9}
.lwf-notices{list-style:none;padding:0;margin:0}
.lwf-notices li{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.lwf-notices li span{font-size:11px;color:var(--green);font-weight:900;min-width:40px}
.lwf-notices li a{text-decoration:none;font-size:13px;font-weight:700}
.lwf-service-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.lwf-service-grid a{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 12px;text-align:center;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:5px;transition:.2s}
.lwf-service-grid a:hover{transform:translateY(-3px);border-color:#acd4c0;box-shadow:0 10px 20px rgba(0,0,0,.06)}
.lwf-service-grid span{font-size:29px}.lwf-service-grid strong{font-size:15px}.lwf-service-grid small{color:var(--muted);font-size:11px}
.lwf-widgets{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-top:30px}
.lwf-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:30px auto}
.lwf-news-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.lwf-news-thumb{height:190px;display:block;background:#dfe9e4}
.lwf-news-thumb img{width:100%;height:100%;object-fit:cover}.lwf-news-thumb>span{display:grid;place-items:center;height:100%;font-size:50px}
.lwf-news-body{padding:15px}.lwf-news-body small{color:var(--muted)}.lwf-news-body h2{font-size:17px;margin:5px 0 12px}.lwf-news-body h2 a{text-decoration:none}.lwf-read{color:var(--green);font-size:13px;font-weight:800;text-decoration:none}
.lwf-empty{padding:22px;text-align:center;background:#f7faf8;border:1px dashed #cbdad2;border-radius:9px;color:var(--muted)}
footer{background:var(--dark);color:#dbe9e3;margin-top:0}.lwf-footer-inner{padding:35px 0;display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.lwf-footer-inner h3{color:#fff;margin-top:0}.lwf-footer-inner a{text-decoration:none;color:#cce5da}.lwf-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:20px 0;text-align:center;font-size:15px;color:#a9bdb5}
@media(max-width:900px){
  .lwf-brand-row{min-height:125px;padding:0 18px}
  .lwf-brand{height:125px;gap:16px}
  .lwf-brand-logo{flex-basis:100px;width:100px;height:105px}
  .lwf-brand-logo img,.lwf-brand-logo .custom-logo{max-width:92px!important;max-height:92px!important}
  .lwf-brand-text strong{font-size:34px!important}
}
@media(max-width:700px){.lwf-brand-row{min-height:150px;width:100%;max-width:none;margin:0;padding:0 28px;background:#fff;display:flex;align-items:center;justify-content:flex-start}
.lwf-brand{display:flex;width:auto;height:150px;align-items:center;justify-content:flex-start;direction:rtl;text-decoration:none;gap:22px;margin:0;flex:0 0 auto}
.lwf-brand-logo{flex:0 0 125px;display:flex;align-items:center;justify-content:center;width:125px;height:125px;z-index:4}
.lwf-brand-logo .custom-logo-link{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%}
.lwf-brand-logo img,.lwf-brand-logo .custom-logo{display:block;width:auto!important;max-width:112px!important;height:auto!important;max-height:112px!important;object-fit:contain}
.lwf-fallback-logo{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-size:38px}
.lwf-brand-text{flex:0 0 auto;min-width:0;display:flex;align-items:center;justify-content:flex-start;line-height:1.1;text-align:right;direction:rtl;z-index:2;white-space:nowrap}
.lwf-brand-text strong{display:block;font-size:44px!important;color:var(--dark);font-weight:900;white-space:nowrap;letter-spacing:-1px;margin:0}
.lwf-brand-text b{font-size:40px;color:var(--green);font-weight:900}
.lwf-brand-tools{display:none}.lwf-breaking{height:44px;background:#b5121b;color:#fff;display:flex;align-items:stretch;overflow:hidden;direction:ltr;position:relative}
.lwf-breaking-label{direction:rtl;order:2;min-width:120px;background:#850b12;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:16px;position:relative;z-index:2;box-shadow:-6px 0 12px rgba(0,0,0,.12)}
.lwf-breaking-window{order:1;overflow:hidden;flex:1;position:relative;display:flex;align-items:center;direction:ltr}
.lwf-breaking-track{display:flex;align-items:center;white-space:nowrap;width:max-content;direction:ltr;animation:lwf-breaking-move 150s linear infinite}
.lwf-breaking-window:hover .lwf-breaking-track{animation-play-state:paused}
.lwf-breaking-track a,.lwf-breaking-track>span{color:#fff;text-decoration:none;font-size:14px;font-weight:800;direction:rtl;unicode-bidi:plaintext;margin:0 18px}
.lwf-breaking-sep{color:#ffd36a!important;font-size:10px!important;margin:0 4px!important;direction:ltr!important}
@keyframes lwf-breaking-move{0%{transform:translate3d(-100%,0,0)}100%{transform:translate3d(100%,0,0)}}
.lwf-menu-toggle{display:block;position:absolute;left:8px;bottom:7px}.lwf-nav{display:none}.lwf-nav.open{display:block}.lwf-menu{display:block;padding:8px 0}.lwf-menu a{padding:10px 12px}.lwf-clubs-label{width:110px;font-size:12px}.lwf-clubs-marquee{margin-right:110px}.lwf-clubs-strip{height:75px}.lwf-slider{height:360px}.lwf-slide-content{right:22px;bottom:30px;left:22px}.lwf-slide-content strong{font-size:23px}.lwf-service-grid{grid-template-columns:repeat(2,1fr)}.lwf-footer-inner{grid-template-columns:1fr}.lwf-news-grid{grid-template-columns:1fr}}

.lwf-no-clubs{padding:10px 18px;color:var(--muted);font-size:12px;white-space:nowrap;display:flex;align-items:center;justify-content:center}

/* Phase 1 V7 precision fixes */
.lwf-brand{overflow:visible}
.lwf-brand-logo{align-self:center}
.lwf-brand-text{align-self:center}
.lwf-breaking-track{animation-duration:15s!important}
.lwf-clubs-track{animation-duration:8s!important}
@media(max-width:700px){.lwf-breaking-track{animation-duration:15s!important}.lwf-clubs-track{animation-duration:8s!important}}

/* V8: logo + league title are one horizontal line */
@media(max-width:900px){
  .lwf-brand{gap:14px;height:125px;min-height:125px}
  .lwf-brand-row{min-height:125px;padding:0 16px}
  .lwf-brand-logo{flex-basis:92px;width:92px;height:100px}
  .lwf-brand-logo img,.lwf-brand-logo .custom-logo{max-width:86px!important;max-height:86px!important}
  .lwf-brand-text strong{font-size:31px!important}
}
@media(max-width:560px){
  .lwf-brand{gap:8px;height:100px;min-height:100px}
  .lwf-brand-row{min-height:100px;padding:0 8px}
  .lwf-brand-logo{flex-basis:72px;width:72px;height:82px}
  .lwf-brand-logo img,.lwf-brand-logo .custom-logo{max-width:68px!important;max-height:68px!important}
  .lwf-brand-text strong{font-size:22px!important;letter-spacing:-.5px}
}

/* V9 FINAL HEADER GEOMETRY */
.lwf-brand-row > .lwf-brand{position:relative;left:auto;right:auto}
.lwf-brand-logo,.lwf-brand-text{align-self:center}
@media(max-width:700px){
  .lwf-brand-text strong{white-space:nowrap!important}
}

/* =========================================================
   LWF NAAMA V10 - EXACT HEADER IDENTITY LAYOUT
   Logo + league title MUST be one horizontal row.
   ========================================================= */
.lwf-header .lwf-topbar .lwf-brand-row{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 28px 0 28px !important;
  min-height:150px !important;
  height:150px !important;
  display:block !important;
  background:#fff !important;
  overflow:hidden !important;
}
.lwf-header .lwf-brand-row > .lwf-brand{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  height:150px !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:22px !important;
  direction:rtl !important;
  white-space:nowrap !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
  box-sizing:border-box !important;
  flex:0 0 118px !important;
  width:118px !important;
  height:128px !important;
  min-width:118px !important;
  min-height:128px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
}
.lwf-header .lwf-brand-logo .custom-logo-link{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
}
.lwf-header .lwf-brand-logo img,
.lwf-header .lwf-brand-logo .custom-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:112px !important;
  max-height:112px !important;
  object-fit:contain !important;
  margin:0 !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
  box-sizing:border-box !important;
  flex:0 1 auto !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  margin:0 !important;
  padding:0 !important;
  text-align:right !important;
  direction:rtl !important;
  white-space:nowrap !important;
}
.lwf-header .lwf-brand-text strong{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-size:44px !important;
  line-height:1 !important;
  font-weight:900 !important;
  color:#06372d !important;
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow:visible !important;
}

/* Keep it one horizontal row on smaller screens too. */
@media (max-width:900px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    height:125px !important;
    min-height:125px !important;
    padding:0 16px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    height:125px !important;
    gap:14px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex-basis:90px !important;
    width:90px !important;
    min-width:90px !important;
    height:100px !important;
    min-height:100px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:86px !important;
    max-height:86px !important;
  }
  .lwf-header .lwf-brand-text strong{
    font-size:32px !important;
  }
}
@media (max-width:600px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    height:100px !important;
    min-height:100px !important;
    padding:0 8px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    height:100px !important;
    gap:8px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex-basis:68px !important;
    width:68px !important;
    min-width:68px !important;
    height:76px !important;
    min-height:76px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:64px !important;
    max-height:64px !important;
  }
  .lwf-header .lwf-brand-text strong{
    font-size:21px !important;
    letter-spacing:-.4px !important;
  }
}


/* Phase 1 V10 — single pages, Arabic dates and SportPress integration */
html,body{direction:rtl}
body{overflow-x:hidden}
.lwf-ar-date{direction:rtl;unicode-bidi:plaintext;display:inline-block;white-space:nowrap}
.lwf-content-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:22px;margin-top:30px;margin-bottom:40px;align-items:start}
.lwf-content-main{min-width:0}
.lwf-single-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 8px 25px rgba(6,43,32,.04)}
.lwf-single-head{padding:24px 26px 18px}
.lwf-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--muted);font-size:12px;margin-bottom:12px}
.lwf-breadcrumb a{color:var(--green);font-weight:800;text-decoration:none}
.lwf-single-head h1{margin:0;color:var(--dark);font-size:clamp(25px,3vw,38px);line-height:1.45;font-weight:900}
.lwf-single-meta{display:flex;gap:9px;align-items:center;margin-top:12px;color:var(--muted);font-size:13px}
.lwf-single-cover{max-height:520px;background:#eef3f0;overflow:hidden}
.lwf-single-cover img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}
.lwf-single-content{padding:26px;font-size:17px;line-height:2;color:#25332e}
.lwf-single-content p{margin:0 0 18px}
.lwf-single-content img{max-width:100%;height:auto}
.lwf-single-content a{color:var(--green);font-weight:700}
.lwf-single-content ul,.lwf-single-content ol{padding-right:25px;padding-left:0}
.lwf-page-links{margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}
.lwf-single-footer{padding:15px 26px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.lwf-single-footer a{text-decoration:none;color:var(--green);font-weight:800}
.lwf-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.lwf-post-nav>div{min-width:0}
.lwf-post-nav a{display:block;background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px 15px;text-decoration:none;color:var(--green);font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lwf-content-sidebar{display:flex;flex-direction:column;gap:18px}
.lwf-sidebar-news{list-style:none;margin:0;padding:0}
.lwf-sidebar-news li{padding:12px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.lwf-sidebar-news li:last-child{border-bottom:0}
.lwf-sidebar-news a{text-decoration:none;font-weight:800;line-height:1.6}
.lwf-sidebar-news a:hover{color:var(--green)}
.lwf-sidebar-news .lwf-ar-date{font-size:11px;color:var(--muted)}
.lwf-sportspress-page .sportspress,.lwf-sportspress-page .sp-template{direction:rtl}
.lwf-sportspress-page .sp-data-table,.lwf-sportspress-page table{width:100%;border-collapse:collapse;background:#fff}
.lwf-sportspress-page th{background:var(--dark);color:#fff;font-weight:800}
.lwf-sportspress-page th,.lwf-sportspress-page td{padding:10px 9px;border:1px solid var(--line);text-align:center}
.lwf-sportspress-page .sp-template{margin-bottom:20px}
.lwf-team-single-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;padding:26px;align-items:start}
.lwf-team-single-logo{min-height:180px;border-radius:14px;background:#f4f8f6;display:grid;place-items:center;padding:18px}
.lwf-team-single-logo img{max-width:180px;width:100%;height:auto;object-fit:contain}
.lwf-team-single-logo span{font-size:65px}
.lwf-team-single-info{min-width:0;line-height:2}
.lwf-sp-note{padding:0 18px 18px;color:var(--muted);line-height:1.8}
.lwf-card-head a[href="#"]{text-decoration:none}
@media(max-width:900px){
 .lwf-content-layout{grid-template-columns:1fr}
 .lwf-content-sidebar{order:2}
 .lwf-team-single-grid{grid-template-columns:1fr}
 .lwf-team-single-logo{max-width:220px;margin:auto;width:100%}
}
@media(max-width:600px){
 .lwf-single-head{padding:18px 16px 14px}
 .lwf-single-content{padding:18px 16px;font-size:16px}
 .lwf-single-footer{padding:13px 16px}
 .lwf-post-nav{grid-template-columns:1fr}
 .lwf-single-cover img{max-height:360px}
}


/* === Header logo + site title: single horizontal line / RTL === */
.site-header .site-branding,
.site-header .branding,
.site-header .header-brand,
.site-header .logo-area,
.site-header .brand,
header .site-branding {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    direction: rtl;
}

.site-header .site-branding > *,
.site-header .branding > *,
.site-header .header-brand > *,
.site-header .logo-area > *,
.site-header .brand > *,
header .site-branding > * {
    flex: 0 0 auto;
}

.site-header img.custom-logo,
.site-header .custom-logo,
.site-header .site-logo img,
.site-header .logo img,
.site-header .brand img {
    display: block !important;
    width: auto !important;
    height: 58px !important;
    max-width: 90px !important;
    object-fit: contain;
    margin: 0 !important;
}

.site-header .site-title,
.site-header .site-title a,
.site-header .site-name,
.site-header .brand-title,
.site-header .logo-title {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.site-header .site-description,
.site-header .tagline {
    margin: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .site-header img.custom-logo,
    .site-header .custom-logo,
    .site-header .site-logo img,
    .site-header .logo img,
    .site-header .brand img {
        height: 48px !important;
        max-width: 75px !important;
    }

    .site-header .site-branding,
    .site-header .branding,
    .site-header .header-brand,
    .site-header .logo-area,
    .site-header .brand,
    header .site-branding {
        gap: 7px;
    }
}


/* Competition selector / SportPress context */
.lwf-competition-selector{background:#f8fbf9;border-bottom:1px solid var(--line);padding:14px 0;direction:rtl}
.lwf-competition-selector-inner{width:min(1180px,calc(100% - 30px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.lwf-competition-selector-title{display:flex;align-items:center;gap:12px;color:var(--dark)}
.lwf-competition-selector-title strong{display:block;font-size:16px;font-weight:900}
.lwf-competition-selector-title small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.lwf-competition-icon{width:40px;height:40px;border-radius:10px;background:var(--green);color:#fff;display:grid;place-items:center;font-size:20px}
.lwf-competition-form{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.lwf-competition-form label{font-size:12px;font-weight:800;color:var(--dark)}
.lwf-competition-form select{min-width:250px;border:1px solid #cfdcd5;border-radius:8px;background:#fff;color:var(--dark);font-family:inherit;font-size:13px;font-weight:800;padding:10px 38px 10px 12px;outline:none;cursor:pointer}
.lwf-competition-form select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(8,123,72,.1)}
.lwf-competition-reset{font-size:11px;color:var(--green);font-weight:800;text-decoration:none}
@media(max-width:700px){.lwf-competition-selector-inner{display:block}.lwf-competition-selector-title{margin-bottom:10px}.lwf-competition-form{display:grid;grid-template-columns:1fr auto}.lwf-competition-form label{grid-column:1/-1}.lwf-competition-form select{min-width:0;width:100%}}

/* === Current-season competition selector — LWF Naama palette === */
.lwf-competition-selector{
  position:relative;
  background:linear-gradient(90deg,#f7fbf9 0%,#ffffff 50%,#f7fbf9 100%);
  border-top:1px solid rgba(6,55,45,.06);
  border-bottom:1px solid var(--line);
  padding:12px 0;
  box-shadow:0 3px 12px rgba(6,55,45,.04);
  z-index:15;
}
.lwf-competition-selector-inner{
  width:min(1180px,calc(100% - 30px));
  margin:auto;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.lwf-competition-selector-title{display:flex;align-items:center;gap:12px;color:var(--dark);min-width:0}
.lwf-competition-selector-title>div{min-width:0}
.lwf-competition-selector-title strong{display:block;font-size:15px;font-weight:900;line-height:1.5;color:var(--dark)}
.lwf-competition-selector-title small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:1px}
.lwf-competition-icon{
  width:42px;height:42px;min-width:42px;border-radius:11px;
  background:linear-gradient(135deg,var(--dark),var(--green));
  color:#fff;display:grid;place-items:center;font-size:19px;
  box-shadow:0 5px 12px rgba(6,55,45,.14);
}
.lwf-competition-form{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.lwf-competition-form label{font-size:12px;font-weight:900;color:var(--dark);white-space:nowrap}
.lwf-competition-select-wrap{position:relative;min-width:300px}
.lwf-competition-select-wrap:after{
  content:'⌄';position:absolute;left:13px;top:50%;transform:translateY(-56%);
  color:var(--green);font-size:17px;font-weight:900;pointer-events:none;
}
.lwf-competition-form select{
  appearance:none;-webkit-appearance:none;width:100%;min-width:300px;
  border:1px solid #cbdad3;border-radius:9px;background:#fff;color:var(--dark);
  font-family:inherit;font-size:13px;font-weight:800;padding:11px 14px 11px 38px;
  outline:none;cursor:pointer;transition:.2s;box-shadow:0 2px 7px rgba(6,55,45,.04)
}
.lwf-competition-form select:hover{border-color:var(--green);box-shadow:0 4px 12px rgba(6,55,45,.08)}
.lwf-competition-form select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(8,123,72,.11)}
.lwf-competition-reset{
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;
  padding:0 11px;border-radius:8px;border:1px solid #d9e4df;
  color:var(--green);background:#fff;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap;transition:.2s
}
.lwf-competition-reset:hover{background:var(--green);border-color:var(--green);color:#fff}
@media(max-width:820px){
 .lwf-competition-selector-inner{gap:14px}
 .lwf-competition-selector-title{flex:1}
 .lwf-competition-form{flex:1;justify-content:flex-end}
 .lwf-competition-select-wrap{min-width:230px}
 .lwf-competition-form select{min-width:230px}
}
@media(max-width:700px){
 .lwf-competition-selector{padding:11px 0}
 .lwf-competition-selector-inner{display:grid;grid-template-columns:1fr;gap:10px}
 .lwf-competition-selector-title{width:100%}
 .lwf-competition-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;width:100%;gap:7px}
 .lwf-competition-form label{align-self:center}
 .lwf-competition-select-wrap,.lwf-competition-form select{min-width:0;width:100%}
 .lwf-competition-form select{padding-top:10px;padding-bottom:10px}
}
@media(max-width:460px){
 .lwf-competition-selector-title strong{font-size:13px}
 .lwf-competition-selector-title small{font-size:10px}
 .lwf-competition-icon{width:38px;height:38px;min-width:38px;font-size:17px}
 .lwf-competition-form{grid-template-columns:1fr auto}
 .lwf-competition-form label{grid-column:1/-1}
}


/* =========================================================
   LWF Naama v13 — Responsive + SportPress UI
   Mobile-first finishing layer
   ========================================================= */

/* Global safety */
html { overflow-x:hidden; }
body { min-width:0 !important; overflow-x:hidden !important; }
*, *::before, *::after { box-sizing:border-box; }
img, video, iframe { max-width:100%; }

/* Header: keep desktop branding on one line, but make it genuinely
   responsive on phones instead of forcing nowrap beyond the viewport. */
@media (max-width: 900px){
  .lwf-header .lwf-brand-row{
    overflow:hidden !important;
  }
}
@media (max-width: 600px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    height:auto !important;
    min-height:78px !important;
    padding:8px 10px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    width:100% !important;
    height:auto !important;
    min-width:0 !important;
    gap:8px !important;
    overflow:hidden !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 52px !important;
    width:52px !important;
    min-width:52px !important;
    height:58px !important;
    min-height:58px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:52px !important;
    max-height:52px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    flex:1 1 auto !important;
    min-width:0 !important;
    width:auto !important;
    white-space:normal !important;
    overflow:hidden !important;
  }
  .lwf-header .lwf-brand-text strong{
    font-size:16px !important;
    line-height:1.35 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
}

/* Navigation / breaking ticker */
.lwf-nav-wrap, .lwf-nav, .lwf-menu { min-width:0; }
.lwf-breaking { max-width:100%; overflow:hidden; }
.lwf-breaking-window { min-width:0; overflow:hidden; }
.lwf-breaking-track { width:max-content; max-width:none; }

@media(max-width:700px){
  .lwf-nav-wrap .lwf-container{ width:100%; padding:0 10px; }
  .lwf-menu{ width:100%; }
  .lwf-breaking{ font-size:11px; }
  .lwf-breaking-label{ flex:0 0 auto; }
}

/* Main containers and grids */
.lwf-container{
  width:min(1180px, calc(100% - 30px));
  margin-left:auto;
  margin-right:auto;
}
.lwf-main-grid{
  min-width:0;
}
.lwf-main-grid > *,
.lwf-side,
.lwf-card,
.lwf-score-panel,
.lwf-table-wrap{
  min-width:0;
}
.lwf-card{
  overflow:hidden;
}

/* Competition selector */
.lwf-competition-selector,
.lwf-competition-selector-inner,
.lwf-competition-form,
.lwf-competition-select-wrap{
  min-width:0;
}
.lwf-competition-form select{
  max-width:100%;
}

/* Club strip */
.lwf-clubs-strip{ min-width:0; overflow:hidden; }
.lwf-clubs-marquee{ min-width:0; overflow:hidden; }
.lwf-clubs-track{ width:max-content; }
.lwf-team-item{ min-width:0; }

/* SportPress: normalize the plugin output into the theme cards */
.sportspress,
.sp-template,
.sp-data-table,
.sp-template-event-list,
.sp-template-league-table,
.sp-event-list,
.sp-league-table,
.sp-table-wrapper{
  max-width:100%;
  min-width:0;
}

.lwf-score-panel .sp-template,
.lwf-table-wrap .sp-template,
.lwf-card .sp-template{
  background:#fff;
  border:0;
  border-radius:12px;
  overflow:hidden;
  margin:0 0 14px;
}

.lwf-score-panel .sp-template:last-child,
.lwf-table-wrap .sp-template:last-child,
.lwf-card .sp-template:last-child{
  margin-bottom:0;
}

/* League table */
.lwf-table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.lwf-table-wrap table.sp-league-table,
.lwf-table-wrap table.sp-data-table,
.lwf-table-wrap table{
  width:100% !important;
  min-width:620px;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:#fff;
  font-size:13px;
}
.lwf-table-wrap th{
  background:var(--dark) !important;
  color:#fff !important;
  border:0 !important;
  padding:11px 9px !important;
  font-weight:900 !important;
  white-space:nowrap;
}
.lwf-table-wrap td{
  background:#fff !important;
  color:#25332e !important;
  border:0 !important;
  border-bottom:1px solid var(--line) !important;
  padding:10px 9px !important;
  vertical-align:middle !important;
}
.lwf-table-wrap tr:hover td{
  background:#f7fbf9 !important;
}
.lwf-table-wrap tr:last-child td{
  border-bottom:0 !important;
}
.lwf-table-wrap .data-name,
.lwf-table-wrap .sp-team-name{
  font-weight:800;
  text-align:right;
}
.lwf-table-wrap .team-logo{
  max-width:28px;
  max-height:28px;
  object-fit:contain;
}

/* Event list / fixtures / results */
.lwf-score-panel{
  overflow:hidden;
}
.lwf-score-panel .sp-event-list,
.lwf-score-panel ul.sp-event-list{
  list-style:none;
  margin:0;
  padding:0;
}
.lwf-score-panel .sp-event-list li{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  margin:0 0 10px;
  padding:12px;
  overflow:hidden;
}
.lwf-score-panel .sp-event-list li:last-child{
  margin-bottom:0;
}
.lwf-score-panel .sp-event-list li:hover{
  border-color:#b9d0c5;
  box-shadow:0 5px 16px rgba(6,55,45,.06);
}
.lwf-score-panel .sp-event-list .sp-event-date,
.lwf-score-panel .sp-event-list .sp-event-time{
  direction:rtl;
  unicode-bidi:plaintext;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
}
.lwf-score-panel .sp-event-list .sp-event-title{
  color:var(--dark);
  font-weight:900;
}
.lwf-score-panel .sp-event-list a{
  color:var(--green);
}

/* Prevent long team names / event names from breaking the mobile layout */
.sp-template table td,
.sp-template table th,
.sp-event-list li,
.sp-event-list a,
.sp-event-list .sp-event-title{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Generic SportPress tables: horizontal scroll rather than page overflow */
.sportspress .sp-data-table-wrapper,
.sportspress .sp-table-wrapper,
.sp-template .sp-data-table-wrapper{
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

/* SportPress single/team pages */
.lwf-sportspress-page .sp-template{
  width:100% !important;
}
.lwf-sportspress-page .sp-data-table,
.lwf-sportspress-page table{
  min-width:560px;
}
.lwf-sportspress-page .sp-template table{
  margin:0;
}
.lwf-sportspress-page .sp-template-title{
  color:var(--dark);
  font-weight:900;
  margin-bottom:10px;
}

/* Home cards: consistent height and spacing */
.lwf-service-grid,
.lwf-news-grid,
.lwf-main-grid{
  min-width:0;
}
.lwf-service-grid > *,
.lwf-news-grid > *,
.lwf-main-grid > *{
  min-width:0;
}

/* Tablet */
@media(max-width:900px){
  .lwf-container{
    width:min(100% - 24px, 760px);
  }
  .lwf-main-grid{
    grid-template-columns:1fr !important;
  }
  .lwf-side{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
  }
  .lwf-content-layout{
    grid-template-columns:1fr !important;
  }
}

/* Phone */
@media(max-width:600px){
  .lwf-container{
    width:calc(100% - 20px) !important;
  }

  .lwf-section{
    margin-top:20px !important;
    margin-bottom:20px !important;
  }

  .lwf-section-title{
    gap:8px;
    flex-wrap:wrap;
  }
  .lwf-section-title h2{
    font-size:18px !important;
    line-height:1.5 !important;
  }
  .lwf-section-title a,
  .lwf-section-title span{
    font-size:10px !important;
  }

  .lwf-side{
    display:block !important;
  }
  .lwf-side .lwf-card{
    margin-bottom:12px;
  }

  .lwf-card{
    border-radius:12px !important;
  }
  .lwf-card-head{
    padding:12px 13px !important;
    gap:8px;
  }
  .lwf-card-head h2{
    font-size:15px !important;
  }
  .lwf-card-head a{
    font-size:10px !important;
  }

  /* Competition selector as a clean single mobile card */
  .lwf-competition-selector{
    padding:9px 0 !important;
  }
  .lwf-competition-selector-inner{
    width:calc(100% - 20px) !important;
    display:block !important;
  }
  .lwf-competition-selector-title{
    margin-bottom:8px !important;
  }
  .lwf-competition-form{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    width:100% !important;
    gap:7px !important;
  }
  .lwf-competition-form label{
    grid-column:1/-1 !important;
  }
  .lwf-competition-select-wrap{
    width:100% !important;
    min-width:0 !important;
  }
  .lwf-competition-form select{
    width:100% !important;
    min-width:0 !important;
    font-size:12px !important;
    padding:10px 12px 10px 34px !important;
  }
  .lwf-competition-reset{
    min-height:38px;
    padding:0 9px;
  }

  /* Club strip */
  .lwf-clubs-strip{
    display:block !important;
  }
  .lwf-clubs-label{
    width:100% !important;
    padding:9px 12px !important;
    text-align:center !important;
    font-size:12px !important;
  }

  /* News cards */
  .lwf-news-grid{
    grid-template-columns:1fr !important;
  }

  /* Tables remain usable without causing horizontal page scroll */
  .lwf-table-wrap{
    margin:0 !important;
    padding-bottom:3px;
  }
  .lwf-table-wrap table{
    min-width:560px !important;
    font-size:11px !important;
  }
  .lwf-table-wrap th,
  .lwf-table-wrap td{
    padding:8px 7px !important;
  }

  /* Event cards */
  .lwf-score-panel .sp-event-list li{
    padding:10px !important;
    border-radius:10px !important;
  }
  .lwf-score-panel .sp-event-list{
    font-size:12px !important;
  }

  /* Service cards */
  .lwf-service-grid{
    grid-template-columns:1fr 1fr !important;
    gap:9px !important;
  }
  .lwf-service-grid > a{
    min-height:105px !important;
    padding:12px 8px !important;
    border-radius:11px !important;
  }

  .lwf-post-nav{
    gap:8px !important;
  }
}

/* Very small phones */
@media(max-width:380px){
  .lwf-container{
    width:calc(100% - 14px) !important;
  }
  .lwf-header .lwf-brand-text strong{
    font-size:14px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex-basis:46px !important;
    width:46px !important;
    min-width:46px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:46px !important;
    max-height:46px !important;
  }
  .lwf-service-grid{
    grid-template-columns:1fr !important;
  }
  .lwf-competition-form{
    grid-template-columns:1fr !important;
  }
  .lwf-competition-reset{
    width:100%;
  }
}

/* Arabic date consistency */
.lwf-ar-date,
.sp-event-date,
.sp-event-time{
  direction:rtl !important;
  unicode-bidi:plaintext;
}


/* =========================================================
   LWF Naama v14 — MOBILE-FIRST FINAL POLISH
   Priority: phone -> tablet -> desktop
   ========================================================= */

:root{
  --lwf-radius:14px;
  --lwf-shadow:0 5px 18px rgba(0,0,0,.07);
}

/* Base mobile canvas */
html,body{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
}
body{
  overflow-x:hidden !important;
  -webkit-text-size-adjust:100%;
}
#page,.site,.lwf-site,.lwf-wrapper{
  width:100%;
  max-width:100%;
  overflow-x:clip;
}
.lwf-container{
  width:calc(100% - 20px) !important;
  max-width:1180px;
  margin-inline:auto;
}

/* Header */
.lwf-header{
  width:100%;
  overflow:hidden;
}
.lwf-header .lwf-brand-row{
  width:100% !important;
  min-height:76px;
  padding:8px 10px !important;
  display:flex !important;
  align-items:center !important;
}
.lwf-header .lwf-brand-row > .lwf-brand{
  width:100% !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
  flex:0 0 50px !important;
  width:50px !important;
  min-width:50px !important;
  height:56px !important;
}
.lwf-header .lwf-brand-logo img,
.lwf-header .lwf-brand-logo .custom-logo{
  width:auto !important;
  max-width:50px !important;
  max-height:50px !important;
  object-fit:contain;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
  flex:1 1 auto !important;
  min-width:0 !important;
  white-space:normal !important;
  overflow:hidden !important;
}
.lwf-header .lwf-brand-text strong{
  display:block;
  font-size:16px !important;
  line-height:1.35 !important;
  white-space:normal !important;
  overflow-wrap:anywhere;
}

/* Navigation */
.lwf-nav-wrap{
  width:100%;
  overflow:hidden;
}
.lwf-nav-wrap .lwf-container{
  width:100% !important;
  padding:0 10px;
}
.lwf-menu{
  width:100%;
  max-width:100%;
}
.lwf-menu a{
  white-space:nowrap;
}
.lwf-menu-toggle{
  min-width:44px;
  min-height:44px;
}

/* Breaking news: no page-width overflow */
.lwf-breaking{
  width:100%;
  max-width:100%;
  overflow:hidden !important;
}
.lwf-breaking-window{
  min-width:0 !important;
  flex:1 1 auto;
  overflow:hidden !important;
}

/* Competition selector */
.lwf-competition-selector{
  width:100%;
  margin:10px 0;
  border-radius:var(--lwf-radius);
  overflow:hidden;
}
.lwf-competition-selector-inner{
  width:calc(100% - 20px) !important;
  margin-inline:auto;
  padding:10px 0 !important;
}
.lwf-competition-selector-title{
  font-size:13px !important;
  line-height:1.5;
}
.lwf-competition-form{
  width:100% !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:8px !important;
}
.lwf-competition-form select{
  width:100% !important;
  min-width:0 !important;
  height:44px;
  font-size:13px !important;
  border-radius:10px !important;
}
.lwf-competition-reset{
  width:100%;
  min-height:40px;
  border-radius:10px;
}

/* Home hero / feature blocks */
.lwf-hero,
.lwf-hero-inner,
.lwf-hero-content{
  min-width:0 !important;
  max-width:100% !important;
}
.lwf-hero{
  overflow:hidden !important;
}
.lwf-hero h1,
.lwf-hero h2{
  overflow-wrap:anywhere;
}
.lwf-service-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:9px !important;
}
.lwf-service-grid > *{
  min-width:0 !important;
  width:100% !important;
  min-height:100px !important;
  border-radius:12px !important;
}

/* Cards */
.lwf-card,
.lwf-score-panel{
  width:100%;
  min-width:0;
  border-radius:var(--lwf-radius) !important;
  box-shadow:var(--lwf-shadow);
  overflow:hidden;
}
.lwf-card-head{
  min-width:0;
  padding:12px 13px !important;
}
.lwf-card-head h2,
.lwf-card-head a{
  min-width:0;
  overflow-wrap:anywhere;
}
.lwf-card-body{
  min-width:0;
}

/* News */
.lwf-news-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:12px !important;
}
.lwf-news-card{
  width:100%;
  min-width:0;
  overflow:hidden;
}
.lwf-news-card img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
}

/* Clubs */
.lwf-clubs-strip{
  width:100%;
  max-width:100%;
  overflow:hidden !important;
}
.lwf-clubs-track{
  width:max-content;
}
.lwf-team-item{
  flex:0 0 auto;
}

/* SportPress — mobile card treatment */
.sportspress,
.sp-template,
.sp-template-event-list,
.sp-template-league-table,
.sp-template-event-details,
.sp-template-team-details{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}

.lwf-table-wrap,
.sp-table-wrapper,
.sp-data-table-wrapper{
  width:100%;
  max-width:100%;
  overflow-x:auto !important;
  -webkit-overflow-scrolling:touch;
}
.lwf-table-wrap table,
.sp-data-table{
  min-width:560px !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  font-size:11px !important;
}
.lwf-table-wrap th,
.sp-data-table th{
  padding:9px 7px !important;
  white-space:nowrap;
}
.lwf-table-wrap td,
.sp-data-table td{
  padding:9px 7px !important;
}

/* Match/result cards */
.lwf-score-panel .sp-event-list{
  margin:0 !important;
  padding:0 !important;
}
.lwf-score-panel .sp-event-list li{
  width:100%;
  margin:0 0 9px !important;
  padding:11px !important;
  border-radius:11px !important;
  border:1px solid var(--line);
  overflow:hidden;
}
.lwf-score-panel .sp-event-list li:last-child{
  margin-bottom:0 !important;
}
.lwf-score-panel .sp-event-list .sp-event-date,
.lwf-score-panel .sp-event-list .sp-event-time{
  direction:rtl !important;
  unicode-bidi:plaintext;
  font-size:10px !important;
}
.lwf-score-panel .sp-event-list .sp-event-title{
  font-size:12px !important;
  line-height:1.55;
  overflow-wrap:anywhere;
}

/* Arabic dates everywhere */
.lwf-ar-date,
.entry-date,
.posted-on,
.sp-event-date,
.sp-event-time,
.sp-result-date{
  direction:rtl !important;
  unicode-bidi:plaintext !important;
  text-align:right;
}

/* Footer */
.lwf-footer{
  width:100%;
  overflow:hidden;
}
.lwf-footer .lwf-container{
  width:calc(100% - 20px) !important;
}
.lwf-footer-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.lwf-footer-logos img{
  max-width:72px;
  height:auto;
}

/* Touch targets */
@media (max-width:600px){
  a,button,select,input{
    touch-action:manipulation;
  }
  .lwf-menu a,
  .lwf-card-head a,
  .lwf-section-title a{
    min-height:38px;
  }
  .lwf-section-title{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
  }
  .lwf-section-title h2{
    font-size:18px !important;
    line-height:1.5 !important;
  }
}

/* Small phones */
@media (max-width:380px){
  .lwf-container,
  .lwf-footer .lwf-container{
    width:calc(100% - 14px) !important;
  }
  .lwf-header .lwf-brand-row{
    min-height:70px;
    padding-inline:7px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex-basis:44px !important;
    width:44px !important;
    min-width:44px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:44px !important;
    max-height:44px !important;
  }
  .lwf-header .lwf-brand-text strong{
    font-size:14px !important;
  }
  .lwf-service-grid{
    grid-template-columns:1fr !important;
  }
}

/* Tablet: expand carefully */
@media (min-width:601px) and (max-width:900px){
  .lwf-container{
    width:calc(100% - 28px) !important;
  }
  .lwf-main-grid,
  .lwf-content-layout{
    grid-template-columns:1fr !important;
  }
  .lwf-news-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .lwf-service-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* Desktop: restore spacious presentation only after mobile/tablet are stable */
@media (min-width:901px){
  .lwf-container{
    width:min(1180px,calc(100% - 40px)) !important;
  }
  .lwf-news-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}


/* v15 — selected competition context */
.lwf-competition-selector[data-selected="1"]{
  box-shadow:0 4px 18px rgba(0,0,0,.06);
}
.lwf-score-panel .sportspress{
  width:100%;
  min-width:0;
}
.lwf-score-panel .sportspress + .sportspress{
  margin-top:10px;
}
#results .lwf-score-panel{
  border-top:3px solid var(--green);
}


/* =========================================================
   LWF Naama v18 — Competition selector geometry fix
   Final override: works in the WordPress Customizer iframe too.
   ========================================================= */
.lwf-competition-selector{
  width:100% !important;
  margin:10px 0 !important;
  padding:14px 0 !important;
  background:#f8fbf9 !important;
  border-top:1px solid rgba(6,55,45,.06) !important;
  border-bottom:1px solid #e2e9e5 !important;
  overflow:visible !important;
  direction:rtl !important;
}
.lwf-competition-selector .lwf-competition-selector-inner{
  width:min(1180px,calc(100% - 30px)) !important;
  max-width:1180px !important;
  min-height:66px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:minmax(360px,1fr) minmax(420px,520px) !important;
  grid-template-areas:"title form" !important;
  align-items:center !important;
  column-gap:32px !important;
  row-gap:0 !important;
  direction:rtl !important;
}
.lwf-competition-selector .lwf-competition-selector-title{
  grid-area:title !important;
  width:auto !important;
  min-width:360px !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex:0 0 auto !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  text-align:right !important;
  direction:rtl !important;
  white-space:normal !important;
  overflow:visible !important;
}
.lwf-competition-selector .lwf-competition-icon{
  flex:0 0 42px !important;
  width:42px !important;
  min-width:42px !important;
  height:42px !important;
}
.lwf-competition-selector .lwf-competition-selector-copy{
  flex:1 1 auto !important;
  min-width:0 !important;
  width:auto !important;
  overflow:visible !important;
}
.lwf-competition-selector .lwf-competition-selector-title strong{
  display:block !important;
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  font-size:16px !important;
  line-height:1.5 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow:visible !important;
}
.lwf-competition-selector .lwf-competition-selector-title small{
  display:block !important;
  width:auto !important;
  margin:2px 0 0 !important;
  font-size:11px !important;
  line-height:1.5 !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.lwf-competition-selector .lwf-competition-form{
  grid-area:form !important;
  width:520px !important;
  max-width:520px !important;
  min-width:420px !important;
  margin:0 !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:48px minmax(250px,1fr) auto !important;
  align-items:center !important;
  justify-content:end !important;
  gap:9px !important;
  direction:rtl !important;
}
.lwf-competition-selector .lwf-competition-form label{
  display:block !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  font-size:12px !important;
  line-height:1.4 !important;
  font-weight:800 !important;
  white-space:nowrap !important;
  text-align:right !important;
}
.lwf-competition-selector .lwf-competition-select-wrap{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
.lwf-competition-selector .lwf-competition-form select,
.lwf-competition-selector select#lwf-competition-select{
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:44px !important;
  margin:0 !important;
  padding:9px 38px 9px 12px !important;
  border:1px solid #cfdcd5 !important;
  border-radius:9px !important;
  background:#fff !important;
  color:#062b20 !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:24px !important;
}
.lwf-competition-selector .lwf-competition-reset{
  display:inline-flex !important;
  width:auto !important;
  min-width:72px !important;
  max-width:none !important;
  min-height:40px !important;
  height:40px !important;
  margin:0 !important;
  padding:0 12px !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:8px !important;
  background:#087b48 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
.lwf-competition-selector .lwf-competition-reset:hover{background:#045b36 !important;color:#fff !important}

/* Customizer and narrower desktop/tablet preview widths */
@media (min-width:701px) and (max-width:1100px){
  .lwf-competition-selector .lwf-competition-selector-inner{
    grid-template-columns:minmax(260px,1fr) minmax(360px,480px) !important;
    column-gap:20px !important;
  }
  .lwf-competition-selector .lwf-competition-selector-title{min-width:260px !important}
  .lwf-competition-selector .lwf-competition-form{width:480px !important;max-width:480px !important;min-width:360px !important}
}

/* Phones: title first, select second, show-all third */
@media (max-width:700px){
  .lwf-competition-selector{
    margin:8px 0 !important;
    padding:10px 0 12px !important;
  }
  .lwf-competition-selector .lwf-competition-selector-inner{
    width:calc(100% - 20px) !important;
    max-width:none !important;
    min-height:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:9px !important;
  }
  .lwf-competition-selector .lwf-competition-selector-title{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    justify-content:flex-start !important;
    margin:0 !important;
  }
  .lwf-competition-selector .lwf-competition-selector-title strong{
    font-size:14px !important;
    white-space:nowrap !important;
  }
  .lwf-competition-selector .lwf-competition-selector-title small{
    font-size:10px !important;
    white-space:nowrap !important;
  }
  .lwf-competition-selector .lwf-competition-form{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:7px !important;
  }
  .lwf-competition-selector .lwf-competition-form label{
    width:100% !important;
    text-align:right !important;
  }
  .lwf-competition-selector .lwf-competition-select-wrap,
  .lwf-competition-selector .lwf-competition-form select{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }
  .lwf-competition-selector .lwf-competition-reset{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:40px !important;
  }
}


/* V20 HEADER VISIBILITY FIX — keep league identity visible in WordPress Customizer */
.lwf-header .lwf-topbar,
.lwf-header .lwf-brand-row{
  position:relative!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
}
.lwf-header .lwf-brand-row{
  height:150px!important;
  min-height:150px!important;
  width:100%!important;
  padding:0 30px!important;
  background:#fff!important;
  direction:rtl!important;
}
.lwf-header .lwf-brand-row > .lwf-brand{
  position:relative!important;
  z-index:50!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:max-content!important;
  max-width:calc(100% - 20px)!important;
  height:150px!important;
  min-height:150px!important;
  margin:0!important;
  padding:0!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  direction:rtl!important;
  gap:20px!important;
  text-decoration:none!important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
  position:relative!important;
  z-index:51!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 120px!important;
  width:120px!important;
  min-width:120px!important;
  height:130px!important;
  min-height:130px!important;
  align-items:center!important;
  justify-content:center!important;
}
.lwf-header .lwf-brand-logo .custom-logo-link,
.lwf-header .lwf-brand-logo img,
.lwf-header .lwf-brand-logo .custom-logo{
  visibility:visible!important;
  opacity:1!important;
}
.lwf-header .lwf-brand-logo .custom-logo-link{
  display:flex!important;
  width:100%!important;
  height:100%!important;
  align-items:center!important;
  justify-content:center!important;
}
.lwf-header .lwf-brand-logo img,
.lwf-header .lwf-brand-logo .custom-logo{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:112px!important;
  max-height:112px!important;
  object-fit:contain!important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
  position:relative!important;
  z-index:51!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 1 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  align-items:center!important;
  direction:rtl!important;
  text-align:right!important;
}
.lwf-header .lwf-brand-text strong{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#06372d!important;
  font-size:42px!important;
  line-height:1.2!important;
  font-weight:900!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow:visible!important;
}
@media(max-width:900px){
 .lwf-header .lwf-brand-row{height:125px!important;min-height:125px!important;padding:0 18px!important}
 .lwf-header .lwf-brand-row > .lwf-brand{height:125px!important;min-height:125px!important;gap:12px!important}
 .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{flex-basis:92px!important;width:92px!important;min-width:92px!important;height:100px!important;min-height:100px!important}
 .lwf-header .lwf-brand-logo img,.lwf-header .lwf-brand-logo .custom-logo{max-width:86px!important;max-height:86px!important}
 .lwf-header .lwf-brand-text strong{font-size:31px!important}
}
@media(max-width:600px){
 .lwf-header .lwf-brand-row{height:100px!important;min-height:100px!important;padding:0 10px!important}
 .lwf-header .lwf-brand-row > .lwf-brand{height:100px!important;min-height:100px!important;gap:8px!important;max-width:100%!important}
 .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{flex-basis:70px!important;width:70px!important;min-width:70px!important;height:78px!important;min-height:78px!important}
 .lwf-header .lwf-brand-logo img,.lwf-header .lwf-brand-logo .custom-logo{max-width:66px!important;max-height:66px!important}
 .lwf-header .lwf-brand-text strong{font-size:21px!important;white-space:nowrap!important}
}


/* =========================================================
   V22 — Center Customizer header identity with clear logo/title spacing
   The Customizer sidebar overlays the right side of the preview.
   Keep the RTL header identity inside the visible preview area.
   ========================================================= */
body.lwf-customizer-preview .lwf-header .lwf-topbar .lwf-brand-row{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  max-width:none !important;
  min-height:150px !important;
  height:150px !important;
  overflow:visible !important;
  position:relative !important;
  z-index:60 !important;
  background:#fff !important;
}
body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand{
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  inset:auto !important;
  float:none !important;
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  width:max-content !important;
  max-width:calc(100% - 40px) !important;
  height:150px !important;
  min-height:150px !important;
  margin:0 !important;
  padding:0 !important;
  flex:0 0 auto !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:48px !important;
  direction:rtl !important;
  overflow:visible !important;
}
body.lwf-customizer-preview .lwf-header .lwf-brand-logo,
body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo-link,
body.lwf-customizer-preview .lwf-header .lwf-brand-logo img,
body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo,
body.lwf-customizer-preview .lwf-header .lwf-brand-text,
body.lwf-customizer-preview .lwf-header .lwf-brand-text strong{
  visibility:visible !important;
  opacity:1 !important;
}
body.lwf-customizer-preview .lwf-header .lwf-brand-logo{
  display:flex !important;
  flex:0 0 118px !important;
  width:118px !important;
  min-width:118px !important;
  height:128px !important;
  min-height:128px !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
  z-index:61 !important;
}
body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo-link{
  display:flex !important;
  width:100% !important;
  height:100% !important;
  align-items:center !important;
  justify-content:center !important;
}
body.lwf-customizer-preview .lwf-header .lwf-brand-logo img,
body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:112px !important;
  max-height:112px !important;
  object-fit:contain !important;
  margin:0 !important;
}
body.lwf-customizer-preview .lwf-header .lwf-fallback-logo{
  display:grid !important;
  visibility:visible !important;
  opacity:1 !important;
  width:100px !important;
  height:100px !important;
  flex:0 0 100px !important;
  border-radius:50% !important;
  place-items:center !important;
  background:var(--green) !important;
  color:#fff !important;
  font-size:38px !important;
}
body.lwf-customizer-preview .lwf-header .lwf-brand-text{
  display:flex !important;
  flex:0 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:calc(100% - 150px) !important;
  height:100% !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
  z-index:61 !important;
  direction:rtl !important;
  text-align:right !important;
  white-space:nowrap !important;
}
body.lwf-customizer-preview .lwf-header .lwf-brand-text strong{
  display:block !important;
  color:#06372d !important;
  font-size:42px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow:visible !important;
}
@media(max-width:900px){
  body.lwf-customizer-preview .lwf-header .lwf-topbar .lwf-brand-row{height:125px!important;min-height:125px!important;padding:0 10px!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand{height:125px!important;min-height:125px!important;gap:28px!important;max-width:calc(100% - 20px)!important;left:50%!important;right:auto!important;transform:translate(-50%,-50%)!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo{flex-basis:92px!important;width:92px!important;min-width:92px!important;height:100px!important;min-height:100px!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo img,.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo{max-width:86px!important;max-height:86px!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-text strong{font-size:31px!important}
}
@media(max-width:600px){
  body.lwf-customizer-preview .lwf-header .lwf-topbar .lwf-brand-row{height:100px!important;min-height:100px!important;padding:0 8px!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand{height:100px!important;min-height:100px!important;gap:18px!important;left:50%!important;right:auto!important;transform:translate(-50%,-50%)!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo{flex-basis:70px!important;width:70px!important;min-width:70px!important;height:78px!important;min-height:78px!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo img,.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo{max-width:66px!important;max-height:66px!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-text{max-width:calc(100% - 85px)!important}
  body.lwf-customizer-preview .lwf-header .lwf-brand-text strong{font-size:21px!important}
}

/* =========================================================
   V24 — HEADER BRANDING SPACING / MOBILE STACK
   Desktop: logo + league name centered with clear separation.
   Mobile: logo above league name, no excessive blank area.
   ========================================================= */
@media (min-width: 901px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    min-height:150px !important;
    height:150px !important;
    padding:0 24px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    width:auto !important;
    max-width:100% !important;
    height:150px !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:56px !important;
    margin:0 auto !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 118px !important;
    width:118px !important;
    min-width:118px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
  }
}

@media (max-width: 900px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    height:auto !important;
    min-height:0 !important;
    padding:10px 12px 12px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    width:100% !important;
    max-width:520px !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 auto !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 auto !important;
    width:86px !important;
    min-width:86px !important;
    height:86px !important;
    min-height:86px !important;
    margin:0 !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:82px !important;
    max-height:82px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    flex:0 0 auto !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    white-space:normal !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-text strong{
    display:block !important;
    width:100% !important;
    font-size:28px !important;
    line-height:1.3 !important;
    text-align:center !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    letter-spacing:0 !important;
  }
}

@media (max-width: 600px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    padding:8px 10px 10px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    max-width:420px !important;
    gap:7px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    width:72px !important;
    min-width:72px !important;
    height:72px !important;
    min-height:72px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:68px !important;
    max-height:68px !important;
  }
  .lwf-header .lwf-brand-text strong{
    font-size:20px !important;
    line-height:1.35 !important;
  }
}

/* =========================================================
   V25 — FINAL RESPONSIVE BRANDING OVERRIDE
   Fix mobile logo visibility/text clipping and desktop spacing.
   This block intentionally comes last so it overrides legacy V20/V24 rules.
   ========================================================= */
.lwf-header .lwf-topbar .lwf-brand-row,
body.lwf-customizer-preview .lwf-header .lwf-topbar .lwf-brand-row{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  visibility:visible !important;
  opacity:1 !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}

.lwf-header .lwf-brand-row > .lwf-brand,
body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand{
  visibility:visible !important;
  opacity:1 !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  margin:0 auto !important;
}

/* Desktop: horizontal identity with generous separation. */
@media (min-width:901px){
  .lwf-header .lwf-topbar .lwf-brand-row,
  body.lwf-customizer-preview .lwf-header .lwf-topbar .lwf-brand-row{
    height:150px !important;
    min-height:150px !important;
    padding:0 24px !important;
    display:flex !important;
    justify-content:center !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand,
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    transform:none !important;
    width:auto !important;
    max-width:calc(100% - 48px) !important;
    height:150px !important;
    min-height:150px !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    direction:rtl !important;
    gap:72px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo,
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    flex:0 0 120px !important;
    width:120px !important;
    min-width:120px !important;
    height:130px !important;
    min-height:130px !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .lwf-header .lwf-brand-logo .custom-logo-link,
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo-link,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo img,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }
  .lwf-header .lwf-brand-logo .custom-logo-link,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo-link{
    display:flex !important;
    width:100% !important;
    height:100% !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo img,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo{
    width:auto !important;
    height:auto !important;
    max-width:112px !important;
    max-height:112px !important;
    object-fit:contain !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text,
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    flex:0 1 auto !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:right !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-text strong,
  body.lwf-customizer-preview .lwf-header .lwf-brand-text strong{
    display:block !important;
    width:auto !important;
    max-width:none !important;
    white-space:nowrap !important;
    overflow:visible !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    font-size:42px !important;
    line-height:1.2 !important;
  }
}

/* Mobile: logo above the complete league name. */
@media (max-width:900px){
  .lwf-header .lwf-topbar .lwf-brand-row,
  body.lwf-customizer-preview .lwf-header .lwf-topbar .lwf-brand-row{
    height:auto !important;
    min-height:0 !important;
    padding:8px 10px 12px !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand,
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    transform:none !important;
    width:100% !important;
    max-width:560px !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    direction:rtl !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo,
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    flex:0 0 auto !important;
    width:82px !important;
    min-width:82px !important;
    height:82px !important;
    min-height:82px !important;
    margin:0 !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .lwf-header .lwf-brand-logo .custom-logo-link,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo-link{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100% !important;
    height:100% !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo img,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    width:auto !important;
    height:auto !important;
    max-width:78px !important;
    max-height:78px !important;
    object-fit:contain !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text,
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    flex:0 0 auto !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-text strong,
  body.lwf-customizer-preview .lwf-header .lwf-brand-text strong{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    font-size:22px !important;
    line-height:1.35 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    text-align:center !important;
    overflow:visible !important;
  }
}

@media (max-width:600px){
  .lwf-header .lwf-topbar .lwf-brand-row,
  body.lwf-customizer-preview .lwf-header .lwf-topbar .lwf-brand-row{
    padding:6px 8px 10px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand,
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand{
    max-width:420px !important;
    gap:6px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo,
  body.lwf-customizer-preview .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    width:70px !important;
    min-width:70px !important;
    height:70px !important;
    min-height:70px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo img,
  body.lwf-customizer-preview .lwf-header .lwf-brand-logo .custom-logo{
    max-width:66px !important;
    max-height:66px !important;
  }
  .lwf-header .lwf-brand-text strong,
  body.lwf-customizer-preview .lwf-header .lwf-brand-text strong{
    font-size:19px !important;
    line-height:1.35 !important;
  }
}

/* v26 — final clean brand layout: desktop separated/centered, mobile stacked */
.lwf-header .lwf-topbar,
.lwf-header .lwf-topbar .lwf-brand-row,
.lwf-header .lwf-topbar .lwf-brand-row .lwf-brand {
  overflow: visible !important;
}

/* Desktop/tablet */
@media (min-width: 901px) {
  .lwf-header .lwf-topbar .lwf-brand-row {
    width: 100% !important;
    min-height: 150px !important;
    height: 150px !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row > .lwf-brand {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    width: auto !important;
    max-width: calc(100% - 48px) !important;
    height: 150px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 80px !important;
    direction: rtl !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 125px !important;
    min-height: 125px !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo .custom-logo-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo img,
  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo .custom-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 112px !important;
    max-height: 112px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-text {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: visible !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-text strong {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 42px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }
}

/* Mobile: logo first, full league name below it */
@media (max-width: 900px) {
  .lwf-header .lwf-topbar .lwf-brand-row {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row > .lwf-brand {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    direction: rtl !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
    width: 88px !important;
    min-width: 88px !important;
    height: 88px !important;
    min-height: 88px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo .custom-logo-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo img,
  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo .custom-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: 84px !important;
    max-height: 84px !important;
    object-fit: contain !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 4px !important;
    text-align: center !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-text strong {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
    font-size: 21px !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 480px) {
  .lwf-header .lwf-topbar .lwf-brand-row { padding: 8px 8px 12px !important; }
  .lwf-header .lwf-topbar .lwf-brand-row > .lwf-brand { gap: 5px !important; }
  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo { width: 76px !important; min-width: 76px !important; height: 76px !important; min-height: 76px !important; }
  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo img,
  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-logo .custom-logo { max-width: 72px !important; max-height: 72px !important; }
  .lwf-header .lwf-topbar .lwf-brand-row .lwf-brand-text strong { font-size: 18px !important; line-height: 1.45 !important; }
}

/* =========================================================
   V27 — FINAL CLEAN BRANDING OVERRIDE
   This block intentionally overrides the accumulated legacy
   header rules from previous iterations.
   ========================================================= */
.lwf-header .lwf-topbar .lwf-brand-row{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:150px !important;
  height:150px !important;
  padding:12px 20px !important;
  margin:0 !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
.lwf-header .lwf-brand-row > .lwf-brand{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  float:none !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  width:max-content !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  gap:72px !important;
  direction:rtl !important;
  overflow:visible !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
  flex:0 0 120px !important;
  width:120px !important;
  min-width:120px !important;
  height:120px !important;
  min-height:120px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:static !important;
  visibility:visible !important;
  opacity:1 !important;
}
.lwf-header .lwf-brand-logo .custom-logo-link{
  display:flex !important;
  width:100% !important;
  height:100% !important;
  align-items:center !important;
  justify-content:center !important;
}
.lwf-header .lwf-brand-logo img,
.lwf-header .lwf-brand-logo .custom-logo{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:auto !important;
  height:auto !important;
  max-width:112px !important;
  max-height:112px !important;
  margin:0 !important;
  object-fit:contain !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
  flex:0 1 auto !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:static !important;
  visibility:visible !important;
  opacity:1 !important;
  overflow:visible !important;
}
.lwf-header .lwf-brand-text strong{
  display:block !important;
  width:auto !important;
  max-width:none !important;
  color:#06372d !important;
  font-size:42px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  margin:0 !important;
}

/* Phone: logo above the complete league name. */
@media (max-width:767px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    min-height:0 !important;
    height:auto !important;
    padding:10px 12px 14px !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    position:static !important;
    transform:none !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 auto !important;
    padding:0 !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    direction:rtl !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 auto !important;
    width:104px !important;
    min-width:104px !important;
    height:104px !important;
    min-height:104px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:96px !important;
    max-height:96px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    flex:0 1 auto !important;
    display:block !important;
    text-align:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-text strong{
    width:100% !important;
    max-width:100% !important;
    padding:0 4px !important;
    box-sizing:border-box !important;
    font-size:24px !important;
    line-height:1.35 !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    text-align:center !important;
  }
}
@media (max-width:390px){
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    width:92px !important;
    min-width:92px !important;
    height:92px !important;
    min-height:92px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:86px !important;
    max-height:86px !important;
  }
  .lwf-header .lwf-brand-text strong{font-size:21px !important;}
}


/* V28 — Footer four columns + league logo, and services in one row */
.lwf-footer .lwf-footer-inner{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch;
  padding:35px 0 !important;
}
.lwf-footer-box{
  min-width:0;
  min-height:170px;
  padding:22px 20px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  box-sizing:border-box;
}
.lwf-footer-box h3{margin:0 0 14px;color:#fff;font-size:17px}
.lwf-footer-box p{margin:7px 0;color:#cce5da;font-size:13px;line-height:1.7}
.lwf-footer-box a{color:#cce5da;text-decoration:none}
.lwf-footer-brand-box{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.lwf-footer-brand-logo{width:92px;height:92px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.lwf-footer-brand-logo .custom-logo-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.lwf-footer-brand-logo img,.lwf-footer-brand-logo .custom-logo{display:block;width:auto!important;max-width:88px!important;height:auto!important;max-height:88px!important;object-fit:contain}
.lwf-footer-brand-logo .lwf-fallback-logo{width:76px;height:76px}

/* Services: one row on desktop */
.lwf-service-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:12px !important;
}
.lwf-service-grid>a{min-width:0}

@media (max-width:900px){
  .lwf-footer .lwf-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width:600px){
  .lwf-footer .lwf-footer-inner{grid-template-columns:1fr !important}
  .lwf-footer-box{min-height:auto}
  .lwf-service-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}


/* V29 — clean final header identity + search beside competition selector */
@media (min-width:768px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    display:flex !important; align-items:center !important; justify-content:center !important;
    height:170px !important; min-height:170px !important; padding:0 30px !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    width:auto !important; max-width:100% !important; height:150px !important;
    display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
    align-items:center !important; justify-content:center !important;
    gap:72px !important; margin:0 auto !important; padding:0 !important;
    direction:rtl !important; white-space:nowrap !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 125px !important; width:125px !important; min-width:125px !important;
    height:125px !important; min-height:125px !important; margin:0 !important;
  }
  .lwf-header .lwf-brand-logo img,.lwf-header .lwf-brand-logo .custom-logo{
    max-width:112px !important; max-height:112px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    flex:0 1 auto !important; width:auto !important; max-width:760px !important;
    height:auto !important; display:flex !important; align-items:center !important;
    justify-content:center !important; margin:0 !important; padding:0 !important;
    overflow:visible !important; text-align:center !important;
  }
  .lwf-header .lwf-brand-text strong{
    display:block !important; margin:0 !important; padding:0 !important;
    font-size:42px !important; line-height:1.25 !important; white-space:nowrap !important;
    overflow:visible !important; color:#06372d !important;
  }
}
@media (max-width:767px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    display:flex !important; align-items:center !important; justify-content:center !important;
    height:auto !important; min-height:0 !important; padding:12px 10px 16px !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    width:100% !important; max-width:520px !important; height:auto !important;
    min-height:0 !important; display:flex !important; flex-direction:column !important;
    align-items:center !important; justify-content:center !important; gap:10px !important;
    margin:0 auto !important; padding:0 !important; direction:rtl !important;
    white-space:normal !important; overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 auto !important; width:108px !important; min-width:108px !important;
    height:108px !important; min-height:108px !important; display:flex !important;
    align-items:center !important; justify-content:center !important; margin:0 !important;
  }
  .lwf-header .lwf-brand-logo .custom-logo-link{display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; height:100% !important;}
  .lwf-header .lwf-brand-logo img,.lwf-header .lwf-brand-logo .custom-logo{
    display:block !important; width:auto !important; max-width:102px !important;
    max-height:102px !important; height:auto !important; object-fit:contain !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    width:100% !important; max-width:100% !important; min-width:0 !important;
    height:auto !important; flex:0 1 auto !important; display:block !important;
    text-align:center !important; overflow:visible !important;
  }
  .lwf-header .lwf-brand-text strong{
    display:block !important; width:100% !important; max-width:100% !important;
    box-sizing:border-box !important; padding:0 6px !important; margin:0 !important;
    font-size:23px !important; line-height:1.45 !important; white-space:normal !important;
    overflow:visible !important; text-overflow:clip !important; word-break:normal !important;
    overflow-wrap:normal !important; text-align:center !important; color:#06372d !important;
  }
}
@media (max-width:390px){
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{width:96px !important;min-width:96px !important;height:96px !important;min-height:96px !important;}
  .lwf-header .lwf-brand-logo img,.lwf-header .lwf-brand-logo .custom-logo{max-width:90px !important;max-height:90px !important;}
  .lwf-header .lwf-brand-text strong{font-size:21px !important;}
}


/* =========================================================
   LWF Naama v30 — clean responsive header + selector/search
   This block intentionally supersedes the accumulated legacy header rules.
   ========================================================= */
.lwf-header .lwf-topbar .lwf-brand-row,
.lwf-header .lwf-brand-row{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  min-height:150px !important;
  height:150px !important;
  margin:0 !important;
  padding:0 24px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  overflow:visible !important;
}
.lwf-header .lwf-brand-row > .lwf-brand{
  box-sizing:border-box !important;
  width:auto !important;
  max-width:100% !important;
  height:150px !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex:0 0 auto !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  direction:rtl !important;
  gap:56px !important;
  overflow:visible !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
  box-sizing:border-box !important;
  flex:0 0 118px !important;
  width:118px !important;
  min-width:118px !important;
  height:118px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}
.lwf-header .lwf-brand-logo .custom-logo-link{
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.lwf-header .lwf-brand-logo img,
.lwf-header .lwf-brand-logo .custom-logo{
  display:block !important;
  width:auto !important;
  max-width:112px !important;
  max-height:112px !important;
  height:auto !important;
  object-fit:contain !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
  box-sizing:border-box !important;
  flex:0 1 auto !important;
  width:auto !important;
  max-width:520px !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  white-space:normal !important;
  text-align:center !important;
  direction:rtl !important;
}
.lwf-header .lwf-brand-text strong{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  color:var(--dark) !important;
  font-size:32px !important;
  line-height:1.35 !important;
  font-weight:900 !important;
  letter-spacing:0 !important;
  white-space:nowrap !important;
  overflow:visible !important;
}

/* Selector + search: desktop = title/right, selector/center, search/left */
#lwf-competition-selector-v19{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}
#lwf-competition-selector-v19 .lwf-competition-selector-inner{
  box-sizing:border-box !important;
  width:min(1180px,calc(100% - 40px)) !important;
  max-width:1180px !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:minmax(280px,1fr) minmax(420px,520px) minmax(260px,360px) !important;
  grid-template-areas:"title form search" !important;
  align-items:center !important;
  gap:24px !important;
  direction:rtl !important;
}
#lwf-competition-selector-v19 .lwf-competition-selector-title{grid-area:title !important;}
#lwf-competition-selector-v19 .lwf-competition-form{grid-area:form !important;}
#lwf-competition-selector-v19 .lwf-header-search{grid-area:search !important;}
#lwf-competition-selector-v19 .lwf-header-search input{
  text-align:right !important;
}

/* Mobile: logo above, full league name below; selector/search below header */
@media(max-width:700px){
  .lwf-header .lwf-topbar .lwf-brand-row,
  .lwf-header .lwf-brand-row{
    min-height:190px !important;
    height:auto !important;
    padding:12px 12px 16px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    direction:rtl !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 108px !important;
    width:108px !important;
    min-width:108px !important;
    height:108px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:104px !important;
    max-height:104px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    width:100% !important;
    max-width:330px !important;
    min-width:0 !important;
    overflow:visible !important;
    white-space:normal !important;
    text-align:center !important;
  }
  .lwf-header .lwf-brand-text strong{
    width:100% !important;
    max-width:330px !important;
    font-size:22px !important;
    line-height:1.3 !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    text-align:center !important;
  }

  #lwf-competition-selector-v19{
    margin:0 !important;
    padding:10px 0 12px !important;
  }
  #lwf-competition-selector-v19 .lwf-competition-selector-inner{
    width:calc(100% - 20px) !important;
    max-width:none !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:9px !important;
    direction:rtl !important;
  }
  #lwf-competition-selector-v19 .lwf-competition-selector-title,
  #lwf-competition-selector-v19 .lwf-competition-form,
  #lwf-competition-selector-v19 .lwf-header-search{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }
  #lwf-competition-selector-v19 .lwf-competition-selector-title{
    justify-content:flex-start !important;
    white-space:normal !important;
  }
  #lwf-competition-selector-v19 .lwf-competition-selector-title strong{
    white-space:normal !important;
    font-size:14px !important;
  }
  #lwf-competition-selector-v19 .lwf-competition-selector-title small{
    white-space:normal !important;
  }
  #lwf-competition-selector-v19 .lwf-competition-form{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:7px !important;
  }
  #lwf-competition-selector-v19 .lwf-competition-form label,
  #lwf-competition-selector-v19 .lwf-competition-select-wrap,
  #lwf-competition-selector-v19 .lwf-competition-form select,
  #lwf-competition-selector-v19 .lwf-competition-reset{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }
  #lwf-competition-selector-v19 .lwf-header-search{
    display:flex !important;
    flex-direction:row !important;
  }
  #lwf-competition-selector-v19 .lwf-header-search input{
    width:100% !important;
    min-width:0 !important;
  }
}


/* =========================================================
   LWF Naama v31 — desktop header positioning + clean area below services
   ========================================================= */
@media (min-width:701px){
  /* Keep the whole brand group centered in the actual preview area. */
  .lwf-header .lwf-topbar .lwf-brand-row,
  .lwf-header .lwf-brand-row{
    position:relative !important;
    width:100% !important;
    margin:0 !important;
    padding:0 28px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    position:relative !important;
    inset:auto !important;
    left:auto !important;
    right:auto !important;
    margin-left:auto !important;
    margin-right:auto !important;
    transform:none !important;
    float:none !important;
    width:max-content !important;
    max-width:calc(100% - 40px) !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:78px !important;
    direction:rtl !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 120px !important;
    width:120px !important;
    min-width:120px !important;
    height:120px !important;
    margin:0 !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    flex:0 1 auto !important;
    width:auto !important;
    max-width:760px !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
    justify-content:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-text strong{
    white-space:nowrap !important;
    display:block !important;
    font-size:38px !important;
    line-height:1.3 !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
  }
}

/* On the selector row, keep title, category and search compact and aligned. */
@media (min-width:701px){
  #lwf-competition-selector-v19 .lwf-competition-selector-inner{
    width:min(1240px,calc(100% - 36px)) !important;
    max-width:1240px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    grid-template-columns:minmax(280px,1fr) minmax(430px,540px) minmax(280px,380px) !important;
    grid-template-areas:"search form title" !important;
    gap:22px !important;
  }
}

/* Mobile remains a clean vertical brand stack. */
@media (max-width:700px){
  .lwf-header .lwf-topbar .lwf-brand-row,
  .lwf-header .lwf-brand-row{
    min-height:0 !important;
    height:auto !important;
    padding:12px 12px 14px !important;
    justify-content:center !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    position:relative !important;
    inset:auto !important;
    left:auto !important;
    right:auto !important;
    margin:0 auto !important;
    transform:none !important;
    float:none !important;
    width:100% !important;
    max-width:360px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    direction:rtl !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 auto !important;
    width:104px !important;
    min-width:104px !important;
    height:104px !important;
    margin:0 !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:100px !important;
    max-height:100px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    width:100% !important;
    max-width:340px !important;
    margin:0 !important;
    text-align:center !important;
    justify-content:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-text strong{
    width:100% !important;
    max-width:340px !important;
    white-space:normal !important;
    font-size:21px !important;
    line-height:1.35 !important;
    text-align:center !important;
  }
}

/* v31: Services is the last home section before the footer. */
.lwf-home > .lwf-widgets{display:none !important;}

/* =========================================================
   LWF Naama v32 — CLEAN HEADER OVERRIDE
   Replaces the accumulated header positioning rules without
   touching the competition selector / SportPress logic.
   ========================================================= */
.lwf-header .lwf-brand-row{
  width:100% !important;
  min-height:180px !important;
  height:auto !important;
  padding:18px 24px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
.lwf-header .lwf-brand-row > .lwf-brand{
  width:max-content !important;
  max-width:calc(100% - 20px) !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  display:flex !important;
  flex:0 1 auto !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:64px !important;
  direction:rtl !important;
  overflow:visible !important;
  position:static !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
  order:1 !important;
  flex:0 0 126px !important;
  width:126px !important;
  min-width:126px !important;
  height:126px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:static !important;
  visibility:visible !important;
  opacity:1 !important;
  overflow:visible !important;
}
.lwf-header .lwf-brand-logo .custom-logo-link{
  display:flex !important;
  width:100% !important;
  height:100% !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
}
.lwf-header .lwf-brand-logo img,
.lwf-header .lwf-brand-logo .custom-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:120px !important;
  max-height:120px !important;
  margin:0 !important;
  object-fit:contain !important;
  visibility:visible !important;
  opacity:1 !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
  order:2 !important;
  flex:0 1 auto !important;
  width:auto !important;
  max-width:760px !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  direction:rtl !important;
  white-space:normal !important;
  overflow:visible !important;
  position:static !important;
}
.lwf-header .lwf-brand-text strong{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  color:var(--dark) !important;
  font-size:42px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  letter-spacing:0 !important;
  white-space:nowrap !important;
  overflow:visible !important;
}

/* Phone: logo above the full league name, no blank canvas */
@media (max-width:700px){
  .lwf-header .lwf-brand-row{
    min-height:0 !important;
    height:auto !important;
    padding:12px 10px 14px !important;
    justify-content:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    margin:0 !important;
    direction:rtl !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    order:1 !important;
    flex:0 0 92px !important;
    width:92px !important;
    min-width:92px !important;
    height:92px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:88px !important;
    max-height:88px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    order:2 !important;
    width:100% !important;
    max-width:100% !important;
    display:block !important;
    text-align:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-text strong{
    width:100% !important;
    max-width:100% !important;
    font-size:24px !important;
    line-height:1.45 !important;
    white-space:normal !important;
    overflow:visible !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    text-align:center !important;
  }
}

@media (max-width:380px){
  .lwf-header .lwf-brand-row{
    padding:10px 8px 12px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex-basis:82px !important;
    width:82px !important;
    min-width:82px !important;
    height:82px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:78px !important;
    max-height:78px !important;
  }
  .lwf-header .lwf-brand-text strong{
    font-size:21px !important;
  }
}

/* Desktop/tablet: centered group with a deliberate separation */
@media (min-width:701px){
  .lwf-header .lwf-brand-row > .lwf-brand{
    gap:64px !important;
  }
}


/* V33 — FINAL HEADER POSITION: centered desktop, stacked mobile */
.lwf-header .lwf-topbar .lwf-brand-row{
  width:100% !important;
  max-width:none !important;
  height:150px !important;
  min-height:150px !important;
  margin:0 !important;
  padding:0 24px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  background:#fff !important;
}
.lwf-header .lwf-brand-row > .lwf-brand{
  width:auto !important;
  max-width:100% !important;
  height:150px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:flex !important;
  flex:0 0 auto !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  direction:rtl !important;
  gap:64px !important;
  white-space:nowrap !important;
  position:static !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
  flex:0 0 120px !important;
  width:120px !important;
  min-width:120px !important;
  height:130px !important;
  min-height:130px !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.lwf-header .lwf-brand-logo img,
.lwf-header .lwf-brand-logo .custom-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:112px !important;
  max-height:112px !important;
  object-fit:contain !important;
  margin:0 !important;
}
.lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
  flex:0 0 auto !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  direction:rtl !important;
  white-space:nowrap !important;
}
.lwf-header .lwf-brand-text strong{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-size:42px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  color:#06372d !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow:visible !important;
}

@media (max-width:700px){
  .lwf-header .lwf-topbar .lwf-brand-row{
    height:auto !important;
    min-height:0 !important;
    padding:14px 10px 16px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:visible !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px !important;
    white-space:normal !important;
    direction:rtl !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex:0 0 auto !important;
    width:105px !important;
    min-width:105px !important;
    height:105px !important;
    min-height:105px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:100px !important;
    max-height:100px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    justify-content:center !important;
    text-align:center !important;
    white-space:normal !important;
  }
  .lwf-header .lwf-brand-text strong{
    max-width:100% !important;
    font-size:26px !important;
    line-height:1.35 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    text-align:center !important;
  }
}


/* =========================================================
   LWF Naama v35 — requested final layout
   ========================================================= */
.lwf-header .lwf-topbar .lwf-brand-row{justify-content:flex-start!important;}
.lwf-header .lwf-brand-row > .lwf-brand{gap:20px!important;}
@media(max-width:700px){
  .lwf-header .lwf-topbar .lwf-brand-row{justify-content:center!important;}
  .lwf-header .lwf-brand-row > .lwf-brand{gap:10px!important;}
}

/* Selector: exact wording and search icon on the opposite/right side. */
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form label{font-weight:900!important;}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{direction:rtl!important;}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search input{order:2!important;border-radius:0 9px 9px 0!important;text-align:right!important;}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search button{order:1!important;border-radius:9px 0 0 9px!important;}
@media(max-width:700px){.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title strong{white-space:normal!important;line-height:1.5!important;}}

/* Main dashboard: matches -> calendar -> standings, with announcements/contact/clubs opposite. */
.lwf-dashboard{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:20px;margin-top:30px;align-items:start;}
.lwf-dashboard-main,.lwf-dashboard-side{display:grid;gap:20px;min-width:0;}
.lwf-dashboard-card{min-width:0;overflow:hidden;}
.lwf-dashboard-card .lwf-card-head{margin-bottom:14px;}
.lwf-dashboard-card .lwf-card-head>div{min-width:0;}
.lwf-dashboard-card .lwf-card-head h2{margin:0;font-size:20px;}
.lwf-dashboard-card .lwf-card-head small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:2px;}
.lwf-card-icon{width:38px;height:38px;min-width:38px;border-radius:10px;background:#edf7f2;display:grid;place-items:center;font-size:18px;}
.lwf-inner-panel{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
.lwf-contact-numbers{display:grid;gap:10px;}
.lwf-contact-numbers a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#f8fbf9;text-decoration:none;}
.lwf-contact-numbers strong{font-size:12px;color:var(--dark);direction:ltr;}
.lwf-contact-numbers span{font-size:10px;color:var(--muted);}
.lwf-side-clubs{display:grid;gap:7px;max-height:330px;overflow:auto;padding-left:2px;}
.lwf-side-clubs .lwf-team-item{height:58px;min-width:0;width:100%;padding:4px 8px;display:grid;grid-template-columns:42px minmax(0,1fr);flex-direction:row;justify-content:start;gap:8px;border:1px solid var(--line);border-radius:8px;}
.lwf-side-clubs .lwf-team-logo{width:40px;height:40px;}
.lwf-side-clubs .lwf-team-logo img{max-width:40px;max-height:40px;}
.lwf-side-clubs .lwf-team-name{max-width:none;overflow:hidden;text-overflow:ellipsis;text-align:right;}

/* Latest news: one tile per row on the homepage. */
.lwf-latest-news{margin:0;min-width:0;}
.lwf-news-main-section{width:100%;}
.lwf-news-heading{margin-bottom:15px;}
.lwf-news-heading>div{min-width:0;}
.lwf-news-heading span{display:block;margin-top:2px;font-size:11px;color:var(--muted);}
.lwf-news-four{display:grid;grid-template-columns:1fr;gap:14px;}
.lwf-news-tile{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:190px;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 6px 20px rgba(20,50,38,.04);width:100%;}
.lwf-news-tile-image{display:block;position:relative;background:#dfe9e4 center/cover no-repeat;min-height:150px;text-decoration:none;}
.lwf-news-tile-image span{position:absolute;inset:0;display:grid;place-items:center;font-size:42px;background:rgba(6,43,32,.08);}
.lwf-news-tile-image[style] span{opacity:0;}
.lwf-news-tile-body{padding:16px;display:flex;flex-direction:column;justify-content:center;min-width:0;}
.lwf-news-tile-body small{font-size:10px;color:var(--muted);}
.lwf-news-tile-body h3{font-size:16px;line-height:1.7;margin:6px 0 10px;}
.lwf-news-tile-body h3 a{text-decoration:none;}
.lwf-news-tile-body h3 a:hover{color:var(--green);}

@media(max-width:900px){
  .lwf-dashboard{grid-template-columns:1fr;}
  .lwf-dashboard-side{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .lwf-dashboard{width:calc(100% - 20px)!important;grid-template-columns:1fr;gap:12px;margin-top:20px;}
  .lwf-dashboard-main,.lwf-dashboard-side{gap:12px;}
  .lwf-dashboard-side{display:block;}
  .lwf-dashboard-side .lwf-dashboard-card{margin-bottom:12px;}
  .lwf-dashboard-card{padding:14px!important;border-radius:11px!important;}
  .lwf-dashboard-card .lwf-card-head h2{font-size:16px!important;}
  .lwf-dashboard-card .lwf-card-head small{font-size:10px;}
  .lwf-news-four{grid-template-columns:1fr;gap:12px;}
  .lwf-news-tile{grid-template-columns:120px minmax(0,1fr);min-height:135px;}
  .lwf-news-tile-image{min-height:135px;}
  .lwf-news-tile-body{padding:11px;}
  .lwf-news-tile-body h3{font-size:13px;margin:4px 0 7px;}
  .lwf-news-heading{align-items:flex-end;}
  .lwf-news-heading h2{font-size:19px!important;}
}

/* Keep the moving club logos continuously visible after moving the label. */
.lwf-clubs-strip{direction:ltr!important;}
.lwf-clubs-label{right:0!important;left:auto!important;z-index:5!important;}
.lwf-clubs-marquee{margin-right:205px!important;margin-left:0!important;}
.lwf-clubs-track{animation:lwf-marquee-fixed 28s linear infinite!important;will-change:transform;}
@keyframes lwf-marquee-fixed{0%{transform:translate3d(-50%,0,0)}100%{transform:translate3d(0,0,0)}}
@media(max-width:700px){
  .lwf-clubs-marquee{margin-right:110px!important;}
  .lwf-clubs-track{animation-duration:24s!important;}
}

/* تنسيق الهيدر الأصلي المأخوذ من النسخة الناجحة */
.lwf-header .lwf-topbar .lwf-brand-row{
  height:128px !important;
  min-height:128px !important;
  padding:0 28px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:visible !important;
  background:#fff !important;
}
.lwf-header .lwf-topbar .lwf-brand-row > .lwf-brand{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:auto !important;
  max-width:100% !important;
  height:128px !important;
  margin:0 !important;
  padding:0 !important;
  gap:16px !important;
  direction:rtl !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.lwf-header .lwf-topbar .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
  flex:0 0 96px !important;
  width:96px !important;
  min-width:96px !important;
  height:108px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
}
.lwf-header .lwf-topbar .lwf-brand-logo img,
.lwf-header .lwf-topbar .lwf-brand-logo .custom-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:92px !important;
  max-height:92px !important;
  object-fit:contain !important;
  margin:0 !important;
}
.lwf-header .lwf-topbar .lwf-brand-row > .lwf-brand > .lwf-brand-text{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  direction:rtl !important;
  text-align:right !important;
  white-space:nowrap !important;
}
.lwf-header .lwf-topbar .lwf-brand-text strong{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  color:#062b20 !important;
  font-size:36px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}

/* =========================================================
   إلغاء الفراغ العلوي تماماً وإصلاح القائمة (قوة قصوى !important)
   ========================================================= */
@media (max-width: 767px) {
    /* تصففر الهوامش والارتفاعات الحاكمة للهيدر والتوب بار */
    .lwf-header,
    .lwf-header .lwf-topbar,
    .lwf-header .lwf-brand-row {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding-top: 5px !important;
        padding-bottom: 10px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .lwf-header .lwf-brand-row > .lwf-brand {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo {
        width: 75px !important;
        min-width: 75px !important;
        height: 75px !important;
        min-height: 75px !important;
        margin: 0 auto !important;
    }

    .lwf-header .lwf-brand-logo img,
    .lwf-header .lwf-brand-logo .custom-logo {
        max-width: 70px !important;
        max-height: 70px !important;
    }

    .lwf-header .lwf-brand-text strong {
        font-size: 18px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    /* إصلاح شريط القائمة وزر الهامبرغر والتفاعل */
    .lwf-nav-wrap {
        position: relative !important;
        width: 100% !important;
        background-color: var(--dark, #062b20) !important;
    }

    .lwf-nav {
        display: none !important;
        width: 100% !important;
    }

    .lwf-nav.lwf-nav-open,
    .lwf-nav.open {
        display: block !important;
    }

    .lwf-menu {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .lwf-menu li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .lwf-menu li a {
        display: block !important;
        text-align: right !important;
        padding: 12px 18px !important;
        color: #fff !important;
        text-decoration: none !important;
    }

    .lwf-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        background: var(--green, #087b48) !important;
        color: #fff !important;
        border: none !important;
        padding: 10px !important;
        font-size: 24px !important;
        text-align: center !important;
        cursor: pointer !important;
        z-index: 99999 !important;
    }
}

/* Competition selector: extracted from lwf_naama_competition_selector() */
.lwf-competition-selector#lwf-competition-selector-v19{width:100%!important;box-sizing:border-box!important;direction:rtl!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-inner{width:calc(100% - 40px)!important;max-width:1180px!important;margin:0 auto!important;display:grid!important;grid-template-columns:minmax(250px,320px) minmax(380px,520px) minmax(360px,1fr)!important;grid-template-areas:"search form title"!important;align-items:center!important;gap:28px!important;min-height:66px!important;box-sizing:border-box!important;direction:ltr!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title{grid-area:title!important;width:100%!important;min-width:0!important;max-width:none!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;direction:rtl!important;text-align:right!important;white-space:nowrap!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-copy{display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title strong{display:block!important;width:auto!important;white-space:nowrap!important;word-break:normal!important;font-size:16px!important;line-height:1.5!important;margin:0!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-icon{flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form{grid-area:form!important;width:100%!important;min-width:0!important;max-width:none!important;display:grid!important;grid-template-columns:48px minmax(240px,1fr) auto!important;align-items:center!important;gap:9px!important;margin:0!important;padding:0!important;direction:rtl!important;box-sizing:border-box!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form label{width:auto!important;min-width:0!important;white-space:nowrap!important;margin:0!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-select-wrap{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form select{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{grid-area:search!important;display:flex!important;align-items:center!important;gap:0!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;direction:ltr!important;box-sizing:border-box!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search input{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:44px!important;padding:9px 14px!important;border:1px solid #cfdcd5!important;border-radius:9px 0 0 9px!important;background:#fff!important;color:#06372d!important;font-family:inherit!important;font-size:13px!important;outline:none!important;direction:rtl!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search input:focus{border-color:#087b48!important;box-shadow:0 0 0 3px rgba(8,123,72,.10)!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search button{flex:0 0 48px!important;width:48px!important;height:44px!important;border:1px solid #087b48!important;border-radius:0 9px 9px 0!important;background:#087b48!important;color:#fff!important;font-family:inherit!important;font-size:17px!important;cursor:pointer!important;padding:0!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search button:hover{background:#06372d!important;border-color:#06372d!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form{grid-area:form!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title{grid-area:title!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-inner{grid-template-areas:"search form title"!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-reset{width:auto!important;min-width:72px!important;max-width:none!important;white-space:nowrap!important;}
      @media(max-width:700px){.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-inner{width:calc(100% - 20px)!important;max-width:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;min-height:0!important;}.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title{width:100%!important;white-space:normal!important;}.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title strong{white-space:nowrap!important;font-size:14px!important;}.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form{width:100%!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;}.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form label{width:100%!important;text-align:right!important;}.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-select-wrap,.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form select,.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-reset{width:100%!important;max-width:none!important;min-width:0!important;} .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{width:100%!important;display:flex!important;} .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search input{width:100%!important;min-width:0!important;} }
      /* V36 authoritative selector layout */
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-inner{
        grid-template-columns:minmax(300px,360px) minmax(420px,560px) minmax(320px,1fr)!important;
        grid-template-areas:"search form title"!important;
        direction:ltr!important;
        gap:20px!important;
      }
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title{
        direction:rtl!important; justify-content:flex-start!important; text-align:right!important;
      }
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title strong{
        font-size:17px!important; font-weight:900!important; white-space:nowrap!important;
      }
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form{
        grid-template-columns:auto minmax(220px,1fr)!important;
        direction:rtl!important; gap:10px!important;
      }
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form label{
        font-size:13px!important; font-weight:900!important; white-space:nowrap!important;
      }
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-select-wrap{min-width:0!important;}
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form select{
        height:46px!important; min-width:0!important; width:100%!important;
        padding:10px 14px 10px 38px!important; border-radius:9px!important;
      }
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{
        direction:rtl!important; display:flex!important; flex-direction:row!important;
        align-items:stretch!important; width:100%!important;
      }
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search button{
        order:1!important; flex:0 0 48px!important; width:48px!important; height:46px!important;
        border-radius:0 9px 9px 0!important;
      }
      .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search input{
        order:2!important; height:46px!important; border-radius:9px 0 0 9px!important;
        text-align:right!important; padding:9px 14px!important;
      }
      @media(max-width:900px){
        .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-inner{
          grid-template-columns:minmax(280px,1fr) minmax(300px,1.4fr)!important;
          grid-template-areas:"form title" "search search"!important; gap:12px!important;
        }
      }
      @media(max-width:700px){
        .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-inner{
          display:flex!important; flex-direction:column!important; gap:9px!important;
        }
        .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title{order:1!important; width:100%!important; justify-content:center!important; text-align:center!important;}
        .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title strong{font-size:14px!important; white-space:normal!important; text-align:center!important;}
        .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form{order:2!important; display:grid!important; grid-template-columns:auto minmax(0,1fr)!important; width:100%!important; gap:8px!important;}
        .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form label{font-size:12px!important;}
        .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{order:3!important; width:100%!important;}
      }

/* =========================================================
   V27 — MOBILE HEADER DEFINITIVE FIX
   Keep the logo in normal flow and always show the full league name.
   ========================================================= */
@media (max-width: 767px) {
  .lwf-header .lwf-topbar,
  .lwf-header .lwf-brand-row,
  .lwf-header .lwf-brand-row > .lwf-brand {
    position: relative !important;
    z-index: 100 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .lwf-header .lwf-topbar {
    width: 100% !important;
    background: #fff !important;
  }

  .lwf-header .lwf-brand-row {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 8px 12px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    background: #fff !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    direction: rtl !important;
    text-decoration: none !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo {
    position: relative !important;
    z-index: 102 !important;
    order: 1 !important;
    display: flex !important;
    flex: 0 0 76px !important;
    width: 76px !important;
    min-width: 76px !important;
    height: 76px !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
  }

  .lwf-header .lwf-brand-logo .custom-logo-link {
    position: relative !important;
    z-index: 103 !important;
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo {
    position: relative !important;
    z-index: 104 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text {
    position: relative !important;
    z-index: 101 !important;
    order: 2 !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 4px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    direction: rtl !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .lwf-header .lwf-brand-text strong {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #062b20 !important;
    font-size: 19px !important;
    line-height: 1.45 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .lwf-header .lwf-nav-wrap {
    position: relative !important;
    z-index: 90 !important;
  }
}

@media (max-width: 380px) {
  .lwf-header .lwf-brand-row {
    padding: 7px 6px 10px !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo {
    flex-basis: 68px !important;
    width: 68px !important;
    min-width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
  }

  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo {
    max-width: 64px !important;
    max-height: 64px !important;
  }

  .lwf-header .lwf-brand-text strong {
    font-size: 17px !important;
    line-height: 1.45 !important;
  }
}

/* =========================================================
   Mobile navigation + club logos — final stable rules
   ========================================================= */
@media (max-width: 767px) {
  .lwf-nav-wrap { position:relative!important; z-index:1000!important; }
  .lwf-nav-wrap .lwf-container { width:100%!important; max-width:none!important; padding:0!important; }

  .lwf-menu-toggle {
    position:relative!important;
    left:auto!important; right:auto!important; bottom:auto!important;
    display:flex!important;
    width:52px!important; height:46px!important;
    margin:0 10px 0 auto!important;
    padding:9px!important;
    border:0!important;
    border-radius:7px!important;
    background:var(--green,#087b48)!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;
    cursor:pointer!important;
    box-sizing:border-box!important;
    z-index:1002!important;
  }
  .lwf-menu-toggle span {
    display:block!important;
    width:26px!important;
    height:3px!important;
    border-radius:3px!important;
    background:#fff!important;
    margin:0!important;
    transition:transform .2s ease,opacity .2s ease!important;
  }
  .lwf-menu-toggle.is-open span:nth-child(1){transform:translateY(8px) rotate(45deg)!important}
  .lwf-menu-toggle.is-open span:nth-child(2){opacity:0!important}
  .lwf-menu-toggle.is-open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)!important}

  .lwf-nav { display:none!important; width:100%!important; background:var(--dark,#062b20)!important; }
  .lwf-nav.open { display:block!important; }
  .lwf-menu { display:flex!important; flex-direction:column!important; width:100%!important; margin:0!important; padding:0!important; }
  .lwf-menu li { width:100%!important; margin:0!important; border-bottom:1px solid rgba(255,255,255,.12)!important; }
  .lwf-menu li a { display:block!important; width:100%!important; box-sizing:border-box!important; padding:13px 18px!important; color:#fff!important; background:transparent!important; text-align:right!important; }
  .lwf-menu li a:hover, .lwf-menu .current-menu-item>a { background:var(--green,#087b48)!important; }

  .lwf-clubs-strip { height:88px!important; min-height:88px!important; position:relative!important; overflow:hidden!important; }
  .lwf-clubs-label { width:105px!important; font-size:12px!important; }
  .lwf-clubs-marquee { height:88px!important; margin-right:105px!important; overflow:hidden!important; }
  .lwf-clubs-track { height:88px!important; display:flex!important; align-items:center!important; width:max-content!important; }
  .lwf-team-item { min-width:100px!important; width:100px!important; height:82px!important; padding:3px 6px!important; box-sizing:border-box!important; }
  .lwf-team-logo { width:54px!important; height:54px!important; display:grid!important; place-items:center!important; flex:0 0 54px!important; }
  .lwf-team-logo img { display:block!important; visibility:visible!important; opacity:1!important; width:auto!important; height:auto!important; max-width:54px!important; max-height:54px!important; object-fit:contain!important; }
  .lwf-team-name { font-size:10px!important; max-width:92px!important; }
}

/* =========================================================
   FINAL MOBILE HEADER FIX — single source of truth
   Removes the large top gap and keeps logo + league name visible.
   ========================================================= */
@media (max-width: 767px){
  .lwf-header{
    position:relative !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
    background:#fff !important;
  }

  .lwf-header .lwf-topbar{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    overflow:visible !important;
  }

  .lwf-header .lwf-brand-row{
    width:100% !important;
    height:auto !important;
    min-height:88px !important;
    max-height:none !important;
    margin:0 !important;
    padding:7px 10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:visible !important;
    position:relative !important;
    direction:rtl !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand{
    position:static !important;
    inset:auto !important;
    transform:none !important;
    float:none !important;
    width:100% !important;
    max-width:520px !important;
    height:auto !important;
    min-height:74px !important;
    max-height:none !important;
    margin:0 auto !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    direction:rtl !important;
    overflow:visible !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    position:static !important;
    flex:0 0 62px !important;
    width:62px !important;
    min-width:62px !important;
    height:62px !important;
    min-height:62px !important;
    max-height:62px !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    visibility:visible !important;
    opacity:1 !important;
    z-index:2 !important;
  }

  .lwf-header .lwf-brand-logo .custom-logo-link{
    display:flex !important;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    padding:0 !important;
    align-items:center !important;
    justify-content:center !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    display:block !important;
    position:static !important;
    width:auto !important;
    height:auto !important;
    max-width:62px !important;
    max-height:62px !important;
    margin:0 !important;
    padding:0 !important;
    object-fit:contain !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text{
    position:static !important;
    flex:1 1 auto !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    text-align:right !important;
    direction:rtl !important;
    white-space:normal !important;
    overflow:visible !important;
    visibility:visible !important;
    opacity:1 !important;
    z-index:3 !important;
  }

  .lwf-header .lwf-brand-text strong{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    color:#062b20 !important;
    font-size:18px !important;
    line-height:1.35 !important;
    font-weight:900 !important;
    letter-spacing:0 !important;
    text-align:right !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    overflow:visible !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  /* The navigation is a compact bar directly below the identity. */
  .lwf-header .lwf-nav-wrap{
    position:relative !important;
    width:100% !important;
    height:auto !important;
    min-height:52px !important;
    margin:0 !important;
    padding:0 !important;
    background:var(--dark,#062b20) !important;
    overflow:visible !important;
    z-index:100 !important;
  }

  .lwf-header .lwf-nav-wrap .lwf-container{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 10px !important;
  }

  .lwf-header .lwf-menu-toggle{
    position:relative !important;
    inset:auto !important;
    display:flex !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    margin:4px 0 4px auto !important;
    padding:8px !important;
    border:0 !important;
    border-radius:7px !important;
    background:var(--green,#087b48) !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:5px !important;
    z-index:101 !important;
  }

  .lwf-header .lwf-menu-toggle span{
    display:block !important;
    width:25px !important;
    height:3px !important;
    margin:0 !important;
    border-radius:3px !important;
    background:#fff !important;
  }

  .lwf-header .lwf-nav{
    display:none !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:var(--dark,#062b20) !important;
  }

  .lwf-header .lwf-nav.open{
    display:block !important;
  }

  .lwf-header .lwf-menu{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
  }

  .lwf-header .lwf-menu li{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border-bottom:1px solid rgba(255,255,255,.12) !important;
  }

  .lwf-header .lwf-menu li a{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:12px 16px !important;
    color:#fff !important;
    background:transparent !important;
    text-align:right !important;
    text-decoration:none !important;
    white-space:normal !important;
  }

  /* Keep the breaking-news strip immediately after the menu. */
  .lwf-header .lwf-breaking{
    position:relative !important;
    width:100% !important;
    margin:0 !important;
    height:42px !important;
  }
}

@media (max-width:390px){
  .lwf-header .lwf-brand-row{
    min-height:84px !important;
    padding:6px 8px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand{
    min-height:70px !important;
    gap:8px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo{
    flex-basis:56px !important;
    width:56px !important;
    min-width:56px !important;
    height:56px !important;
    min-height:56px !important;
    max-height:56px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo{
    max-width:56px !important;
    max-height:56px !important;
  }
  .lwf-header .lwf-brand-text strong{
    font-size:16px !important;
    line-height:1.35 !important;
  }
}

/* =========================================================
   V4 — Mobile header rebuild from the screenshot
   One predictable layout: identity block -> menu -> breaking news.
   ========================================================= */
@media (max-width: 767px) {
  .lwf-header,
  .lwf-header .lwf-topbar,
  .lwf-header .lwf-brand-row {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .lwf-header .lwf-brand-row {
    display: block !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    justify-items: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 10px 10px !important;
    gap: 4px !important;
    direction: rtl !important;
    overflow: visible !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: grid !important;
    place-items: center !important;
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .lwf-header .lwf-brand-logo .custom-logo-link {
    display: grid !important;
    place-items: center !important;
    width: 62px !important;
    height: 62px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: 62px !important;
    max-height: 62px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-text {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    inset: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    direction: rtl !important;
    text-align: center !important;
    z-index: 3 !important;
  }

  .lwf-header .lwf-brand-text strong {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #06372d !important;
    font-family: inherit !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .lwf-header .lwf-nav-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #062b20 !important;
    overflow: visible !important;
    z-index: 1000 !important;
  }

  .lwf-header .lwf-nav-wrap .lwf-container {
    width: 100% !important;
    max-width: none !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .lwf-header .lwf-menu-toggle {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 4px 0 4px auto !important;
    padding: 7px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #087b48 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 1002 !important;
  }

  .lwf-header .lwf-menu-toggle span {
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 3px !important;
  }

  .lwf-header .lwf-nav {
    display: none !important;
    position: absolute !important;
    top: 50px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #062b20 !important;
    z-index: 1001 !important;
  }

  .lwf-header .lwf-nav.open {
    display: block !important;
  }

  .lwf-header .lwf-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .lwf-header .lwf-menu li,
  .lwf-header .lwf-menu li a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .lwf-header .lwf-menu li {
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }

  .lwf-header .lwf-menu li a {
    padding: 12px 16px !important;
    color: #fff !important;
    background: transparent !important;
    text-align: right !important;
    text-decoration: none !important;
  }

  .lwf-header .lwf-breaking {
    position: relative !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 390px) {
  .lwf-header .lwf-brand-row > .lwf-brand {
    padding: 6px 8px 8px !important;
  }
  .lwf-header .lwf-brand-row > .lwf-brand > .lwf-brand-logo,
  .lwf-header .lwf-brand-logo .custom-logo-link {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }
  .lwf-header .lwf-brand-logo img,
  .lwf-header .lwf-brand-logo .custom-logo {
    max-width: 58px !important;
    max-height: 58px !important;
  }
  .lwf-header .lwf-brand-text strong {
    font-size: 17px !important;
  }
}


/* =========================================================
   V5 — Isolated header identity
   Uses unique classes so legacy header rules cannot move the logo
   or create a large empty area.
   ========================================================= */
.lwf-header .lwf-topbar{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:#fff !important;
  overflow:visible !important;
}
.lwf-header .lwf-identity{
  width:100% !important;
  height:116px !important;
  min-height:116px !important;
  margin:0 !important;
  padding:0 24px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
.lwf-header .lwf-identity-link{
  width:auto !important;
  max-width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:28px !important;
  direction:rtl !important;
  text-decoration:none !important;
  position:static !important;
  transform:none !important;
  float:none !important;
  box-sizing:border-box !important;
}
.lwf-header .lwf-identity-logo{
  flex:0 0 88px !important;
  width:88px !important;
  height:96px !important;
  min-width:88px !important;
  min-height:96px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:static !important;
  margin:0 !important;
  padding:0 !important;
  z-index:1 !important;
}
.lwf-header .lwf-identity-logo .custom-logo-link{
  display:flex !important;
  width:100% !important;
  height:100% !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
  position:static !important;
}
.lwf-header .lwf-identity-logo img,
.lwf-header .lwf-identity-logo .custom-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:84px !important;
  max-height:84px !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
  position:static !important;
  transform:none !important;
}
.lwf-header .lwf-identity-text{
  display:block !important;
  width:auto !important;
  max-width:calc(100vw - 180px) !important;
  margin:0 !important;
  padding:0 !important;
  color:#06372d !important;
  font-family:inherit !important;
  font-size:38px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  text-align:right !important;
  direction:rtl !important;
  white-space:nowrap !important;
  overflow:visible !important;
  position:static !important;
  transform:none !important;
}

/* Navigation is deliberately compact; the old rules may not enlarge it. */
.lwf-header .lwf-nav-wrap{
  width:100% !important;
  height:52px !important;
  min-height:52px !important;
  margin:0 !important;
  padding:0 !important;
  background:#062b20 !important;
  position:relative !important;
  z-index:100 !important;
  overflow:visible !important;
}
.lwf-header .lwf-nav-wrap .lwf-container{
  width:min(1180px,calc(100% - 30px)) !important;
  height:52px !important;
  min-height:52px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
}
.lwf-header .lwf-nav{
  width:100% !important;
  min-height:52px !important;
  height:52px !important;
  display:flex !important;
  align-items:center !important;
}
.lwf-header .lwf-menu-toggle{display:none !important;}
.lwf-header .lwf-menu{display:flex !important;align-items:center !important;gap:4px !important;margin:0 !important;padding:0 !important;}

@media (max-width:767px){
  .lwf-header .lwf-identity{
    height:92px !important;
    min-height:92px !important;
    padding:5px 10px !important;
  }
  .lwf-header .lwf-identity-link{
    width:100% !important;
    max-width:none !important;
    gap:10px !important;
    flex-direction:column !important;
    justify-content:center !important;
  }
  .lwf-header .lwf-identity-logo{
    flex:0 0 48px !important;
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
  }
  .lwf-header .lwf-identity-logo img,
  .lwf-header .lwf-identity-logo .custom-logo{
    max-width:46px !important;
    max-height:46px !important;
  }
  .lwf-header .lwf-identity-text{
    width:100% !important;
    max-width:100% !important;
    font-size:17px !important;
    line-height:1.25 !important;
    text-align:center !important;
    white-space:nowrap !important;
  }
  .lwf-header .lwf-nav-wrap{
    height:50px !important;
    min-height:50px !important;
  }
  .lwf-header .lwf-nav-wrap .lwf-container{
    width:100% !important;
    height:50px !important;
    min-height:50px !important;
    padding:0 8px !important;
  }
  .lwf-header .lwf-menu-toggle{
    display:flex !important;
    width:42px !important;
    height:42px !important;
    margin:4px 0 4px auto !important;
    padding:7px !important;
    border:0 !important;
    border-radius:7px !important;
    background:#087b48 !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:4px !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    z-index:1002 !important;
  }
  .lwf-header .lwf-menu-toggle span{
    display:block !important;
    width:24px !important;
    height:3px !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    border-radius:3px !important;
  }
  .lwf-header .lwf-nav{
    display:none !important;
    position:absolute !important;
    top:50px !important;
    right:0 !important;
    left:0 !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    background:#062b20 !important;
    z-index:1001 !important;
  }
  .lwf-header .lwf-nav.open{display:block !important;}
  .lwf-header .lwf-menu{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    gap:0 !important;
  }
  .lwf-header .lwf-menu li{width:100% !important;border-bottom:1px solid rgba(255,255,255,.12) !important;}
  .lwf-header .lwf-menu li a{
    display:block !important;
    width:100% !important;
    padding:12px 16px !important;
    text-align:right !important;
    color:#fff !important;
    background:transparent !important;
  }
  .lwf-header .lwf-breaking{height:40px !important;min-height:40px !important;}
  .lwf-header .lwf-breaking-label{min-width:72px !important;font-size:13px !important;}
  .lwf-header .lwf-breaking-track a,.lwf-header .lwf-breaking-track>span{font-size:11px !important;margin:0 12px !important;}
}

@media (max-width:380px){
  .lwf-header .lwf-identity{height:88px !important;min-height:88px !important;}
  .lwf-header .lwf-identity-logo{flex-basis:44px !important;width:44px !important;height:44px !important;min-width:44px !important;min-height:44px !important;}
  .lwf-header .lwf-identity-logo img,.lwf-header .lwf-identity-logo .custom-logo{max-width:42px !important;max-height:42px !important;}
  .lwf-header .lwf-identity-text{font-size:15px !important;}
}

/* =========================================================
   V6 — Restore a prominent federation name on desktop/mobile
   ========================================================= */
.lwf-header .lwf-identity-text{
  font-size:44px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:0 !important;
  text-shadow:none !important;
  white-space:nowrap !important;
}

@media (max-width:767px){
  .lwf-header .lwf-identity-text{
    font-size:22px !important;
    line-height:1.3 !important;
    font-weight:900 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    text-align:center !important;
  }
}

@media (max-width:390px){
  .lwf-header .lwf-identity-text{
    font-size:20px !important;
    line-height:1.3 !important;
  }
}


/* =========================================================
   V7 — FINAL CLEAN HEADER
   The header identity uses dedicated classes and a real <img>
   so legacy logo rules cannot resize or reposition it.
   ========================================================= */
.lwf-header .lwf-topbar,
.lwf-header .lwf-identity {
  width: 100% !important;
  height: 128px !important;
  min-height: 128px !important;
  max-height: 128px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.lwf-header .lwf-identity {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.lwf-header .lwf-identity-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  direction: rtl !important;
  gap: 26px !important;
  width: auto !important;
  max-width: calc(100% - 40px) !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}
.lwf-header .lwf-identity-logo {
  flex: 0 0 86px !important;
  width: 86px !important;
  height: 100px !important;
  min-width: 86px !important;
  min-height: 100px !important;
  max-width: 86px !important;
  max-height: 100px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.lwf-header .lwf-identity-logo-img {
  display: block !important;
  width: 82px !important;
  height: 82px !important;
  max-width: 82px !important;
  max-height: 82px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  box-sizing: border-box !important;
}
.lwf-header .lwf-identity-text {
  display: block !important;
  width: auto !important;
  max-width: 900px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #06372d !important;
  font-family: inherit !important;
  font-size: 42px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-align: right !important;
  direction: rtl !important;
  white-space: nowrap !important;
  overflow: visible !important;
  position: static !important;
  transform: none !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-sizing: border-box !important;
}

/* Compact, predictable navigation bar */
.lwf-header .lwf-nav-wrap {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #062b20 !important;
  position: relative !important;
  z-index: 100 !important;
  overflow: visible !important;
}
.lwf-header .lwf-nav-wrap .lwf-container {
  width: min(1180px, calc(100% - 30px)) !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .lwf-header .lwf-topbar,
  .lwf-header .lwf-identity {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
    padding: 6px 10px !important;
    overflow: hidden !important;
  }
  .lwf-header .lwf-identity-link {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  .lwf-header .lwf-identity-logo {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
  }
  .lwf-header .lwf-identity-logo-img {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
  }
  .lwf-header .lwf-identity-text {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 4px !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  .lwf-header .lwf-nav-wrap {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
  }
  .lwf-header .lwf-nav-wrap .lwf-container {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 8px !important;
  }
  .lwf-header .lwf-menu-toggle {
    display: flex !important;
    width: 42px !important;
    height: 42px !important;
    margin: 4px 0 4px auto !important;
    padding: 7px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #087b48 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 4px !important;
    position: relative !important;
    inset: auto !important;
    z-index: 1002 !important;
  }
  .lwf-header .lwf-menu-toggle span {
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 3px !important;
  }
  .lwf-header .lwf-nav {
    display: none !important;
    position: absolute !important;
    top: 50px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: #062b20 !important;
    z-index: 1001 !important;
  }
  .lwf-header .lwf-nav.open { display: block !important; }
  .lwf-header .lwf-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .lwf-header .lwf-menu li,
  .lwf-header .lwf-menu li a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .lwf-header .lwf-menu li {
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }
  .lwf-header .lwf-menu li a {
    padding: 12px 16px !important;
    color: #fff !important;
    background: transparent !important;
    text-align: right !important;
    text-decoration: none !important;
  }
}

@media (max-width: 390px) {
  .lwf-header .lwf-topbar,
  .lwf-header .lwf-identity {
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
  }
  .lwf-header .lwf-identity-logo,
  .lwf-header .lwf-identity-logo-img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
  }
  .lwf-header .lwf-identity-text {
    font-size: 18px !important;
  }
}


/* LWF + SportsPress dashboard integration v8 */
.lwf-competition-selector{margin:18px auto 0}
.lwf-dashboard .sp-template-event-list,.lwf-dashboard .sp-template-league-table{margin:0}
.lwf-score-panel .sp-event-list,.lwf-score-panel .sp-table-wrapper{overflow-x:auto}
.lwf-score-panel table{width:100%;min-width:620px}
.lwf-dashboard-card .sp-event-list .sp-event{margin-bottom:8px}
.lwf-dashboard-card .sp-template-event-list{width:100%}
@media(max-width:700px){
  .lwf-competition-selector{margin-top:12px}
  .lwf-dashboard .lwf-dashboard-card{overflow:hidden}
  .lwf-score-panel{overflow-x:auto}
}


/* LWF: remove secondary left-side boxes from inner pages; homepage remains unchanged. */
.lwf-page-template.lwf-content-layout,
.lwf-single-post-page.lwf-content-layout,
.lwf-sportspress-page.lwf-content-layout{
  grid-template-columns:minmax(0,1fr) !important;
}

/* Footer social icons — compact, official colors, no legacy oversized styling */
.lwf-footer-socials{
  display:flex;
  align-items:center;
  gap:100px;
  margin-top:10px;
}
.lwf-footer-socials .lwf-social-link{
  width:24px;
  height:24px;
  min-width:24px;
  min-height:24px;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  text-decoration:none;
  transition:transform .2s ease,opacity .2s ease;
}
.lwf-footer-socials .lwf-social-link:hover{
  transform:scale(1.08);
  background:transparent;
  opacity:.82;
}
.lwf-footer-socials .lwf-social-link img{
  width:72px;
  height:72px;
  min-width:72px;
  min-height:72px;
  max-width:72px;
  max-height:72px;
  display:block;
  object-fit:contain;
  margin:0;
  padding:0;
}
.lwf-footer-socials{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  width:100%;
}
.lwf-footer-socials .lwf-social-link{
  width:78px;
  height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 78px;
}
.lwf-footer-social-box{text-align:right}


/* v20 — mobile inner-page content visibility fix
   Keep page content visible first, shared sidebar below it. */
@media (max-width: 700px) {
  .lwf-content-layout.lwf-page-template,
  .lwf-content-layout.lwf-single-post-page,
  .lwf-content-layout.lwf-sportspress-page {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
  }

  .lwf-content-layout .lwf-content-main {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    order: 1 !important;
  }

  .lwf-content-layout .lwf-content-main > * {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .lwf-content-layout .lwf-content-sidebar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    order: 2 !important;
  }

  .lwf-content-layout .lwf-single-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .lwf-content-layout .lwf-single-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

/* v21 — restore desktop inner-page two-column layout and sidebar cards */
@media (min-width: 901px){
  .lwf-page-template.lwf-content-layout,
  .lwf-single-post-page.lwf-content-layout,
  .lwf-sportspress-page.lwf-content-layout{
    display:grid !important;
    grid-template-columns:minmax(0,2fr) minmax(280px,1fr) !important;
    gap:22px !important;
    align-items:start !important;
  }

  .lwf-page-template .lwf-content-main,
  .lwf-single-post-page .lwf-content-main,
  .lwf-sportspress-page .lwf-content-main{
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    order:1 !important;
  }

  .lwf-page-template .lwf-content-sidebar,
  .lwf-single-post-page .lwf-content-sidebar,
  .lwf-sportspress-page .lwf-content-sidebar{
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    order:2 !important;
  }
}

/* Sidebar cards: same visual language as homepage cards */
.lwf-content-sidebar > *,
.lwf-content-sidebar .widget,
.lwf-content-sidebar .lwf-widget,
.lwf-content-sidebar .lwf-dashboard-card{
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:13px !important;
  padding:20px !important;
  box-shadow:0 6px 20px rgba(20,50,38,.04) !important;
  box-sizing:border-box !important;
  overflow:hidden;
}

@media (max-width:700px){
  .lwf-content-sidebar > *,
  .lwf-content-sidebar .widget,
  .lwf-content-sidebar .lwf-widget,
  .lwf-content-sidebar .lwf-dashboard-card{
    width:100% !important;
    padding:14px !important;
    border-radius:13px !important;
  }
}


/* v25 — Homepage clubs grid + league statistics */
.lwf-home-clubs-stats{
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:20px;
  margin-top:24px;
  align-items:stretch;
}

.lwf-home-clubs-card,
.lwf-home-stats-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 8px 28px rgba(20,50,38,.06);
  padding:22px;
  overflow:hidden;
}

.lwf-home-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0 0 16px;
  border-bottom:1px solid var(--line);
  margin-bottom:16px;
}

.lwf-home-section-head h2{
  margin:0;
  font-size:25px;
  font-weight:900;
  color:var(--ink);
}

.lwf-home-section-head span{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:13px;
}

.lwf-home-all-link{
  color:var(--brand);
  font-weight:800;
  white-space:nowrap;
  text-decoration:none;
}

.lwf-home-clubs-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.lwf-home-club{
  min-height:126px;
  background:#f7faf8;
  border:1px solid #edf2ef;
  border-radius:12px;
  padding:12px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:var(--ink);
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.lwf-home-club:hover{
  transform:translateY(-2px);
  background:#fff;
  box-shadow:0 8px 20px rgba(20,50,38,.08);
}

.lwf-home-club-logo{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:7px;
}

.lwf-home-club-logo img{
  width:58px;
  height:58px;
  object-fit:contain;
  display:block;
}

.lwf-home-club-logo > span{
  font-size:36px;
}

.lwf-home-club strong{
  font-size:12px;
  line-height:1.5;
}

.lwf-home-clubs-more{
  grid-column:1/-1;
  min-height:46px;
  margin-top:2px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  background:var(--brand);
  color:#fff !important;
  font-weight:900;
  text-decoration:none;
}

.lwf-home-stats-icon{
  width:46px !important;
  height:46px;
  margin:0 !important;
  border-radius:12px;
  display:flex !important;
  align-items:center;
  justify-content:center;
  background:var(--soft);
  color:var(--brand) !important;
  font-size:26px !important;
  font-weight:900;
}

.lwf-home-stats-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
}

.lwf-stat-item{
  min-height:68px;
  display:grid;
  grid-template-columns:42px 1fr auto;
  align-items:center;
  gap:10px;
  background:#f7faf8;
  border:1px solid #edf2ef;
  border-radius:12px;
  padding:9px 12px;
}

.lwf-stat-icon{
  width:38px;
  height:38px;
  border-radius:10px;
  background:var(--soft);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.lwf-stat-label{
  font-size:13px;
  font-weight:800;
  color:var(--ink);
}

.lwf-stat-value{
  color:var(--brand);
  font-size:22px;
  font-weight:900;
  direction:ltr;
}

.lwf-stat-yellow .lwf-stat-icon{background:#fff8dc}
.lwf-stat-red .lwf-stat-icon{background:#fff0f0}

.lwf-home-stats-foot{
  margin-top:13px;
  text-align:center;
  color:var(--muted);
  font-size:11px;
}

.lwf-home-stats-foot span{
  color:#16a34a;
  font-size:15px;
}

@media(max-width:900px){
  .lwf-home-clubs-stats{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .lwf-home-clubs-stats{
    gap:14px;
    margin-top:18px;
  }

  .lwf-home-clubs-card,
  .lwf-home-stats-card{
    padding:14px;
    border-radius:14px;
  }

  .lwf-home-section-head{
    padding-bottom:12px;
    margin-bottom:12px;
  }

  .lwf-home-section-head h2{
    font-size:21px;
  }

  .lwf-home-club{
    min-height:108px;
  }

  .lwf-home-club-logo,
  .lwf-home-club-logo img{
    width:50px;
    height:50px;
  }

  .lwf-stat-item{
    min-height:60px;
  }
}


/* =========================================================
   LWF Naama opening identity splash
   ========================================================= */
#lwf-opening-splash.lwf-opening-splash{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:radial-gradient(circle at center, #123f2b 0%, #062318 45%, #03130d 100%);
  opacity:1;
  visibility:visible;
  transition:opacity .75s ease, visibility .75s ease;
  animation:lwf-splash-fallback 4s forwards;
}
#lwf-opening-splash.lwf-opening-splash::before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  filter:blur(35px);
  animation:lwf-splash-aura 2.4s ease-in-out infinite;
}
.lwf-opening-inner{
  position:relative;
  z-index:1;
  width:min(92vw,560px);
  text-align:center;
  color:#fff;
  direction:rtl;
  animation:lwf-splash-enter 1s cubic-bezier(.2,.75,.25,1) both;
}
.lwf-opening-logo-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:170px;
  margin-bottom:18px;
}
.lwf-opening-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:190px;
  max-height:190px;
  object-fit:contain;
  filter:drop-shadow(0 0 8px rgba(255,255,255,.95)) drop-shadow(0 0 22px rgba(255,215,90,.9)) drop-shadow(0 0 42px rgba(255,255,255,.45));
  animation:lwf-logo-glow 2.2s ease-in-out infinite;
}
.lwf-opening-fallback-logo{
  display:flex;
  width:150px;
  height:150px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:70px;
  background:rgba(255,255,255,.08);
  box-shadow:0 0 18px rgba(255,255,255,.8),0 0 48px rgba(255,215,90,.65);
  animation:lwf-logo-glow 2.2s ease-in-out infinite;
}
.lwf-opening-title{
  font-family:"Cairo",Arial,sans-serif;
  font-size:clamp(22px,4vw,36px);
  font-weight:800;
  line-height:1.35;
  letter-spacing:.2px;
  text-shadow:0 2px 18px rgba(0,0,0,.45);
}
.lwf-opening-name{
  margin-top:2px;
  font-family:"Cairo",Arial,sans-serif;
  font-size:clamp(44px,8vw,72px);
  font-weight:800;
  line-height:1.1;
  letter-spacing:2px;
  text-shadow:0 3px 22px rgba(0,0,0,.5),0 0 18px rgba(255,255,255,.18);
}
#lwf-opening-splash.is-hidden{
  animation:none !important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
@keyframes lwf-splash-fallback{
  0%,78%{opacity:1;visibility:visible;pointer-events:auto}
  100%{opacity:0;visibility:hidden;pointer-events:none}
}
@keyframes lwf-logo-glow{
  0%,100%{filter:drop-shadow(0 0 7px rgba(255,255,255,.9)) drop-shadow(0 0 18px rgba(255,215,90,.65)) drop-shadow(0 0 34px rgba(255,255,255,.25));transform:scale(1)}
  50%{filter:drop-shadow(0 0 12px rgba(255,255,255,1)) drop-shadow(0 0 30px rgba(255,215,90,1)) drop-shadow(0 0 60px rgba(255,255,255,.5));transform:scale(1.035)}
}
@keyframes lwf-splash-aura{
  0%,100%{transform:scale(.82);opacity:.5}
  50%{transform:scale(1.12);opacity:.95}
}
@keyframes lwf-splash-enter{
  from{opacity:0;transform:translateY(22px) scale(.94)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media (prefers-reduced-motion:reduce){
  #lwf-opening-splash.lwf-opening-splash::before,.lwf-opening-inner,.lwf-opening-logo,.lwf-opening-fallback-logo{animation:none}
  #lwf-opening-splash.lwf-opening-splash{transition:none}
}
@media (max-width:600px){
  .lwf-opening-logo-wrap{min-height:135px;margin-bottom:12px}
  .lwf-opening-logo{max-width:145px;max-height:145px}
  .lwf-opening-title{font-size:21px}
  .lwf-opening-name{font-size:48px}
}


/* v50 — clubs and league statistics belong in the left sidebar under contact numbers. */
.lwf-dashboard-side .lwf-home-side-card{
  width:100%;
  box-sizing:border-box;
}
.lwf-dashboard-side .lwf-home-clubs-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media(max-width:900px){
  .lwf-dashboard-side .lwf-home-clubs-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .lwf-dashboard-side .lwf-home-clubs-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* V51: Shared sidebar/services */
.lwf-shared-sidebar{display:flex;flex-direction:column;gap:18px;}
.lwf-global-services{margin-top:24px;margin-bottom:0;}


/* V52 — External football/sports institutions between Services and Footer. */
.lwf-external-links{
  margin-top:42px;
  margin-bottom:46px;
  padding:26px 22px 30px;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(20,76,52,.10);
  box-shadow:0 8px 28px rgba(0,0,0,.06);
}
.lwf-external-links-head{
  text-align:center;
  margin-bottom:22px;
}
.lwf-external-links-head h2{margin:0 0 5px;font-family:"Cairo",Arial,sans-serif;font-size:23px;font-weight:800;color:#123f2b}
.lwf-external-links-head span{font-size:13px;color:#777}
.lwf-external-links-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
.lwf-external-link{
  min-height:106px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:12px 8px;
  border:1px solid #e8ece9;
  border-radius:14px;
  background:#fff;
  color:#173d2b;
  text-decoration:none;
  text-align:center;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.lwf-external-link:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(0,0,0,.09);border-color:rgba(20,76,52,.28)}
.lwf-external-link strong{font-size:12px;line-height:1.45;font-weight:700}
.lwf-external-icon{
  width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-family:Arial,sans-serif;font-weight:900;font-size:14px;letter-spacing:-.4px;
  color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.12);
}
.lwf-external-icon.faf{background:#007c4b}.lwf-external-icon.caf{background:#0b5ca8}.lwf-external-icon.fifa{background:#1464a5}.lwf-external-icon.unaf{background:#b18a27}.lwf-external-icon.lfp{background:#1d2d50}.lwf-external-icon.lnfa{background:#6d3b8f}.lwf-external-icon.lnff{background:#d34b8c}.lwf-external-icon.ministry{background:#d21f26}.lwf-external-icon.youth{background:#008b75}.lwf-external-icon.coa{background:#222}
@media(max-width:1000px){.lwf-external-links-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:650px){
  .lwf-external-links{margin-top:28px;margin-bottom:30px;padding:20px 12px 22px}
  .lwf-external-links-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .lwf-external-link{min-height:100px}
}


/* V55 — Website statistics card powered by WP Statistics. */
.lwf-site-stats-card{overflow:hidden;}
.lwf-site-stats-main-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#eef8f4;font-size:22px;flex:0 0 42px;}
.lwf-site-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;}
.lwf-site-stat-item{min-width:0;border:1px solid rgba(4,67,55,.10);background:#fbfdfc;border-radius:12px;padding:12px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;}
.lwf-site-stat-icon{font-size:18px;line-height:1;}
.lwf-site-stat-item strong{font-size:20px;line-height:1.2;color:#064b3e;direction:ltr;unicode-bidi:plaintext;}
.lwf-site-stat-item small{font-size:11px;color:#687b76;line-height:1.5;}
.lwf-site-stats-unavailable{font-size:13px;line-height:1.8;color:#7a8582;padding:12px 0;text-align:center;}
@media (max-width:700px){.lwf-site-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.lwf-site-stat-item strong{font-size:18px;}}

/* Final dashboard order: news, weekly matches, calendar, ranking */
.lwf-dashboard-main > .lwf-news-main-section { order: 1; }
.lwf-dashboard-main > .lwf-dashboard-card:nth-child(2) { order: 2; }
.lwf-dashboard-main > .lwf-dashboard-card:nth-child(3) { order: 3; }
.lwf-dashboard-main > .lwf-dashboard-card:nth-child(4) { order: 4; }


/* =========================================================
   V58 — Header/navigation + competition selector refinements
   ========================================================= */
/* Main navigation follows the exact same content width as the slider. */
.lwf-nav-wrap .lwf-container{
  width:min(1180px,calc(100% - 30px)) !important;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
.lwf-nav-wrap .lwf-menu{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

/* Current-season title: deliberately two lines; the old subtitle is removed. */
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title strong{
  white-space:normal !important;
  line-height:1.35 !important;
  text-align:right !important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title small{
  display:none !important;
}

/* Search and competition selector boxes share the same outer dimensions. */
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-inner{
  grid-template-columns:minmax(360px,360px) minmax(360px,360px) minmax(320px,1fr) !important;
  grid-template-areas:"search form title" !important;
  gap:20px !important;
  align-items:center !important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form{
  width:360px !important;
  min-width:360px !important;
  max-width:360px !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:5px !important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form label{
  font-size:11px !important;
  line-height:1.3 !important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-select-wrap,
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form select{
  width:360px !important;
  min-width:360px !important;
  max-width:360px !important;
  height:46px !important;
  box-sizing:border-box !important;
  border-radius:9px !important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{
  width:360px !important;
  min-width:360px !important;
  max-width:360px !important;
  height:46px !important;
  box-sizing:border-box !important;
  direction:rtl !important;
  flex-direction:row !important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search button{
  order:1 !important;
  flex:0 0 48px !important;
  width:48px !important;
  height:46px !important;
  border-radius:0 9px 9px 0 !important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search input{
  order:2 !important;
  width:312px !important;
  min-width:0 !important;
  height:46px !important;
  border-radius:9px 0 0 9px !important;
  box-sizing:border-box !important;
}
@media(max-width:1100px){
  .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-inner{
    grid-template-columns:minmax(300px,1fr) minmax(300px,1fr) !important;
    grid-template-areas:"form title" "search search" !important;
  }
  .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form,
  .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-select-wrap,
  .lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-form select,
  .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{
    width:100% !important; min-width:0 !important; max-width:none !important;
  }
  .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search input{width:calc(100% - 48px) !important;}
}

/* =========================================================
   V59 — Header/menu exact sizing + search label
   ========================================================= */
@media (min-width:768px){
  /* Make the desktop menu occupy exactly the same inner width as the slider. */
  .lwf-header .lwf-nav-wrap .lwf-container{
    width:min(1180px,calc(100% - 30px)) !important;
    max-width:1180px !important;
    margin:0 auto !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }
  .lwf-header .lwf-nav{
    width:100% !important;
    max-width:100% !important;
  }
  .lwf-header .lwf-menu{
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    align-items:stretch !important;
    justify-content:space-between !important;
    gap:0 !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }
  .lwf-header .lwf-menu li{
    flex:1 1 0 !important;
    min-width:0 !important;
    margin:0 !important;
  }
  .lwf-header .lwf-menu li a{
    width:100% !important;
    box-sizing:border-box !important;
    text-align:center !important;
    padding-left:10px !important;
    padding-right:10px !important;
    white-space:nowrap !important;
  }
}

/* Competition title: one line, with the season years kept together. */
#lwf-competition-selector-v19 .lwf-competition-selector-title strong{
  white-space:nowrap !important;
  display:block !important;
  line-height:1.3 !important;
}

/* V60 — search label above field + green search button on the LEFT. */
#lwf-competition-selector-v19 .lwf-header-search{
  display:grid !important;
  grid-template-columns:48px minmax(0,1fr) !important;
  grid-template-rows:auto 46px !important;
  gap:5px 0 !important;
  width:360px !important;
  min-width:360px !important;
  max-width:360px !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:ltr !important;
  align-items:stretch !important;
  box-sizing:border-box !important;
}
#lwf-competition-selector-v19 .lwf-header-search .lwf-search-label{
  grid-column:1 / -1 !important;
  grid-row:1 !important;
  display:block !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  clip:auto !important;
  clip-path:none !important;
  white-space:nowrap !important;
  text-align:right !important;
  font-size:11px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  color:#06372d !important;
}
#lwf-competition-selector-v19 .lwf-header-search button{
  grid-column:1 !important;
  grid-row:2 !important;
  width:48px !important;
  height:46px !important;
  box-sizing:border-box !important;
  border:1px solid #087b48 !important;
  border-radius:9px 0 0 9px !important;
  background:#087b48 !important;
  color:#fff !important;
  padding:0 !important;
  margin:0 !important;
  cursor:pointer !important;
  font-size:17px !important;
}
#lwf-competition-selector-v19 .lwf-header-search input{
  grid-column:2 !important;
  grid-row:2 !important;
  width:100% !important;
  height:46px !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  border:1px solid #cfdcd5 !important;
  border-right:0 !important;
  border-radius:0 9px 9px 0 !important;
  padding:9px 14px !important;
  text-align:right !important;
  direction:rtl !important;
  background:#fff !important;
}
#lwf-competition-selector-v19 .lwf-header-search input:focus{
  border-color:#087b48 !important;
  box-shadow:0 0 0 3px rgba(8,123,72,.10) !important;
  outline:none !important;
}
#lwf-competition-selector-v19 .lwf-header-search button:hover{
  background:#06372d !important;
  border-color:#06372d !important;
}
/* Keep the selector and search columns identical in desktop mode. */
@media (min-width:1101px){
  #lwf-competition-selector-v19 .lwf-competition-form{
    width:360px !important; min-width:360px !important; max-width:360px !important;
  }
  #lwf-competition-selector-v19 .lwf-competition-select-wrap,
  #lwf-competition-selector-v19 .lwf-competition-form select{
    width:360px !important; min-width:360px !important; max-width:360px !important;
  }
}
@media (max-width:1100px){
  #lwf-competition-selector-v19 .lwf-header-search{
    width:100% !important; min-width:0 !important; max-width:none !important;
  }
}
@media (max-width:700px){
  #lwf-competition-selector-v19 .lwf-header-search{
    width:100% !important; min-width:0 !important; max-width:none !important;
    grid-template-columns:48px minmax(0,1fr) !important;
    grid-template-rows:auto 44px !important;
  }
  #lwf-competition-selector-v19 .lwf-header-search input,
  #lwf-competition-selector-v19 .lwf-header-search button{height:44px !important;}
}

/* Main navigation: exact same horizontal box as the slider/content container. */
@media (min-width:768px){
  .lwf-header .lwf-nav-wrap .lwf-container,
  .lwf-header .lwf-nav-wrap .lwf-menu{
    width:min(1180px,calc(100% - 30px)) !important;
    max-width:1180px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
  }
  .lwf-header .lwf-nav-wrap .lwf-container{padding:0 !important;}
  .lwf-header .lwf-nav{width:100% !important;max-width:100% !important;}
  .lwf-header .lwf-menu{display:flex !important;gap:0 !important;padding:0 !important;}
  .lwf-header .lwf-menu li{flex:1 1 0 !important;min-width:0 !important;margin:0 !important;}
  .lwf-header .lwf-menu li a{width:100% !important;box-sizing:border-box !important;text-align:center !important;white-space:nowrap !important;}
}


/* V61 — final search field geometry: label above, green magnifier on LEFT, fully rounded outer field. */
#lwf-competition-selector-v19 .lwf-header-search.lwf-header-search{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  width:360px !important;
  min-width:360px !important;
  max-width:360px !important;
  height:auto !important;
  min-height:0 !important;
  gap:5px !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  direction:rtl !important;
}
#lwf-competition-selector-v19 .lwf-header-search.lwf-header-search .lwf-search-label{
  display:block !important;
  position:static !important;
  order:0 !important;
  width:100% !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  clip:auto !important;
  clip-path:none !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-align:right !important;
  direction:rtl !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  color:#06372d !important;
  box-sizing:border-box !important;
}
#lwf-competition-selector-v19 .lwf-header-search.lwf-header-search::after{
  display:none !important;
}
#lwf-competition-selector-v19 .lwf-header-search.lwf-header-search input{
  order:2 !important;
  flex:1 1 auto !important;
  width:calc(100% - 48px) !important;
  max-width:calc(100% - 48px) !important;
  min-width:0 !important;
  height:44px !important;
  margin:0 !important;
  padding:8px 14px !important;
  box-sizing:border-box !important;
  border:1px solid #cfdcd5 !important;
  border-left:0 !important;
  border-right:1px solid #cfdcd5 !important;
  border-radius:0 9px 9px 0 !important;
  background:#fff !important;
  color:#06372d !important;
  text-align:right !important;
  direction:rtl !important;
  outline:none !important;
}
#lwf-competition-selector-v19 .lwf-header-search.lwf-header-search button{
  order:1 !important;
  position:absolute !important;
  width:48px !important;
  min-width:48px !important;
  max-width:48px !important;
  height:44px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #087b48 !important;
  border-radius:9px 0 0 9px !important;
  background:#087b48 !important;
  color:#fff !important;
  font-size:17px !important;
  line-height:42px !important;
  text-align:center !important;
  cursor:pointer !important;
  z-index:3 !important;
  top:calc(1.25em + 5px) !important;
  left:0 !important;
  right:auto !important;
  box-sizing:border-box !important;
}
#lwf-competition-selector-v19 .lwf-header-search.lwf-header-search input:focus{
  border-color:#087b48 !important;
  box-shadow:0 0 0 2px rgba(8,123,72,.10) !important;
  outline:none !important;
}
@media (max-width:1100px){
  #lwf-competition-selector-v19 .lwf-header-search.lwf-header-search{
    width:100% !important; min-width:0 !important; max-width:none !important;
  }
}
@media (max-width:700px){
  #lwf-competition-selector-v19 .lwf-header-search.lwf-header-search input{height:44px !important;}
  #lwf-competition-selector-v19 .lwf-header-search.lwf-header-search button{height:44px !important;line-height:42px !important;}
}

/* =========================================================
   v62 — definitive search box geometry
   Label above the field; green search button inside the field on the LEFT.
   ========================================================= */
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{
  grid-area:search!important;
  width:360px!important;
  min-width:360px!important;
  max-width:360px!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto 46px!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  direction:rtl!important;
  align-items:stretch!important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search .lwf-search-label{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  color:#06372d!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:900!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box{
  display:flex!important;
  flex-direction:row!important;
  direction:ltr!important;
  width:100%!important;
  height:46px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box input{
  order:2!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  height:46px!important;
  margin:0!important;
  box-sizing:border-box!important;
  border:1px solid #cfdcd5!important;
  border-left:0!important;
  border-radius:0 9px 9px 0!important;
  background:#fff!important;
  color:#06372d!important;
  direction:rtl!important;
  text-align:right!important;
  padding:9px 14px!important;
  outline:none!important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box button{
  order:1!important;
  flex:0 0 48px!important;
  width:48px!important;
  height:46px!important;
  margin:0!important;
  box-sizing:border-box!important;
  border:1px solid #087b48!important;
  border-radius:9px 0 0 9px!important;
  background:#087b48!important;
  color:#fff!important;
  padding:0!important;
  font-size:17px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box input:focus{
  border-color:#087b48!important;
  box-shadow:0 0 0 3px rgba(8,123,72,.10)!important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box button:hover{
  background:#06372d!important;
  border-color:#06372d!important;
}
.lwf-competition-selector#lwf-competition-selector-v19 .lwf-competition-selector-title strong bdi{
  direction:ltr!important;
  unicode-bidi:isolate!important;
  white-space:nowrap!important;
}
@media(max-width:1100px){
  .lwf-competition-selector#lwf-competition-selector-v19 .lwf-header-search{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}

/* v63 — definitive repair: keep the green search button INSIDE the search field. */
#lwf-competition-selector-v19 .lwf-header-search{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  width:360px!important;
  min-width:360px!important;
  max-width:360px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  gap:5px!important;
  box-sizing:border-box!important;
}
#lwf-competition-selector-v19 .lwf-header-search .lwf-search-label{
  position:static!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  text-align:right!important;
  direction:rtl!important;
  white-space:nowrap!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  direction:ltr!important;
  align-items:stretch!important;
  width:100%!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box input{
  order:2!important;
  flex:1 1 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:46px!important;
  margin:0!important;
  padding:9px 14px!important;
  box-sizing:border-box!important;
  border:1px solid #cfdcd5!important;
  border-left:0!important;
  border-radius:0 9px 9px 0!important;
  background:#fff!important;
  color:#06372d!important;
  direction:rtl!important;
  text-align:right!important;
  outline:none!important;
}
#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box button{
  order:1!important;
  position:static!important;
  flex:0 0 48px!important;
  width:48px!important;
  min-width:48px!important;
  max-width:48px!important;
  height:46px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  border:1px solid #087b48!important;
  border-radius:9px 0 0 9px!important;
  background:#087b48!important;
  color:#fff!important;
  font-size:17px!important;
  line-height:1!important;
  text-align:center!important;
  cursor:pointer!important;
  z-index:1!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
}
#lwf-competition-selector-v19 .lwf-header-search .lwf-search-box input:focus{
  border-color:#087b48!important;
  box-shadow:0 0 0 2px rgba(8,123,72,.10)!important;
  outline:none!important;
}
@media(max-width:1100px){
  #lwf-competition-selector-v19 .lwf-header-search{
    width:100%!important;min-width:0!important;max-width:none!important;
  }
}

/* v71 — clubs directory: 2026-2027 only */
.lwf-clubs-archive-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px rgba(20,50,38,.05);}
.lwf-clubs-archive-grid{align-items:stretch;}
.lwf-club-archive-item{background:#f8fbf9;border:1px solid #e6eee9;min-height:158px;}
.lwf-club-archive-item strong{display:block;max-width:100%;word-break:break-word;}
/* v66 — SportsPress clubs archive: full current-season directory */
.lwf-clubs-archive-card{padding:24px;overflow:hidden;}
.lwf-clubs-archive-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--line);}
.lwf-clubs-archive-head h1{margin:8px 0 4px;font-size:30px;font-weight:900;color:var(--ink);}
.lwf-clubs-archive-head p{margin:0;color:var(--muted);font-size:13px;}
.lwf-clubs-archive-icon{width:54px;height:54px;flex:0 0 54px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--soft);font-size:28px;}
.lwf-clubs-archive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.lwf-club-archive-item{min-height:150px;padding:14px 10px;background:#f7faf8;border:1px solid #e9efec;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;color:var(--ink);transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
.lwf-club-archive-item:hover{transform:translateY(-2px);background:#fff;box-shadow:0 8px 20px rgba(20,50,38,.08);}
.lwf-club-archive-logo{width:82px;height:82px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;}
.lwf-club-archive-logo img{width:82px;height:82px;object-fit:contain;display:block;}
.lwf-club-archive-logo>span{font-size:42px;}
.lwf-club-archive-item strong{font-size:13px;line-height:1.55;}
.lwf-clubs-empty{margin-top:8px;text-align:center;padding:36px 18px;}
@media (max-width:1100px){.lwf-clubs-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:700px){.lwf-clubs-archive-card{padding:16px;}.lwf-clubs-archive-head h1{font-size:22px;}.lwf-clubs-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.lwf-club-archive-item{min-height:125px;}.lwf-club-archive-logo,.lwf-club-archive-logo img{width:64px;height:64px;}}

/* Current-season team profile and match sections */
.lwf-team-season-label{margin:6px 0 0;color:var(--muted);font-size:13px;font-weight:700}
.lwf-team-info-title{font-size:18px;font-weight:900;color:var(--ink);margin-bottom:8px}
.lwf-team-matches-card{margin-top:22px;padding:24px;overflow:hidden}
.lwf-team-section-head{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px}
.lwf-team-section-head h2{margin:0 0 5px;font-size:24px;color:var(--ink);font-weight:900}
.lwf-team-section-head p{margin:0;color:var(--muted);font-size:13px}
.lwf-team-events-section{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.lwf-team-event-block{background:#f8fbf9;border:1px solid #e6eee9;border-radius:14px;padding:16px;min-width:0}
.lwf-team-event-title{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:900;color:var(--ink);padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.lwf-team-event-title span{font-size:20px}
.lwf-team-event-block .sp-event-list,.lwf-team-event-block table{width:100%;margin:0}
.lwf-team-event-block .lwf-empty{background:#fff;border:1px dashed #d9e5df;border-radius:10px}
@media (max-width:900px){.lwf-team-events-section{grid-template-columns:1fr}.lwf-team-matches-card{padding:18px}.lwf-team-section-head h2{font-size:21px}}

/* v73 — club season layout: upcoming fixtures on one row, previous results on the next */
.lwf-team-events-section{display:block!important}
.lwf-team-event-block{width:100%!important;display:block!important;margin:0 0 22px!important}
.lwf-team-event-block:last-child{margin-bottom:0!important}
.lwf-team-event-title{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box}

/* V76 — أرقام الرابطة: اسم الجهة يمينًا والرقم/البريد يسارًا */
.lwf-contact-numbers a{
  direction:rtl;
}
.lwf-contact-numbers a span{
  order:1;
  text-align:right;
  font-size:11px;
  font-weight:700;
  color:var(--dark);
}
.lwf-contact-numbers a strong{
  order:2;
  margin-inline-start:auto;
  font-size:14px;
  font-weight:900;
  color:var(--dark);
  direction:ltr;
  text-align:left;
  white-space:nowrap;
}

/* Detailed statistics page */
.lwf-statistics-page .lwf-single-head p{margin:8px 0 0;color:var(--muted);font-weight:600}
.lwf-statistics-table-wrap{margin:22px 0 0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.lwf-statistics-table-wrap h2{margin:0;padding:16px 18px;background:linear-gradient(90deg,var(--dark),var(--green2));color:#fff;font-size:19px;font-weight:900}
.lwf-statistics-table{width:100%;border-collapse:collapse}
.lwf-statistics-table th,.lwf-statistics-table td{padding:14px 18px;border-bottom:1px solid var(--line);text-align:right}
.lwf-statistics-table th{background:#f3f7f5;color:var(--dark);font-weight:900}
.lwf-statistics-table td:last-child,.lwf-statistics-table th:last-child{text-align:center;width:180px}
.lwf-statistics-table tbody tr:last-child td{border-bottom:0}
.lwf-statistics-table tbody tr:hover{background:#f8fbf9}
.lwf-statistics-table td strong{font-size:18px;color:var(--green2);font-weight:900}
@media(max-width:700px){
 .lwf-statistics-table th,.lwf-statistics-table td{padding:11px 12px;font-size:13px}
 .lwf-statistics-table td:last-child,.lwf-statistics-table th:last-child{width:110px}
 .lwf-statistics-table td strong{font-size:16px}
}

/* V80 — Photo gallery directory powered by Responsive Lightbox & Gallery */
.lwf-gallery-page .lwf-gallery-directory-card{overflow:hidden}
.lwf-gallery-page-head{padding-bottom:20px;margin-bottom:20px}
.lwf-gallery-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.lwf-gallery-title-row h1{margin:8px 0 5px;font-size:32px;font-weight:900;color:var(--ink)}
.lwf-gallery-title-row p{margin:0;color:var(--muted);font-size:13px;font-weight:600}
.lwf-gallery-title-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;flex:0 0 58px;border-radius:15px;background:var(--soft);font-size:29px}
.lwf-gallery-directory{display:grid;gap:24px}
.lwf-gallery-block{padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(20,50,38,.04);overflow:hidden}
.lwf-gallery-block-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.lwf-gallery-block-head h2{margin:0 0 4px;font-size:21px;font-weight:900;color:var(--ink)}
.lwf-gallery-block-head p{margin:0;color:var(--muted);font-size:13px}
.lwf-gallery-block-date{font-size:12px;color:var(--green2);font-weight:800;white-space:nowrap}
.lwf-gallery-plugin-output{min-width:0}
.lwf-gallery-plugin-output .rl-gallery,
.lwf-gallery-plugin-output .gallery{margin-bottom:0}
.lwf-gallery-empty{padding:42px 20px;text-align:center;border:1px dashed #cbdad2;border-radius:14px;background:#f8fbf9;color:var(--muted)}
.lwf-gallery-empty strong{display:block;margin-bottom:8px;color:var(--ink);font-size:18px}
.lwf-gallery-empty p{margin:0;font-size:13px}
/* Keep the lightbox above the theme navigation when the plugin uses GLightbox. */
.lg-backdrop{z-index:2010}
.lg-outer{z-index:2020}
@media(max-width:700px){
  .lwf-gallery-title-row{align-items:flex-start}
  .lwf-gallery-title-row h1{font-size:24px}
  .lwf-gallery-title-icon{width:50px;height:50px;flex-basis:50px;font-size:24px}
  .lwf-gallery-block{padding:14px}
  .lwf-gallery-block-head{align-items:flex-start;flex-direction:column}
}
