/* assets/style.css (NY) */
:root{
  --bg:#ffffff;
  --ink:#0d0f12;
  --muted:#7b8593;

  --nav:#0b0f18;         /* mörk header */
  --nav2:#0a1324;

  --card:#f3f5f7;
  --card2:#ffffff;
  --line:#e7ecf2;

  --accent:#c1121f;      /* röd detalj (kan bytas) */
  --radius:18px;

  --wrap:1250px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:var(--bg);
  color:var(--ink);
}

/* ====== LAYOUT WRAPS ====== */
.container{
  max-width: var(--wrap);
  margin:0 auto;
  padding:0 18px;
}
a{ color:inherit; }

/* ====== HEADER (som bild 1) ====== */
.siteHeader{
  background: linear-gradient(180deg, var(--nav), var(--nav2));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.headerRow{
  height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand img{
  width:auto;
  height:44px;
  object-fit:contain;
  display:block;
}
.brandTitle{
  color:#fff;
  font-weight:900;
  letter-spacing:-.02em;
  white-space:nowrap;
}
.brandTitle span{
  opacity:.75;
  font-weight:700;
  margin-left:10px;
  font-size:13px;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  text-decoration:none;
  color:rgba(255,255,255,.88);
  font-weight:700;
  font-size:14px;
  padding:10px 6px;
}
.nav a:hover{ color:#fff; }

/* dropdown look i nav (om du vill senare) */
.nav .navDrop{
  position:relative;
}
.nav .navDrop > button{
  all:unset;
  cursor:pointer;
  color:rgba(255,255,255,.88);
  font-weight:700;
  font-size:14px;
  padding:10px 6px;
}
.nav .navDrop > button:hover{ color:#fff; }

/* ====== HERO (som bild 1) ====== */
.hero{
  position:relative;
  min-height: 430px;
  background:#000;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.20) 55%, rgba(0,0,0,.10) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
  filter:saturate(1.05);
  transform:scale(1.02);
}
.heroInner{
  position:relative;
  padding:64px 0;
}
.heroPanel{
  width:min(720px, 100%);
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:26px 26px 20px;
  backdrop-filter: blur(6px);
}
.heroKicker{
  color: rgba(255,255,255,.75);
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:12px;
}
.heroTitle{
  margin:10px 0 8px;
  font-size:54px;
  line-height:1.02;
  color:#fff;
  letter-spacing:-.03em;
  font-weight:900;
}
.heroSub{
  color: rgba(255,255,255,.88);
  font-size:18px;
  line-height:1.5;
  margin: 0 0 18px;
  max-width: 58ch;
}

/* “dropdown-rutan” i hero (din index-dropdown) */
.heroSelect{
  margin-top:14px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding:14px;
}
.heroRow{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap:10px;
  align-items:end;
}
.heroField label{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: rgb(255, 255, 255);
}
.heroField select{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgb(0, 0, 0);
  background: rgba(255, 230, 0, 0.453);
  color:#000000;
  outline:none;
}
.heroGo button{
  margin-top:0;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:#fff;
  color:#0b0f18;
  font-weight:900;
  cursor:pointer;
}
.heroGo button:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.heroHint{
  margin-top:10px;
  color: rgba(255,255,255,.72);
  font-size:13px;
}

/* ====== SECTIONS STOMME (för kommande steg) ====== */
.section{
  padding:34px 0;
}
.sectionHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
.sectionTitle{
  font-size:38px;
  letter-spacing:-.02em;
  margin:0;
  font-weight:1000;
}
.sectionTag{
  color: var(--accent);
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .heroTitle{ font-size:44px; }
  .heroRow{ grid-template-columns: 1fr 1fr; }
  .heroGo{ grid-column: 1 / -1; }
}

@media (max-width: 720px){
  .headerRow{ height:auto; padding:14px 0; }
  .nav{ gap:10px; }
  .heroInner{ padding:34px 0; }
  .heroTitle{ font-size:38px; }
}
.hidden{ display:none !important; }

.matchRow{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}

.matchCard{
  background:#f4f6f9;
  border-radius:20px;
  padding:22px;
  border:1px solid #e7ecf2;
  transition: all .2s ease;
}

.matchCardLink{
  display:block;
  text-decoration:none;
  color:inherit;
}


.matchCard:hover{
  transform: translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.matchMeta{
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#c1121f;
  margin-bottom:14px;
}

.matchTeams{
  font-size:18px;
  font-weight:900;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.matchDate{
  margin-top:14px;
  font-size:13px;
  color:#6c7684;
}

@media (max-width:1100px){
  .matchRow{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width:640px){
  .matchRow{ grid-template-columns: 1fr; }
}


.matchScoreBlock{
  margin-top:10px;
}

.scoreRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:6px 0;
  font-weight:900;
  font-size:18px;
  gap:10px;
}

.scoreTeam{
  flex:1;
  word-break:break-word; /* långa namn bryts snyggt */
}

.scoreValue{
  min-width:28px;
  text-align:right;
  font-size:20px;
  font-weight:1000;
  color:#111;
}

.tickerStack{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.ticker{
  border:1px solid #e7ecf2;
  background:#f4f6f9;
  border-radius:20px;
  overflow:hidden;
  padding:12px 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tickerTrack{
  display:flex;
  align-items:stretch;
  gap:12px;
  width:max-content;
  animation: tickerMove 90s linear infinite;
}
.tickerTrack--slow{
  animation-duration: 115s;
}

.ticker:hover .tickerTrack{ animation-play-state: paused; }

.newsChip{
  text-decoration:none;
  color:#111;
  background:#fff;
  border:1px solid #e7ecf2;
  border-radius:18px;
  padding:10px 14px;
  min-width: 320px;
  max-width: 420px;
  box-shadow: 0 6px 14px rgba(0,0,0,.05);
}

.newsChip:hover{ border-color:#c1121f; }

.newsTitle{
  font-weight:1000;
  font-size:14px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis; /* titel får ellipsis, snippet får radbryt */
}

.newsDesc{
  margin-top:6px;
  color:#66707e;
  font-size:13px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@keyframes tickerMove{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width:640px){
  .newsChip{ min-width: 260px; }
}

/* ===== Subscribe Banner ===== */
.subscribeBanner{
  position:relative;
  margin-top:60px;
  background:url("../img/background.jpg") center/cover no-repeat;
  min-height:260px;
  display:flex;
  align-items:center;
}

.subscribeOverlay{
  width:100%;
  background:linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.4));
  padding:60px 0;
}

.subscribeInner h2{
  color:#fff;
  font-size:42px;
  font-weight:1000;
  margin:0 0 12px;
}

.subscribeInner p{
  color:rgba(255,255,255,.85);
  font-size:18px;
  margin:0;
}

/* ===== Footer ===== */
.siteFooter{
  background:#0b0f18;
  color:#fff;
  padding-top:50px;
}

.footerGrid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:40px;
  padding-bottom:40px;
}

.footerGrid h3{
  font-size:24px;
  margin-bottom:14px;
}

.footerGrid h4{
  font-size:16px;
  margin-bottom:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.8;
}

.footerGrid p{
  color:#9aa4b2;
  line-height:1.6;
}

.footerGrid ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footerGrid li{
  margin-bottom:10px;
}

.footerGrid a{
  color:#9aa4b2;
  text-decoration:none;
}

.footerGrid a:hover{
  color:#fff;
}

.footerBottom{
  text-align:center;
  padding:20px 0;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:14px;
  color:#8892a0;
}

@media (max-width:900px){
  .footerGrid{
    grid-template-columns:1fr;
  }

  .subscribeInner h2{
    font-size:32px;
  }
}

/* ===== League page ===== */
.leagueSub{
  margin-top:8px;
  color:#6b7686;
  font-weight:700;
}

.btnGhost{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid #e7ecf2;
  background:#fff;
  color:#111;
  font-weight:900;
}
.btnGhost:hover{ border-color:#c1121f; }

.leagueGrid{
  display:grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap:18px;
  align-items:stretch;
}

.leagueSideCard,
.leagueMainCard{
  background:#f4f6f9;
  border:1px solid #e7ecf2;
  border-radius:22px;
  padding:18px;
}

.leagueImg{
  height: 420px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.10)),
    url("../img/trophy.png") center/cover no-repeat;
  border:1px solid rgba(255,255,255,.3);
  margin-top:12px;
}

.svffBox{
  background:#fff;
  border:1px solid #e7ecf2;
  border-radius:18px;
  padding:10px;
  overflow:hidden;
  margin-top:12px;
}

/* Håll widgets snygga och konsekventa i boxen */
.svffBox table{ width:100%; }

/* Behåll din two-col men gör den snygg och responsiv */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}

.card{
  background:#f4f6f9;
  border:1px solid #e7ecf2;
  border-radius:22px;
  padding:18px;
}

/* Matchreferat-lista */
.report{
  background:#fff;
  border:1px solid #e7ecf2;
  border-radius:18px;
  padding:16px;
  margin-top:14px;
}

.report .title{
  font-weight:1000;
  font-size:18px;
  margin-bottom:6px;
}

.report .meta{
  color:#6b7686;
  font-size:13px;
  font-weight:700;
  margin-bottom:10px;
}

.report .text{
  color:#2a2f38;
  line-height:1.5;
}

.badgeRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.badge{
  background:#f4f6f9;
  border:1px solid #e7ecf2;
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  font-size:13px;
  color:#111;
}

@media (max-width: 980px){
  .leagueGrid{ grid-template-columns: 1fr; }
  .leagueImg{ height: 300px; }
  .two-col{ grid-template-columns: 1fr; }
}

.sectionHead--split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}

.kickerRed{
  color:#c1121f;
}

.bigTitle{
  font-size:20px;
  font-weight:1000;
  letter-spacing:.02em;
  margin:6px 0 14px;
  text-transform:uppercase;
}

.bigTitle--sm{
  font-size:25px;
}

.leagueSub{
  margin-top:6px;
  color:#6b7686;
  font-weight:800;
}

.btnGhost{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid #e7ecf2;
  background:#fff;
  color:#111;
  font-weight:900;
}
.btnGhost:hover{ border-color:#c1121f; }

.leagueGrid{
  display:grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap:18px;
  align-items:stretch;
}

.leagueSideCard,
.leagueMainCard{
  background:#f4f6f9;
  border:1px solid #e7ecf2;
  border-radius:22px;
  padding:18px;
}

.leagueImg{
  height: 520px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.05)),
    url("img/winner-trophy.jpg") center/cover no-repeat;
  margin-top:10px;
}

.svffWrap{
  background:#ffffff;          /* röd “ram” som i bilden */
  border-radius:0px;
  padding:10px;
}

.svffBox{
  background:#fff;
  border:1px solid #e7ecf2;
  border-radius:16px;
  padding:10px;
  overflow:hidden;
}

.svffBox--table{
  padding:0; /* låt tabellen fylla bättre */
}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}

.card{
  background:#f4f6f9;
  border:1px solid #e7ecf2;
  border-radius:22px;
  padding:18px;
}

@media (max-width: 980px){
  .leagueGrid{ grid-template-columns:1fr; }
  .leagueImg{ height: 320px; }
  .two-col{ grid-template-columns:1fr; }
  .bigTitle{ font-size:34px; }
}

.leagueFull{
  width:100%;
}

.leagueMainCard{
  background:#f4f6f9;
  border:1px solid #e7ecf2;
  border-radius:24px;
  padding:24px;
}

.svffWrap{
  background:#f4f6f9;
  border-radius:0px;
  padding:5px;
  margin-top:5px;
}

.svffBox{
  background:#fff;
  border-radius:0px;
  padding:12px;
  overflow:hidden;
}

.bigTitle{
  font-size:25px;
  font-weight:1100;
  letter-spacing:.02em;
  margin:6px 0 14px;
  text-transform:uppercase;
}

/* Coach ads page */
.filterActions{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.adsGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin-top:14px;
}

.adCard{
  background:#fff;
  border:1px solid #e7ecf2;
  border-radius:18px;
  padding:16px;
}

.adTop{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}

.adText{
  color:#2a2f38;
  line-height:1.55;
  margin:8px 0 10px;
}

.adContact{
  color:#6b7686;
  font-weight:800;
}

@media (max-width: 900px){
  .adsGrid{ grid-template-columns: 1fr; }
}

/* ===== Form styling (global) ===== */

label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:800;
  font-size:14px;
  color:#0d0f12;
}

select,
input,
textarea{
  width:100%;
  border:1px solid #e7ecf2;
  background:#fff;
  border-radius:14px;
  padding:12px 14px;
  font-size:14px;
  font-family:inherit;
  outline:none;
  transition: all .2s ease;
}

select:focus,
input:focus,
textarea:focus{
  border-color:#c1121f;
  box-shadow:0 0 0 3px rgba(193,18,31,.12);
}

textarea{
  min-height:120px;
  resize:vertical;
}

.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-bottom:14px;
}

