/* Elementor-outerwidget expliciet laten meegroeien.
   Nodig omdat inline-size containment geen intrinsieke breedte bijdraagt. */
.elementor-widget-somt_nascholing_widget_403f60c8 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 100%;
  align-self: stretch;
}
.elementor-widget-somt_nascholing_widget_403f60c8 > .elementor-widget-container {
  width: 100%;
  min-width: 0;
}
/* Volledige vervanging van de aangeleverde style.css.
   Eén native link per kaart; geen klik-JavaScript nodig. */
.somt-hn {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 2rem;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  container: somt-nascholing / inline-size;
  background-color: #f5f8fa;
}
.somt-hn *, .somt-hn *::before, .somt-hn *::after { box-sizing: border-box; }
.somt-hn-intro {
  flex: 1 1 13rem;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-start;
}
.somt-hn .somt-hn-eyebrow {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .08em;
  margin: 0;
}
.somt-hn h2 {
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0;
}
.somt-hn a {
  background: transparent;
  border-radius: 0;
  text-align: left;
  text-decoration: none;
  font-family: Roboto, sans-serif;
  font-weight: 500;
}
.somt-hn a:hover { text-decoration: underline; }
.somt-hn a:focus-visible { outline: .15rem solid; outline-offset: .2rem; }
.somt-hn-all { font-size: .875rem; padding: .5rem 0; }
.somt-hn .somt-hn-cards {
  flex: 999 1 44rem;
  width: 100%;
  min-width: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
.somt-hn .somt-hn-card {
  background-color: #ffffff;
  border-color: #d6e2e8;
  position: relative;
  isolation: isolate;
  padding: 1.25rem;
  border-radius: .25rem;
  border: .0625rem solid #d6e2e8;
  box-shadow: 0 .25rem .75rem rgba(20,104,148,.06);
  display: flex;
  flex-direction: column;
  gap: .625rem;
  min-width: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.somt-hn .somt-hn-type {
  font-family: Roboto, sans-serif;
  font-size: .75rem;
  line-height: 1.3;
  margin: 0;
}
.somt-hn h3 {
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
}
.somt-hn .somt-hn-date, .somt-hn .somt-hn-price {
  font-family: Roboto, sans-serif;
  font-size: .8125rem;
  color: #4d5765;
  line-height: 1.4;
  margin: 0;
}
.somt-hn .somt-hn-detail {
  font-size: .8125rem;
  padding: .5rem 0 0;
  margin-top: auto;
}
/* Het pseudo-element gebruikt de kaart als containing block.
   Houd de link zelf static; anders wordt alleen de linktekst klikbaar. */
.somt-hn .somt-hn-card > a.somt-hn-detail { position: static; }
.somt-hn .somt-hn-card > a.somt-hn-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: .25rem;
  cursor: pointer;
}
.somt-hn .somt-hn-card > a.somt-hn-detail:focus-visible::after {
  outline: .15rem solid currentColor;
  outline-offset: .2rem;
}
.somt-hn-card:focus-within {
  box-shadow: 0 .5rem 1.25rem rgba(20,104,148,.16);
}
@media (hover: hover) and (pointer: fine) {
  .somt-hn-card:has(> a.somt-hn-detail[href]):hover {
    transform: translateY(-.1875rem);
    box-shadow: 0 .75rem 1.5rem rgba(20,104,148,.15);
  }
  .somt-hn-card:hover > a.somt-hn-detail { text-decoration: underline; }
}
.somt-hn-empty {
  grid-column: 1 / -1;
  font-family: Roboto, sans-serif;
  color: #4d5765;
  margin: 0;
  line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
  .somt-hn-card { transition: none; }
  .somt-hn-card:has(> a.somt-hn-detail[href]):hover { transform: none; }
}


/* Zichtbaarheid en kolommen volgen dezelfde componentbreedte. */
.somt-hn .somt-hn-card:nth-child(n+4) { display: none; }
@container somt-nascholing (min-width: 48rem) {
  .somt-hn .somt-hn-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .somt-hn .somt-hn-cards:has(> .somt-hn-card:first-child):not(:has(> .somt-hn-card:nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .somt-hn .somt-hn-cards:has(> .somt-hn-card:first-child):not(:has(> .somt-hn-card:nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .somt-hn .somt-hn-cards:has(> .somt-hn-card:only-child) { grid-template-columns: minmax(0, 1fr); }
}
@container somt-nascholing (min-width: 80rem) {
  .somt-hn .somt-hn-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .somt-hn .somt-hn-card:nth-child(4) { display: flex; }
}
/* Oude browsers: viewportfallback; koppelt vierde kaart aan vier kolommen. */
@supports not (container-type: inline-size) {
  @media (min-width: 832px) {
    .somt-hn .somt-hn-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (min-width: 1344px) {
    .somt-hn .somt-hn-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  @media (min-width: 832px) {
    .somt-hn .somt-hn-cards:has(> .somt-hn-card:first-child):not(:has(> .somt-hn-card:nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .somt-hn .somt-hn-cards:has(> .somt-hn-card:first-child):not(:has(> .somt-hn-card:nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .somt-hn .somt-hn-cards:has(> .somt-hn-card:only-child) { grid-template-columns: minmax(0, 1fr); }
  }
  @media (min-width: 1344px) {
    .somt-hn .somt-hn-card:nth-child(4) { display: flex; }
  }
}
@media (max-width: 767px) {
  .somt-hn { padding: 1.5rem 1rem; gap: 1.25rem; }
}