html
{
    background-color: black !important;
}

@media (max-width: 1100px) {
    #Header .sparta-red-menu-bar,
    .sparta-red-menu-bar {
        display: none !important;
    }

    .zoek-form {
        display: none !important;
    }

    .sparta-mobile-search-form {
        display: flex;
        align-items: stretch;
        gap: 10px;
        margin: 0 0 14px;
        padding: 0 0 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .sparta-mobile-search-form input[type="search"] {
        flex: 1 1 auto;
        min-width: 0;
        height: 48px;
        margin: 0;
        padding: 0 14px;
        border: 2px solid #e30613;
        border-radius: 0;
        background: #fff;
        color: #333;
        font-family: 'FontinSans-Regular', Arial, sans-serif;
        font-size: 22px;
        box-shadow: none;
    }

    .sparta-mobile-search-form input[type="search"]::placeholder {
        color: #888;
        opacity: 1;
    }

    .sparta-mobile-search-form button {
        flex: 0 0 56px;
        width: 56px;
        height: 48px;
        margin: 0;
        padding: 0;
        border: 2px solid #e30613;
        border-radius: 8px;
        background: #e30613;
        color: #fff;
        cursor: pointer;
        transition: background-color 0.18s ease, color 0.18s ease;
    }

    .sparta-mobile-search-form button:hover,
    .sparta-mobile-search-form button:focus {
        background: #000;
        color: #fff;
        outline: none;
    }

    .sparta-mobile-search-form svg {
        width: 28px;
        height: 28px;
        overflow: visible;
    }

    .sparta-mobile-search-form circle,
    .sparta-mobile-search-form path {
        fill: none;
        stroke: currentColor;
        stroke-width: 4;
        stroke-linecap: round;
    }

    body.sparta-mobile-menu-open #Header .sparta-red-menu-bar,
    body.sparta-mobile-menu-open .sparta-red-menu-bar {
        display: none !important;
    }
}

body {
	font-family: 'FontinSans-Regular', Arial, sans-serif;
	font-size: 1.1rem;
    color: #333;
}


@media only screen and (min-width: 1240px) {
    .section_wrapper, .container {
        max-width: 90%;
    }
}

#Content {
    padding-top: 0px;
}

.layout-full-width #Wrapper {
    background-color: #fff;
}

.image_wrapper_news {
      position: relative;
      overflow: hidden;
      border-radius: 0.5rem;
      aspect-ratio: 16 / 9; /* Zorgt voor vaste verhouding */
    }

    .image_wrapper_news img {
      object-fit: cover;
      width: 525px;
      height: auto;
      border-radius: 0.5rem;
    }

  .card-img-overlay-custom {
    height: 50px;
    position: absolute;
    bottom: 0;
    width: 525px;
    background: linear-gradient(to top, rgba(255, 0, 0, 0.7), transparent);
    color: white;
    border-radius: 0 0 0.5rem 0.5rem;
    font-family: 'Bazar';
    text-transform: uppercase;
    font-size: 20px;

    display: flex;
    align-items: baseline; /* <-- belangrijk */
    padding: 25px 18px;        /* alleen horizontale padding */
    
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


    .card-link {
      color: white;
      text-decoration: none;
      font-weight: bold;
    }

    .card-link:hover {
      text-decoration: none;
    }
	
	.outer {
	  display: flex;
	  justify-content: center;  /* Horizontaal centreren */
	  align-items: center;      /* Verticaal centreren */
	  
	}

	.titel-lijn {
  display: flex;
  align-items: center;
  background-color: white;
  color: white;
  padding: 10px;
  width:100%
}

.titel {
  font-family: bazar;
  font-size: 40px;
    line-height: 50px;
    font-weight: 500;
    letter-spacing: 0px;
  margin-right: 10px;
  white-space: nowrap;
}

.lijn {
    flex-grow: 1;
    height: 4px;
    margin-left: 2rem;
    background-color: #e30613;
}

.lijn_footer {
    height: 4px;
    margin-left: 2rem;
    background-color: #e30613;
    margin-right: 2rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 18px;
  background: linear-gradient(to top, rgba(255, 0, 0, 0.7), transparent);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px; /* zorgt voor ruimte tussen item_label en inspring-link */
  box-sizing: border-box;
}

.item_label {
  font-size: 1em;
  font-family: 'Bazar';
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.play-icon-circle {
 display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;  
  border-radius: 50%;
}

.play-icon-triangle {
  width: 0;
  height: 0;
  border-left: 8px solid white;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px; /* optioneel om het visueel te centreren */
}


.tekst {
  line-height: 1.2;
}

.inspring-link {
  text-indent: -0.8em;
  padding-left: 0.8em;
  margin: 0;
  line-height: 1.4;
  font-size: 1.2vw;
}

.inspring-link a {
  display: inline;
  color: white;
  font-family: 'Bazar', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}

.tekst p {
  margin: 0;
  font-size: 1.2vw;
  line-height: 1.4;
  font-family: bazar;
  text-transform: uppercase;
}

.tekst p a:hover {
	color: white;
}


.section_wrapper {
	 
	max-width: 100%;
}

.container {
	background-color:white !important; 
	width: 100%;
	max-width: none !important;
	margin-right: 0;
	margin-left: 0;
	padding-right: 0;
	padding-left: 0;
}
#Wrapper {
	background-color:black; 
}
.outline-text-line1 {
    font-family: 'Bazar';
	text-transform: uppercase;
    color: black;
    font-size: clamp(4rem, 5vw, 7.5rem);
    line-height: 0.9;
    margin-top: 3rem;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 3rem;
    padding-left: 0;
    white-space: nowrap;
    -webkit-text-stroke: 1px #e30613;
    text-stroke: 1px #e30613;
}
.outline-text-line2 {
    font-family: 'Bazar';
	text-transform: uppercase;
    color: black;
    font-size: clamp(4rem, 5vw, 7.5rem);
    line-height: 0.9;
    margin-top: 0.12em;
    margin-bottom: 3rem;
    padding-top: 0;
    padding-right: 0;
	padding-bottom: 0;
    white-space: nowrap;
    -webkit-text-stroke: 1px #e30613;
    text-stroke: 1px #e30613;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1100px) {
    .outline-text-line1,
    .outline-text-line2 {
        font-size: var(--sparta-outline-mobile-font-size, 44px) !important;
        line-height: 0.9;
        overflow: visible;
        white-space: nowrap;
    }

    .outline-text-line1 {
        margin-top: 0.85rem;
        margin-bottom: 0.85rem;
        padding-bottom: 0;
    }

    .outline-text-line2 {
        display: block;
        margin-top: 0.35rem;
        margin-bottom: 1rem;
        text-align: right;
    }
}





.wedstrijd-wrapper {
  background-color: #000;
  padding: 20px 0;
  font-family: 'Bazar', sans-serif;
  text-transform: uppercase;
}

.wedstrijd-container {
  display: flex;
  align-items: flex-end;
  max-width: 98%;
  margin: 0 auto;
  min-height: 22rem; /* vaste hoogte voor referentie */
}

/* =========================
   Sparta Vrouwenvoetbal selectiepagina
========================= */

.svv-team-page {
  width: 100% !important;
  max-width: 1500px !important;
  margin: 48px auto 90px !important;
  padding-right: 2rem;
  padding-left: 2rem;
  box-sizing: border-box;
}

.svv-team-title {
  display: block !important;
  font-family: 'Bazar', sans-serif !important;
  text-transform: uppercase !important;
  font-size: clamp(2.4rem, 4vw, 3.5rem) !important;
  line-height: 1 !important;
  color: #e30613 !important;
  margin: 0 0 46px !important;
}

.svv-team-group {
  margin: 0 0 72px !important;
}

.svv-team-group h2 {
  font-family: 'Bazar', sans-serif !important;
  text-transform: uppercase !important;
  font-size: 2rem !important;
  line-height: 1 !important;
  color: #e30613 !important;
  width: 100%;
  margin: 0 0 28px !important;
  box-sizing: border-box;
}

.svv-team-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100%;
  box-sizing: border-box;
}

.svv-team-player {
  position: relative;
  display: block !important;
  width: 100% !important;
  min-width: 0;
  background: #fff !important;
  color: #fff;
  text-decoration: none !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

a.svv-team-player:hover {
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.svv-team-photo {
  position: relative !important;
  aspect-ratio: 3 / 4 !important;
  width: 100%;
  overflow: hidden;
  background-color: #e5e5e5;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  transition: transform .35s ease;
}

a.svv-team-player:hover .svv-team-photo {
  transform: scale(1.05);
}

.svv-team-info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 72px;
  max-height: 110px;
  padding: 14px 12px !important;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.05));
  color: #fff;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

.svv-team-info h3 {
  font-family: 'Bazar', sans-serif !important;
  text-transform: uppercase !important;
  font-size: 1.05rem !important;
  line-height: 1.15 !important;
  color: #fff !important;
  margin: 0 !important;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-height: 2.4em;
  overflow: hidden;
}

.svv-team-info p {
  color: #fff !important;
  font-size: 0.75rem !important;
  opacity: 0.85;
  margin: 4px 0 0 !important;
  line-height: 1.1 !important;
}

