.bootcamp-open-announcement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  align-items: center;
  gap: 32px;
  padding: 30px 32px;
  border: 1px solid #d4e3fa;
  border-radius: 18px;
  background: #edf3ff;
  color: #090d26;
}

.bootcamp-open-announcement-overview { margin-top: 32px; }
.bootcamp-open-announcement-copy { min-width: 0; }
.bootcamp-open-announcement .bootcamp-open-announcement-copy h2 {
  margin: 0 0 12px;
  color: #090d26;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-bootcamp .bootcamp-open-announcement h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 27px;
}

.bootcamp-open-announcement .bootcamp-open-announcement-copy p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.75;
}

.bootcamp-open-announcement .bootcamp-open-announcement-copy .bootcamp-open-announcement-label {
  margin-bottom: 10px;
  color: #090d26;
  font-size: 13px;
  font-weight: 600;
}

.bootcamp-open-announcement .bootcamp-open-announcement-copy .bootcamp-open-announcement-facts {
  margin-top: 16px;
  color: #090d26;
  font-size: 14px;
  font-weight: 600;
}

.bootcamp-open-announcement .bootcamp-open-announcement-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 11px;
  background: #a9c7fb;
  color: #090d26;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.bootcamp-open-announcement-button span { flex-shrink: 0; }
.bootcamp-open-announcement .bootcamp-open-announcement-button:hover { background: #9bbdf6; }
.bootcamp-open-announcement-button:focus-visible { outline: 2px solid #090d26; outline-offset: 4px; }

@media (max-width: 859px) {
  .bootcamp-open-announcement { grid-template-columns: 1fr; gap: 22px; }
  .bootcamp-open-announcement .bootcamp-open-announcement-button { justify-self: start; }
}

@media (max-width: 540px) {
  .bootcamp-open-announcement { padding: 24px 22px; }
  .bootcamp-open-announcement .bootcamp-open-announcement-copy h2 { font-size: 23px; }
  .bootcamp-open-announcement .bootcamp-open-announcement-button { justify-self: stretch; }
}

/* Rustige vermelding op de aanbodpagina, met een bestaande bootcampfoto. */
.bootcamp-open-announcement-overview {
  --brand-blue: #a9c7fb;
  --brand-dark: #090d26;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 36px;
  border: 1px dotted var(--brand-blue);
  background: #fff;
}

.bootcamp-open-announcement-overview .bootcamp-open-announcement-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.bootcamp-open-announcement-overview .bootcamp-open-announcement-button {
  justify-content: flex-start;
  margin-top: 16px;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-dark);
  text-decoration: underline;
  text-decoration-color: var(--brand-blue);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.bootcamp-open-announcement-overview .bootcamp-open-announcement-button:hover {
  background: transparent;
  text-decoration-color: var(--brand-dark);
}

@media (max-width: 859px) {
  .bootcamp-open-announcement-overview { grid-template-columns: 1fr; gap: 24px; }
  .bootcamp-open-announcement-overview .bootcamp-open-announcement-photo {
    max-height: 280px;
    aspect-ratio: 16 / 9;
  }
}
