/* CSS file for tps */
/* General
--------------------------------------------------------------*/
body {
  background: #fff;
  color: #2e3192;
  font-family: "Open Sans", sans-serif;
  font-size: 100%;
}

.tps-mainbox {
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

p {
  margin: auto;
  padding-top: 15px;
  color: #2e3192;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}

.tps-center {
  text-align: center;
  color: #2e3192;
  font-family: "Open Sans", sans-serif;	
  font-size: 75%;
}
 
h1 {
  color: #2e3192;
  font-family: "Open Sans", sans-serif; 
  font-size: 125%;
  font-weight: bold; /* Gecorrigeerd */
}

.half-box a { /* Gecorrigeerd (streepje toegevoegd) */
display: block; /* Maakt de link een eigen blok op een nieuwe regel */
  margin-top: 15px; /* Geeft wat ademruimte boven het logo */
}

.half-box img {
width: 150px; /* Of een vaste breedte zoals max-width: 200px; */
  height: auto;
  display: block;
  margin: 0 auto; /* Duwt de afbeelding strak naar het midden */
}

/* Algemene instellingen */
.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* RIJ 1: Drie boxen naast elkaar */
.row-1 {
  display: flex;
  flex-wrap: wrap; 
  gap: 15px;
  justify-content: center;
  padding-top: 15px;
}

.box-400 {
  flex: 1 1 300px;
  max-width: 400px;
  min-width: 250px;
  color: #2e3192;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.box-400 img {
  width: 100%;
  height: auto;
  display: block;
}

/* RIJ 2: De complexe box over de volle breedte */
.row-2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #f3f3f9;
  padding-bottom: 15px;
}

.inner-full {
  min-height: 50px; /* Gecorrigeerd voor mobiel */
  height: auto;     /* Gecorrigeerd voor mobiel */
  color: #2e3192;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Open Sans", sans-serif; 
  padding: 15px; /* Gewijzigd zodat tekst randen niet raakt op mobiel */
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.5;
}

.inner-split-container {
display: flex;
  flex-wrap: wrap; 
  gap: 15px;
  align-items: stretch; /* DIT maakt de borders/boxen even hoog */
}

.half-box {
flex: 1 1 45%; 
  min-width: 280px; 
  color: #2e3192;
  border: 1px solid white;
  padding: 20px;
  
  /* DE OPLOSSING 1: Standaard block zorgt dat tekst bovenaan begint */
  display: block; 
  
  /* DE OPLOSSING 2: Centreert alle tekst in de box */
  text-align: center;
}

.half-box .content {
  flex-grow: 0;
  display: block; 
}

/* Mobile fix: op hele kleine schermen mag de 400px box ook kleiner */
@media (max-width: 420px) {
  .box-400 {
    max-width: 100%;
  }
}

/* DE MOBIELE FIX */
@media (max-width: 768px) {
  .half-box {
    flex: 1 1 100%; 
  }
  .inner-full p {
  margin: 0;
  padding: 0;
}
}