/*
Vacaturedetail: entiteit-blokken
[yy_entiteit_intro] en [yy_entiteit_meer]
Kleuren: --yy-ent per entiteit (yy-ent--<slug>), gedefinieerd in style.css.
*/

/* Anker ligt boven het blok zodat de vaste header de titel niet bedekt (ook bij Divi smooth scroll) */
.yy-ent-meer__anchor{ position:absolute; top:-40px; left:0; width:1px; height:1px; pointer-events:none; }
#solliciteer{ scroll-margin-top:120px; }

/* ===== Intro-kaart onder de hero: entiteitskleur, logo en tekst in wit ===== */
.yy-ent-intro{
  display:grid; grid-template-columns:minmax(0, 1fr) auto;
  grid-template-areas:"logo link" "text text";
  align-items:center; gap:14px 24px;
  background:var(--yy-ent, #FC4C02); color:#fff;
  border-radius:16px;
  padding:22px 28px;
  margin:0;
}
.yy-ent-intro__logo{ --yy-logo-h:36px; grid-area:logo; display:flex; align-items:center; min-width:0; }
.yy-ent-intro__logo .yy-ent-mask{ background-color:#fff; }
.yy-ent-intro__logo .yy-ent-logo--text{ font-size:26px; color:#fff; }
.yy-ent-intro .yy-ent-intro__text{ grid-area:text; margin:0; padding:0; font-size:16px; line-height:1.5; color:#fff; }
.yy-ent-intro .yy-ent-intro__link{
  grid-area:link; justify-self:end; display:inline-flex; align-items:center; gap:6px;
  background:var(--yy-btn-purple, #6516C1); color:#fff;
  border-radius:35px; padding:9px 22px;
  font-size:15px; font-weight:600; line-height:1.2; text-decoration:none;
  transition:background .2s ease;
}
.yy-ent-intro .yy-ent-intro__link:hover{ background:rgba(101,22,193,0.85); color:#fff; }

@media (max-width: 640px){
  .yy-ent-intro{ grid-template-columns:minmax(0, 1fr); grid-template-areas:"logo" "text" "link"; padding:20px; }
  .yy-ent-intro .yy-ent-intro__link{ justify-self:start; }
  .yy-ent-intro__logo{ --yy-logo-h:30px; }
}

/* ===== Blok "Meer weten over <entiteit>?" ===== */
.yy-ent-meer{ position:relative; }
.yy-ent-meer.has-foto{ padding-top:60px; }
.yy-ent-meer__card{
  position:relative;
  display:grid; grid-template-columns:minmax(0, 1fr);
  background:#f3f3f3; border-radius:20px;
  padding:50px;
}
.yy-ent-meer.has-foto .yy-ent-meer__card{
  grid-template-columns:minmax(0, 1.25fr) minmax(0, 1fr);
  gap:50px;
}
.yy-ent-meer__content{ align-self:center; }

.yy-ent-meer .yy-ent-meer__title{
  margin:0 0 16px; padding:0;
  font-family:'Centra No1 Black', Helvetica, Arial, Lucida, sans-serif;
  font-weight:900; text-transform:uppercase;
  font-size:clamp(26px, 3vw, 38px); line-height:1.1;
  color:var(--yy-ent, #FC4C02);
}
.yy-ent-meer__text{ margin:0 0 18px; padding:0; font-size:16px; line-height:1.6; color:#121212; }

.yy-ent-meer .yy-ent-meer__list{ list-style:none; margin:0 0 26px; padding:0; display:grid; gap:10px; }
.yy-ent-meer .yy-ent-meer__item{ display:flex; align-items:flex-start; gap:10px; padding:0; font-size:16px; line-height:1.45; color:#121212; }
.yy-ent-meer .yy-ent-meer__item::before,
.yy-ent-meer .yy-ent-meer__item::marker{ content:none; display:none; }
.yy-ent-meer__check{ flex:0 0 22px; width:22px; height:22px; line-height:0; margin-top:1px; }
.yy-ent-meer__check svg{ width:100%; height:100%; }
.yy-ent-meer__check circle{ fill:var(--yy-ent, #FC4C02); }
.yy-ent-meer__check path{ fill:none; stroke:#fff; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }

.yy-ent-meer__btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--yy-btn-purple, #6516C1); color:#fff;
  border-radius:35px; padding:13px 45px;
  font-size:16px; font-weight:600; line-height:1.2; text-decoration:none;
  transition:background .2s ease;
}
.yy-ent-meer__btn:hover{ background:rgba(101,22,193,0.85); color:#fff; }

.yy-ent-meer__more{ margin:18px 0 0; padding:0; font-size:15px; color:#121212; }
.yy-ent-meer__site{ font-weight:700; color:var(--yy-btn-purple, #6516C1); text-decoration:underline; text-underline-offset:3px; }
.yy-ent-meer__site:hover{ text-decoration:none; }

/* Foto rechts, steekt boven de grijze kaart uit */
.yy-ent-meer__foto{ position:relative; margin-top:-110px; align-self:stretch; }
.yy-ent-meer__img{
  display:block; width:100%; height:100%; min-height:360px; max-height:520px;
  object-fit:cover; border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

@media (max-width: 980px){
  .yy-ent-meer.has-foto{ padding-top:0; }
  .yy-ent-meer.has-foto .yy-ent-meer__card{ grid-template-columns:minmax(0, 1fr); gap:30px; }
  .yy-ent-meer__foto{ margin-top:0; order:-1; }
  .yy-ent-meer__img{ min-height:0; height:auto; max-height:340px; aspect-ratio:4 / 3; }
}
@media (max-width: 640px){
  .yy-ent-meer__card{ padding:30px 22px; }
  .yy-ent-meer__btn{ padding:13px 30px; }
}
