body {
  background-color:#0f141a !important;
  color:#cfd6dd;
}

#sp-header-topbar {
  background-color:white !important;
}

/* =========================
   CHESS-BROADCAST MENU THEME
   ========================= */

/* 1) Top-level menu items (desktop) */
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span.sp-menu-separator {
  color: #1a1f24 !important;  /* Nav text on white header */
  font-weight: 600;
}

/* Hover / focus / active state (desktop) */
.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li:hover > span.sp-menu-separator,
.sp-megamenu-parent > li > a:focus,
.sp-megamenu-parent > li > a:active,
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span.sp-menu-separator {
  color: #c89b3c !important;
}

/* Optional: subtle underline on hover (looks premium) */
.sp-megamenu-parent > li > a {
  position: relative;
}
.sp-megamenu-parent > li:hover > a::after,
.sp-megamenu-parent > li.active > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #c89b3c;
}

/* 2) Dropdown container */
.sp-dropdown {
  background: #0f141a !important;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Dropdown links */
.sp-dropdown .sp-dropdown-items > li > a {
  color: rgba(255,255,255,0.88) !important;
  padding: 10px 16px;
}

/* Dropdown hover/active */
.sp-dropdown .sp-dropdown-items > li > a:hover,
.sp-dropdown .sp-dropdown-items > li.active > a {
  color: #c89b3c !important;
  background: rgba(200,155,60,0.10) !important;
}

/* 3) Offcanvas/burger (mobile) */
#offcanvas-toggler .burger-icon span {
  background: #1a1f24 !important;
}
#offcanvas-toggler:hover .burger-icon span {
  background: #c89b3c !important;
}

/* 4) If header is transparent over hero (optional)
   Uncomment if you later switch to transparent header

#sp-header {
  background: transparent !important;
}
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span.sp-menu-separator {
  color: #ffffff !important;
}
*/


span.featured-article-badge {
  display:none !important;
}


.sppb-icon {
  padding:10px;
  background-color:#095181;
}

.sp-contact-phone::after {
  content:" || ";
}

#sp-bottom {
  background-color:rgba(9, 81, 129, 1.0) !important;
  font-size:18px;
}

#footermenu > li > a::after {
    content:" |";
  margin-left:1rem;
}

#footermenu > li:last-child > a::after {
    content:"";
}

div[itemprop="articleBody"] {
   padding-top:20px;
}

/* Dropdown background – force dark */
#sp-header .sp-dropdown,
#sp-header .sp-dropdown-inner,
#sp-header .sp-dropdown-items {
  background-color: #0f141a !important;
}

/* Dropdown links */
#sp-header .sp-dropdown-items > li > a {
  color: rgba(255,255,255,0.9) !important;
}

/* Hover state */
#sp-header .sp-dropdown-items > li > a:hover {
  color: #c89b3c !important;
  background: rgba(200,155,60,0.12) !important;
}

/* FORCE Primary Button – Chess Broadcast */
a.button,
.button,
.sp-page-builder .button,
.sp-page-builder a.button {
  background-color: #c89b3c !important;
  color: #111111 !important;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 4px;
  border: none !important;
  text-decoration: none !important;
  box-shadow: none;
  transition: all 0.25s ease;
}

/* Hover / Focus */
a.button:hover,
.button:hover,
.sp-page-builder .button:hover,
.sp-page-builder a.button:hover {
  background-color: #b3882f !important;
  color: #111111 !important;
  text-decoration: none !important;
}

/* Optional: Premium-Hover */
a.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

@media (max-width: 1199px) {
  h1 {
    font-size: 44px !important;
  }

  h2 {
    font-size: 30px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  h4 {
    font-size: 15px !important;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 32px !important;
    line-height: 115% !important;
  }

  h2 {
    font-size: 24px !important;;
    line-height: 125% !important;
  }

  h3 {
    font-size: 18px !important;
    line-height: 130% !important;
  }

  h4 {
    font-size: 15px !important;
    line-height: 140% !important;
  }
}

h1, h2, h3, h4 {
  margin-top: 0;
  margin-bottom: 0.6em;
}

#sp-footer {
  background-color:#0F141A !important;
  }
