/* ======================== */
/* === Basis & Layout === */
/* ======================== */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f3f4f6;
  margin-top: 60px !important;
}

main {
  flex: 1;
  margin-top: 15px !important;
  margin-bottom: 30px !important;
}

footer {
  margin-top: auto;
}

/* ================= */
/* === Navigatie === */
/* ================= */

.navbar-brand {
  color: #dc3545 !important;
}

.navbar-nav .nav-link.active {
  color: #dc3545 !important;
  font-weight: 600;
}

.navbar-nav .nav-link:hover {
  color: #dc3545 !important;
}

/* =============== */
/* === Buttons === */
/* =============== */

.btn-primary {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-primary:hover {
  background-color: #bb2d3b;
  border-color: #bb2d3b;
}

/*TODO Edit en verwijder buttons -> 1 generieke stijl*/

.btn-outline-primary {
  color: #dc3545;
  border-color: #dc3545;
}

.btn-outline-primary:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}


/* ====================== */
/* === Nieuws preview === */
/* ====================== */

.news-preview {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 220px;
  height: 250px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
}


.text-section {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f8f9fa;
}

/* Tekstafsnijding in de preview */
.text-section .description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.3rem;
  color: #555;
}

/* Afbeelding rechts */
.news-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f0f0f0;
  padding: 0.5rem;
}

/* ============== */
/* === Andere === */
/* ============== */


/* Algemene H2 titels in main */
main h2 {
    color: #212529;
    font-weight: 600;
}

/* Empty state styling */
.alert-info h4 {
  color: #0c5460;
}



.separator-line {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.separator-line img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  pointer-events: none;
}