@media (max-width: 1400px) {
  .svv-team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  .svv-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .svv-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .svv-team-page {
    margin-top: 32px !important;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .svv-team-group {
    margin-bottom: 52px !important;
  }

  .svv-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 420px) {
  .svv-team-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================
   Sparta Vrouwenvoetbal speler detail
========================= */

.svv-detail {
  position: relative !important;
  background: #fff !important;
  width: 100% !important;
  max-width: 1500px !important;
  margin: 48px auto 90px !important;
  padding-right: 2rem !important;
  padding-left: 2rem !important;
  box-sizing: border-box !important;
}

.svv-detail::before,
.svv-detail::after {
  display: none !important;
}

.svv-back-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #f6f6f6 !important;
  border-left: 6px solid #e30613 !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: #111 !important;
  text-decoration: none !important;
  margin: 0 0 0 auto !important;
  transition: all .2s ease !important;
  flex: 0 0 auto !important;
}

.svv-back-chip .icon {
  font-size: 16px !important;
  line-height: 1 !important;
}

.svv-back-chip:hover {
  background: #e30613 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.svv-back-chip:hover .icon {
  transform: translateX(-2px);
  text-decoration: none !important;
}

.svv-top {
  display: flex !important;
  align-items: flex-start !important;
  gap: 48px !important;
  margin-bottom: 48px !important;
  max-width: 100% !important;
  background: transparent !important;
  color: #111 !important;
}

.svv-detail-photo {
  flex: 0 0 320px !important;
  min-height: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.svv-detail-photo img {
  width: 320px !important;
  height: 440px !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 20px !important;
  display: block !important;
  box-shadow: 0 15px 40px rgba(0,0,0,.25) !important;
}

.svv-detail-info {
  flex: 1 !important;
  padding: 0 !important;
  color: #111 !important;
}

.svv-player-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 14px !important;
}

.svv-detail-info h1 {
  font-family: 'Bazar', sans-serif !important;
  font-size: 44px !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  color: #e30613 !important;
}

.svv-position {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-transform: uppercase !important;
  margin-bottom: 28px !important;
}

.svv-meta-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.svv-meta-grid div {
  background: #f6f6f6 !important;
  border-left: 6px solid #e30613 !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-height: 0 !important;
}

.svv-meta-grid span {
  display: block !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  color: #777 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

.svv-meta-grid strong {
  display: block !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #111 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.svv-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 48px !important;
  align-items: start !important;
  margin: 48px 0 0 !important;
}

.svv-stats-section {
  min-width: 0 !important;
  overflow-x: visible !important;
}

.svv-stats-section h2 {
  font-family: 'Bazar', sans-serif !important;
  color: #e30613 !important;
  text-transform: uppercase !important;
  font-size: 2.5rem !important;
  line-height: 1 !important;
  margin: 0 0 18px !important;
}

.svv-stats-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.svv-stats-table th,
.svv-stats-table td {
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(0,0,0,.12) !important;
  text-align: left !important;
  white-space: nowrap !important;
  color: #111 !important;
}

.svv-stats-table th {
  color: #e30613 !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}

.svv-stats-table tfoot th {
  border-top: 2px solid #e30613 !important;
}

@media (max-width: 768px) {
  .svv-detail {
    margin-top: 28px !important;
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
  }

  .svv-top {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .svv-detail-photo {
    flex: none !important;
  }

  .svv-detail-photo img {
    width: 260px !important;
    height: 360px !important;
    margin: 0 auto !important;
  }

  .svv-detail-info {
    max-width: 100% !important;
  }

  .svv-player-header-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .svv-meta-grid {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }

  .svv-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .svv-stats-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .svv-stats-section h2 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1 !important;
  }

  .svv-stats-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  .svv-stats-table th,
  .svv-stats-table td {
    padding: 7px 2px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .svv-stats-table th:nth-child(1),
  .svv-stats-table td:nth-child(1) {
    width: 25% !important;
  }

  .svv-stats-table th:nth-child(2),
  .svv-stats-table td:nth-child(2) {
    width: 34% !important;
  }

  .svv-stats-table th:nth-child(n+3),
  .svv-stats-table td:nth-child(n+3) {
    width: 10% !important;
  }
}

.wedstrijd-container h2 {
	font-family: 'Bazar';
	color: #fff;
}



/* Basisstijl voor elk blok */
.wedstrijd-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
   min-height: 22rem;
}

/* Middelste blok – volledige hoogte */
.wedstrijd-box.wit {
  background-color: white;
  color: #e30613;
  height: 100%;
  min-height: 22rem;
}

/* Linker en rechter blok – 90% hoogte */
.wedstrijd-box.stand {
  background-color: #e30613;
  color: white;
  height: 88%;
  min-height: 20rem;
}

.wedstrijd-box.vorigewedstrijd {
  background-color: #e30613;
  color: white;
  height: 88%;
  min-height: 20rem;
}

.wedstrijd-box.wit h2 { 
	color: #e30613;
}

.wedstrijd-box.vorigewedstrijd h2,
.wedstrijd-box.stand h2 {
	color: #fff !important;
}

/* Zorg dat afbeelding goed schaalt */
.wedstrijd-box img {
  width: 100%;
}

.wedstrijd-box.stand .ranking-table img,
.wedstrijd-box.stand .team-name img {
  display: block;
  width: 2rem !important;
  min-width: 2rem !important;
  height: 1.5rem !important;
  max-width: 2rem !important;
  max-height: 1.5rem !important;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.wedstrijd-box.stand .ranking-table td.teamlogo,
.ranking-wrap .ranking-table td.teamlogo {
  width: 2.5rem;
  text-align: center;
}

.wedstrijd-box.stand .ranking-table td.teamlogo .team-name,
.ranking-wrap .ranking-table td.teamlogo .team-name {
  justify-content: center;
}

.ranking-wrap .ranking-table img {
  display: block;
  width: 2rem !important;
  min-width: 2rem !important;
  height: 1.5rem !important;
  max-width: 2rem !important;
  max-height: 1.5rem !important;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}



.wedstrijd-wrapper {
  display: flow-root;
}

.wedstrijd-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

.wedstrijd-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.wedstrijd-box {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  min-width: 250px; /* voorkom te smalle blokken */
}

/* Tablet en mobiele weergave */
@media (max-width: 1100px) {
  .wedstrijd-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
  }

  .wedstrijd-box {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 18px 18px;
  }

  .wedstrijd-box.wit,
  .wedstrijd-box.vorigewedstrijd {
    min-height: 21rem;
    height: auto !important;
  }

  .wedstrijd-box.stand {
    min-height: 0;
    height: auto;
  }

  .wedstrijd-container h2 {
    margin-bottom: 0.7rem;
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1;
  }

  .vorigewedstrijdbox,
  .volgendewedstrijdbox {
    min-height: 5.8rem;
  }

  .vorigewedstrijdbox img,
  .volgendewedstrijdbox img {
    max-height: 5.6rem !important;
  }

  .vorigewedstrijdbox span#column2,
  .volgendewedstrijdbox span#column2 {
    font-size: 2.4rem !important;
  }

  .countdown-timer {
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    margin-bottom: 0.55rem;
    white-space: nowrap;
  }

  .countdown-timer span {
    flex: 0 1 auto;
    min-width: 0 !important;
    padding: 6px !important;
    font-size: clamp(1rem, 4vw, 1.4rem);
    white-space: nowrap;
  }

  .vorigewedstrijd-buttons,
  .volgendewedstrijd-buttons {
    flex-wrap: wrap;
  }
}


<?php
if ( get_field('valign_header_img') == null ) {
	$valign = 'center';
} else {
	$valign = get_field('valign_header_img');
}

echo 'section.mcb-section-9a6bedb65 {';
echo '    background-position-y: '.$valign.' !important;';
echo '}';
?>


.video-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-content {
  position: relative;
  width: 80%;
  max-width: 960px;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 40px;
  cursor: pointer;
}



.news-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop: 3 per rij */
  gap: 34px 28px;
  --sparta-news-max-width: 1720px;
  --sparta-news-side-padding: 24px;
  width: calc(100% - (var(--sparta-news-side-padding) * 2));
  max-width: var(--sparta-news-max-width);
  margin-right: auto;
  margin-left: auto;
  padding: 0 var(--sparta-news-side-padding);
}

.news-grid-wrapper .inner,
.news-grid-wrapper .column,
.news-grid-wrapper .mcb-column-inner,
.news-grid-wrapper .image_frame {
  width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.sparta-news-button-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 34px auto 42px;
  text-align: center;
}

.sparta-news-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 52px;
  padding: 12px 28px 10px;
  border: 2px solid #e30613;
  border-radius: 6px;
  background: #e30613;
  color: #fff !important;
  font-family: 'Bazar', sans-serif !important;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.sparta-news-button:hover,
.sparta-news-button:focus {
  background: #fff;
  color: #e30613 !important;
  text-decoration: none !important;
  outline: none;
}

.sparta-news-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.sparta-world-news-overview {
  --sparta-world-news-max-width: 1606px;
  --sparta-world-news-side-padding: 24px;
  padding-bottom: 48px;
}

.sparta-world-news-overview .titel-lijn,
.sparta-world-news-overview .news-grid-wrapper,
.sparta-world-news-overview .sparta-news-button-wrapper,
.sparta-world-news-overview .sparta-world-news-empty {
  width: calc(100% - (var(--sparta-world-news-side-padding) * 2)) !important;
  max-width: var(--sparta-world-news-max-width) !important;
  box-sizing: border-box !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.sparta-world-news-overview .titel-lijn .titel {
  color: #e30613 !important;
}

.sparta-world-news-overview .news-grid-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 34px 28px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.sparta-world-news-overview .news-grid-wrapper .inner,
.sparta-world-news-overview .news-grid-wrapper .column,
.sparta-world-news-overview .news-grid-wrapper .mcb-column-inner,
.sparta-world-news-overview .news-grid-wrapper .image_frame,
.sparta-world-news-overview .news-grid-wrapper .image_item,
.sparta-world-news-overview .news-grid-wrapper .mfn-img-box {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.sparta-world-news-overview .image_wrapper {
  position: relative;
  overflow: hidden;
  width: 100% !important;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
}

.sparta-world-news-overview .image_wrapper a,
.sparta-world-news-overview .image_wrapper .card-link,
.sparta-world-news-overview .image_wrapper .card-link3,
.sparta-world-news-overview .image_wrapper .video-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sparta-world-news-overview .image_wrapper img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
  border-radius: 0.5rem;
}

.sparta-world-news-overview .tekst p,
.sparta-world-news-overview .tekst p a {
  font-size: 1.2vw;
  line-height: 1.25;
}

.sparta-world-news-empty {
  margin: 24px auto 54px;
  padding: 0;
  color: #333;
  font-family: 'FontinSans-Regular', Arial, sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .news-grid-wrapper {
    grid-template-columns: repeat(2, 1fr); /* tablet: 2 per rij */
    gap: 28px 24px;
  }

  .sparta-world-news-overview .news-grid-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 24px !important;
  }

  .tekst p {
	  margin: 0;
	  font-size: 1.6vw;
	  line-height: 1.4;
	  font-family: bazar;
	  text-transform: uppercase;
	}
}

@media (max-width: 640px) {
  .news-grid-wrapper {
    grid-template-columns: 1fr; /* mobiel: 1 per rij */
    gap: 22px;
    padding: 0 16px;
  }

  .sparta-world-news-overview .news-grid-wrapper {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    width: calc(100% - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .sparta-world-news-overview .titel-lijn,
  .sparta-world-news-overview .sparta-news-button-wrapper,
  .sparta-world-news-overview .sparta-world-news-empty {
    width: calc(100% - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .sparta-world-news-overview .tekst p,
  .sparta-world-news-overview .tekst p a {
    font-size: 1em;
  }

  .sparta-news-button-wrapper {
    margin-top: 28px;
    margin-bottom: 34px;
  }

  .sparta-news-button {
    min-width: 160px;
    min-height: 48px;
    padding-right: 22px;
    padding-left: 22px;
    font-size: 1.35rem;
  }

  .overlay .item_label {
	  font-size: 3vw !important;
	}

  .tekst p.inspring-link,
  .tekst p.inspring-link a,
  .tekst p.inspring-link a.card-link {
	  font-size: 1em !important;
	}

  .tekst p {
	  margin: 0;
	  font-size: 1em;
	  line-height: 1.4;
	  font-family: bazar;
	  text-transform: uppercase;
	}

  .titel-lijn,
  .zoek-form {
    padding-right: 16px;
    padding-left: 16px;
  }

  .zoek-toggle {
    width: 50px;
    height: 42px;
  }
}


.inspring-link {
  text-indent: -0.8em; /* trek eerste regel iets naar links */
  padding-left: 0.8em; /* zorg dat de rest netjes inspringt */
  line-height: 1.4;
  margin: 0;
}

.inspring-link a {
  display: inline;
  color: white;
  font-family: 'Bazar', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}

.inspring-link a:hover {
  color: white;
}

.grayscale img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.titel-lijn {
  display: flex;
  align-items: center;
  background-color: white;
  color: white;
  padding: 10px;
  width: 100%;
  position: relative;
}

.titel {
  font-family: 'Bazar';
  font-size: 2.5em;
  line-height: 50px;
  margin-right: 10px;
  white-space: nowrap;
  text-transform: uppercase;
}



.zoek-toggle {
  background: none;
  border: none;
  color: #e30613;
  font-size: 1em;
  cursor: pointer;
  margin-left: 15px;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
}

.zoek-toggle:hover {
  transform: scale(1.15);
   
  background: #e30613;
}

.zoek-toggle i {
  font-size: 2em;
  color: #e30613;
}

.zoek-toggle-icon {
  display: block;
  width: 30px;
  height: 30px;
  overflow: visible;
}

.zoek-toggle-icon circle,
.zoek-toggle-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Verborgen zoekveld */
.zoek-form {
  display: none;
  background: black;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.zoek-form input[type="search"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 18px;
  border: 2px solid #e30613;
  border-radius: 4px;
  background: #111;
  color: white;
  box-sizing: border-box;
}

.zoek-form button[type="submit"] {
  display: none; /* verbergen als je alleen op Enter zoekt */
}

.titel-lijn {
  --sparta-news-max-width: 1720px;
  --sparta-news-side-padding: 24px;
  width: calc(100% - (var(--sparta-news-side-padding) * 2));
  max-width: var(--sparta-news-max-width);
  margin-right: auto;
  margin-left: auto;
  padding: 0 var(--sparta-news-side-padding) 22px;
  gap: 22px;
}

.titel-lijn .lijn {
  flex: 1 1 auto;
  margin-left: 0;
}

.zoek-toggle {
  flex: 0 0 auto;
  justify-content: center;
  width: 58px;
  height: 46px;
  margin-left: 0;
  border: 2px solid #e30613;
  border-radius: 6px;
  background: transparent;
  color: #e30613;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.zoek-toggle:hover,
.zoek-toggle:focus {
  transform: none;
  background: #e30613;
  color: #fff;
}

.zoek-toggle i {
  color: currentColor;
  font-size: 1.7em;
}

.zoek-toggle-icon {
  display: block;
  width: 30px;
  height: 30px;
  overflow: visible;
}

.zoek-toggle-icon circle,
.zoek-toggle-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zoek-form {
  --sparta-news-max-width: 1720px;
  --sparta-news-side-padding: 24px;
  width: calc(100% - (var(--sparta-news-side-padding) * 2));
  max-width: var(--sparta-news-max-width);
  margin: 0 auto 28px;
  padding: 0 var(--sparta-news-side-padding);
}

.sparta-news-title-section,
.sparta-news-title-section > .section_wrapper {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

@media (max-width: 1100px) {
  .sparta-news-title-section {
    display: block !important;
  }

  .sparta-news-title-section > .section_wrapper {
    display: block !important;
  }

  .titel-lijn {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }

  .titel {
    color: #e30613;
    font-size: clamp(24px, 6vw, 36px);
    line-height: 1;
    margin-right: 0;
  }

  .titel-lijn .lijn {
    display: block !important;
    height: 4px;
    min-width: 34px;
    background-color: #e30613;
  }

  .zoek-toggle {
    display: none !important;
  }
}

.container {
  --sparta-world-max-width: 1720px;
  --sparta-world-gutter-left: 24px;
  --sparta-world-gutter-right: 84px;
}

.titel-lijn,
.zoek-form,
.news-grid-wrapper,
.outline-text-line1,
.outline-text-line2,
.wedstrijd-container,
.lijn_footer,
.info-grid-wrapper,
.social-media-container {
  width: calc(100% - var(--sparta-world-gutter-left) - var(--sparta-world-gutter-right)) !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin-right: var(--sparta-world-gutter-right) !important;
  margin-left: var(--sparta-world-gutter-left) !important;
}

.titel-lijn,
.zoek-form,
.news-grid-wrapper {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

@media (max-width: 640px) {
  .container {
    --sparta-world-gutter-left: 16px;
    --sparta-world-gutter-right: 16px;
  }

  .titel-lijn,
  .zoek-form {
    padding-right: 0;
    padding-left: 0;
  }
}

.info-grid-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Wanneer er exact 1 blok is: center met vaste breedte */
.info-grid-wrapper.info-count-1 .inner {
  flex: 0 1 525px;
}

/* Wanneer er 2 blokken zijn: center ze in het midden */
.info-grid-wrapper.info-count-2 .inner {
  flex: 0 1 45%;
}

/* Bij 3 blokken: elk 1/3 */
.info-grid-wrapper.info-count-3 .inner {
  flex: 0 1 30%;
}

@media (max-width: 640px) {
  .info-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .info-grid-wrapper.info-count-1 .inner,
  .info-grid-wrapper.info-count-2 .inner,
  .info-grid-wrapper.info-count-3 .inner {
    width: 100%;
    max-width: none;
  }

  .info-grid-wrapper .column,
  .info-grid-wrapper .mcb-column-inner,
  .info-grid-wrapper .image_frame,
  .info-grid-wrapper .image_wrapper {
    width: 100% !important;
  }
}


.social-media-wrapper {
	background-color: #000;
	padding: 20px 0;
	font-family: 'Bazar', sans-serif;
	text-transform: uppercase;
}

.social-media-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	max-width: 98%;
	margin: 0 auto;
	height: 9rem;
	background: #e30613;
	text-align: center; /* center de h2 */
}

.social-media-container h2 {
	font-family: 'Bazar';
	color: #fff !important;
	margin: 0;
	padding-top: 0;
	line-height: 1;
}

.social-media-container .icon-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 2vw, 30px); /* flexibele ruimte tussen de iconen */
}

.social-media-container .icon-row a {
	display: flex;
	align-items: center;
}


.social-media-container .icon-row img {
	display: block;
	width: clamp(30px, 2.5vw, 60px);
}

div#cmplz-cookiebanner-container {
    font-family: 'FontinSans-Regular', sans-serif !important;
}

#cmplz-cookiebanner-container p {
    line-height: 1rem;
    font-size: 12px;
}

#header-video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Stand Homepage */

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  color: white;
  font-family: fontin;
  box-shadow: none !important;
  font-family: 'FontinSans-Regular';
}

.ranking-table th, .ranking-table td {
  padding: 10px;
  text-align: left;
  border: 0px;
  border-bottom: 1px solid #fff;
  box-shadow: none !important;
  font-family: 'FontinSans-Regular';
   color: white;
}
.ranking-table img {
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}


.team-name {
  display: flex;
  align-items: center;
  font-family: 'FontinSans-Regular';
   color: white;
}

.team-name img {
    height: 1.5rem;
    width: auto;
    min-width: 20px;
    margin-right: 8px;
    margin-top: 0px;
}

/* Volledige stand */
 .ranking-wrap {
      width: 100%;
      max-width: 1500px;
      margin: 42px auto 0;
      padding: 0 2rem;
      box-sizing: border-box;
    }
    .ranking-title {
      margin: 0 0 18px;
      text-transform: uppercase;
    }
    .ranking-table {
      width: 100%;
      border-collapse: collapse;
      color: #000;
      font-family: "FontinSans-Regular", fontin, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      box-shadow: none !important;
	  font-size: clamp(.9375rem, calc((.9375rem) + (1.25 - .9375) * 16 * calc((100vw - 375 / 16 * 1rem) / (1440 - 375))), 1.25rem);
    }
    .ranking-table th, .ranking-table td {
      padding: 12px 10px;
      text-align: left;
      border: 0;
	  color: #000;
      border-bottom: 1px solid #000;
      box-shadow: none !important;
      white-space: nowrap;
	  font-size: clamp(.9375rem, calc((.9375rem) + (1.25 - .9375) * 16 * calc((100vw - 375 / 16 * 1rem) / (1440 - 375))), 1.25rem);
    }
    .ranking-table thead th {
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .02em;
      opacity: .95;
	  color: #000;
	  font-size: clamp(.9375rem, calc((.9375rem) + (1.25 - .9375) * 16 * calc((100vw - 375 / 16 * 1rem) / (1440 - 375))), 1.25rem);
    }
    .ranking-table .pos { width: 3rem;color: #000; }
    .ranking-table .pts { text-align: right; width: 4rem;color: #000; }
    .ranking-table .num { text-align: right; width: 4rem;color: #000; }
    .ranking-table .teamlogo { width: 40px;height:40px;color: #000; }
	.ranking-table .team { color: #000; }
    .ranking-table .team-name {
      display: flex;
      align-items: center;
      gap: 8px;
	  color: white;
      min-width: 0;
	  font-size: clamp(.9375rem, calc((.9375rem) + (1.25 - .9375) * 16 * calc((100vw - 375 / 16 * 1rem) / (1440 - 375))), 1.25rem);
    }
    .ranking-table .team-name img {
      margin-top: 0;
    }
    .ranking-table .team-name .label {
      overflow: hidden;
      text-overflow: ellipsis;
	  color: black;
	  font-size: clamp(.9375rem, calc((.9375rem) + (1.25 - .9375) * 16 * calc((100vw - 375 / 16 * 1rem) / (1440 - 375))), 1.25rem);
    }
	
	.ranking-table .team-name img {
		max-width: 40px;
		max-height: 40px;
	}
    .wedstrijd-box.stand .ranking-table .team-name img:not(.logo-img),
    .wedstrijd-box.stand .ranking-table img:not(.logo-img) {
        width: auto !important;
        height: 1.5rem !important;
        max-width: 2rem !important;
        max-height: 1.5rem !important;
        object-fit: contain !important;
    }
    .row-sparta { background: #e30613; }
	.row-sparta .team-name .label { color: #fff;}
	.row-sparta .pos { color: #fff;}
	.row-sparta .num { color: #fff;}
	.row-sparta .pts { color: #fff;}
	
    @media (max-width: 640px) {
      .ranking-wrap {
        margin-top: 28px;
        padding: 0 1rem;
      }

      .ranking-table .hide-sm { display: none; }
	  .ranking-table th, .ranking-table td {
		padding: 5px 7px;
	  }
    }
	
	div#Subheader {
	display: none;
}

section mcb-section mfn-default-section mcb-section-63d83f5f8 mcb-header-section close-button-left full-width show-on-scroll {
	display: none;
}

p {
  line-height: 1.5rem;
	padding-left: 10px;
  padding-right: 10px;
}

p img {
  display: block;
  margin: 0 auto;
}

h1.pagetitle {
    text-transform: uppercase;
    font-family: 'FontinSans-Bold' !important;
    color: #e30613 !important;
    padding-left: 0px;
    margin-left: 0;
}

article.single h1.pagetitle {
    line-height: 1.16 !important;
}

article.single h1.pagetitle,
article.single .datetime {
    padding-left: 10px;
    padding-right: 10px;
}

.sparta-page-title-section > .section_wrapper {
    max-width: 100% !important;
    box-sizing: border-box;
}

.gallery .gallery-icon img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  max-width: 100%;
}

#Content .gallery,
.the_content_wrapper .gallery,
.entry-content .gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0;
}

#Content .gallery br,
.the_content_wrapper .gallery br,
.entry-content .gallery br {
  display: none;
}

#Content .gallery .gallery-item,
.the_content_wrapper .gallery .gallery-item,
.entry-content .gallery .gallery-item {
  float: none !important;
  clear: none !important;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#Content .gallery .gallery-icon,
.the_content_wrapper .gallery .gallery-icon,
.entry-content .gallery .gallery-icon {
  width: 100%;
}

.the_content_wrapper .gallery .gallery-icon a,
.the_content_wrapper .gallery .gallery-icon img,
#Content .gallery .gallery-icon a,
#Content .gallery .gallery-icon img,
.entry-content .gallery .gallery-icon a,
.entry-content .gallery .gallery-icon img {
  display: block;
  width: 100%;
}

#Content .gallery .gallery-icon a,
.the_content_wrapper .gallery .gallery-icon a,
.entry-content .gallery .gallery-icon a,
#Content .wp-block-gallery a,
.the_content_wrapper .wp-block-gallery a,
.entry-content .wp-block-gallery a {
  cursor: zoom-in;
  pointer-events: auto;
}

@media (min-width: 900px) {
  #Content .gallery-columns-3,
  .the_content_wrapper .gallery-columns-3,
  .entry-content .gallery-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #Content .gallery-columns-4,
  .the_content_wrapper .gallery-columns-4,
  .entry-content .gallery-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #Content .gallery-columns-5,
  #Content .gallery-columns-6,
  #Content .gallery-columns-7,
  #Content .gallery-columns-8,
  #Content .gallery-columns-9,
  .the_content_wrapper .gallery-columns-5,
  .the_content_wrapper .gallery-columns-6,
  .the_content_wrapper .gallery-columns-7,
  .the_content_wrapper .gallery-columns-8,
  .the_content_wrapper .gallery-columns-9,
  .entry-content .gallery-columns-5,
  .entry-content .gallery-columns-6,
  .entry-content .gallery-columns-7,
  .entry-content .gallery-columns-8,
  .entry-content .gallery-columns-9 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

#sc_gallery-2 .gallery-item {
  text-align: center;
  width: auto !important;
}

.mfn-header-menu {
    flex-wrap: nowrap;
}

.mfn-cookies .cookies-tab-content {
	font-family: 'FontinSans-Bold' !important;
}

.mfn-cookies .cookies-tab-nav {
  font-family: 'FontinSans-Bold' !important; 
}

.mfn-cookies .cookies-tab-nav .is-active a {
	  color: #e50020;
}

.mfn-cookies .cookies-tab-nav .tab a:after {
    background-color: #e50020;
}

.mfn-cookies .mfn-cookies-footer {
	font-family: 'FontinSans-Bold' !important; 
}

li {
    font-family: 'FontinSans-Regular';
    font-size: 1.1rem;
    color: #333;
}

td {
    font-family: 'FontinSans-Regular';
    font-size: 1.1rem;
    color: #333;
	text-align: left;
}

table th, table td {
    padding: 10px;
    text-align: left;
    border-width: 0px;
    vertical-align: middle;
}

h1, h2, h3, h4, h5 {
    font-family: 'Bazar', sans-serif !important;
    color: #e30613 !important;
    text-transform: uppercase;
}

h6 {
    font-family: 'Bazar', sans-serif !important;
    color: #e30613 !important;
}

.sponsors-wrapper h5,
.sponsors-wrapper h5[class],
.logo_main_sponsor h5,
.logo_other_sponsors h5,
.sponsor-category h5 {
    color: #fff !important;
}

.nf-field-label,
.nf-form-fields-required {
    font-family: 'FontinSans-Bold', Arial, sans-serif;
    font-size: 1.1rem;
}

.nf-form-fields-required {
    margin: 0 0 35px;
}

.nf-form-cont {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.nf-form-cont h3 {
    margin-top: 50px;
    text-transform: uppercase;
}

.sparta-brochure-downloads {
    margin-top: 28px;
}

.sparta-brochure-downloads h3.downloads {
    margin-bottom: 18px;
}

.sparta-brochure-downloads a.downloads.gen-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    padding: 12px 18px;
    border: 2px solid #e30613;
    border-radius: 4px;
    background: #e30613;
    color: #fff !important;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
}

.sparta-brochure-downloads a.downloads.gen-btn:hover,
.sparta-brochure-downloads a.downloads.gen-btn:focus {
    background: #fff;
    color: #e30613 !important;
}

.label-left .nf-field-label {
    text-align: left;
}

.nf-form-cont .nf-field-container,
.nf-form-cont .field-wrap {
    margin: 0 0 18px;
}

.nf-form-cont .field-wrap {
    display: flex;
    align-items: flex-start;
}

.nf-form-cont .field-wrap .nf-field-label {
    display: block;
    width: 25%;
    padding: 11px 15px 0 0;
    box-sizing: border-box;
}

.nf-form-cont .field-wrap .nf-field-element {
    width: 75%;
}

.nf-form-cont .label-left .nf-after-field,
.nf-form-cont .nf-after-field {
    margin-left: 25%;
    padding-left: 15px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.nf-form-cont .field-wrap input[type="text"].ninja-forms-field,
.nf-form-cont .field-wrap input[type="email"].ninja-forms-field,
.nf-form-cont .field-wrap input[type="tel"].ninja-forms-field,
.nf-form-cont .field-wrap input[type="url"].ninja-forms-field,
.nf-form-cont .field-wrap input[type="number"].ninja-forms-field,
.nf-form-cont .field-wrap input[type="password"].ninja-forms-field,
.nf-form-cont .field-wrap select.ninja-forms-field,
.nf-form-cont .field-wrap textarea.ninja-forms-field {
    display: block;
    width: 100%;
    height: 45px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #fff;
    background-image: none;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    color: #555;
    font-family: 'FontinSans-Regular', Arial, sans-serif;
    font-size: 14px;
    line-height: 45px;
    vertical-align: middle;
    box-sizing: border-box;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.nf-form-cont .field-wrap input.ninja-forms-field:focus,
.nf-form-cont .field-wrap select.ninja-forms-field:focus,
.nf-form-cont .field-wrap textarea.ninja-forms-field:focus {
    border-color: #e30613;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 2px rgba(227, 6, 19, 0.16);
}

.nf-form-cont .field-wrap textarea.ninja-forms-field {
    height: 220px;
    min-height: 160px;
    padding: 8px 10px;
    line-height: 1.45;
}

.nf-form-cont .field-wrap.checkbox-wrap,
.nf-form-cont .field-wrap.radio-wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-left: 0;
}

.nf-form-cont .field-wrap.checkbox-wrap .nf-field-element,
.nf-form-cont .field-wrap.radio-wrap .nf-field-element {
    width: 30px;
    padding-top: 4px;
}

.nf-form-cont .field-wrap.checkbox-wrap .nf-field-label,
.nf-form-cont .field-wrap.radio-wrap .nf-field-label {
    width: calc(100% - 30px);
    padding-top: 0;
}

.nf-form-cont .field-wrap.checkbox-wrap input[type="checkbox"],
.nf-form-cont .field-wrap.radio-wrap input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.nf-form-cont .without-label {
    margin: 10px 0 10px 25%;
}

.nf-form-cont .without-label .nf-field-label {
    padding: 0;
    margin: 0 0 0 10px;
}

.nf-error-msg,
.ninja-forms-req-symbol {
    color: #e30613;
}

input[type="button"].ninja-forms-field.nf-element,
input[type="submit"].ninja-forms-field.nf-element,
.nf-form-cont input[type="button"].nf-element,
.nf-form-cont input[type="submit"].nf-element {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 0;
    background: #e30613;
    color: #fff;
    font-family: 'FontinSans-Bold', Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}

input[type="button"].ninja-forms-field.nf-element:focus,
input[type="button"].ninja-forms-field.nf-element:active,
input[type="button"].ninja-forms-field.nf-element:hover,
input[type="submit"].ninja-forms-field.nf-element:focus,
input[type="submit"].ninja-forms-field.nf-element:active,
input[type="submit"].ninja-forms-field.nf-element:hover,
.nf-form-cont input[type="button"].nf-element:focus,
.nf-form-cont input[type="button"].nf-element:active,
.nf-form-cont input[type="button"].nf-element:hover,
.nf-form-cont input[type="submit"].nf-element:focus,
.nf-form-cont input[type="submit"].nf-element:active,
.nf-form-cont input[type="submit"].nf-element:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 768px) {
    .nf-form-cont {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .nf-form-cont .field-wrap {
        display: block;
    }

    .nf-form-cont .field-wrap .nf-field-element,
    .nf-form-cont .field-wrap .nf-field-label {
        width: 100%;
    }

    .nf-form-cont .field-wrap .nf-field-label {
        padding: 0 0 6px;
    }

    .nf-form-cont .label-left .nf-after-field,
    .nf-form-cont .nf-after-field {
        margin-left: 0;
        padding-left: 0;
    }

    .nf-form-cont .field-wrap.checkbox-wrap,
    .nf-form-cont .field-wrap.radio-wrap {
        display: block;
        padding-left: 30px;
    }

    .nf-form-cont .field-wrap.checkbox-wrap .nf-field-element,
    .nf-form-cont .field-wrap.radio-wrap .nf-field-element {
        position: absolute;
        top: 0;
        left: 0;
        width: 30px;
    }

    .nf-form-cont .field-wrap.checkbox-wrap .nf-field-label,
    .nf-form-cont .field-wrap.radio-wrap .nf-field-label {
        width: 100%;
    }

    .nf-form-cont .without-label {
        margin-left: 0;
    }
}
/* 1) Basis: pagina als kolom, footer zakt vanzelf naar onderen */
html, body {
  height: 100%;
}
#Wrapper {                 /* BeTheme page wrapper */
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
#Content {                 /* hoofdcontent */
  flex: 1 0 auto;          /* neemt resterende hoogte in */
}
#Footer {                  /* footer */
  flex-shrink: 0;          /* nooit “opkruipen” in de viewport */
  clear: both;             /* eventuele floats uit oudere templates */
}
.container h4 {
    padding-left: 10px;
}
.event-rule {
    padding-left: 10px;
	font-family: 'FontinSans-Bold';
	font-size: 1.1rem;
    border-top: 1px dashed rgba(0, 0, 0, .15);
    /* overflow: auto; */
    margin-bottom: 2px;
}
.event-rule .label-name {
    min-width: 310px;
    margin: 5px 10px 5px 0;
    text-transform: uppercase;
    font-weight: bold;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.event-rule > div {
    display: inline-block;
    padding: 5px;
}
.mcb-section-inner-eaaeecc97 {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
@media only screen and (min-width: 1240px) {
    .section_wrapper, .container {
        max-width: 100%;
    }
}

@media only screen and (min-width: 1240px) {
    .layout-boxed {
        padding: 0px !important;
    }
}

#Content {
    background-color: white !important;
	padding-left:20px !important;
	width:95% !important;
}

main {
    padding-left: 0px !important;
}

#Wrapper {
	background-color:white !important;
}
.mfn-builder-content.mfn-default-tmpl-builder {
		padding-top: 35px !important;
	}
	
@media only screen and (min-width: 1240px) {
    main {
		padding-left: 50px !important;
		
	}
	
	
}

/* Submenu container */

li#menu-item-139826 {
    margin-top: 14px;
}

.mfn-submenu {
    background: #000 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-width: 260px !important;
}


/* Submenu links */
.mfn-header-menu .mfn-submenu .mfn-menu-link {
    font-family: 'Bazar', sans-serif !important;
    font-size: 1.2vw !important;
    font-weight: normal !important;
    letter-spacing: 0.05em !important;
    color: #fff !important;
     
    text-transform: uppercase !important;
    background: #000 !important;
}


/* Hover effect */
.mfn-header-menu .mfn-submenu .mfn-menu-link:hover {
    background: #e30613 !important; /* Sparta-rood */
    color: #fff !important;
}

/* Toon pijltjes bij hoofdmenu-items met submenu, ook als BeTheme iconen uitzet. */
.mfn-menu-submenu-icon-off .mfn-header-menu > .mfn-menu-li > .mfn-menu-link .menu-sub,
.mfn-header-menu > .mfn-menu-li > .mfn-menu-link .menu-sub {
    display: inline-flex !important;
    align-items: center;
    margin-left: 6px;
}

.mcb-section-bf2632e79 .mcb-item-header_menu-inner {
    position: relative;
    padding-right: 70px;
}

.sparta-language-link {
    position: absolute;
    top: 50%;
    right: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 22px;
    transform: translateY(-50%);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.95);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.sparta-language-link:hover,
.sparta-language-link:focus {
    opacity: 0.85;
}

.sparta-language-flag {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Verberg helper spans en pijltjes in submenu */
.mfn-header-menu .mfn-submenu .menu-item-helper,
.mfn-header-menu .mfn-submenu .mfn-sub-subicon,
.mfn-header-menu .mfn-submenu .menu-sub {
    display: none !important;
}

.mfn-header-menu .mfn-menu-li .mfn-submenu .mfn-menu-li:last-child .mfn-menu-link {
	border-radius: 0;
}

@media (min-width: 1025px) {
    .mfn-header-menu .mfn-menu-li:hover > .mfn-submenu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .mfn-header-menu .mfn-submenu {
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity .15s ease !important;
    }
}

table.jeugd-programma {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.sparta-jeugd-table-wrap {
    width: 100%;
    max-width: 1500px;
    margin: 32px auto 0;
    padding-right: 2rem;
    padding-left: 2rem;
    box-sizing: border-box;
    overflow-x: auto;
}

.sparta-jeugd-table-wrap h3 {
    margin-top: 0;
}

table.jeugd-programma thead th {
    text-align: left;
    font-weight: 700;
    padding: 12px 10px;
    border-bottom: 2px solid #e5e7eb;
}

table.jeugd-programma tbody td {
    padding: 14px 10px;
	text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

table.jeugd-programma tbody tr:hover {
    background: #f9fafb;
}

table.jeugd-stand {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

table.jeugd-stand thead th {
    padding: 10px 8px;
    text-align: left;
    font-weight: 800;
    border-bottom: 2px solid #e5e7eb;
}

table.jeugd-stand tbody td {
    padding: 10px 8px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

table.jeugd-stand td.team {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

table.jeugd-stand td.team img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

table.jeugd-stand td.punten {
    font-weight: 900;
}

/* Hover 
table.jeugd-stand tbody tr:hover {
    background: #f9fafb;
}
*/

/* Sparta highlight */
table.jeugd-stand tr.is-sparta {
    background: #e30613;
    color: #fff;
}

table.jeugd-stand tr.is-sparta td {
    border-color: rgba(255,255,255,.3);
	color:white;
}

table.jeugd-stand tr.is-sparta td.team span {
    font-weight: 900;
    color:white;
}

/* Mobiel: iets compacter */
@media (max-width: 768px) {
    .sparta-jeugd-table-wrap {
        margin-top: 24px;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    table.jeugd-stand {
        font-size: 14px;
    }

    table.jeugd-stand td.team span {
        white-space: nowrap;
    }
}

.shof-filter {
    margin: 10px 80px !important;
}

.shof-grid {
    margin-top: 0px !important;
	margin-bottom: 40px !important;
	margin-left: 80px !important;
	margin-right: 80px !important;
}

.shof-info {
    justify-content: start !important;
	padding: 20px 32px !important;
}

.shof-info p {
    font-size: 1.1rem !important;
	color: white !important;
    font-family: 'FontinSans-Regular' !important;
}
.shof-name {
	font-size: 2.0rem !important;
}

@media (max-width: 900px) {

	.shof-card {
		display: flex !important;
	}
	
	.shof-grid {
		margin: 0px 0px !important;
	}
}

/* ===== Sparta Player Cards ===== */ 

/* =========================
   Sparta selectiepagina
========================= */

.sparta-selectie {
  width: 100%;
  max-width: 1500px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
  box-sizing: border-box;
}

.sparta-selectie .sparta-group-title {
  font-family: 'Bazar', sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
  color: #111;
  width: 100%;
  box-sizing: border-box;
}

.sparta-selectie .sparta-player-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 24px;
  width: 100%;
  margin-bottom: 3rem;
  box-sizing: border-box;
}

/* Card */
.sparta-selectie .sparta-player-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.sparta-selectie .sparta-player-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* Image */
.sparta-selectie .sparta-player-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e5e5e5;
}

.sparta-selectie .sparta-player-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.sparta-selectie .sparta-player-card:hover img {
  transform: scale(1.05);
}

/* Overlay */
.sparta-selectie .sparta-player-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px 12px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.05)
  );
  color: #fff;
  text-align: center;

  min-height: 72px;
  max-height: 110px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Name */
.sparta-selectie .sparta-player-name {
  font-family: 'Bazar', sans-serif;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.15;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-height: 2.4em;
  overflow: hidden;
}

/* Role */
.sparta-selectie .sparta-player-role {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 4px;
  line-height: 1.1;
}

/* Responsive */
@media (max-width: 1400px) {
  .sparta-selectie .sparta-player-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  .sparta-selectie .sparta-player-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .sparta-selectie .sparta-player-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .sparta-selectie .sparta-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .sparta-selectie .sparta-player-grid {
    grid-template-columns: 1fr !important;
  }
}



/* =========================
   Header row: naam + terug
========================= */

.sparta-player-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}


/* =========================
   Sparta speler – detail layout (SCHOON)
========================= */

.sparta-player-detail {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 1500px;
  margin: 48px auto 0;
  padding-right: 2rem;
  padding-left: 2rem;
  box-sizing: border-box;
}

/* BeTheme gradients UIT */
.sparta-player-detail::before,
.sparta-player-detail::after {
  display: none !important;
}

/* Top: foto + info */
.sparta-player-top {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
  max-width: 100%;
}

/* Foto */
.sparta-player-photo {
  flex: 0 0 320px;
}

.sparta-player-photo img {
  width: 320px;
  height: 440px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

/* Rechterkolom */
.sparta-player-info {
  flex: 1;
  /*max-width: 640px;*/
}

/* Naam + positie */
.sparta-player-name {
  font-family: 'Bazar', sans-serif;
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.sparta-player-position {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* =========================
   Meta-blokken (oude stijl)
========================= */

.sparta-player-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 16px;
  align-items: start;
}

.sparta-player-stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.sparta-player-section {
  min-width: 0;
}

.sparta-player-section h2 {
  margin-top: 0;
  text-transform: uppercase;
}

.sparta-stats-table {
  width: 100%;
}

.meta-box {
  background: #f6f6f6;
  border-left: 6px solid #e30613;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.meta-box span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #777;
  line-height: 1.1;
  margin: 0;
}

.meta-box strong {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  line-height: 1.25;
  margin: 0;
}

/* =========================
   Mobiel
========================= */

@media (max-width: 768px) {
  .sparta-player-detail {
    margin-top: 28px;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .sparta-player-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sparta-player-photo {
    flex: none;
  }

  .sparta-player-photo img {
    width: 260px;
    height: 360px;
    margin: 0 auto;
  }

  .sparta-player-info {
    max-width: 100%;
  }

  .sparta-player-meta-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .sparta-player-stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sparta-player-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .sparta-player-section h2 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1 !important;
  }

  .sparta-player-detail .sparta-stats-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  .sparta-player-detail .sparta-stats-table th,
  .sparta-player-detail .sparta-stats-table td {
    padding: 7px 2px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .sparta-player-detail .sparta-stats-table th:nth-child(1),
  .sparta-player-detail .sparta-stats-table td:nth-child(1) {
    width: 25% !important;
  }

  .sparta-player-detail .sparta-stats-table th:nth-child(2),
  .sparta-player-detail .sparta-stats-table td:nth-child(2) {
    width: 34% !important;
  }

  .sparta-player-detail .sparta-stats-table-competitions th:nth-child(3),
  .sparta-player-detail .sparta-stats-table-competitions td:nth-child(3),
  .sparta-player-detail .sparta-stats-table-competitions th:nth-child(4),
  .sparta-player-detail .sparta-stats-table-competitions td:nth-child(4) {
    width: 12% !important;
  }

  .sparta-player-detail .sparta-stats-table-competitions th:nth-child(n+5),
  .sparta-player-detail .sparta-stats-table-competitions td:nth-child(n+5) {
    width: 5% !important;
  }

  .sparta-player-detail .sparta-stats-table-other th:nth-child(n+3),
  .sparta-player-detail .sparta-stats-table-other td:nth-child(n+3) {
    width: 10% !important;
  }

  .sparta-player-detail.sicv2-detail .sicv2-stats-grid,
  .sparta-player-detail.sicv2-detail .sicv2-stats-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .sparta-player-detail.sicv2-detail .sicv2-stats-section h2 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1 !important;
  }

  .sparta-player-detail.sicv2-detail .sicv2-stats-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  .sparta-player-detail.sicv2-detail .sicv2-stats-table th,
  .sparta-player-detail.sicv2-detail .sicv2-stats-table td {
    padding: 7px 2px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .sparta-player-detail.sicv2-detail .sicv2-stats-table th:nth-child(1),
  .sparta-player-detail.sicv2-detail .sicv2-stats-table td:nth-child(1) {
    width: 25% !important;
  }

  .sparta-player-detail.sicv2-detail .sicv2-stats-table th:nth-child(2),
  .sparta-player-detail.sicv2-detail .sicv2-stats-table td:nth-child(2) {
    width: 32% !important;
  }

  .sparta-player-detail.sicv2-detail .sicv2-stats-table th:nth-child(n+3),
  .sparta-player-detail.sicv2-detail .sicv2-stats-table td:nth-child(n+3) {
    width: 10% !important;
  }
}

.sparta-player-page-title {
  font-family: 'FontinSans-Bold', sans-serif;
  font-size: 56px;
  line-height: 1;
  margin: 0 0 32px;
  text-transform: uppercase;
  color: #e30613;
}

.sparta-player-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #e30613;
  color: #fff;

  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;

  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.sparta-player-role-badge .icon {
  font-size: 18px;
  line-height: 1;
}

/* Verberg standaard BeTheme paginatitel
   alleen op A-selectie spelerpagina */
body.page-a-selectie-speler .pagetitle {
  display: none !important;
}

.sparta-back-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #f6f6f6;
  border-left: 6px solid #e30613;
  padding: 10px 16px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;

  margin-bottom: 24px;

  transition: all .2s ease;
}

.sparta-back-chip .icon {
  font-size: 16px;
  line-height: 1;
}

.sparta-back-chip:hover {
  background: #e30613;
  color: #fff;
  text-decoration: none;
}

.sparta-back-chip:hover .icon {
  transform: translateX(-2px);
  text-decoration: none;
}

/* =========================
   Header row: naam + terug
========================= */

.sparta-player-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}

/* Naam */
.sparta-player-page-title {
  margin: 0;
  font-family: 'Bazar', sans-serif;
  font-size: 48px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #e30613;
}

/* Terug-chip iets compacter in header */
.sparta-player-header-row .sparta-back-chip {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sparta-player-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sparta-player-header-row .sparta-back-chip {
    align-self: flex-start;
  }
}
.meta-nationality strong {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-nationality .flag {
  font-size: 22px;
  line-height: 1;
}
/* Nationaliteit: vlag + tekst naast elkaar */
.meta-box.meta-nationality strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.meta-box.meta-nationality .flag {
  font-size: 22px;
  line-height: 1;
  display: inline-block;
}

/* Branding on the banner */
#CookiebotWidget-main-logo,
a#CybotCookiebotDialogPoweredbyCybot,
div#CybotCookiebotDialogPoweredByText {
  display: none !important;
}

/* Branding on the Privacy trigger */
#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-main-logo {
    display: none !important;
}

/* Alle primaire Cookiebot knoppen */
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
#CybotCookiebotDialogBodyButtonDecline {
	background-color: #c8102e !important;
	border-color: #c8102e !important;
	color: #fff !important;
	border: 2px solid #c8102e;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
    background-color: #c8102e !important;
    border-color: #c8102e !important;
    color: #FFFFFF;
}

#CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
    background-color: #c8102e !important;
}

/* container */
.bettingadsBlock {
	margin: 24px 0 32px;
}

/* titel */
.BettingAdsTitle {
	font-size: 15px !important;
	font-weight: 700;
	margin-bottom: 5px !important;
	padding-top: 5px !important;
}

/* toggle rij */
.BettingAdsToggle {
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	user-select: none;
	margin-top: 15px !important;
}

/* verberg native checkbox */
.BettingAdsToggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* slider */
.BettingAdsToggleSlider {
	width: 48px;
	height: 26px;
	background: #dcdcdc;
	border-radius: 13px;
	position: relative;
	transition: background 0.25s ease;
	flex-shrink: 0;
}

/* knopje */
.BettingAdsToggleSlider::before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	top: 3px;
	left: 3px;
	transition: transform 0.25s ease;
}

/* checked state */
.BettingAdsToggle input:checked + .BettingAdsToggleSlider {
	background: #c8102e; /* Cookiebot-blauw */
}

.BettingAdsToggle input:checked + .BettingAdsToggleSlider::before {
	transform: translateX(22px);
}

/* tekst */
.BettingAdsToggleLabel {
	font-size: 15px;
}
.BettingAdsBlock {
	margin: 24px 0 32px;
	padding: 12px;
}
#CybotCookiebotDialogHeaderLogosWrapper {
	overflow: visible !important;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggle {
	display: flex !important;
	align-items: center;
	gap: 12px;
}

#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggleSlider {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 48px;
	height: 26px;
	background: #c8102e;
	border-radius: 13px;
	position: relative;
	flex-shrink: 0;
}

#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggleSlider::before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	top: 3px;
	left: 25px; /* checked-positie */
}
#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggleSlider::before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	top: 3px;
	left: 3px;                 /* 👈 default (unchecked) */
	transition: transform 0.25s ease, left 0.25s ease;
}
#CybotCookiebotDialogHeaderLogosWrapper
.BettingAdsToggle input:checked + .BettingAdsToggleSlider::before {
	transform: translateX(22px);
}

#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggleSlider {
	position: relative;
	overflow: hidden;
}
/* slider container */
#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggleSlider {
	position: relative;
	width: 48px;
	height: 26px;
	background: #c8102e;
	border-radius: 13px;
	overflow: hidden;
}

/* bolletje – ALTIJD links starten */
#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggleSlider::before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	top: 3px;
	left: 3px;                     /* 👈 ALTIJD */
	transition: transform 0.25s ease;
}

/* checked → verplaatsen met transform */
#CybotCookiebotDialogHeaderLogosWrapper
.BettingAdsToggle input:checked + .BettingAdsToggleSlider::before {
	transform: translateX(22px);
}
#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggleSlider {
	background: #111;            /* zwart / Cookiebot-achtig */
}
#CybotCookiebotDialogHeaderLogosWrapper
.BettingAdsToggle input:checked + .BettingAdsToggleSlider {
	background: #c8102e;         /* Cookiebot blauw */
}
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll::after {
	content: ' (ik ben 24+)';
	font-weight: 600;
}


.the_content_wrapper {
	padding-left: 2rem !important;
	padding-right: 2rem !important;
}

.layout-boxed {
	padding-top: 0px !important;
}

@media only screen and (min-width: 1240px) {
    .section_wrapper, .container {
        max-width: 1500px !important;
    }
}

.sparta-page-title-section > .section_wrapper {
    width: 100% !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.sparta-page-title-section .the_content_wrapper {
    width: 100% !important;
    box-sizing: border-box;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-group,
.entry-content > .wp-block-image,
.entry-content > .wp-block-table {
    width: 100%;
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
    box-sizing: border-box;
}

.entry-content > ul,
.entry-content > ol {
    padding-left: calc(2rem + 1.5rem);
}

@media (max-width: 640px) {
    .entry-content > p,
    .entry-content > ul,
    .entry-content > ol,
    .entry-content > blockquote,
    .entry-content > h2,
    .entry-content > h3,
    .entry-content > h4,
    .entry-content > h5,
    .entry-content > h6,
    .entry-content > .wp-block-columns,
    .entry-content > .wp-block-group,
    .entry-content > .wp-block-image,
    .entry-content > .wp-block-table {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .entry-content > ul,
    .entry-content > ol {
        padding-left: calc(1rem + 1.25rem);
    }
}


#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
  color: #c8102e !important;
}

#SpartaAllowUnder24 {
	background-color: #c8102e;
	color: white;
	border: 2px solid #c8102e;
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	width: 100%;
	text-align: center;
	margin-top: 12px;
}

@media screen and (min-width: 901px) {
	#SpartaAllowUnder24 { 
		width: 33%;
		margin-right: .5em;
		margin-top: 0px;
	}
}
@media screen and (min-width: 1280px) {
    #SpartaAllowUnder24 {
        width: 286px;
        max-width: none;
		margin-top: 12px;
    }
}