.sppb-btn {
  text-transform:none !important;
}

/* HERO background must be positioning context */
.sp-background {
  position: relative;
  overflow: hidden;
}

/* Gradient overlay */
.sp-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 15, 20, 0.75) 0%,
    rgba(10, 15, 20, 0.55) 40%,
    rgba(10, 15, 20, 0.15) 70%,
    rgba(10, 15, 20, 0.0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* === Balbooa Forms: Radio als Kacheln === */

/* 3 Spalten Desktop */
.ba-form-radio-field .ba-form-checkbox-group-wrapper{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  --checkbox-field-count: 3; /* überschreibt inline count, rein optisch */
}

/* Jede Option als "Card" */
.ba-form-radio-field .ba-form-checkbox-wrapper{
  margin: 0 !important;
}

.ba-form-radio-field .ba-checkbox-wrapper{
  position: relative;
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  background: #fff;
  padding: 20px 18px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  min-height: 96px; /* sorgt für ruhige Höhe */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Text links */
.ba-form-radio-field .ba-form-checkbox-title{
  font-weight: 600;
  color: #1a1f24;
  line-height: 1.25;
}

/* Das eigentliche Radio rechts als kleiner Kreis */
.ba-form-radio-field label.ba-form-radio{
  position: relative;
  margin: 0 !important;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.ba-form-radio-field label.ba-form-radio input[type="radio"]{
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

/* Outer circle */
.ba-form-radio-field label.ba-form-radio > span{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: 0 0 0 1px #cfd8e3 inset;
  background: transparent;
}

/* Hover */
.ba-form-radio-field .ba-checkbox-wrapper:hover{
  border-color: #c89b3c;
}

/* Selected state: wenn input checked -> Card highlight */
.ba-form-radio-field label.ba-form-radio input[type="radio"]:checked ~ span{
  border-color: #c89b3c;
  box-shadow: 0 0 0 1px rgba(200,155,60,0.45) inset;
  background: rgba(200,155,60,0.15);
}

.ba-form-radio-field label.ba-form-radio input[type="radio"]:checked
  ~ span::after{
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: #c89b3c;
}

/* Card highlight über :has (funktioniert in modernen Browsern) */
.ba-form-radio-field .ba-checkbox-wrapper:has(input[type="radio"]:checked){
  border-color: #c89b3c;
  box-shadow: 0 0 0 2px rgba(200,155,60,0.22);
  background: rgba(200,155,60,0.05);
}

/* Mobile: untereinander */
@media (max-width: 767px){
  .ba-form-radio-field .ba-form-checkbox-group-wrapper{
    grid-template-columns: 1fr;
  }
}
/* ====== FIX: Doppelter Radio-Kreis (Balbooa + Custom) ====== */

/* 1) Label über die ganze Kachel legen -> Klick überall setzt Radio (JS wird optional) */
.ba-form-radio-field .ba-checkbox-wrapper{
  position: relative;
  padding-right: 56px; /* Platz für unseren Kreis rechts */
}

.ba-form-radio-field label.ba-form-radio{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  cursor: pointer;
  z-index: 3;
}

/* 2) Balbooas eigenen Kreis (label > span) komplett verstecken */
.ba-form-radio-field label.ba-form-radio > span{
  display: none !important;
}

/* 3) Radio-Input unsichtbar, bleibt aber klickbar über das Label */
.ba-form-radio-field label.ba-form-radio input[type="radio"]{
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}

/* 4) Unser EINZIGER Kreis (unselected) als pseudo-element der Card */
.ba-form-radio-field .ba-checkbox-wrapper::after{
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 2px solid #cfd8e3;
  background: #fff;
  z-index: 2;
  pointer-events: none;
}

/* 5) Selected ring + inner dot */
.ba-form-radio-field .ba-checkbox-wrapper:has(input[type="radio"]:checked)::after{
  border-color: #c89b3c;
  box-shadow: 0 0 0 2px rgba(200,155,60,0.22);
}

.ba-form-radio-field .ba-checkbox-wrapper:has(input[type="radio"]:checked)::before{
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #c89b3c;
  z-index: 2;
  pointer-events: none;
}
