/* =========================================================
   team.css — Team member / author profile (CPT `team`)
   Loads AFTER adv.css (which carries the shared .advh-card
   article-card library, Onest @font-face and base tokens).
   This file supplies the home-only tokens it needs + every
   .au-* component. Sections auto-hide server-side; the
   slider foot is revealed by team.js only when scrollable.
   ========================================================= */

:root {
  --navy: #01273f;
  --text: #0e2a3f;
  --muted: #5e6f7c;
  --border: #e7eaee;
  --border-soft: #eef1f4;
  --light-blue-2: #dfe6ef;
  --orange: #e77935;
  --orange-hover: #d96b27;
  --accent: #e77935;
}

.au-main {
  padding: 30px 0 8px;
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
}

/* Align the team content column with the site footer.
   The footer content (newsletter card, columns) sits at a 24px inset
   (1232px), while .wrap here is a fixed 1280px content-box with no side
   padding, so the hero banner ran 24px wider on each side. Force border-box
   and add the 24px inset so the hero card lines up exactly with the footer. */
.au-main .wrap {
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---- Breadcrumb ---- */
.au-crumb {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--muted);
  margin: 0 0 22px; flex-wrap: wrap;
}
.au-crumb a { color: var(--muted); text-decoration: none; transition: color .15s; }
.au-crumb a:hover { color: var(--text); }
.au-crumb svg { color: #b6bcc0; flex-shrink: 0; }
.au-crumb b { color: var(--text); font-weight: 600; }

/* ---- Eyebrow ---- */
.au-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--accent, var(--orange));
  letter-spacing: 0.02em; margin-bottom: 16px;
}
.au-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* =========================================================
   1 · HERO
   ========================================================= */
.au-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(115% 130% at 100% 0%, #16456b 0%, rgba(22,69,107,0) 56%),
    var(--navy);
  border-radius: 28px;
  display: grid; grid-template-columns: 1fr 340px;
  gap: 56px; align-items: center;
  padding: 60px 60px;
}
.au-hero__text { color: #fff; }
.au-hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: #f0974a;
  letter-spacing: -0.005em; margin-bottom: 14px;
}
.au-hero__kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.au-hero__name {
  font-size: 54px; line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 600; color: #fff; margin: 0 0 12px; max-width: 560px;
}
.au-hero__tag {
  font-size: 18px; line-height: 1.65; color: #aebecb;
  margin: 0 0 26px; max-width: 520px; font-weight: 400; text-wrap: pretty;
}
.au-hero__specs { display: flex; flex-wrap: wrap; gap: 13px 26px; margin: 0 0 30px; max-width: 600px; }
.au-hero__spec { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: #dbe4ec; line-height: 1.3; white-space: nowrap; }
.au-hero__spec svg { color: var(--accent, #f0974a); flex-shrink: 0; }
.au-hero__links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.au-link {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22); color: #fff;
  font-weight: 500; font-size: 14.5px; text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s;
}
.au-link svg { flex-shrink: 0; }
.au-link:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); transform: translateY(-1px); }
.au-link--solid { background: var(--accent, var(--orange)); border-color: transparent; box-shadow: 0 10px 22px -10px rgba(231,121,53,0.6); }
.au-link--solid:hover { background: var(--orange-hover); border-color: transparent; }

/* circular headshot */
.au-hero__photo {
  position: relative; width: 320px; height: 320px; justify-self: end;
  border-radius: 50%; overflow: hidden;
  background: radial-gradient(130% 130% at 50% 22%, #1a527c 0%, #0c3a5e 46%, #042036 100%);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.5);
}
.au-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }

/* =========================================================
   2 · PROFILE  (bio left, stats right)
   ========================================================= */
