/* ---------------------------------------------------------------------------
   Pagina Voor studenten (werken-bij-inhoud.njk), naar het voorbeeld van
   student-consultant.nl/werken-bij, in de huisstijl van Smart Consultant.
   --------------------------------------------------------------------------- */

.st-sectie *,
.st-sectie *::before,
.st-sectie *::after {
  box-sizing: border-box;
}

.st-sectie + .st-sectie {
  padding-top: 0;
}

.st-sectie h3 {
  margin: 0;
  color: var(--sc-primary, #1b2246);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.st-sectie .hs-kaart p {
  margin: 10px 0 0;
  color: #5c6b7d;
  font-size: 1rem;
  line-height: 1.65;
}

.st-noot {
  max-width: 78ch;
  margin: 22px 0 0;
  color: #5c6b7d;
  font-size: 0.98rem;
  line-height: 1.65;
}

.st-knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* --- Case-test (zoals "Doe de test" bij Student Consultant) -------------- */
.st-test.hs-kaart {
  display: grid;
  grid-template-columns: minmax(200px, 290px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(28px, 4vw, 60px) clamp(24px, 6vw, 90px);
  border-radius: 34px;
}

.st-test-beeld {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 34px 30px 0;
  aspect-ratio: 1 / 0.95;
  border-radius: 20px;
  background: linear-gradient(135deg, #56cfbd 0%, #2996a3 45%, #1b2246 100%);
}

.st-test-beeld img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 18px 40px rgba(27, 34, 70, 0.35);
}

.st-test-tekst h2 {
  margin: 0;
  color: var(--sc-primary, #1b2246);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.st-test-tekst > p {
  max-width: 64ch;
  margin: 12px 0 0;
  color: #5c6b7d;
  font-size: 1.05rem;
  line-height: 1.7;
}

.st-test-tekst .st-knoppen {
  margin-top: 24px;
}

/* --- Wat kun je verwachten ------------------------------------------------- */
.st-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.st-split-tekst p {
  max-width: 64ch;
  margin: 0 0 16px;
  color: #5c6b7d;
  font-size: 1.05rem;
  line-height: 1.7;
}

.st-checkkaart ul,
.st-vinklijst {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.st-checkkaart li a,
.st-vinklijst li a {
  position: relative;
  display: block;
  padding-left: 32px;
  color: #0d7f70;
  font-weight: 800;
  text-decoration: none;
}

.st-checkkaart li a::before,
.st-vinklijst li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2246' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat,
    #56cfbd;
}

.st-checkkaart li a::after,
.st-vinklijst li a::after {
  content: " →";
}

/* --- Rollen ---------------------------------------------------------------- */
.st-rollen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.st-rol.hs-kaart,
.st-streep.hs-kaart {
  position: relative;
  overflow: hidden;
}

.st-rol.hs-kaart::before,
.st-streep.hs-kaart::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #56cfbd;
}

.st-rol {
  scroll-margin-top: 120px;
}

.st-sub {
  margin-top: 4px !important;
  color: #0d7f70 !important;
  font-size: 0.92rem !important;
  font-weight: 700;
}

.st-mee {
  margin-top: 18px !important;
  color: var(--sc-primary, #1b2246) !important;
  font-weight: 700;
}

.st-rol-knop {
  align-self: flex-start;
  margin-top: 24px;
}

/* --- Kernwaarden als vijfhoek ---------------------------------------------- */
.st-kw {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 4.4vw, 64px) clamp(24px, 4.4vw, 64px) clamp(56px, 6vw, 88px);
  border-radius: 34px;
  background:
    radial-gradient(55% 80% at 0% 0%, rgba(86, 207, 189, 0.18), transparent 70%),
    #1b2246;
  color: #ffffff;
}

.st-kw::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

.st-kw > *:not(.sc-lijn) {
  position: relative;
  z-index: 1;
}

.st-kw-beeld svg {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  overflow: visible;
}

.st-kw-vorm {
  fill: rgba(86, 207, 189, 0.1);
  stroke: rgba(86, 207, 189, 0.8);
  stroke-width: 2.6;
  stroke-linejoin: round;
}

.st-kw-lijnen line {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
}

.st-ster {
  cursor: pointer;
}

.st-ster-halo {
  fill: rgba(86, 207, 189, 0.16);
  transition: fill 200ms ease, r 200ms ease;
}

.st-ster-kern {
  fill: #ffffff;
  transition: fill 200ms ease;
}

.st-ster-raak {
  fill: transparent;
}

.st-ster text {
  fill: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
  transition: fill 200ms ease;
}

.st-ster.is-actief .st-ster-halo {
  fill: rgba(86, 207, 189, 0.4);
}

.st-ster.is-actief .st-ster-kern {
  fill: #56cfbd;
}

.st-ster.is-actief text {
  fill: #ffffff;
}

.st-kw-tekst h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.st-kw-intro {
  max-width: 56ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
}

.st-kw-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 16px;
}

.st-kw-tabs button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.st-kw-tabs button[aria-selected="true"] {
  border-color: #56cfbd;
  background: #56cfbd;
  color: #1b2246;
}

.st-kw-tabs button:focus-visible {
  outline: 3px solid #56cfbd;
  outline-offset: 2px;
}

.st-kw-panelen {
  padding: clamp(20px, 2.4vw, 30px);
}

.st-kw-paneel h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
}

.st-kw-paneel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.st-kw-paneel .st-kw-beeldzin {
  color: #56cfbd;
  font-weight: 700;
}

/* Zonder JavaScript: alle waarden onder elkaar. */
.st-kw:not(.is-js) .st-kw-tabs {
  display: none;
}

