/* =====================================
   Tegel: vaste vierkante hoogte/breedte
   ===================================== */
.pt-cv-content-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 400px;
  width: 100%; /* laat grid bepalen kolombreedte */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* =====================================
   Afbeeldingvak — vierkant beeldgebied
   ===================================== */
.pt-cv-thumb-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* maakt dit vlak vierkant */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* =====================================
   Afbeelding: past perfect in vierkant
   ===================================== */
.pt-cv-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain; /* zorgt dat niets afgesneden wordt */
  display: block;
  margin: 0;
}

/* =====================================
   Titel onder afbeelding
   ===================================== */
.pt-cv-title {
  font-weight: bold;
  font-size: 18px;
  color: #333;
  line-height: 1.4;
  margin: 0;
  padding-top: 10px;
  flex-shrink: 0;
}

.pt-cv-title a {
  color: inherit;
  text-decoration: none;
}

.pt-cv-title a:hover {
  text-decoration: underline;
  color: #0073aa;
}

/* ==========================
   Responsive Gedrag Mobiel
   ========================== */
@media (max-width: 768px) {
  .pt-cv-content-item {
    height: auto;
    padding: 15px;
  }

  .pt-cv-thumb-wrapper {
    aspect-ratio: auto;
    height: auto;
    padding: 10px 0;
  }

  .pt-cv-thumbnail {
    width: 100%;
    height: auto;
  }
}

/* Footer-menu tekstkleur forceren bij hover */
.fusion-footer .awb-menu__main-li:hover .menu-text,
.fusion-footer .awb-menu__main-a:hover .menu-text,
.fusion-footer .awb-menu__main-li.awb-menu__main-li_active .menu-text,
.fusion-footer .awb-menu__main-li.current-menu-item .menu-text {
    color: #019ade !important;
}

