.card {
    border: 0px !important;
}

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 0;
  width: 100%;
}

.scroll-container a {
  min-width: 22%; /* past 4 in beeld met ruimte */
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.scroll-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
}

.scroll-btn.left {
  position: absolute;
  left: 0;
}

.scroll-btn.right {
  position: absolute;
  right: 0;
}

.images {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.images::-webkit-scrollbar {
  display: none;
}

.images a {
  flex: 0 0 calc(25% - 20px); /* 4 naast elkaar */
  text-decoration: none;
  color: inherit;
  position: relative;
}

.images .image {
  height: 250px; /* zelfde hoogte als origineel */
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.images {
  display: flex;
  gap: 0px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.images::-webkit-scrollbar {
  display: none;
}

.images a {
  flex: 0 0 calc(25% - 20px);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.images .image {
  height: 250px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.images .text p,
.images .text h3 {
  width: 100%;
  margin: 0;
}


.images .text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: white;
  text-shadow: 0 0 6px black;
  pointer-events: none;

  /* reset mogelijke erfenissen */
  box-sizing: border-box;

}



/* Scroll arrows */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0 10px;
  cursor: pointer;
  z-index: 5;
}

.scroll-arrow.left {
  left: 0;
}

.scroll-arrow.right {
  right: 0;
}

.kampioenen {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 500px;
  height: 281px; /* 16:9 verhouding op 500px breedte */
  flex-shrink: 0; /* voorkom dat hij mee krimpt in een flex container */
}

@media (min-width: 1000px) {
  .kampioenen {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

.album-card .photo-count-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 10px;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.album-card:hover .photo-count-overlay {
  opacity: 1;
}

.album-thumbnail {
  transition: transform 0.3s ease;
}

.album-card:hover .album-thumbnail {
  transform: scale(1.02);
}


.album-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  z-index: 2;
}

.album-card:hover .album-hover-overlay {
  opacity: 1;
}

.album-thumbnail {
  transition: transform 0.3s ease;
}

.album-card:hover .album-thumbnail {
  transform: scale(1.02);
}


.nav-mobile {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: black;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  padding: 1rem 0;
  will-change: transform;
  visibility: hidden;
  pointer-events: none;
}

.nav-mobile.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-mobile ul li {
  padding: 0.5rem 0;
}

.nav-mobile ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

@supports not (backdrop-filter: blur(10px)) {
  .nav-mobile {
    background-color: rgba(0, 0, 0, 0.85);
  }
}

.news-thumbnail {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.3rem;
}

.news-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-image img {
  object-fit: cover;
  height: 240px;
}

.admin-toolbar {
  border-top: 1px solid #dee2e6;
  background: #f8f9fa;
  padding: 0.5rem 1rem;
}

.grayscale {
  filter: grayscale(100%) brightness(85%);
}

.news-image {
  position: relative;
  overflow: hidden;
}

.news-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-image.always-dark .overlay {
  opacity: 1;
}

.news-image:hover .overlay {
  opacity: 1;
}

.news-image.always-dark img {
  filter: grayscale(100%) brightness(70%);
}

.eye-toggle {
  font-size: 1.2rem;
  border-radius: 50%;
}


/* Tabellen styling */
.sorteerbare-tabel th {
  cursor: pointer;
}

.sorteerbare-tabel th:hover {
  background-color: #f8f9fa;
}