@media screen and (min-width: 601px) {
    #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton, #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton:not(:first-of-type), #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton:not(:last-of-type), #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton:not(:first-of-type) {
        margin-top: 12px;
    }
}

#CybotCookiebotDialogPoweredByText,
#CybotCookiebotDialogPoweredByIcon,
#CybotCookiebotDialogPoweredbyCybot,
#CybotCookiebotDialogPoweredbyImage,
#CybotCookiebotDialogPoweredbyLink,
#CybotCookiebotDialogBodyFieldsetInnerContainer {
	display: none !important;
}

.BettingAdsToggleValue {
	font-size: 14px;
	font-weight: 700;
	margin-left: 6px;
	min-width: 30px;
	color: #111;
}

.mcb-section .mcb-wrap .mcb-item-8495934a1 .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link .mfn-menu-subicon i {
    display: none;
}

@media (max-width: 1100px) {
  .outline-text-line1,
  .outline-text-line2 {
    box-sizing: border-box !important;
    width: min(calc(100% - 32px), var(--sparta-world-max-width, 1720px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    font-size: var(--sparta-outline-mobile-font-size, 30px) !important;
    line-height: 0.9 !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }

  .outline-text-line1 {
    margin-top: 0.85rem !important;
    margin-bottom: 0.85rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: left !important;
  }

  .outline-text-line2 {
    display: block !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.75rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: right !important;
  }
}

@media (max-width: 420px) {
  .outline-text-line1,
  .outline-text-line2 {
    font-size: var(--sparta-outline-mobile-font-size, 26px) !important;
  }
}

@media (min-width: 1281px) and (max-width: 1500px) {
  .sparta-red-menu-bar {
    justify-content: flex-start !important;
    min-height: 48px !important;
    padding-right: 48px !important;
    padding-left: 0 !important;
    overflow: hidden !important;
  }

  .sparta-red-menu {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .sparta-red-menu > li {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  .sparta-red-menu > li > a {
    min-height: 48px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 18px !important;
  }

  .sparta-red-menu > .menu-item-has-children > a::after {
    margin-left: 5px !important;
    border-top-width: 4px !important;
    border-right-width: 3px !important;
    border-left-width: 3px !important;
  }

  .sparta-language-link {
    right: 12px !important;
    width: 28px !important;
    height: 19px !important;
  }
}

@media (max-width: 1280px) {
  .sponsors-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 48px !important;
    padding: 48px 24px 28px !important;
    gap: 58px !important;
    height: auto !important;
  }

  .logo_main_sponsor,
  .logo_other_sponsors {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 760px !important;
  }

  .logo_main_sponsor {
    text-align: center !important;
  }

  .logo_main_sponsor img {
    width: 100% !important;
    max-width: min(420px, 82vw) !important;
    height: auto !important;
  }

  .logo_other_sponsors {
    display: flex !important;
    flex-direction: column !important;
    gap: 58px !important;
  }

  .sponsor-category {
    width: 100% !important;
  }

  .logo_other_sponsors h5,
  .sponsor-category h5 {
    text-align: left !important;
    margin-bottom: 24px !important;
  }

  .sponsor-category .logo_slider,
  .logo_other_sponsors .logo_slider {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-items: center !important;
    gap: 28px 48px !important;
  }

  .logo_other_sponsors .item {
    flex: none !important;
    width: 100% !important;
    max-width: 240px !important;
  }

  .logo_other_sponsors .item img {
    width: 100% !important;
    max-width: 240px !important;
    height: auto !important;
  }
}

@media (max-width: 420px), (max-height: 430px) and (orientation: landscape) {
  .sponsors-wrapper {
    padding-right: 20px !important;
    padding-left: 20px !important;
    gap: 52px !important;
  }

  .logo_other_sponsors {
    gap: 52px !important;
  }

  .sponsor-category .logo_slider,
  .logo_other_sponsors .logo_slider {
    gap: 24px 30px !important;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .sponsors-wrapper {
    padding: 36px 28px 24px !important;
    gap: 42px !important;
  }

  .logo_main_sponsor,
  .logo_other_sponsors {
    max-width: 100% !important;
  }

  .logo_main_sponsor img {
    max-width: min(300px, 42vw) !important;
  }

  .logo_other_sponsors {
    gap: 42px !important;
  }

  .sponsor-category .logo_slider,
  .logo_other_sponsors .logo_slider {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px 24px !important;
  }

  .logo_other_sponsors .item {
    max-width: 180px !important;
  }

  .logo_other_sponsors .item img {
    max-width: 180px !important;
  }
}

.news-date-absolute {
  font-size: 1rem !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

@media (max-width: 1024px) {
  .news-date-absolute {
    top: 14px !important;
    right: 16px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 640px) {
  .news-date-absolute {
    top: 12px !important;
    right: 14px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 1100px) {
  h1.pagetitle,
  article.single h1.pagetitle,
  .single.sponsor h1.pagetitle {
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 640px) {
  h1.pagetitle,
  article.single h1.pagetitle,
  .single.sponsor h1.pagetitle {
    font-size: clamp(1.4rem, 5.5vw, 2rem) !important;
    line-height: 1.15 !important;
  }
}

.single.sponsor {
  width: min(100% - 48px, 1280px);
  margin: 44px auto 80px;
  color: #222;
}

.single.sponsor .back-to-link {
  margin: 0 0 24px;
}

.single.sponsor .back-to-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-family: 'FontinSans-Bold', Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.single.sponsor .back-to-link a::before {
  content: "<";
  color: #e30613;
  transition: transform 0.2s ease;
}

.single.sponsor .back-to-link a:hover,
.single.sponsor .back-to-link a:focus-visible {
  color: #e30613;
}

.single.sponsor .back-to-link a:hover::before,
.single.sponsor .back-to-link a:focus-visible::before {
  transform: translateX(-4px);
}

.single.sponsor h1,
.single.sponsor h1.pagetitle {
  margin: 0 0 28px;
  padding: 0 !important;
  color: #e30613 !important;
  font-family: 'Bazar', 'FontinSans-Bold', Arial, sans-serif !important;
  font-size: clamp(3rem, 4vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.sponsor-list {
  margin: 34px 0 58px;
}

.sponsor-list .sponsor-holder {
  margin: 0;
  padding: 0;
}

.sponsor-list .sponsor-holder .title {
  margin: 0 0 28px;
  color: #e30613 !important;
  font-family: 'Bazar', 'FontinSans-Bold', Arial, sans-serif !important;
  font-size: clamp(1.9rem, 2.25vw, 2.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.sponsor-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.sponsor-list.main .sponsor-logo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sponsor-list .sponsor-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 24px 34px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.sponsor-list .sponsor-img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sponsor-list .sponsor-img img {
  display: block;
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-list.main .sponsor-img {
  min-height: 220px;
}

.sponsor-list.main .sponsor-img img {
  max-height: 160px;
}

.sponsor-list.other .sponsor-img {
  min-height: 126px;
}

.sponsor-list.other .sponsor-img img {
  max-height: 78px;
}

#sponsorlist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.sponsor-alpha-list h3 {
  margin: 0;
  color: #e30613 !important;
  font-family: 'Bazar', 'FontinSans-Bold', Arial, sans-serif !important;
  font-size: clamp(1.75rem, 2vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.sponsor-filter-label {
  display: block;
  margin: 18px 0 8px;
  color: #333;
  font-family: 'FontinSans-Bold', Arial, sans-serif;
  font-size: 1rem;
}

.sponsor-filter-input {
  display: block;
  width: min(100%, 520px);
  height: 48px;
  margin: 0 0 14px;
  padding: 0 16px;
  border: 2px solid #e30613;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-family: 'FontinSans-Regular', Arial, sans-serif;
  font-size: 1rem;
  line-height: 48px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-filter-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.16);
}

.sponsor-filter-empty {
  margin: 18px 0 0;
  padding: 0;
  color: #e30613;
  font-family: 'FontinSans-Bold', Arial, sans-serif;
}

#sponsorlist li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 1rem;
  line-height: 1.2;
}

#sponsorlist a {
  color: #222;
  text-decoration: none;
}

#sponsorlist a:hover,
#sponsorlist a:focus-visible {
  color: #e30613;
}

.sponsor-info {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.sponsor-info .mobile-clear,
.sponsor-info .clearfix {
  display: none;
}

.sponsor-info .logo-sponsor {
  margin: 0;
  padding: 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.sponsor-info .logo-sponsor img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sponsor-info .sponsor-data {
  position: relative;
  min-height: 100%;
  padding: 28px;
  background: #000;
  color: #fff;
  border-radius: 8px;
}

.sponsor-info .sponsor-data h3,
.sponsor-info .company-info h3 {
  margin: 0 0 18px;
  color: #fff !important;
  font-family: 'Bazar', 'FontinSans-Bold', Arial, sans-serif !important;
  font-size: clamp(1.75rem, 2vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.sponsor-info .txt-rule {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1.35;
}

.sponsor-info .txt-rule strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.sponsor-info .txt-rule a,
.sponsor-info .sponsor-contact-holder .name {
  color: #e30613;
}

.sponsor-info .sponsor-contact-holder {
  float: right;
  width: min(190px, 35%);
  margin: 0 0 20px 24px;
}

.sponsor-info .sponsor-contact-holder img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.sponsor-info .company-info {
  grid-column: 1 / -1;
  padding: 34px 0 0;
}

.sponsor-info .company-info h3 {
  color: #e30613 !important;
}

.sponsor-info .company-info p {
  padding: 0;
}

.sponsor-info .position::after {
  content: ", ";
}

.sponsor-info .position:last-child::after {
  content: "";
}

@media (max-width: 900px) {
  .sponsor-logo-grid,
  .sponsor-list.main .sponsor-logo-grid,
  #sponsorlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsor-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .single.sponsor {
    width: min(100% - 32px, 1280px);
    margin-top: 34px;
  }

  .sponsor-logo-grid,
  .sponsor-list.main .sponsor-logo-grid,
  #sponsorlist {
    grid-template-columns: 1fr;
  }

  .sponsor-list .sponsor-img,
  .sponsor-list.main .sponsor-img,
  .sponsor-list.other .sponsor-img {
    min-height: 120px;
    padding: 22px;
  }

  .sponsor-info .sponsor-contact-holder {
    float: none;
    width: 100%;
    max-width: 220px;
    margin: 0 0 22px;
  }
}

/* Definitieve grootte voor vrouwenvoetbal-selectietitel, gelijk aan A-selectie paginakop. */
html body #Content .entry-content .svv-team-page h1.svv-team-title {
  font-size: 2em !important;
  line-height: 1 !important;
  margin: 0 0 56px !important;
}

/* Nieuwsoverzicht per wereld: gelijk trekken met de contentbreedte van de wereldpagina. */
@media only screen and (min-width: 1240px) {
  html body .container.sparta-world-news-overview main {
    padding-left: 0 !important;
  }
}

html body .container.sparta-world-news-overview .titel-lijn,
html body .container.sparta-world-news-overview .news-grid-wrapper,
html body .container.sparta-world-news-overview .sparta-news-button-wrapper,
html body .container.sparta-world-news-overview .sparta-world-news-empty {
  width: calc(100% - 48px) !important;
  max-width: 1606px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}

html body .container.sparta-world-news-overview .news-grid-wrapper {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 34px 28px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

html body .container.sparta-world-news-overview .image_wrapper {
  aspect-ratio: 16 / 9 !important;
}

html body .container.sparta-world-news-overview .tekst p,
html body .container.sparta-world-news-overview .tekst p a {
  font-size: 1.2vw !important;
  line-height: 1.25 !important;
}

html body #Content .the_content_wrapper a,
html body #Content .entry-content a {
  text-decoration: none;
}

html body #Content .the_content_wrapper a:hover,
html body #Content .the_content_wrapper a:focus,
html body #Content .entry-content a:hover,
html body #Content .entry-content a:focus {
  text-decoration: none;
}

@media (max-width: 1024px) {
  html body .container.sparta-world-news-overview .news-grid-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  html body .container.sparta-world-news-overview .titel-lijn,
  html body .container.sparta-world-news-overview .news-grid-wrapper,
  html body .container.sparta-world-news-overview .sparta-news-button-wrapper,
  html body .container.sparta-world-news-overview .sparta-world-news-empty {
    width: calc(100% - 32px) !important;
  }

  html body .container.sparta-world-news-overview .news-grid-wrapper {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  html body .container.sparta-world-news-overview .tekst p,
  html body .container.sparta-world-news-overview .tekst p a {
    font-size: 1em !important;
  }
}

/* Cookiebot banner styling, gelijk aan het oude thema. */
#CookiebotWidget-main-logo,
a#CybotCookiebotDialogPoweredbyCybot,
div#CybotCookiebotDialogPoweredByText,
#CybotCookiebotDialogPoweredByText,
#CybotCookiebotDialogPoweredByIcon,
#CybotCookiebotDialogPoweredbyCybot,
#CybotCookiebotDialogPoweredbyImage,
#CybotCookiebotDialogPoweredbyLink,
#CybotCookiebotDialogBodyFieldsetInnerContainer {
  display: none !important;
}

#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-main-logo {
  display: none !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
#CybotCookiebotDialogBodyButtonDecline,
#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
  background-color: #c8102e !important;
  border: 2px solid #c8102e !important;
  border-color: #c8102e !important;
  color: #fff !important;
}

#CybotCookiebotDialog input:checked + .CybotCookiebotDialogBodyLevelButtonSlider {
  background-color: #c8102e !important;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
  color: #c8102e !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll::after {
  content: " (ik ben 24+)";
  font-weight: 600;
}

.BettingAdsBlock,
.bettingadsBlock {
  margin: 24px 0 32px;
  padding: 12px;
}

.kansspel-instellingen-block {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding-right: 2rem;
  padding-left: 2rem;
  box-sizing: border-box;
}

.kansspel-instellingen-block .BettingAdsBlock {
  padding: 0;
}

@media (max-width: 640px) {
  .kansspel-instellingen-block {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

.BettingAdsTitle {
  font-size: 15px !important;
  font-weight: 700;
  margin-bottom: 5px !important;
  padding-top: 5px !important;
}

.BettingAdsToggleLabel {
  font-size: 15px;
}

.BettingAdsToggle,
.MainBettingAdsToggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin-top: 15px !important;
}

.BettingAdsToggle input,
#mainbetting-ads {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.BettingAdsToggleSlider,
.MainBettingAdsToggleSlider {
  width: 48px;
  height: 26px;
  background: #111;
  border-radius: 13px;
  position: relative;
  transition: background 0.25s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.BettingAdsToggleSlider::before,
.MainBettingAdsToggleSlider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.25s ease;
}

.BettingAdsToggle input:checked + .BettingAdsToggleSlider,
.MainBettingAdsToggle input:checked + .MainBettingAdsToggleSlider,
#mainbetting-ads:checked + .MainBettingAdsToggleSlider {
  background: #c8102e;
}

.BettingAdsToggle input:checked + .BettingAdsToggleSlider::before,
#mainbetting-ads:checked + .MainBettingAdsToggleSlider::before {
  transform: translateX(22px);
}

.BettingAdsToggleValue,
.MainBettingAdsToggleValue {
  font-size: 14px;
  font-weight: 700;
  margin-left: 6px;
  min-width: 30px;
  color: #111;
}

#CybotCookiebotDialogHeaderLogosWrapper {
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggle {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

#CybotCookiebotDialogHeaderLogosWrapper .BettingAdsToggleSlider {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#CybotCookiebotDialog #SpartaAllowUnder24,
#SpartaAllowUnder24 {
  background-color: #c8102e;
  color: #fff !important;
  border: 2px solid #c8102e !important;
  padding: 14px 18px !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin: 0 !important;
}

#CybotCookiebotDialog #SpartaAllowUnder24:hover,
#CybotCookiebotDialog #SpartaAllowUnder24:focus,
#SpartaAllowUnder24:hover,
#SpartaAllowUnder24:focus {
  background-color: #a80d27;
  border-color: #a80d27 !important;
  color: #fff !important;
}

@media screen and (min-width: 901px) {
  #CybotCookiebotDialog #SpartaAllowUnder24,
  #SpartaAllowUnder24 {
    width: 100%;
  }
}

@media screen and (min-width: 1280px) {
  #SpartaAllowUnder24,
  #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,
  #CybotCookiebotDialogBodyButtonDecline,
  #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
    width: 320px !important;
    max-width: none;
  }

  #SpartaAllowUnder24 {
    margin: 0 !important;
  }
}

@media screen and (min-width: 601px) {
  #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton,
  #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton:not(:first-of-type),
  #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton:not(:last-of-type),
  #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton:not(:first-of-type) {
    margin-top: 0 !important;
  }
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons #SpartaAllowUnder24 {
  margin: 0 !important;
  max-width: none !important;
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton + .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton + #SpartaAllowUnder24,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons #SpartaAllowUnder24 + .CybotCookiebotDialogBodyButton {
  margin-top: 14px !important;
}

@media screen and (min-width: 1280px) {
  #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons {
    align-items: flex-end !important;
  }
}

#CybotCookiebotDialog[data-template="settings"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons,
#CybotCookiebotDialog[data-template="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons,
#CybotCookiebotDialog[data-tab="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons {
  gap: initial !important;
}

