* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Verdana, "Trebuchet MS", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #014D80;	
}

a:hover { 
  background-color: #E2EBFD;
  color: #000000;
}

/* Three equal columns that float next to each other */
.column {
  float: left;
  width: 32.6%;
  padding: 3px;
}

.border {
  border: none;
}	

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Topnav menu aanpassing voor zowel class als ID (#myTopnav) */
.topnav,
#myTopnav {
  overflow: hidden;
  background-color: #1D3557;
  font-weight: normal;
}

.topnav a,
#myTopnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-weight: normal;
}

.active {
  background-color: #457B9D;
  color: white;
}

.responsive {
  max-width: 728px;
  border: 1px solid #000000;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: #f2f2f2;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  font-weight: normal;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2a2a2a;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #457B9D;
  color: white;
}

.dropdown-content a:hover {
  background-color: #1D3557;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.container {
  background-color: #457B9D;
}

.containerkolom {
  background-color: #FFFFFF;
}

/* Titels */
.h1 {
  padding: 4px 5px 5px 5px;
  background: #A8DADC;
  color: #000000;
  font-size: 26px;
  text-align: left;
  font-weight: normal;
}

.h1d {
  margin: 0;
  padding: 4px 5px 5px 5px;
  background: #1D3557;
  color: #f2f2f2;
  font-size: 26px;
  text-align: center;
  font-weight: normal;
}

.h2 {
  padding: 4px 5px 5px 5px;
  margin: 0;
  background: #A8DADC;
  color: #000000;
  font-size: 22px;
  text-align: left;
  font-weight: normal;
}

.h3 {
  padding: 4px 5px 5px 5px;
  margin: 0;
  background: #b7e8ed;
  color: #000000;
  font-size: 18px;
  text-align: left;
  font-weight: normal;
}	

.h4 {
  padding: 4px 5px 5px 5px;
  background-color: #b7e8ed;
  color: #000000;
  font-size: 16px;
  font-family: verdana, sans-serif;
  line-height: 20px;
}
.h5 {
  padding: 4px 5px 5px 5px;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 14px;
  font-family: verdana, sans-serif;
  line-height: 20px;
}

.hright {
  padding: 4px 5px 5px 5px;
  background-color: #F1FAEE;
  color: #000000;
  font-size: 10px;
  text-align: right;
  margin-right: 23%;
  font-family: verdana, sans-serif;
  line-height: 20px;
}	

