/* ==============================
   Droogtrain.nl algemene tabellen
   ============================== */

.vergelijking-tabel {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
}

.vergelijking-tabel table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  font-size: 15px;
}

.vergelijking-tabel th {
  background: #111111;
  color: #ffffff;
  text-align: left;
  padding: 16px;
  font-weight: 700;
}

.vergelijking-tabel td {
  padding: 15px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}

.vergelijking-tabel tr:nth-child(even) {
  background: #f7f7f7;
}

.vergelijking-tabel tr:hover {
  background: #f1f1f1;
}

.vergelijking-tabel strong {
  color: #111111;
}

@media screen and (max-width: 768px) {
  .vergelijking-tabel table {
    font-size: 14px;
    min-width: 850px;
  }
}


/* ==============================
   Droogtrain.nl productblokken
   ============================== */

.wp-block-columns {
  align-items: stretch !important;
}

.wp-block-columns > .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
}

.wp-block-column .wp-block-image {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.wp-block-column .wp-block-image img {
  max-height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.wp-block-column > p,
.wp-block-column .wp-block-paragraph {
  margin-bottom: 16px;
}

.wp-block-column .wp-block-buttons {
  margin-top: auto !important;
  display: flex !important;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.wp-block-column .wp-block-button {
  margin-bottom: 0 !important;
}

.wp-block-column .wp-block-button__link {
  text-align: center;
  min-width: 135px;
}


/* ==============================
   Droogtrain.nl product grid
   Voor categorie- en vergelijkingspagina's
   ============================== */

.dt-product-grid {
  align-items: stretch;
  margin-bottom: 32px;
}

.dt-product-grid .wp-block-column {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #ffffff;
}

.dt-product-grid .wp-block-heading {
  margin-top: 0;
  min-height: 58px;
}

.dt-product-grid .wp-block-image {
  text-align: center;
  margin-bottom: 18px;
}

.dt-product-grid .wp-block-image img {
  max-height: 260px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.dt-product-grid p {
  flex-grow: 1;
}

.dt-product-grid .wp-block-buttons {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dt-product-grid .wp-block-button {
  flex: 1 1 160px;
}

.dt-product-grid .wp-block-button__link {
  width: 100%;
  text-align: center;
}

@media screen and (min-width: 782px) {
  .dt-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .dt-product-grid > .wp-block-column {
    margin-left: 0 !important;
  }
}

@media screen and (max-width: 781px) {
  .dt-product-grid {
    display: block;
  }

  .dt-product-grid .wp-block-column {
    margin-bottom: 22px;
  }
}


/* ==============================
   Droogtrain.nl informatieblokken
   ============================== */

.dt-highlight-box {
  border: 1px solid #e2e2e2;
  border-left: 5px solid #111111;
  background: #fafafa;
  padding: 16px 18px;
  border-radius: 10px;
  margin: 22px 0;
}

.dt-highlight-box p {
  margin-top: 0;
  margin-bottom: 0;
}

.dt-info-box {
  border: 1px solid #e5e5e5;
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  margin: 24px 0;
}

.dt-info-box h3 {
  margin-top: 0;
}

.dt-info-box p:last-child {
  margin-bottom: 0;
}


/* ==============================
   Droogtrain.nl CTA knoppen
   ============================== */

.dt-home-cta {
  margin-top: 18px;
  margin-bottom: 26px;
}

.dt-home-cta .wp-block-button__link {
  text-align: center;
}


/* ==============================
   Droogtrain.nl scheidingslijnen
   ============================== */

.wp-block-separator {
  margin-top: 32px;
  margin-bottom: 32px;
}