#CybotCookiebotDialog[data-template="settings"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialog[data-template="settings"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons #SpartaAllowUnder24,
#CybotCookiebotDialog[data-template="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialog[data-template="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons #SpartaAllowUnder24,
#CybotCookiebotDialog[data-tab="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialog[data-tab="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons #SpartaAllowUnder24 {
  min-height: 74px !important;
}

#CybotCookiebotDialog[data-template="settings"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton + .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialog[data-template="settings"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton + #SpartaAllowUnder24,
#CybotCookiebotDialog[data-template="settings"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons #SpartaAllowUnder24 + .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialog[data-template="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton + .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialog[data-template="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton + #SpartaAllowUnder24,
#CybotCookiebotDialog[data-template="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons #SpartaAllowUnder24 + .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialog[data-tab="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton + .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialog[data-tab="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton + #SpartaAllowUnder24,
#CybotCookiebotDialog[data-tab="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons #SpartaAllowUnder24 + .CybotCookiebotDialogBodyButton {
  margin-top: 0 !important;
  margin-right: 10px !important;
  margin-left: 10px !important;
}

@media screen and (max-width: 900px) {
  #CybotCookiebotDialog[data-template="settings"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons,
  #CybotCookiebotDialog[data-template="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons,
  #CybotCookiebotDialog[data-tab="details"] #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtons {
    grid-template-columns: 1fr !important;
  }
}

