/* Achtergrond en sectie */
.kids-questions {
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, #fe9450, #fed36b);
  color: #000;
}

.kids-questions__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 2rem;
}

/* Layout grid */
.kids-questions__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Card container */
.kids-card {
    background-color: #fff9e7;
    border-radius: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 3px solid #ffc300;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.kids-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Afbeelding */
.kids-card__image img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #ffd966;
  border-top: 1px solid #ffd966;
}

/* Tekstgedeelte */
.kids-card__content {
  padding: 1.5rem;
}

.kids-card__question {
  font-family: "Comic Sans MS", "Fredoka", sans-serif;
  font-size: 1.4rem;
  color: #000;
  margin-bottom: 0.3rem;
  padding: 1rem;
}

.kids-card__author {
  font-style: italic;
  font-size: 0.95rem;
  color: #333;
  padding: 1rem;

}

.kids-card__answer {
  line-height: 1.6;
  color: #000;
  font-size: 1rem;
  padding: 1rem;
  font-family: Arial, Helvetica, sans-serif;

}

.kids-card__link {
  margin-top: 1rem;
  margin-inline: 1rem;
  text-align: center;
}

.kids-card a {
  color: #000;
  font-weight: bold;
}

/* Extra vrolijke hover-animatie */
.kids-card:hover .kids-card__question {
  color: #fe9450;
}


.kids-drawings {
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, #ffc300, #fff9e7);
  text-align: center;
  color: #000;
}

.kids-drawings__title {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #000;
}

/* Grid */
.kids-drawings__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-items: center;
}

.kids-drawing {
  background-color: #fff9e7;
  border: 3px solid #fed36b;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.kids-drawing:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.kids-drawing img {
  width: 100%;
  height: auto;
  display: block;
}

.kids-drawing figcaption {
  padding: 0.8rem;
  font-size: 1rem;
  font-family: "Comic Sans MS", "Fredoka", sans-serif;
  background-color: #fed36b;
  color: #000;
  font-weight: 500;
  height: 100%;
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem;
}

.lightbox__image {
  max-width: 90%;
  max-height: 80vh;
  border: 5px solid #fed36b;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 195, 0, 0.5);
}

.lightbox__caption {
  margin-top: 1rem;
  color: #fff;
  font-size: 1.1rem;
  max-width: 80%;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fed36b;
  font-size: 2.5rem;
  font-weight: bold;
  /* cursor: pointer; */
  transition: color 0.2s ease;
}

.lightbox__close:hover {
  color: #fff;
}
