/* ===================================================================
   SECTIE: LOCATIES & PARTNERS
   =================================================================== */
.city-location-section,
.location-intro  {
  margin-bottom: 6rem;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 4rem;
}
@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.location-card,
.badge-card {
  background-color: var(--clr-white);
  border-radius: var(--radius-std);
  border: 1px solid #e6e9ed;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

a.location-card:hover,
a.badge-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.location-card__image img,
.badge-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.location-card__content,
.badge-card__content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.location-card__title,
.badge-card__title {
  font-size: 32px;
  margin-bottom: 4px;
  line-height: 1;
  margin-top: 20px;
  color: var(--clr-med-blue);
}

.badge-card__content p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.location-card__address {
  font-style: normal;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.location-card__address a:hover {
  text-decoration: underline;
}

.location-card__features {
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #495057;
}

.feature-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #0d6efd;
}

.location-card__actions {
  margin-top: auto;
  padding-top: 12px;
}

/* Partner Lijst Styling */
.partner-card--list .location-card__title {
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}
.partner-location-list {
  padding: 0;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.partner-location-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
  flex-grow: 1;
}
.partner-location-item:last-child {
  border-bottom: none;
}
.partner-location-item__info {
  flex-grow: 1;
}
.partner-location-item__info strong {
  display: block;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--clr-med-blue);
}
.partner-location-item__info span {
  font-size: 0.9rem;
  color: #6c757d;
}
.partner-location-item__link {
  display: inline-flex;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--clr-med-blue);
  color: var(--clr-med-blue);
  border-radius: var(--radius-btn);
}
.partner-location-item__link:hover {
  background-color: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-white);
}

.opening-hours-card {
  margin: 0px 0 30px 0;
}

.state {
    background: rgb(255 255 255 / 50%);
    display: inline;
    padding: 6px 16px 8px;
    border-radius: 20px;
}

/* Stijlen voor de statussen */
.status-closed {
  color: #d05314;
  font-weight: bold;
  background: #ffebee;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
}

.note {
  font-style: italic;
  font-size: 15px;
  width: 100%;
  flex-basis: 100%;
}

.card-status-overlay {
  padding: 8px 0;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  margin: 16px 0;
}

/* --- BASIS BADGE STIJL --- */
.status-badge span {
  display: inline-flex; /* Zorgt dat bolletje en tekst netjes uitlijnen */
  align-items: center;
  padding: 6px 0;
  font-weight: 700;
  line-height: 1;
}

/* --- HET BOLLETJE (::before) --- */
.status-badge span::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%; /* Maakt het rond */
  margin-right: 8px; /* Afstand tot de tekst */
  background-color: currentColor; /* Neemt automatisch de tekstkleur aan! */
  flex-shrink: 0;
}

/* --- KLEUREN --- */

/* OPEN (Groen) */
.badge-open {
  color: #14d055;
}

/* DICHT (Rood/Grijs) */
.badge-closed {
  color: #d05314;
}


.location-header {
  display: flex;
  flex-direction: column;
}

.location-header h1 {
  margin-bottom: 1rem;
}

/* De Container voor de Hero */
.location-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 6rem auto;
}

/* --- HET GRID (De Magie) --- */
.gallery-grid {
  display: grid;
  /* We maken een grid van 4 kolommen breed en 2 rijen hoog */
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 250px 250px; /* Hoogte bepalen */
  gap: 6px; /* De ruimte tussen de foto's */
  border-radius: 20px; /* Mooie ronde hoeken voor het geheel */
  overflow: hidden; /* Zorgt dat plaatjes niet buiten de ronde hoeken steken */
  margin-bottom: 30px;
}

/* Algemene stijl voor elk plaatje */
.gallery-item {
  position: relative;
  /* cursor: pointer; */
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Zorgt dat de foto het vakje vult zonder uitrekken */
  transition: transform 0.3s ease;
}

/* Hover effect: licht inzoomen */
.gallery-item:hover img {
  transform: scale(1.05);
}

/* --- DE GROTE FOTO (Links) --- */
/* De 1e foto pakt de eerste 2 kolommen én de eerste 2 rijen */
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

/* --- DE OVERIGE 4 FOTO'S (Rechts) --- */
/* Die vullen automatisch de overgebleven gaatjes van 1x1 */

/* Knopje 'Bekijk alle foto's' op de laatste foto (optioneel leuk detail) */
.view-all-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none; /* Zodat je door de knop heen op de foto klikt */
}

/* --- MOBIEL (Kleine schermen) --- */
@media (max-width: 768px) {
  .gallery-grid {
    /* Grid uitzetten, Flexbox aanzetten */
    display: flex;
    /* Zorgen dat het horizontaal scrollt */
    overflow-x: auto;
    /* Scroll Snap: het 'kleeft' aan de foto's */
    scroll-snap-type: x mandatory;
    height: 300px; /* Vaste hoogte voor mobiel */
    grid-template-rows: unset; /* Resetten */
    gap: 10px;
  }

  .gallery-item {
    /* Elke foto is bijna zo breed als het scherm */
    min-width: 90%;
    scroll-snap-align: center; /* Foto centreert bij scrollen */
    border-radius: 8px;
  }

  /* Resetten van de grid-span logica op mobiel */
  .gallery-item:nth-child(1) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Scrollbalk verbergen (voor netheid) */
  .gallery-grid::-webkit-scrollbar {
    display: none;
  }
}

/* --- De Lijst --- */
.details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}

.detail-item {
  display: flex; /* Zet label en value naast elkaar */
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Mobiel: op kleine schermen onder elkaar */
@media (max-width: 500px) {
  .detail-item {
    flex-direction: column;
    gap: 5px;
  }
}

/* --- Label & Value --- */
.label {
  font-weight: bold;
  min-width: 160px;
}

.value {
  flex: 1;
}

.value a {
  text-decoration: none;
}
.value a:hover {
  text-decoration: underline;
}

/* --- Het Openingstijden Lijstje --- */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between; /* Duwt dag naar links, tijd naar rechts */
  margin-bottom: 4px;
}

/* De class voor VANDAAG */
.hours-list li.is-today {
  font-weight: bold;
}

.location-section {
  padding-block: 6rem;
  background: var(--clr-white);
}

/* Container van de dropdown */
.exceptions-dropdown {
  overflow: hidden;
}

/* De 'Knop' (altijd zichtbaar) */
.exceptions-summary {
  padding: 0 0 16px 0;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

/* Verbergt standaard driehoekje in Chrome/Safari */
.exceptions-summary::-webkit-details-marker {
  display: none;
}

.dropdown-icon {
  width: 24px;
  height: 24px;
  color: #fff;
  transition: transform 0.3s ease;
}

.bg-blue .dropdown-icon {
  color: #333;
}

.exceptions-dropdown[open] .dropdown-icon {
  transform: rotate(180deg);
}

.exceptions-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.exceptions-list li {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 10px;
}

.exceptions-list li:last-child {
  border-bottom: none;
}

/* ===================================================================