/* Sub-item tiles (kleurplaten, etc.) */
.kleurplaten-grid { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0; }
.kleurplaten-grid .sub-item-tile { flex: 1 1 calc(33.333% - 14px); min-width: 0; }
.sub-item-tile .item-link { height: 260px; display: block; position: relative; background-repeat: no-repeat; background-size: cover; background-position: center; transition: opacity 0.4s ease; box-shadow: 0 5px 25px -5px rgba(0,0,0,.2); text-decoration: none; border-radius: 4px; }
.sub-item-tile .item-link:hover,
.sub-item-tile .item-link:focus { opacity: 0.8; }
.sub-item-tile .item-link .title-area { position: absolute; bottom: 0; left: 0; right: 0; }
.sub-item-tile .item-link .title-area h4 { display: inline-block; margin: 0; padding: 10px 15px; color: #fff !important; background: rgba(0,0,0,.6); font-family: 'Bazar', sans-serif; }
@media (max-width: 768px) { .kleurplaten-grid .sub-item-tile { flex: 1 1 calc(50% - 10px); } }
@media (max-width: 480px) { .kleurplaten-grid .sub-item-tile { flex: 1 1 100%; } }

.sparta-activity-hero {
  width: 100%;
  height: clamp(260px, 38vw, 560px);
  overflow: hidden;
  background: #000;
}

.sparta-activity-hero .image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position-x: center;
}

