/* Futsal Maniax F League SEO body CSS v0.9.6
   Scope: /leagues/f-league-guide/, /leagues/f1-league/, /leagues/f2-league/, /leagues/wf-league/
   This file styles editorial HTML only. Team/League CPT data and plugin output are not modified. */

.fm-league-guide,
.fm-league-detail{
  --fm-fl-black:#07090d;
  --fm-fl-dark:#111720;
  --fm-fl-yellow:#ffe200;
  --fm-fl-yellow-soft:#fff5a8;
  --fm-fl-cream:#fffdf0;
  --fm-fl-bg:#f6f7f9;
  --fm-fl-line:#e7e2c4;
  --fm-fl-muted:#5f6875;
  --fm-fl-text:#151922;
  color:var(--fm-fl-text);
  margin:0 auto 42px;
  max-width:1080px;
  font-family:inherit;
}

.fm-league-guide *,
.fm-league-detail *{box-sizing:border-box;}

.fm-league-guide a,
.fm-league-detail a{color:inherit;text-decoration:none;}

.fm-league-guide p,
.fm-league-detail p{line-height:1.9;}

.fm-league-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 22%,rgba(255,226,0,.26),transparent 30%),
    linear-gradient(135deg,#05070b 0%,#121924 58%,#20220d 100%);
  color:#fff;
  border-radius:28px;
  padding:clamp(28px,5vw,56px);
  margin:0 0 30px;
  box-shadow:0 24px 54px rgba(0,0,0,.20);
}

.fm-league-hero:before{
  content:"F.LEAGUE";
  position:absolute;
  right:-.08em;
  bottom:-.28em;
  font-size:clamp(64px,13vw,160px);
  line-height:1;
  font-weight:1000;
  letter-spacing:-.09em;
  color:rgba(255,226,0,.075);
  pointer-events:none;
  white-space:nowrap;
}

.fm-league-hero:after{
  content:"";
  position:absolute;
  right:-80px;
  top:-90px;
  width:230px;
  height:230px;
  border:28px solid rgba(255,226,0,.12);
  border-radius:50%;
  pointer-events:none;
}

.fm-league-hero > *{position:relative;z-index:1;}

.fm-league-kicker,
.fm-league-card-label{
  display:inline-flex;
  align-items:center;
  gap:.4em;
  width:max-content;
  background:var(--fm-fl-yellow);
  color:var(--fm-fl-black);
  border-radius:999px;
  padding:7px 12px;
  font-size:11px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.fm-league-hero h1,
.fm-league-hero h2{
  margin:16px 0 12px;
  color:#fff;
  font-size:clamp(30px,5vw,58px);
  line-height:1.08;
  font-weight:1000;
  letter-spacing:-.045em;
}

.fm-league-hero p{
  max-width:760px;
  margin:0;
  color:rgba(255,255,255,.84);
  font-size:15px;
  font-weight:750;
  line-height:1.9;
}

.fm-league-top-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:22px 0 0;
}

.fm-league-top-links a,
.fm-league-hero .fm-league-top-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  border-radius:999px;
  padding:10px 16px;
  background:#fff;
  color:#07090d!important;
  border:1px solid rgba(255,255,255,.18);
  font-size:13px;
  font-weight:1000;
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}

.fm-league-top-links a:hover{transform:translateY(-1px);}

.fm-league-section{
  position:relative;
  background:#fff;
  border:1px solid #ececec;
  border-radius:22px;
  padding:clamp(22px,3.6vw,34px);
  margin:26px 0;
  box-shadow:0 14px 34px rgba(7,9,13,.06);
}

.fm-league-section > h2:first-child,
.fm-league-section > h3:first-child,
.fm-league-faq > h2:first-child{
  display:block;
  margin:0 0 16px;
  padding:0 0 12px;
  border-bottom:3px solid var(--fm-fl-yellow);
  color:#0b0d12;
  font-size:clamp(22px,3vw,32px);
  line-height:1.25;
  font-weight:1000;
  letter-spacing:-.035em;
}