.au-profile { padding: 72px 0 8px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.au-profile--solo { display: block; }
.au-profile--solo .au-profile__bio { max-width: 720px; }
.au-profile .au-eyebrow { color: var(--accent, var(--orange)); }
.au-bio__p { font-size: 18px; line-height: 1.78; color: #46535d; margin: 0 0 18px; text-wrap: pretty; }
.au-bio__p:first-of-type { font-size: 21px; line-height: 1.62; color: var(--text); font-weight: 500; letter-spacing: -0.01em; }
.au-bio__p:last-of-type { margin-bottom: 0; }
.au-bio__p b { color: var(--text); font-weight: 600; }

/* disclosure note (Helthome transparency) */
.au-disclosure {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 24px 0 0; padding: 14px 18px;
  background: var(--orange-tint, #fdf1e8); border: 1px solid #f3d8c3;
  border-radius: 14px; font-size: 14px; line-height: 1.55; color: #6a4a32;
}
.au-disclosure svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }

/* stats card */
.au-metrics {
  align-self: center;
  background:
    radial-gradient(125% 135% at 100% 0%, #16456b 0%, rgba(22,69,107,0) 58%),
    var(--navy);
  border-radius: 22px; padding: 30px 34px 26px; color: #fff;
  box-shadow: 0 30px 60px -38px rgba(8,38,65,0.6);
}
.au-metrics__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent, #f0974a); margin-bottom: 4px;
}
.au-metrics__eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.au-metric { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.13); }
.au-metric:last-child { border-bottom: 0; padding-bottom: 4px; }
.au-metric__ico {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px;
  background: rgba(231,121,53,0.16); color: var(--accent, #f0974a);
  display: grid; place-items: center;
}
.au-metric__txt { min-width: 0; }
.au-metric__num { font-size: 34px; font-weight: 600; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.au-metric__num small { font-size: 19px; font-weight: 600; color: var(--accent, #f0974a); }
.au-metric__label { font-size: 14px; color: #aebecb; line-height: 1.4; margin-top: 7px; }

/* =========================================================
   Section heads + sliding carousel (articles + videos)
   ========================================================= */
.au-section { padding: 64px 0 8px; }
.au-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin: 0 0 32px;
}
.au-section__title { font-size: 36px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; color: var(--text); margin: 0; max-width: 560px; }
.au-section__sub { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; max-width: 520px; }
.au-section__link {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none;
  transition: gap .15s;
}
.au-section__link:hover { gap: 13px; }
.arrow-circle {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--navy);
  transition: background .15s, color .15s, border-color .15s;
}
.au-section__link:hover .arrow-circle { background: var(--orange); color: #fff; border-color: var(--orange); }
#au-artikelen { scroll-margin-top: 24px; }

.au-slider {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px 2px 12px; margin: 0 -2px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.au-slider::-webkit-scrollbar { display: none; }
.au-slider > * { flex: 0 0 auto; width: 360px; scroll-snap-align: start; }

.au-slider-foot { display: flex; align-items: center; gap: 26px; margin-top: 24px; }
.au-slider-foot[hidden] { display: none; }
.au-slider-bar { position: relative; flex: 1; height: 4px; border-radius: 999px; background: var(--border-soft); overflow: hidden; }
.au-slider-bar__thumb { position: absolute; top: 0; left: 0; height: 100%; width: 100%; min-width: 14%; border-radius: 999px; background: var(--navy); transition: left .18s ease, width .18s ease; }
.au-slider-nav { display: flex; gap: 10px; flex-shrink: 0; }
.au-slider-nav button {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: var(--text); display: grid; place-items: center; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .12s;
}
.au-slider-nav button:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 14px 24px -14px rgba(8,38,65,0.45); }
.au-slider-nav button:active { transform: scale(0.94); }

/* =========================================================
   YOUTUBE VIDEOS
   ========================================================= */
.au-video { display: flex; flex-direction: column; text-decoration: none; }
.au-video__thumb {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 40%, #0e3a5b 0%, #052438 100%);
}
.au-video__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.au-video:hover .au-video__thumb img { transform: scale(1.04); }
.au-video__thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(4,18,30,0.45) 0%, rgba(4,18,30,0) 34%);
}
.au-video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--accent, var(--orange)); color: #fff;
  display: grid; place-items: center; z-index: 3; padding-left: 3px;
  box-shadow: 0 12px 30px -8px rgba(231,121,53,0.65);
  transition: transform .18s, background .18s;
}
.au-video:hover .au-video__play { transform: translate(-50%,-50%) scale(1.08); background: var(--orange-hover); }
.au-video__dur {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  background: rgba(4,18,30,0.82); color: #fff;
  font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 4px 10px; border-radius: 7px;
}
.au-video__title { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.32; letter-spacing: -0.01em; margin: 16px 0 6px; text-wrap: pretty; }
.au-video__meta { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.au-video__meta svg { color: #c0392b; }

/* =========================================================
   CONNECT
   ========================================================= */
.au-connect { padding: 72px 0 8px; }
.au-connect__card {
  background: var(--light-blue-2); border-radius: 24px;
  padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.au-connect__title { font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; color: var(--text); margin: 0 0 8px; }
.au-connect__sub { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 420px; }
.au-connect__links { display: flex; gap: 12px; flex-wrap: wrap; }
.au-slink {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 999px;
  background: #fff; color: var(--text); border: 1px solid var(--border);
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.au-slink:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(8,38,65,0.25); border-color: #d6dde4; }
.au-slink svg { flex-shrink: 0; }
.au-slink--linkedin svg { color: #0a66c2; }
.au-slink--youtube svg { color: #c0392b; }

/* footer: author pages have no gray "Hulp nodig" block before the footer,
   so cancel the newsletter band's upward overlap pull if the footer uses it. */
#lofoot-root .lof-news-band.lof-news-band--top { transform: none !important; margin: 0 !important; }
#lofoot-root .lof-news-band-gray { display: none !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 761px) and (max-width: 980px) {
  .au-hero { grid-template-columns: 1fr 250px; gap: 44px; padding: 50px 46px; }
  .au-hero__photo { width: 230px; height: 230px; justify-self: end; }
  .au-hero__name { font-size: 44px; }
  .au-profile { grid-template-columns: 1.1fr 0.9fr; gap: 44px; }
}
@media (max-width: 980px) {
  .au-hero { grid-template-columns: 1fr; gap: 36px; padding: 44px 32px; text-align: center; }
  .au-hero__photo { justify-self: center; order: -1; width: 220px; height: 220px; }
  .au-hero__name { font-size: 38px; margin-inline: auto; }
  .au-hero__tag { margin-inline: auto; }
  .au-hero__specs, .au-hero__links { justify-content: center; }
  .au-profile { grid-template-columns: 1fr; gap: 36px; }
  .au-connect__card { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 760px) {
  .au-section { padding: 48px 0 8px; }
  .au-section__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .au-section__title { font-size: 28px; }
  .au-profile { padding-top: 56px; }
}
@media (max-width: 620px) {
  .au-main { padding-top: 22px; }
  .au-hero { padding: 36px 22px; border-radius: 22px; gap: 30px; }
  .au-hero__name { font-size: 32px; }
  .au-hero__tag { font-size: 16px; }
  .au-hero__photo { width: 180px; height: 180px; }
  .au-link { width: 100%; justify-content: center; }
  .au-bio__p:first-of-type { font-size: 19px; }
  .au-bio__p { font-size: 16.5px; }
  .au-metrics { padding: 26px 24px 22px; border-radius: 18px; }
  .au-metric__num { font-size: 30px; }
  .au-section__title { font-size: 25px; }
  .au-slider > * { width: min(330px, 82vw); }
  .au-connect__card { padding: 32px 26px; gap: 26px; }
  .au-connect__title { font-size: 23px; }
  .au-connect__links { width: 100%; }
  .au-slink { width: 100%; justify-content: center; }
}