article.sparta-activity-detail {
  max-width: 1500px;
  margin: 48px auto 80px;
  padding: 0 2rem;
  box-sizing: border-box;
}

article.sparta-activity-detail h1.pagetitle {
  margin: 0 0 14px;
  padding: 0;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: .98;
}

article.sparta-activity-detail h2,
article.sparta-activity-detail h2.enlist {
  margin: 38px 0 18px;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.05;
}

article.sparta-activity-detail > a,
article.sparta-activity-detail a[href*="/activiteiten/"],
article.sparta-activity-detail a[href*="/clinics/"] {
  display: inline-flex;
  margin: 0 0 22px;
  color: #e30613 !important;
  font-family: 'FontinSans-Bold', Arial, sans-serif;
  text-decoration: none !important;
}

article.sparta-activity-detail .event-rule {
  display: grid;
  grid-template-columns: minmax(180px, 310px) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, .12);
  font-family: 'FontinSans-Regular', Arial, sans-serif;
  font-size: 1.05rem;
}

article.sparta-activity-detail .event-rule.last {
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

article.sparta-activity-detail .event-rule > div {
  display: block;
  padding: 12px 14px;
}

article.sparta-activity-detail .event-rule .label-name {
  min-width: 0;
  margin: 0;
  border-right: 1px solid rgba(0, 0, 0, .1);
  font-family: 'FontinSans-Bold', Arial, sans-serif;
}

article.sparta-activity-detail .form-horizontal {
  max-width: 980px;
}

article.sparta-activity-detail .form-group {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0 0 16px;
}

article.sparta-activity-detail .form-group label.control-label {
  font-family: 'FontinSans-Bold', Arial, sans-serif;
  text-align: left;
}

article.sparta-activity-detail .form-control,
article.sparta-activity-detail select.form-control {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 8px 10px;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  box-sizing: border-box;
  font-family: 'FontinSans-Regular', Arial, sans-serif;
}

article.sparta-activity-detail .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 18px;
}