.fm-league-section > h2:first-child:before,
.fm-league-section > h3:first-child:before,
.fm-league-faq > h2:first-child:before{
  content:"";
  display:inline-block;
  width:10px;
  height:10px;
  margin-right:9px;
  background:var(--fm-fl-yellow);
  border-radius:50%;
  box-shadow:12px 0 0 #07090d;
  vertical-align:middle;
}

.fm-league-section h3{
  margin:24px 0 10px;
  color:#111720;
  font-size:20px;
  line-height:1.35;
  font-weight:1000;
}

.fm-league-section p:last-child{margin-bottom:0;}

.fm-league-card-grid,
.fm-league-card-grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:24px 0;
}

.fm-league-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:190px;
  padding:22px;
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#fffdf2);
  border:1px solid var(--fm-fl-line);
  box-shadow:0 14px 30px rgba(0,0,0,.065);
  color:#111!important;
}

.fm-league-card:after{
  content:"";
  position:absolute;
  right:-42px;
  bottom:-46px;
  width:132px;
  height:132px;
  border:18px solid rgba(255,226,0,.28);
  border-radius:50%;
  pointer-events:none;
}

.fm-league-card > *{position:relative;z-index:1;}

.fm-league-card h2,
.fm-league-card h3,
.fm-league-card strong{
  display:block;
  margin:14px 0 8px;
  color:#0b0d12;
  font-size:clamp(20px,2.4vw,26px);
  line-height:1.18;
  font-weight:1000;
  letter-spacing:-.04em;
}

.fm-league-card p,
.fm-league-card span:not(.fm-league-card-label){
  color:var(--fm-fl-muted);
  font-size:14px;
  font-weight:750;
  line-height:1.75;
}

.fm-league-card .fm-league-card-label{margin-bottom:auto;}

