:root{
  --bg: #000;
  --bg2:#0a0a0a;

  --yellow: #f3e64d;
  --yellow2:#fff58a;

  --ink:#000;
  --ink2:#121212;

  --panel: #f3e64d;
  --panelBorder:#000;

  --bar:#2a2a2a;
  --bar2:#3a3a3a;

  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --radius: 12px;

  --maxW: 1080px;
  --sidebarW: 290px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #000 url("../img/background.jpg") center/cover fixed no-repeat;
}

/* ===== Header (banner + menu) ===== */
.rnHeader{
  width: var(--maxW);
  margin: 0 auto;
  padding-top: 16px;
}
.rnBanner{
  border-radius: 14px;
  padding: 22px 18px;
  background: rgba(0,0,0,.45);
  box-shadow: var(--shadow);
}
.rnTitle{
  display:block;
  text-decoration:none;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: 56px;
  line-height: 1;
  color: #fff7c8;
  text-shadow:
    0 0 10px rgba(255,240,120,.65),
    0 0 26px rgba(255,240,120,.35),
    2px 2px 0 rgba(0,0,0,.55);
}

.rnNavBar{
  margin-top: 10px;
  background: rgba(40,40,40,.92);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.rnNavInner{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 10px;
}
.rnNav{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.rnNav a{
  display:inline-block;
  padding: 7px 10px;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 8px;
}
.rnNav a:hover{ background: rgba(255,255,255,.10); }
.rnNav a.isActive{ background: rgba(0,0,0,.45); outline: 1px solid rgba(255,255,255,.18); }

/* mobile menu toggle */
.navToggle{
  display:none;
  border:0;
  background: rgba(0,0,0,.35);
  width: 40px;
  height: 34px;
  border-radius: 8px;
  cursor:pointer;
}
.navToggle__bars{
  display:block;
  width: 18px;
  height: 2px;
  background:#fff;
  position: relative;
  margin: 0 auto;
}
.navToggle__bars:before,
.navToggle__bars:after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height:2px;
  background:#fff;
}
.navToggle__bars:before{ top:-6px; }
.navToggle__bars:after{ top:6px; }

/* ===== Player bar ===== */
.playerbar{
  width: var(--maxW);
  margin: 10px auto 0 auto;
  background: rgba(30,30,30,.92);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.playerbar__inner{ padding: 10px 10px; }
.playerbar__embed iframe{ width:100% !important; border:0 !important; }

/* ===== Layout ===== */
.layout{
  width: var(--maxW);
  margin: 12px auto 30px auto;
}
.layout--rn{
  display:grid;
  grid-template-columns: 1fr var(--sidebarW);
  gap: 14px;
  align-items:start;
}

.mid{ min-width:0; }
.right{ min-width:0; }

/* ===== Main yellow content panel ===== */
.rnContent{
  background: rgba(243,230,77,.92);
  border: 2px solid var(--panelBorder);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 14px 18px 14px;
}
.rnHeading{
  margin: 2px 0 10px 0;
  font-size: 22px;
  font-weight: 900;
  color:#000;
}

/* Make older “card” blocks match the yellow panel when templates reuse them */
.card{
  background: rgba(243,230,77,.92);
  border: 2px solid #000;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
}
.muted{ color: rgba(0,0,0,.70); }

/* ===== Sidebar widgets (HollandsePiratenTeam content, Radio Neutraal skin) ===== */
.widget,
.sidebarBox{
  margin-bottom: 12px;
  border: 2px solid #000;
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  background: rgba(243,230,77,.92);
}
.widget-title,
.sidebarTitle{
  background: #000;
  color:#fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 12px;
  letter-spacing: .4px;
}
.widget-body,
.sidebarBody{
  padding: 12px;
}

/* Sidebar buttons / listen menu style */
.listenBtn,
.widget-body a.buttonLike,
.widget-body a,
.widget-body button{
  font-family: inherit;
}
.widget-body a.listenBtn,
.widget-body .listenBtn,
.listenBtn{
  display:block;
  width:100%;
  text-align:left;
  padding: 11px 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: 2px solid #000;
  background: rgba(255,255,255,.18);
  color:#000;
  text-decoration:none;
  font-weight: 900;
}
.listenBtn:hover{ background: rgba(255,255,255,.28); }

/* ===== Chat embeds ===== */
#chat{width:100%;height:950px;text-align:center;margin:0 auto}
#If1{width:100%;height:350px;border:0}
#If1{overflow-y:no !important}
#If2{width:100%;height:800px;border:0}
#If2{overflow-y:no !important}

.rnChatSingle iframe{
  width:100%;
  height: 950px;
  border:0;
}

/* Team cards (keep readable) */
.teamGrid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px; }
.teamCard{
  border: 2px solid #000;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.12);
}
.teamPhoto{ height: 160px; background: center/cover no-repeat; border-bottom:2px solid #000; }
.teamInfo{ padding: 10px; }
.teamInfo .name{ font-weight: 900; }
.teamInfo .role{ font-size: 12px; opacity:.85; }

/* Responsive */
@media (max-width: 1100px){
  :root{ --maxW: 94vw; }
}
@media (max-width: 900px){
  .layout--rn{ grid-template-columns: 1fr; }
  .rnTitle{ font-size: 44px; }
  .navToggle{ display:inline-flex; align-items:center; justify-content:center; }
  .rnNav{ display:none; width:100%; }
  body.nav-open .rnNav{ display:flex; }
  .rnNavInner{ flex-wrap:wrap; }
}

/* overlay for mobile menu */
.navOverlay{
  display:none;
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  z-index: 40;
}
body.nav-open .navOverlay{ display:block; }
.rnNavBar{ position:relative; z-index: 50; }