article.sparta-activity-detail .alert {
  margin: 22px 0;
  padding: 14px 16px;
  border-left: 5px solid #e30613;
  background: #f7f7f7;
  font-family: 'FontinSans-Bold', Arial, sans-serif;
}

article.sparta-activity-detail #actMessage {
  display: none;
}

article.sparta-activity-detail .gen-btn,
article.sparta-activity-detail .activity-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 0;
  background: #e30613;
  color: #fff !important;
  font-family: 'FontinSans-Bold', Arial, sans-serif;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
}

article.sparta-activity-detail .gen-btn:hover,
article.sparta-activity-detail .activity-subscribe:hover {
  background: #000;
}

@media (max-width: 760px) {
  article.sparta-activity-detail {
    margin-top: 38px;
    padding: 0 1rem;
  }

  article.sparta-activity-detail .event-rule,
  article.sparta-activity-detail .form-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  article.sparta-activity-detail .event-rule .label-name {
    border-right: 0;
    padding-bottom: 0;
  }
}


/* ===== GALLERY LIGHTBOX ===== */
.gallery a {
    cursor: zoom-in;
}

#sr-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#sr-lightbox.sr-lb-open {
    display: flex;
}

.sr-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .92);
}

.sr-lb-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: calc(100vw - 120px);
    max-height: calc(100vh - 80px);
}