.button {
  background-color: #A8DADC; 
  border: none;
  color: #000000;
  width: 300px;
  height: 200px;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button2 {
  background-color: #F4D84A;
  color: black; 
  font-weight: bold;
  font-family: Verdana, sans-serif;
  border: none;
}

.button2:hover {
  background-color: #026ddf; 
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.button2 a:hover { 
  background-color: #026ddf; 
  color: white;
}

.button2 a {
  color: #1D3557;	
}

.button2 a:visited {
  color: #457B9D;	
}

.h7 {
  padding: 4px 5px 5px 5px;
  background-color: #1D3557;
  color: #f2f2f2;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
}

.text3 {
  padding: 4px 5px 5px 5px;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 10px;
  font-family: verdana, sans-serif;
  line-height: 14px;
}	

.klein {
  padding: 4px 5px 5px 5px;
  background-color: #BDE1F9;
  color: #000000;
  font-size: 12px;
  font-family: verdana, sans-serif;
  line-height: 20px;
}	

.url {
  padding: 4px 5px 5px 5px;
  background-color: #BDE1F9;
  color: #000000;
  font-size: 10px;
  font-weight: bold;
  font-family: verdana, sans-serif;
  line-height: 20px;
}	

.h6 {
  padding: 4px 5px 5px 5px;
  background-color: #F1FAEE;
  color: #000000;
  font-size: 14px;
  font-weight: bold;
  font-family: verdana, sans-serif;
  text-align: center;
  line-height: 20px;
}	

.hred {
  margin: 0;
  padding: 4px 5px 5px 5px;
  background-color: #F1FAEE;
  color: #FF5050;
}

.hyellow {
  margin: 0;
  padding: 4px 5px 5px 5px;
  background-color: #F4D84A;
  font-weight: bold;
  color: #457B9D;
}	

.h12 {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  font-family: verdana, sans-serif;
  color: #000000;
}

.h14 {
  margin: 0;
  padding: 2px 0 3px 5px;
  background-color: #BDE1F9;
  color: #a0a0a0;
}

.center {
  text-align: center;
}	

.titel {
  font-family: Verdana, sans-serif;
  font-size: 24px;
  text-align: center;
  font-weight: normal;
  color: #e6ecf7;
}

.hrechts {
  margin-top: -30px;
  text-align: right;
}

.banner {
  text-align: center;
}

.kolom1 {
  float: left;
  width: 10%;
  margin-left: 0px;
  margin-top: 0px;	
  text-align: center;
}

.kwaliteits-banner {
  text-align: center;
  background-color: #f8f9fa;
  border-left: 4px solid #0066cc;
  padding: 10px 15px;
  font-family: verdana, sans-serif;
  margin: 15px auto;
  max-width: 800px;
  border-radius: 4px;
}

.kwaliteits-banner p {
  margin: 0;
  font-size: 12px;
  color: #495057;
  line-height: 1.4;
}

.vacature-getuigenis {
  text-align: left;
  background-color: #f8f9fa;
  border-left: 4px solid #0066cc;
  padding: 12px 18px;
  font-family: verdana, sans-serif;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 0 4px 4px 0;
}

.vacature-getuigenis p {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: #495057;
  line-height: 1.5;
  font-style: italic;
}

.vacature-getuigenis .bron {
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: bold;
  color: #0066cc;
  margin-top: 6px;
}

/* --- Container & Uitslagen Tabel Styling (Generiek) --- */
.uitslagen-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

.uitslagen-titel {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.uitslagen-tabel-drie-kolommen {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.uitslagen-tabel-drie-kolommen .rij {
  display: grid;
  grid-template-columns: 15% 42.5% 42.5%;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.uitslagen-tabel-drie-kolommen .rij:last-child {
  border-bottom: none;
}

.uitslagen-tabel-drie-kolommen .rij:nth-child(even):not(.koprij) {
  background-color: #f8fafc;
}

.uitslagen-tabel-drie-kolommen .koprij {
  background-color: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
}

.uitslagen-tabel-drie-kolommen .kolom {
  padding: 12px 16px;
  color: #1e293b;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.cel-jaar {
  font-weight: 700;
  color: #2563eb;
}

.naam {
  font-weight: 500;
  display: inline-block;
}

.tijd {
  font-size: 0.85rem;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
}

/* --- Bestaande Uitslagen Grid (Kaartjes / 4 Kolommen) --- */
.uitslagen-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.grid-header {
  display: none;
}

.grid-row {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease;
}

.col-datum {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 700;
}

.col-wedstrijd {
  font-size: 1.05rem;
  font-weight: normal;
  color: #0f172a;
}

.col-winnaar {
  font-size: 0.95rem;
  color: #334155;
}

.col-winnaar::before {
  content: "Winnaar: ";
  font-weight: normal;
  color: #64748b;
}

.col-link {
  margin-top: 8px;
}

/* Standaard Knop Stijl (Werkt overal op mobiel & desktop) */
.btn-uitslag {
  display: inline-block;
  background-color: #1e40af;
  color: #ffffff !important;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease;
}

.btn-uitslag:hover {
  background-color: #1d4ed8;
}

.quick-redirect-box {
  margin: 20px 0;
  padding: 15px;
  border: 2px solid #1D3557;
  border-left: 6px solid #1D3557;
  background-color: #A8DADC;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-family: verdana, sans-serif;
}

.redirect-text {
  color: #000000;
  font-size: 15px;
  line-height: 22px;
  flex: 1;
  min-width: 250px;
}

.redirect-btn {
  display: inline-block;
  background-color: #1D3557;
  color: #ffffff !important;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.redirect-btn:hover {
  background-color: #2a4d7d;
  transform: translateY(-1px);
}

/* --- 3 kolommen uitslag --- */
.uitslagen-kolom-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 650px;
  margin: 15px auto 25px auto;
  font-family: inherit;
  border: 1px solid #d7e1ea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.uitslagen-kolom-grid .kol-header {
  display: grid;
  grid-template-columns: 50px 1fr 110px;
  align-items: center;
  padding: 10px 16px;
  background-color: #46698a; /* Rustige, niet-felle blauwtint */
  border-bottom: none;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Hoofding-cellen altijd wit, ook al dragen ze de klassen kol-pos/kol-atleet/kol-tijd */
.uitslagen-kolom-grid .kol-header .kol-pos,
.uitslagen-kolom-grid .kol-header .kol-atleet,
.uitslagen-kolom-grid .kol-header .kol-tijd {
  color: #ffffff;
}

.uitslagen-kolom-grid .kol-row {
  display: grid;
  grid-template-columns: 50px 1fr 110px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #e8eef4;
  background-color: #ffffff;
  font-size: 15px;
  color: #1e293b;
}

.uitslagen-kolom-grid .kol-row:nth-child(even) {
  background-color: #f4f7fa;
}

.uitslagen-kolom-grid .kol-row:last-child {
  border-bottom: none;
}

.uitslagen-kolom-grid .kol-pos {
  font-weight: 700;
  color: #2f4e6b; /* Donkerblauw: goed leesbaar, zelfde tintenfamilie */
  text-align: center;
}

.uitslagen-kolom-grid .kol-atleet {
  font-weight: 700;
  text-align: left;
}

.uitslagen-kolom-grid .kol-tijd {
  font-weight: 700;
  color: #2f4e6b;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.uitslagen-kolom-grid .kol-link-container {
  padding: 12px 16px;
  background-color: #f4f7fa;
  border-top: 1px solid #d7e1ea;
  text-align: center;
}

/* Knop/link naar de volledige uitslagen in dezelfde blauwtint */
.uitslagen-kolom-grid .kol-link-container a,
.uitslagen-kolom-grid .kol-link-container button,
.uitslagen-kolom-grid .kol-link {
  display: inline-block;
  padding: 8px 20px;
  background-color: #5d82a5;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.uitslagen-kolom-grid .kol-link-container a:hover,
.uitslagen-kolom-grid .kol-link-container button:hover,
.uitslagen-kolom-grid .kol-link:hover {
  background-color: #3d5d7c;
  color: #ffffff;
}

/* --- Marathon Tabel (3 Kolommen) --- */
.marathon-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.marathon-header {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  gap: 12px;
  padding: 10px 14px;
  background-color: #f8fafc;
  border-radius: 6px;
  font-weight: 700;
  color: #64748b;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.marathon-header div:last-child {
  text-align: right;
}

.marathon-row {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  gap: 12px;
  align-items: center;
  transition: border-color 0.2s ease;
}

.marathon-row:hover {
  border-color: #cbd5e1;
}

.marathon-atleet {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marathon-event {
  font-size: 0.95rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marathon-tijd {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e40af;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
/* --- Tabel (4 Kolommen - zelfde breedte) --- */
.schema-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.schema-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.schema-row:last-child {
  border-bottom: none;
}

/* Eerste rij (header) iets donkerder */
.schema-row.schema-header {
  background-color: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
}

.schema-row:not(.schema-header) {
  background-color: #ffffff;
}

/* Kolom basisstijlen voor desktop */
.schema-kolom-1,
.schema-kolom-2,
.schema-kolom-3,
.schema-kolom-4 {
  padding: 14px 16px;
  box-sizing: border-box;
}

/* Responsief voor smartphones (kaartjesvorm) */
@media (max-width: 768px) {
  .schema-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border: none;
  }

  .schema-row.schema-header {
    display: none; /* Verberg de header op mobiel */
  }

  .schema-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
  }

  .schema-kolom-1,
  .schema-kolom-2,
  .schema-kolom-3,
  .schema-kolom-4 {
    padding: 0;
    width: 100%;
  }

  /* Specifieke typografie per kolom op mobiel overgenomen uit jouw voorbeeld */
  .schema-kolom-1 {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
  }

  .schema-kolom-2 {
    font-size: 1.05rem;
    font-weight: normal;
    color: #0f172a;
  }

  .schema-kolom-3 {
    font-size: 0.95rem;
    color: #334155;
  }

  .schema-kolom-4 {
    margin-top: 8px;
  }
}


/* --- Algemene Stijl Voor Alle Vlaggen --- */
.flag {
  display: inline-block;
  width: 24px;
  height: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

/* Landenvlaggen */
.flag-fr {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><rect width="3" height="6" x="0" fill="%2300209F"/><rect width="3" height="6" x="3" fill="%23FFFFFF"/><rect width="3" height="6" x="6" fill="%23F42A41"/></svg>');
}


/* Landenvlaggen */
/* België */
.flag-be {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 13"><rect width="5" height="13" x="0" fill="%23000000"/><rect width="5" height="13" x="5" fill="%23FFE936"/><rect width="5" height="13" x="10" fill="%23FF0F21"/></svg>');
}

/* Dijbouti */
.flag-dj {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><rect width="9" height="3" fill="%236AB2E7"/><rect width="9" height="3" y="3" fill="%2312AD2B"/><polygon points="0,0 4.5,3 0,6" fill="%23FFFFFF"/><polygon points="1.5,1.8 1.77,2.63 2.64,2.63 1.94,3.14 2.21,3.97 1.5,3.46 0.79,3.97 1.06,3.14 0.36,2.63 1.23,2.63" fill="%23D7141A"/></svg>');
}

/* Burundi */
.flag-bi {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 180"><rect width="300" height="180" fill="%23CE1126"/><polygon points="0,0 300,180 300,0 0,180" fill="%2300853F"/><polygon points="0,0 300,180 300,0 0,180" stroke="%23FFFFFF" stroke-width="36" fill="none"/><circle cx="150" cy="90" r="36" fill="%23FFFFFF"/><circle cx="150" cy="90" r="30" fill="%23CE1126"/><circle cx="150" cy="90" r="26" fill="%23FFFFFF"/><g fill="%23CE1126" stroke="%2300853F" stroke-width="2"><path id="star" d="M150,75 L153.5,83.5 L162,84 L155.5,89.5 L158,98 L150,93.5 L142,98 L144.5,89.5 L138,84 L146.5,83.5 Z"/><use href="%23star" x="0" y="10"/><use href="%23star" x="-10" y="5"/></g></svg>');
}

/* Duitsland */
.flag-de {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><rect width="9" height="2" y="0" fill="%23000000"/><rect width="9" height="2" y="2" fill="%23DD0000"/><rect width="9" height="2" y="4" fill="%23FFCE00"/></svg>');
}

/* Eritrea */
.flag-er {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 60"><rect width="120" height="30" fill="%23078930"/><rect y="30" width="120" height="30" fill="%23012169"/><path d="M0,0 L120,30 L0,60 Z" fill="%23EA0437"/><circle cx="36" cy="30" r="10.5" fill="none" stroke="%23FCD116" stroke-width="1.6"/><g fill="%23FCD116"><rect x="35.5" y="23" width="1" height="14" rx="0.5"/><ellipse cx="33" cy="33" rx="2.6" ry="1.1" transform="rotate(-35 33 33)"/><ellipse cx="39" cy="33" rx="2.6" ry="1.1" transform="rotate(35 39 33)"/><ellipse cx="32.6" cy="29.5" rx="2.6" ry="1.1" transform="rotate(-35 32.6 29.5)"/><ellipse cx="39.4" cy="29.5" rx="2.6" ry="1.1" transform="rotate(35 39.4 29.5)"/><ellipse cx="33.2" cy="26" rx="2.4" ry="1" transform="rotate(-35 33.2 26)"/><ellipse cx="38.8" cy="26" rx="2.4" ry="1" transform="rotate(35 38.8 26)"/><ellipse cx="36" cy="23" rx="1.4" ry="2"/></g></svg>');
}

/* Ethiopië */
.flag-et {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 45"><rect width="90" height="15" y="0" fill="%23009A44"/><rect width="90" height="15" y="15" fill="%23FED100"/><rect width="90" height="15" y="30" fill="%23E21118"/><circle cx="45" cy="22.5" r="11" fill="%230033A0"/><g stroke="%23FED100" stroke-width="0.8" stroke-linecap="round"><line x1="45" y1="11.5" x2="45" y2="33.5"/><line x1="34" y1="19" x2="56" y2="26"/><line x1="56" y1="19" x2="34" y2="26"/><line x1="38" y1="31.5" x2="52" y2="13.5"/><line x1="52" y1="31.5" x2="38" y2="13.5"/></g><polygon points="45,13.5 47.7,20.2 55,20.2 49.1,24.3 51.4,31 45,26.8 38.6,31 40.9,24.3 35,20.2 42.3,20.2" fill="none" stroke="%23FED100" stroke-width="1.2" stroke-linejoin="round"/></svg>');
}

/* Frankrijk */
.flag-fr {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><rect width="3" height="6" x="0" fill="%2300209F"/><rect width="3" height="6" x="3" fill="%23FFFFFF"/><rect width="3" height="6" x="6" fill="%23F42A41"/></svg>');
}

/* Hongarije */
.flag-hu {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><rect width="90" height="20" y="0" fill="%23CE2939"/><rect width="90" height="20" y="20" fill="%23FFFFFF"/><rect width="90" height="20" y="40" fill="%23477050"/></svg>');
}

/* Italië */
.flag-it {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><rect width="3" height="6" x="0" fill="%23009246"/><rect width="3" height="6" x="3" fill="%23FFFFFF"/><rect width="3" height="6" x="6" fill="%23CE2B37"/></svg>');
}

/* Kenia */
.flag-ke {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><rect width="90" height="18" y="0" fill="%23000000"/><rect width="90" height="3" y="18" fill="%23FFFFFF"/><rect width="90" height="18" y="21" fill="%23BB0000"/><rect width="90" height="3" y="39" fill="%23FFFFFF"/><rect width="90" height="18" y="42" fill="%23006600"/><g stroke="%23FFFFFF" stroke-width="1.5" stroke-linecap="round"><line x1="30" y1="52" x2="60" y2="8"/><line x1="60" y1="52" x2="30" y2="8"/></g><path d="M 45,10 C 33,22 33,38 45,50 C 57,38 57,22 45,10 Z" fill="%23BB0000" stroke="%23000000" stroke-width="1"/><path d="M 45,12 C 40,24 40,36 45,48 Z" fill="%23000000"/><path d="M 45,12 C 50,24 50,36 45,48 Z" fill="%23000000"/><ellipse cx="45" cy="30" rx="2" ry="18" fill="%23FFFFFF"/><circle cx="45" cy="30" r="3" fill="%23BB0000"/></svg>');
}

/* Nederland */
.flag-nl {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><rect width="9" height="2" y="0" fill="%23AE1C28"/><rect width="9" height="2" y="2" fill="%23FFFFFF"/><rect width="9" height="2" y="4" fill="%2321468B"/></svg>');
}
/* Oeganda */
.flag-ug {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><rect width="90" height="10" y="0" fill="%23000000"/><rect width="90" height="10" y="10" fill="%23FCD116"/><rect width="90" height="10" y="20" fill="%23D21034"/><rect width="90" height="10" y="30" fill="%23000000"/><rect width="90" height="10" y="40" fill="%23FCD116"/><rect width="90" height="10" y="50" fill="%23D21034"/><circle cx="45" cy="30" r="12" fill="%23FFFFFF"/><g fill="%23000000"><path d="M 45,21 C 43,23 43,26 45,28 C 47,26 47,23 45,21 Z"/><path d="M 45,28 C 41,31 40,36 43,39 C 45,37 46,33 45,28 Z"/><path d="M 43,39 C 45,40 47,38 46,35 L 43,39 Z"/></g><polygon points="46,35 48,37 45,39" fill="%23D21034"/><path d="M 44,38 L 44,41 L 46,41 L 46,38 Z" fill="%23FCD116"/><path d="M 43,41 L 42,44 L 44,44 L 44,41 Z" fill="%23000000"/><path d="M 46,41 L 46,44 L 48,44 L 47,41 Z" fill="%23000000"/></svg>');
}
/* Spanje */
.flag-es {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><rect width="9" height="1.5" y="0" fill="%23AA151B"/><rect width="9" height="3" y="1.5" fill="%23F1BF00"/><rect width="9" height="1.5" y="4.5" fill="%23AA151B"/></svg>');
}

/* Tanzania */
.flag-tz {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><rect width="90" height="60" fill="%231EB53A"/><path d="M 0,60 L 90,0 L 90,60 Z" fill="%2300A3E0"/><path d="M 0,60 L 90,0" stroke="%23FCD116" stroke-width="28"/><path d="M 0,60 L 90,0" stroke="%23000000" stroke-width="18"/></svg>');
}

/* Tsjechië */
.flag-cz {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><rect width="9" height="3" y="0" fill="%23FFFFFF"/><rect width="9" height="3" y="3" fill="%23D7141A"/><polygon points="0,0 4.5,3 0,6" fill="%2311457E"/></svg>');
}


/* Verenigd Koninkrijk */
.flag-gb {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><clipPath id="s"><path d="M0,0 v30 h60 v-30 z"/></clipPath><clipPath id="g"><path d="M0,0 L60,30 M60,0 L0,30"/></clipPath><rect width="60" height="30" fill="%23012169"/><path d="M0,0 L60,30 M60,0 L0,30" stroke="%23FFFFFF" stroke-width="6"/><path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(%23g)" stroke="%23C8102E" stroke-width="2"/><path d="M30,0 v30 M0,15 h60" stroke="%23FFFFFF" stroke-width="10"/><path d="M30,0 v30 M0,15 h60" stroke="%23C8102E" stroke-width="6"/></svg>');
}

/* Verenigde Staten */
.flag-us {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19 10"><rect width="19" height="10" fill="%23B22234"/><path d="M0,1h19M0,3h19M0,5h19M0,7h19M0,9h19" stroke="%23FFFFFF" stroke-width="1"/><rect width="7.6" height="5.38" fill="%233C3B6E"/></svg>');
}

/* Zwitserland */

.flag-ch {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" fill="%23FF0000"/><path d="M13 6 h6 v7 h7 v6 h-7 v7 h-6 v-7 h-7 v-6 h7 z" fill="%23FFFFFF"/></svg>');
}



/* --- Media Queries --- */

/* MOBIEL: Schermen t/m 600px */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child),
  #myTopnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon,
  #myTopnav a.icon {
    float: right;
    display: block;
  }
  .topnav.responsive,
  #myTopnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon,
  #myTopnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a,
  #myTopnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown,
  #myTopnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content,
  #myTopnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn,
  #myTopnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  .column {
    width: 98%;
  }
  .uitslagen-tabel-drie-kolommen .kolom {
    padding: 10px 8px;
  }
  .naam {
    display: block;
    margin-bottom: 2px;
  }
  .tijd {
    display: inline-block;
    margin-left: 0;
  }

  /* Marathon Grid Mobiel */
  .marathon-header {
    display: none;
  }
  .marathon-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px;
  }
  .marathon-tijd {
    text-align: left;
    margin-top: 4px;
  }
}

/* DESKTOP UITSLAGEN GRID: Vanaf 601px */
@media screen and (min-width: 601px) {
  .uitslagen-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
  }

  .grid-header {
    display: grid !important;
    background-color: #f8fafc;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
  }

  .grid-row {
    display: grid;
    grid-template-columns: 90px 1.5fr 1.5fr 140px;
    align-items: center;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    padding: 12px 16px;
  }

  .grid-row:hover {
    background-color: #f8fafc;
  }

  .grid-row:last-child {
    border-bottom: none;
  }

  .col-winnaar::before {
    content: "";
  }

  .col-link {
    margin-top: 0;
    text-align: right;
  }

  /* SPECIFIEK GEMAAKT: Verandert ALLEEN .btn-uitslag binnen .uitslagen-grid op desktop naar een inline link */
  .uitslagen-grid .btn-uitslag {
    background: transparent;
    color: #1e40af !important;
    padding: 0;
    text-decoration: underline;
    font-weight: 600;
  }

  .uitslagen-grid .btn-uitslag:hover {
    background: transparent;
    color: #1d4ed8 !important;
  }
}

/* LAYOUT BREEDTES (RESPONSIVE CONTAINER) */
@media screen and (min-width: 601px) {
  body {
    width: 90%;
    margin: auto;
  }
}

@media screen and (min-width: 768px) {
  body {
    width: 80%;
    margin: auto;
  }
}

@media screen and (min-width: 992px) {
  body {
    width: 70%;
    margin: auto;
  }
}

@media screen and (min-width: 1200px) {
  body {
    width: 60%;
    margin: auto;
  }
}