.formGridTop{
  margin-top:4px;
}

.formGridSingle{
  margin-bottom:14px;
}

.formSpace{
  margin-top:14px;
}

.captchaRow{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-top:10px;
}

.captchaAction{
  min-width:140px;
}

.btnFull{
  width:100%;
  border:none;
  background:#0d0f12;
  color:#fff;
  padding:14px;
  border-radius:16px;
  font-weight:1000;
  cursor:pointer;
  transition: all .2s ease;
}

.btnFull:hover{
  background:#c1121f;
}

.okBox{
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  border-radius:18px;
  padding:16px;
  font-weight:800;
  color:#166534;
}

@media (max-width:900px){
  .formGrid{
    grid-template-columns:1fr;
  }

  .captchaRow{
    flex-direction:column;
    align-items:stretch;
  }
}

/* =========================
   HEADER ONLY - SAFE MOBILE FIX
   (påverkar bara .siteHeader)
========================= */

@media (max-width: 900px){

  /* gör headern till två rader: brand överst, meny under */
  .siteHeader .headerRow{
    height:auto;
    padding:12px 0;
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }

  .siteHeader .brand{
    width:100%;
  }

  /* korta text så den inte spräcker */
  .siteHeader .brandTitle{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* göm lilla raden på mobil */
  .siteHeader .brandTitle span{
    display:none;
  }

  /* menyn blir horisontell scroll istället för wrap-kaos */
  .siteHeader .nav{
    width:100%;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    gap:14px;
    padding-bottom:4px;
  }

  .siteHeader .nav::-webkit-scrollbar{
    height:0; /* göm scroll-bar på mobil */
  }

  .siteHeader .nav a{
    flex:0 0 auto;
    padding:10px 10px;
    white-space:nowrap;
  }
}
/* =========================
   SAFE HAMBURGER (göm checkbox på riktigt)
   Lägg LÄNGST NER i style.css
========================= */

.siteHeader .headerRow{ position:relative; }

/* GÖM checkboxen men låt den fungera */
.siteHeader .mNavToggle{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  margin:-1px !important;
  padding:0 !important;
  border:0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  opacity:0 !important;
}

/* Hamburger-knappen */
.siteHeader .mNavBtn{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;

  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}

.siteHeader .mNavBtn span{
  display:block;
  width:22px;
  height:2px;
  margin:4px 0;
  background:#fff;
  border-radius:2px;
}

/* Panelnav default = din vanliga desktop */
.siteHeader nav.mNavPanel{
  display:flex;
}

/* MOBIL */
@media (max-width: 900px){

  .siteHeader .mNavBtn{ display:flex; }

  /* Dölj den vanliga nav-raden på mobil (men inte panelen när öppen) */
  .siteHeader nav.mNavPanel{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top: calc(100% + 10px);
    z-index: 2000;

    background: linear-gradient(180deg, var(--nav), var(--nav2));
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:10px;

    flex-direction:column;
    gap:6px;
  }

  /* Öppna panelen när checkbox är ikryssad */
  .siteHeader .mNavToggle:checked ~ nav.mNavPanel{
    display:flex;
  }

  .siteHeader .brandTitle span{ display:none; }

  .siteHeader nav.mNavPanel a{
    display:block;
    padding:12px 12px;
    border-radius:12px;
    color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.06);
    text-decoration:none;
    white-space:nowrap;
  }
}

/* =========================
   MINI LEAGUE PICKER
========================= */

.miniPicker {
  padding: 16px;
}

.miniPickerRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
}

.miniField {
  min-width: 160px;
}

.miniField--grow {
  flex: 1;
  min-width: 240px;
}

.miniLabel {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 6px;
}

.miniPicker select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-size: 14px;
  transition: border .2s ease, box-shadow .2s ease;
}

.miniPicker select:focus {
  outline: none;
  border-color: #a40000;
  box-shadow: 0 0 0 2px rgba(164,0,0,.15);
}

.miniBtn {
  padding: 10px 18px;
  border-radius: 16px;
  border: none;
  background: #0d0f12;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  height: 44px;
  transition: opacity .2s ease, transform .1s ease;
}

.miniBtn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.miniBtn:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
}

.miniHint {
  margin-top: 10px;
  font-size: 13px;
  opacity: .6;
}

/* Mobile */
@media (max-width: 768px) {

  .miniField {
    min-width: calc(50% - 6px);
  }

  .miniField--grow {
    min-width: 100%;
  }

  .miniBtn {
    width: 100%;
  }

}