.sr-lb-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    opacity: 0;
    transition: opacity .2s ease;
}

.sr-lb-img.sr-lb-img-loaded {
    opacity: 1;
}

.sr-lb-caption {
    margin-top: 10px;
    color: #fff;
    font-size: .9rem;
    text-align: center;
}

.sr-lb-counter {
    margin-top: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
}

.sr-lb-close,
.sr-lb-prev,
.sr-lb-next {
    position: absolute;
    background: rgba(227, 6, 19, .85);
    color: #fff;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: background .15s;
    z-index: 2;
}

.sr-lb-close:hover,
.sr-lb-prev:hover,
.sr-lb-next:hover {
    background: #e30613;
}

.sr-lb-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-lb-prev,
.sr-lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.sr-lb-prev { left: 12px; }
.sr-lb-next { right: 12px; }

body.sr-lb-body-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .sr-lb-content {
        max-width: calc(100vw - 20px);
    }

    .sr-lb-prev { left: 4px; }
    .sr-lb-next { right: 4px; }

    .sr-lb-prev,
    .sr-lb-next {
        width: 38px;
        height: 52px;
        font-size: 1.6rem;
    }
}


/* ===== RODE MENU - LAATSTE ITEM DROPDOWN NAAR LINKS ===== */
.sparta-red-menu > li:last-child {
    position: relative;
}

.sparta-red-menu > li:last-child > .sub-menu,
.sparta-red-menu > li:last-child > .mfn-submenu {
    left: auto !important;
    right: 0 !important;
}

.sparta-red-menu > li:last-child .sub-menu > li > .sub-menu,
.sparta-red-menu > li:last-child .mfn-submenu > li > .mfn-submenu {
    left: auto !important;
    right: 100% !important;
}
