/* Page-specific additions to the shared services layout. */
.page-opleiding .intro-offer-hero-image {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.opleiding-gallery .keynote-gallery-item img {
  aspect-ratio: 1;
}

.opleiding-learning-copy {
  max-width: 900px;
}

.opleiding-materialen-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.opleiding-materialen-beeld {
  min-width: 0;
  width: 65%;
  max-width: 340px;
  justify-self: center;
  margin: 0;
}

.opleiding-materialen-beeld img {
  display: block;
  width: 100%;
  height: auto;
}

.opleiding-materialen-copy {
  min-width: 0;
}

.opleiding-materialen-copy .keynote-outcomes {
  gap: 14px;
}

.page-opleiding .keynote-outcomes li::marker {
  color: currentColor;
}

.opleiding-academie-title img {
  display: block;
  width: 330px;
  max-width: 100%;
  height: auto;
}

.page-opleiding #academie .over-kerndoelen-text p {
  color: #4b5563;
}

@media (max-width: 859px) {
  .opleiding-materialen-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .opleiding-materialen-beeld {
    max-width: 340px;
  }
}

.page-opleiding .opleiding-section-intro {
  max-width: 780px;
  margin-bottom: 30px;
}

.page-opleiding .opleiding-section-intro p,
.page-opleiding .opleiding-faq-item p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.75;
}

.opleiding-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}

.page-opleiding .opleiding-topic {
  grid-template-columns: 30px minmax(0, 1fr);
  align-content: start;
  column-gap: 12px;
  padding: 20px 0 0;
  border-bottom: 0;
  border-top: 3px solid #b6d5fa;
}

.page-opleiding .opleiding-topic:nth-child(3n + 2) {
  border-top-color: #9edfc9;
}

.page-opleiding .opleiding-topic:nth-child(3n) {
  border-top-color: #ceb2f7;
}

.page-opleiding .opleiding-topic > span {
  color: #5273a2;
}

.page-opleiding .opleiding-topic h3 {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.opleiding-faq-list {
  margin-top: 24px;
}

.opleiding-faq-item {
  padding: 20px 0;
  border-top: 1px solid #dce4ec;
}

.opleiding-faq-item:last-child {
  border-bottom: 1px solid #dce4ec;
}

.opleiding-faq-item summary {
  cursor: pointer;
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.opleiding-faq-item summary::marker {
  color: #5273a2;
}

.opleiding-faq-item summary:focus-visible {
  outline: 2px solid #4f7fda;
  outline-offset: 5px;
  border-radius: 2px;
}

.page-opleiding .opleiding-faq-item[open] p {
  max-width: 900px;
  margin-top: 14px;
}

.page-opleiding #brochure,
.page-opleiding #contact {
  scroll-margin-top: 100px;
}

.page-opleiding .opleiding-form-fallback {
  margin-top: 16px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
}

.opleiding-form-fallback a {
  color: #44679f;
  text-underline-offset: 3px;
}

.page-opleiding .intro-offer-contact-item > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1000px) {
  .opleiding-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .opleiding-topic-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-opleiding .intro-offer-actions {
    gap: 16px;
  }

  .page-opleiding .intro-offer-contact-item[href^="mailto:"] {
    font-size: 14px;
  }
}
