p {
  padding: 5px 0;
}

.content-block ul, .content-block ol {
    margin: 15px;
}

table {
    margin: 15px 0;
}

thead{
  text-align: left!important;
}

td {
    padding-right: 30px!important;
}

li {
  padding-bottom: 10px;
}
    body {
      font-family: sans-serif;
    }

/* nieuws-overzicht */
.berichten-sectie {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.berichten-sectie h2 {
  background-color: #10B242;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 20px;
}

.berichten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.bericht-blok {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  height: 100%;
}

.bericht-blok:hover {
  transform: translateY(-4px);
}

.bericht-afbeelding {
  width: 100%;
  height: 180px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bericht-afbeelding img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bericht-inhoud {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.categorie-datum {
  font-size: 0.85em;
  color: #777;
  margin-bottom: 6px;
}

.bericht-inhoud h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #061165;
}

.bericht-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.paginering {
  margin-top: 30px;
  text-align: center;
}

.pagina-knop {
  background: #10B242;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.pagina-knop:hover {
  background: #0e9a3a;
}

.pagina-info {
  font-size: 16px;
  margin: 0 10px;
}

.categorie-datum {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.categorie-datum .cat {
    font-weight: 600;
    color: #e30613;
}
/* einde nieuws-overzicht */

/* NIEUWS DETAIL */

.nieuws-detail-flex {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.nieuws-tekst {
  flex: 1;
}

.nieuws-afbeelding img {
  max-width: 400px;
  width: 100%;
  border-radius: 6px;
  display: block;
}

@media (max-width: 768px) {
  .nieuws-detail-flex {
    flex-direction: column;
  }

  .nieuws-afbeelding img {
    max-width: 100%;
  }
}

.detail-image {
  width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  margin-top: 20px;
}

.meta-info {
  font-size: 0.9em;
  color: #666;
  line-height: 1.6;
}

.cat {
  color: #c00;
  font-weight: bold;
}

.content-block p {
  line-height: 1.6;
  font-size: 1.05em;
  color: #333;
}

.external-link-inline {
  color: #10B242;
  font-weight: bold;
  text-decoration: none;
}

.external-link-inline:hover {
  text-decoration: underline;
}

.back-button {
  display: inline-block;
  background: #10B242;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
}

.back-button:hover {
  background: #0e9a3a;
}


/* survivalrun */
.hindernis-gallery {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  margin-top: 20px;
}

.hindernis-gallery img {
  width: 33.33%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* Mobiel: onder elkaar */
@media (max-width: 768px) {
  .hindernis-gallery {
    flex-direction: column;
  }

  .hindernis-gallery img {
    width: 100%;
  }
}

/* einde survivalrun */

/* card grid ipv tabellen */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 260px));
  justify-content: center;
}

.card {
  display: flex; 
  flex-direction: column;
  background: #fff;
  padding: 1.4rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border: 1px solid #eee;
  word-wrap: break-word; 
  overflow-wrap: break-word;
}
.card-title {
  margin-top: 0;
}

.event-image {
  max-height: 300px;
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  margin-top: 15px;
}
/* einde cards */

/* Alleen voor evenementen sponsoren */
.content-block.evenementen-sponsoren .card-grid {
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}
.content-block.evenementen-sponsoren .event-image {
  margin-top: 15px;
}
.content-block.evenementen-sponsoren .card {
  text-align: center;
}
/* Alleen voor Grote Boarding Sponsoren */
.content-block.grote-boarding-sponsoren .card-grid {
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 20px;
}

.content-block.grote-boarding-sponsoren .sponsor-card {
  height: 200px; /* alle kaarten even hoog */
  background: #fff;
  border-radius: 8px;
  padding: 10px; /* compacter */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.content-block.grote-boarding-sponsoren .sponsor-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.content-block.grote-boarding-sponsoren .sponsor-card-leeg {
  padding: 6px; 
}

.content-block.grote-boarding-sponsoren .sponsor-card-leeg h3 {
  font-size: 0.95rem;
  margin: 0 0 4px 0;
}

.content-block.grote-boarding-sponsoren .sponsor-card-leeg p {
  font-size: 0.85rem; 
  margin: 2px 0;
}

.content-block.grote-boarding-sponsoren .sponsor-card-leeg .button-groen {
  font-size: 1rem; 
  padding: 8px 16px; 
  margin-top: 6px;
}

/* Kleine boarding sponsoren – 6 vierkantjes netjes binnen de container */
.content-block.kleine-boarding-sponsoren .kleine-sponsoren-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  justify-content: center;
  width: 100%;
}
.content-block.kleine-boarding-sponsoren .kleine-sponsor-kaart {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}
.content-block.kleine-boarding-sponsoren .kleine-sponsor-kaart p {
  margin: 0;
  font-size: 0.9em;
  font-weight: 600;
  color: #061165;
  text-align: center;
  line-height: 1.3;
}
/* ============================================
   RESPONSIVE FIXES SPONSOREN PAGINA (MOBIEL)
   ============================================ */
@media (max-width: 600px) {

    /* --- Evenementen sponsoren: 1 per rij --- */
    .content-block.evenementen-sponsoren .card-grid {
        grid-template-columns: 1fr !important;
    }

    .content-block.evenementen-sponsoren .card {
        text-align: center;
    }

    .content-block.evenementen-sponsoren .event-image {
        max-width: 100%;
        height: auto;
    }

    /* --- Grote boarding sponsoren: 1 per rij --- */
    .content-block.grote-boarding-sponsoren .card-grid {
        grid-template-columns: 1fr !important;
    }

    .content-block.grote-boarding-sponsoren .sponsor-card {
        height: auto;
        padding: 20px;
    }

    .content-block.grote-boarding-sponsoren .sponsor-card img {
        max-height: 140px;
        width: 100%;
        object-fit: contain;
    }

    /* --- Kleine boarding sponsoren: 2 per rij --- */
    .content-block.kleine-boarding-sponsoren .kleine-sponsoren-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .content-block.kleine-boarding-sponsoren .kleine-sponsor-kaart {
        aspect-ratio: 1 / 1;
        padding: 10px;
    }

    .content-block.kleine-boarding-sponsoren .kleine-sponsor-kaart p {
        font-size: 0.85rem;
        line-height: 1.2;
        word-break: break-word;
    }
}

/* einde sponsoren pagina */

/* records tabellen */
.records-table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
}

.records-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.records-table th {
  background-color: #f3f3f3;
  font-weight: bold;
  text-align: left;
  padding: 8px;
  border-bottom: 2px solid #ddd;
}

.records-table td {
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.records-table tr:nth-child(even) {
  background-color: #fafafa;
}

.new-icon {
  width: 32px;
  height: auto;
  margin-left: 6px;
  vertical-align: middle;
}
.records-table td:last-child,
.records-table th:last-child {
  white-space: nowrap;
  width: 110px; /* of 120px als je meer ruimte wilt */
}

/* einde records tabel */

/*formulieren */
.inschrijf-formulier {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.inschrijf-formulier input:not([type="checkbox"]),
.inschrijf-formulier select,
.inschrijf-formulier textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}


.inschrijf-formulier input:focus,
.inschrijf-formulier select:focus,
.inschrijf-formulier textarea:focus {
  border-color: #0077cc;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 119, 204, 0.2);
}

textarea {
  resize: vertical;
}
/* eind formulieren */
/* GROENE BUTTON */
.button-groen {
  background-color: #10B242;
      color: white;
      padding: 10px 16px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
}

.button-groen:hover {
       background-color: #e30613;
 	 color: white; 
}

/* einde groene button */

/* RODE BUTTON */
.button-rood {
      background-color: #e30613;
      color: white;
      padding: 10px 16px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
}

.button-rood:hover {
       background-color: #10B242;
 	 color: white; 
}

/* Einde rode button (baanrecords-clubrecords) */

/* button overview */
.button-container {
  display: flex;
  flex-wrap: wrap;       /* voorkomt overlappen */
  gap: 10px;             /* ruimte tussen knoppen */
  margin-bottom: 20px;
}

.button-container a {
  display: inline-block; /* blijft button */
}
/* einde button overview */


/* section-image */
.section-image {
  width: 100%;
  height: 300px;     
  overflow: hidden;   
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;    
  object-position: center; 
  display: block;
}
/* einde section-image */


/* section-with-image */
.section-with-image .block-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.section-with-image .block-text {
  flex: 1;
  max-width: 50%;
}

.section-with-image .block-image {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: flex-end; 
}

.section-with-image .block-image img {
  width: 100%;
  height: auto;
  max-width: 420px; 
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .section-with-image .block-wrapper {
    flex-direction: column;
  }

  .section-with-image .block-text,
  .section-with-image .block-image {
    max-width: 100%;
  }

  .section-with-image .block-image img {
    max-width: 100%;
  }
}

/* einde section-with-image */

/* HERO IMAGE – voor alle pagina's */
.hero-image {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero-image .hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block; 
}

/* Button linksonder op de hero */
.hero-image .hero-button {
  position: absolute;
  left: 80px;
  bottom: 80px;
  z-index: 30;
}
@media (max-width: 768px) {

  .hero-image {
    height: auto;         
  }

  .hero-image .hero-photo {
    height: auto;         
    object-fit: contain;   
  }

  .hero-image .hero-button {
    left: 20px;            
    bottom: 20px;
  }
}

/* einde hero image */

/* opmaak algemene pagina's */
.page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
  text-align: center;
  font-size: 2em;
  margin: 30px 0;
  color: #10B242;
}

.page-title-klein {
  text-align: center;
  font-size: 1em;
  margin: 30px 0;
  color: #10B242;
}

.content-block {
  background: #f9f9f9;
  border-left: 5px solid #10B242;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.block-title {
  margin-top: 0;
  background-color: #10B242;
  color: white;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;6
}
.content-block p img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* centreren */
}
@media (max-width: 768px) {
  .content-block p img {
    width: 100%;
    height: 300px;
    max-width: 100%;
    object-fit: contain;
  }
  .page-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}
/* einde opmaak algemene pagina's */
/* evenementen */
.evenementen-lijst {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.evenement-item {
  text-align: center;
}

.evenement-item img {
  height: auto;  
  border-radius: 6px;
  display: block;
}

.evenement-item p a {
  font-weight: bold;
  color: #c00000;
  text-decoration: none;
}

.evenement-item p a:hover {
  text-decoration: underline;
}
/* einde evenementen */