/* Vacature-features, overgenomen van live (templates/yootheme_custom/scss/custom.scss, 2026-10-20):
   menu-bubble bij Vacatures, Winkekatze rechtsboven, vacature-kaart (Werken bij) en vacature-pop-up (live: EngageBox #19). */

/* Menu: notificatie-bubble bij Vacatures (desktop menu-dialoog) */
.lh-tabs a.is-vacatures { display: inline-flex; align-items: center; }
.lh-mnav a.is-vacatures::after { display: inline-flex; vertical-align: middle; margin-top: -3px; }
.lh-tabs a.is-vacatures::after, .lh-mnav a.is-vacatures::after {
  content: "1"; display: inline-flex; align-items: center; justify-content: center; align-self: center; flex-shrink: 0;
  width: 22px; height: 22px; margin-left: 10px; border-radius: 50%; background-color: #F7148B; color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 12px; line-height: 1;
  animation: wj-bubble-pulse 1.8s ease-out infinite;
}
@keyframes wj-bubble-pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 20, 139, .7); }
  70% { box-shadow: 0 0 0 12px rgba(247, 20, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 20, 139, 0); }
}

/* Winkekatze (cornerbug) rechtsboven -> vacature (HTML via assets/js/vacature.js) */
.wj-neko {
  position: absolute; top: 140px; right: max(40px, calc((100% - 1400px) / 2)); z-index: 40;
  display: flex; align-items: center; gap: 14px; text-decoration: none !important;
}
.wj-neko__cat { display: block; width: 104px; height: 104px; transition: transform .2s; }
.wj-neko:hover .wj-neko__cat { transform: translateY(-4px); }
.wj-neko__bubble {
  position: relative; background-color: #F7148B; color: #fff; font-family: var(--font-heading); font-weight: 700;
  font-size: 15px; line-height: 1; white-space: nowrap; padding: 12px 16px; border-radius: 8px;
  outline: 2px dashed #fff; outline-offset: -5px; transition: background-color .2s, color .2s;
}
.wj-neko__bubble::after {
  content: ""; position: absolute; top: 50%; right: -9px; margin-top: -7px;
  border: 7px solid transparent; border-left: 9px solid #F7148B; border-right: 0; transition: border-color .2s;
}
.wj-neko:hover .wj-neko__bubble { background-color: #C7FDBB; color: #2E1352; outline-color: #2E1352; }
.wj-neko:hover .wj-neko__bubble::after { border-left-color: #C7FDBB; }
.wj-neko__up { animation: wj-neko-up .9s infinite; }
.wj-neko__mid { animation: wj-neko-mid .9s infinite; }
.wj-neko__down { animation: wj-neko-down .9s infinite; }
.wj-neko__s1 { animation: wj-neko-spark 1.4s infinite; }
.wj-neko__s2 { animation: wj-neko-spark 1.4s infinite .7s; }
@media (max-width: 959px) {
  .wj-neko { top: 100px; right: 30px; }
  .wj-neko__cat { width: 80px; height: 80px; }
  .wj-neko__bubble { font-size: 13px; padding: 10px 13px; }
}
@media (max-width: 639px) {
  .wj-neko { top: 85px; right: 15px; gap: 8px; }
  .wj-neko__cat { width: 64px; height: 64px; }
  .wj-neko__bubble { font-size: 12px; padding: 9px 11px; }
}
@keyframes wj-neko-up { 0%, 24.9% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes wj-neko-mid { 0%, 24.9% { opacity: 0; } 25%, 49.9% { opacity: 1; } 50%, 74.9% { opacity: 0; } 75%, 100% { opacity: 1; } }
@keyframes wj-neko-down { 0%, 49.9% { opacity: 0; } 50%, 74.9% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes wj-neko-spark { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Vacature-kaart (Werken bij) */
.wj-vaccard {
  position: relative; overflow: hidden; margin-top: 32px; background-color: #2E1352; color: #fff; border-radius: 20px;
  padding: clamp(28px, 3vw, 40px) clamp(25px, 3.5vw, 45px); box-shadow: 0 25px 50px -25px rgba(46, 19, 82, .8);
}
.wj-vaccard::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%;
  background-color: #F7148B; opacity: .18; pointer-events: none;
}
.wj-vaccard > * { position: relative; }
.wj-vaccard__title { margin: 0; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; }
.wj-vaccard__text { margin-top: 12px; }
.wj-btn-pink {
  display: inline-flex; align-items: center; margin-top: 24px; padding: 0 28px; min-height: 42px; border: 2px solid #F7148B; border-radius: 99px;
  background-color: #F7148B; color: #fff !important; font-family: var(--font-heading); font-weight: 700; font-size: clamp(15px, 2vw, 17px); line-height: 1;
  text-decoration: none !important; transition: background-color .2s, border-color .2s, color .2s;
}
.wj-btn-pink::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform .2s; }
.wj-btn-pink:hover { background-color: #C7FDBB; border-color: #C7FDBB; color: #2E1352 !important; }
.wj-btn-pink:hover::after { transform: translateX(5px); }

/* Vacature-pop-up (homepage) */
.wj-vacpop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.wj-vacpop[hidden] { display: none; }
.wj-vacpop__backdrop { position: absolute; inset: 0; background: rgba(46, 19, 82, .6); backdrop-filter: blur(4px); animation: wj-fade .3s; }
.wj-vacpop__dialog {
  position: relative; display: flex; gap: 20px; align-items: stretch; width: 100%; max-width: 660px; padding: 25px 40px 25px 25px;
  background: #2E1352; color: #fff; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(46, 19, 82, .8); animation: wj-popin .3s ease-out;
}
.wj-vacpop__img { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 20px; background: #8438DF; border-radius: 15px; }
.wj-vacpop__img img { display: block; width: 180px; height: auto; image-rendering: pixelated; }
.wj-vacpop__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.wj-vacpop__title { margin: 0; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.wj-vacpop__sub { margin: 6px 0 0; color: #F7148B; font-family: var(--font-heading); font-weight: 700; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.15; }
.wj-vacpop__close {
  position: absolute; top: -15px; right: -15px; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: #F7148B; color: #fff; font-size: 26px; line-height: 36px; text-align: center; padding: 0;
}
.wj-vacpop__close:hover { background: #C7FDBB; color: #2E1352; }
@media (max-width: 576px) {
  .wj-vacpop__dialog { flex-wrap: wrap; padding: 25px; }
  .wj-vacpop__img { flex-basis: 100%; }
  .wj-vacpop__img img { width: 140px; }
}
@keyframes wj-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wj-popin { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .lh-tabs a.is-vacatures::after, .wj-neko__up, .wj-neko__s1, .wj-neko__s2, .wj-vacpop__backdrop, .wj-vacpop__dialog { animation: none; }
  .wj-neko__mid, .wj-neko__down { animation: none; opacity: 0; }
}

/* Opmaak zoals live .bloktekstduo (text-image met "Opmaak zoals huidige site"): foto 438x525, tekst 692, kop 46px op één regel */
.sk-ti.wj-ti-live h2 { max-width: none; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; margin-bottom: 20px; }
.sk-ti.wj-ti-live .prose { font-size: 18px; line-height: 1.625; letter-spacing: normal; }
.sk-ti.wj-ti-live .sk-ti-media img { aspect-ratio: 438 / 525; }
.sk-ti.wj-ti-live .wj-vaccard { margin-top: 70px; }
@media (min-width: 960px) {
  .sk-ti.wj-ti-live .sk-ti-grid { grid-template-columns: minmax(0, 438px) minmax(0, 692px); column-gap: 70px; justify-content: center; }
  .sk-ti.wj-ti-live .sk-ti-grid--right { grid-template-columns: minmax(0, 692px) minmax(0, 438px); }
}
@media (max-width: 959px) {
  .sk-ti.wj-ti-live .sk-ti-media { max-width: 438px; }
  .sk-ti.wj-ti-live .wj-vaccard { margin-top: 40px; }
}