.st-kw:not(.is-js) .st-kw-paneel + .st-kw-paneel {
  margin-top: 20px;
}

/* --- Werkweek en ontwikkeling ---------------------------------------------- */
.st-werkweek {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.st-ontwikkeling {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-subkop {
  margin: clamp(40px, 5vw, 64px) 0 18px !important;
}

.st-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-logos .hs-kaart {
  display: grid;
  place-items: center;
  height: 128px;
  padding: 20px 28px;
  border-radius: 20px;
}

.st-logos img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

/* --- Sluit je aan ---------------------------------------------------------- */
.st-aansluiten {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 4.4vw, 64px) clamp(24px, 4.4vw, 64px) clamp(56px, 6vw, 88px);
  border-radius: 34px;
  background: #1b2246;
  color: #ffffff;
}

.st-aansluiten::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

.st-aansluiten > *:not(.sc-lijn) {
  position: relative;
  z-index: 1;
}

.st-aansluiten h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.st-aansluiten-tekst > p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.65;
}

.st-aansluiten-tekst a:not(.sc-page-btn) {
  color: #56cfbd;
  font-weight: 700;
}

.st-criteria {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.st-criteria li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
}

.st-criteria li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2246' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat,
    #56cfbd;
}

.st-aansluiten-foto {
  margin: 0;
}

.st-aansluiten-foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4;
  object-position: center 30%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

/* --- Kleinere schermen ----------------------------------------------------- */
@media (max-width: 1080px) {
  .st-ontwikkeling {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .st-test.hs-kaart,
  .st-split,
  .st-rollen,
  .st-kw,
  .st-werkweek,
  .st-aansluiten {
    grid-template-columns: 1fr;
  }

  .st-test.hs-kaart {
    padding: 18px 18px 28px;
  }

  .st-test-beeld {
    max-width: 320px;
  }

  .st-kw-beeld svg {
    max-width: 320px;
  }
}

@media (max-width: 560px) {
  .st-feiten,
  .st-ontwikkeling {
    grid-template-columns: 1fr;
  }
}

/* --- Groepsfoto en klantlogo's bij "Wat kun je verwachten" ---------------- */
.st-split {
  align-items: stretch;
}

.st-groepsfoto {
  position: relative;
  margin: 0;
  padding: 0 0 18px 18px;
}

/* Op verzoek geen gekleurde tegel achter foto's. */
.st-groepsfoto::before {
  display: none;
}

.st-groepsfoto img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 34px;
  box-shadow: 0 24px 56px rgba(27, 34, 70, 0.18);
}

.st-klanten {
  min-width: 0;
  margin-top: clamp(32px, 4vw, 52px);
}

.st-klanten > p {
  margin: 0 0 14px;
  color: var(--sc-primary, #1b2246);
  font-size: 1.05rem;
  font-weight: 700;
}

.st-klanten .sc-logo-strook-tegel {
  box-shadow: 0 8px 20px rgba(27, 34, 70, 0.08);
  border: 1px solid rgba(27, 34, 70, 0.08);
}

/* --- Studies per rol ------------------------------------------------------- */
.st-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.st-studies li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4fbf8;
  border: 1px solid rgba(13, 127, 112, 0.18);
  color: var(--sc-primary, #1b2246);
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- Fotoslider over de volle breedte -------------------------------------- */
.st-fotos {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4vw, 60px) 0 clamp(28px, 3vw, 40px);
  background: #1b2246;
}

.st-fotos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

.st-fotos-spoor {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 80px);
  overflow-x: auto;
  padding: 0 clamp(20px, 5.4vw, 96px) 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.st-fotos-spoor::-webkit-scrollbar {
  display: none;
}

.st-foto {
  flex: 0 0 auto;
  width: clamp(240px, 22vw, 330px);
  margin: 0;
  scroll-snap-align: start;
}

.st-foto-1 { margin-top: 56px; }
.st-foto-2 { margin-top: 24px; }

.st-foto img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

.st-fotos-knoppen {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding: 0 clamp(20px, 5.4vw, 96px);
}

.st-fotos-knoppen button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #56cfbd;
  color: #1b2246;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease;
}

.st-fotos-knoppen button:hover,
.st-fotos-knoppen button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

/* --- Werkweek: kaarten met foto ------------------------------------------- */
.st-ww-kaart.hs-kaart {
  flex-direction: row;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.st-ww-foto {
  flex: 0 0 38%;
  margin: 0;
}

.st-ww-foto img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 30%;
}

.st-ww-tekst {
  flex: 1;
  padding: clamp(22px, 2.4vw, 32px);
}

@media (max-width: 1180px) {
  .st-ww-kaart.hs-kaart {
    flex-direction: column;
  }

  .st-ww-foto img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8;
  }
}

/* Kaart "Business of data?": vraag + knop die naar de rollen scrolt. */
.st-sectie .hs-kaart p.st-kaartvraag {
  margin-top: 18px;
  color: var(--sc-primary, #1b2246);
  font-weight: 700;
}

.st-kaartknop {
  align-self: flex-start;
  margin-top: 14px;
}

.st-anker {
  scroll-margin-top: 120px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Knoppen in de twee rolkaarten op dezelfde hoogte: de knop zakt naar de onderkant. */
.st-rol.hs-kaart {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.st-rol .st-studies {
  margin-bottom: 24px;
}

.st-rol .st-rol-knop {
  margin-top: auto;
}

/* Beide sollicitatieknoppen even breed (de langste tekst bepaalt de breedte). */
.st-rol .st-rol-knop {
  min-width: 340px;
  justify-content: space-between;
}

@media (max-width: 560px) {
  .st-rol .st-rol-knop {
    min-width: 0;
    width: 100%;
  }
}
