/* XPRO Portfolio – basislayout projectpagina
   -------------------------------------------------- */
.xpro-portfolio-page.xpro-project-page {
  max-width: 980px;      /* Totale breedte van de projectpagina */
  margin: 0 auto;        /* Centreert de hele pagina */
  padding: 40px 20px 48px;
  font-size: 15px;
  line-height: 1.6;
  /* TEST: als je dit ziet is CSS zeker actief */
  /* border: 3px solid red;  <- kun je aanzetten om te testen */
}

.xpro-portfolio-page.xpro-project-page {
  /* ... */
  border: 3px solid red;
}

/* Titel */
.xpro-project-header {
  margin-bottom: 20px;
}

.xpro-project-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

/* HOOFDBLOK: foto links – info rechts
   -------------------------------------------------- */

.xpro-project-main {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 32px;
}

/* Foto links */
.xpro-project-image {
  flex: 1 1 60%;
  min-width: 0;
  display: flex;               /* centreert de foto binnen de kolom */
  justify-content: center;
}

/* FOTO: HARD limiet op maximale breedte */
.xpro-project-image img {
  display: block;
  max-width: 640px;            /* HIER maak je hem echt kleiner */
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Info / projectinformatie rechts */
.xpro-project-sidebar {
  flex: 1 1 32%;
  min-width: 260px;
  background: #ffffff;
  border-top: 4px solid #3471AD;
  border-radius: 4px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.xpro-project-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333333;
}

/* Definition list voor projectinfo */
.xpro-project-info-list {
  margin: 0;
}

.xpro-project-info-list dt {
  font-weight: 600;
  color: #555555;
  margin-top: 6px;
}

.xpro-project-info-list dd {
  margin: 0 0 6px;
  color: #222222;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 4px;
}

.xpro-project-info-list dd:last-of-type {
  border-bottom: none;
}

/* Secties onder het hoofdblok
   -------------------------------------------------- */

.xpro-project-section {
  margin-bottom: 32px;
}

/* Titel met blauwe lijn eronder */
.xpro-project-section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 4px;
  border-bottom: 3px solid #3471AD;
}

/* Omschrijvingstekst */
.xpro-project-description p {
  margin: 0 0 10px;
}

/* PRODUCTEN GRID
   -------------------------------------------------- */

.xpro-project-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.xpro-project-product-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.xpro-project-product-image {
  padding: 12px 12px 0;
}

.xpro-project-product-image img {
  display: block;
  width: 100%;
  height: auto;
}

.xpro-project-product-body {
  padding: 12px 14px 14px;
}

.xpro-project-product-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.xpro-project-product-title a {
  color: #3471AD;
  text-decoration: none;
}

.xpro-project-product-title a:hover {
  text-decoration: underline;
}

/* Responsive
   -------------------------------------------------- */

@media (max-width: 991px) {
  .xpro-project-main {
    flex-direction: column;
  }

  .xpro-project-sidebar {
    min-width: 0;
  }

  .xpro-project-image img {
    max-width: 100%;   /* op tablet/mobiel gewoon volle breedte van de kolom */
  }
}

@media (max-width: 575px) {
  .xpro-portfolio-page.xpro-project-page {
    padding: 20px 15px 32px;
  }

  .xpro-project-title {
    font-size: 24px;
  }
}
.xpro-project-back{
margin:10px 0 20px 0;
}

.xpro-project-back .btn{
font-size:14px;
padding:6px 16px;
}