.fm-league-card-primary,
.fm-league-card[aria-current="page"],
.fm-league-card.is-current,
.fm-league-card.current{
  background:
    radial-gradient(circle at 95% 18%,rgba(255,226,0,.30),transparent 26%),
    linear-gradient(135deg,#07090d,#181f2b);
  border-color:var(--fm-fl-yellow);
  color:#fff!important;
  box-shadow:0 22px 48px rgba(0,0,0,.18);
}

.fm-league-card-primary h2,
.fm-league-card-primary h3,
.fm-league-card-primary strong,
.fm-league-card[aria-current="page"] h2,
.fm-league-card[aria-current="page"] h3,
.fm-league-card[aria-current="page"] strong,
.fm-league-card.is-current h2,
.fm-league-card.is-current h3,
.fm-league-card.is-current strong,
.fm-league-card.current h2,
.fm-league-card.current h3,
.fm-league-card.current strong{color:#fff;}

.fm-league-card-primary p,
.fm-league-card-primary span:not(.fm-league-card-label),
.fm-league-card[aria-current="page"] p,
.fm-league-card[aria-current="page"] span:not(.fm-league-card-label),
.fm-league-card.is-current p,
.fm-league-card.is-current span:not(.fm-league-card-label),
.fm-league-card.current p,
.fm-league-card.current span:not(.fm-league-card-label){color:rgba(255,255,255,.78);}

.fm-league-compare{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:20px 0;
}

.fm-league-compare-item{
  background:#f7f8fa;
  border:1px solid #e5e7eb;
  border-top:5px solid var(--fm-fl-yellow);
  border-radius:18px;
  padding:18px;
}

.fm-league-compare-item h3,
.fm-league-compare-item strong{
  margin:0 0 8px;
  color:#101318;
  font-size:18px;
  font-weight:1000;
}

.fm-league-link-list{
  display:grid;
  gap:10px;
  margin:18px 0;
  padding:0;
  list-style:none;
}

.fm-league-link-list li{margin:0;list-style:none;}

.fm-league-link-list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding:12px 15px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  color:#111!important;
  font-weight:950;
  box-shadow:0 8px 18px rgba(0,0,0,.04);
}

.fm-league-link-list a:after{
  content:"→";
  display:inline-grid;
  place-items:center;
  min-width:28px;
  height:28px;
  border-radius:999px;
  background:#07090d;
  color:#ffe200;
  font-weight:1000;
}

.fm-league-note{
  position:relative;
  margin:22px 0;
  padding:18px 20px 18px 56px;
  background:linear-gradient(180deg,#fff9c9,#fffdf0);
  border:1px solid #ead56f;
  border-left:7px solid var(--fm-fl-yellow);
  border-radius:18px;
  color:#1f252d;
  font-weight:800;
  line-height:1.85;
  box-shadow:0 12px 28px rgba(255,226,0,.12);
}

.fm-league-note:before{
  content:"!";
  position:absolute;
  left:18px;
  top:18px;
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:999px;
  background:#07090d;
  color:#ffe200;
  font-weight:1000;
}

.fm-league-note p{margin:0;}

.fm-league-faq{
  background:#fff;
  border:1px solid #ececec;
  border-radius:22px;
  padding:clamp(22px,3.6vw,34px);
  margin:30px 0 42px;
  box-shadow:0 14px 34px rgba(7,9,13,.06);
}

.fm-league-faq h3,
.fm-league-faq dt,
.fm-league-faq summary{
  margin:22px 0 8px;
  padding:15px 16px;
  background:#07090d;
  color:#fff;
  border-radius:14px;
  font-size:17px;
  line-height:1.45;
  font-weight:1000;
}

.fm-league-faq h3:first-of-type,
.fm-league-faq dt:first-of-type,
.fm-league-faq summary:first-of-type{margin-top:0;}

.fm-league-faq p,
.fm-league-faq dd{
  margin:0 0 14px;
  padding:0 4px 0 16px;
  color:#343b45;
  line-height:1.9;
  font-weight:700;
}

.fm-league-faq dd{border-left:4px solid var(--fm-fl-yellow);}

.fm-league-detail + .fm-league-detail-layout,
.fm-league-guide + .fm-league-detail-layout,
.fm-league-detail + .fm-tl-teams,
.fm-league-guide + .fm-tl-teams{
  margin-top:44px!important;
}

.fm-league-f1 .fm-league-hero{background:radial-gradient(circle at 88% 22%,rgba(255,226,0,.28),transparent 30%),linear-gradient(135deg,#05070b,#151a22 62%,#242009);}
.fm-league-f2 .fm-league-hero{background:radial-gradient(circle at 88% 22%,rgba(255,226,0,.24),transparent 30%),linear-gradient(135deg,#05070b,#15202a 62%,#111820);}
.fm-league-wf .fm-league-hero{background:radial-gradient(circle at 88% 22%,rgba(255,226,0,.24),transparent 30%),linear-gradient(135deg,#05070b,#1b1722 60%,#271621);}

@media (max-width:900px){
  .fm-league-guide,
  .fm-league-detail{margin-bottom:32px;}
  .fm-league-hero{border-radius:0 0 24px 24px;margin-left:-18px;margin-right:-18px;padding:34px 20px;}
  .fm-league-top-links{display:grid;grid-template-columns:1fr;}
  .fm-league-card-grid,
  .fm-league-card-grid-3,
  .fm-league-compare{grid-template-columns:1fr;}
  .fm-league-card{min-height:0;}
  .fm-league-section,
  .fm-league-faq{border-radius:18px;padding:20px;}
  .fm-league-note{padding:16px 16px 16px 50px;}
}

@media (max-width:560px){
  .fm-league-hero h1,
  .fm-league-hero h2{font-size:32px;}
  .fm-league-kicker,
  .fm-league-card-label{font-size:10px;}
  .fm-league-section > h2:first-child,
  .fm-league-section > h3:first-child,
  .fm-league-faq > h2:first-child{font-size:22px;}
}
