/* "Private equity secondaries: later instappen met meer inzicht" - the
   design artifact's own stylesheet (WMP "Magazine v2", November 2026).

   Unlike the first post, this artifact styles its markup with classes, not
   inline styles, so its stylesheet comes with it. Below is every rule the
   post uses, copied as delivered and scoped to #post-page. The rules for the
   artifact's own navigation bar and footer, and for blocks this post does
   not contain, are left out.

   Loaded after ../post.css. Where the two set the same token or property on
   the same element, the artifact's value wins. See docs/berichten.md.

   Published to public/posts/ by npm run copy-assets. */

/* The artifact maps weights 500 and 700 to the Demi cut. post.css declares
   only 400 and 600, so without these the pull quotes (500) would fall back
   to Regular. */
@font-face {
  font-family: 'Avenir Next LT Pro';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/posts/fonts/avenir-next-lt-pro-demi.otf") format('opentype');
}
@font-face {
  font-family: 'Avenir Next LT Pro';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/posts/fonts/avenir-next-lt-pro-demi.otf") format('opentype');
}

/* ---------- Tokens (the artifact's :root) ---------- */
#post-page {
  /* PRIMARY PALETTE */
  --wmp-blue:          #202A52;
  --wmp-light-gray:    #F5F4F4;
  --wmp-white:         #FFFFFF;
  --wmp-red:           #E63212;
  --wmp-taupe:         #5A5046;

  /* SECONDARY PALETTE */
  --wmp-dark-red:      #AD260E;
  --wmp-orange:        #F09164;
  --wmp-indigo:        #495497;
  --wmp-light-blue:    #8D9DD3;
  --wmp-soft-blue:     #CCD6E9;
  --wmp-beige:         #E6E4DA;
  --wmp-green:         #217B63;
  --wmp-gray-lilac:    #B3AEBE;

  /* SEMANTIC */
  --bg:                var(--wmp-white);
  --bg-alt:            var(--wmp-light-gray);
  --bg-inverse:        var(--wmp-blue);
  --bg-panel:          var(--wmp-beige);
  --fg:                var(--wmp-blue);
  --fg-1:              var(--wmp-blue);
  --fg-2:              var(--wmp-taupe);
  --fg-3:              var(--wmp-gray-lilac);
  --fg-on-dark:        var(--wmp-white);
  --accent:            var(--wmp-red);
  --success:           var(--wmp-green);
  --warn:              var(--wmp-orange);
  --danger:            var(--wmp-dark-red);
  --border:            #E6E4DA;
  --border-strong:     #D6D2C6;
  --divider:           rgba(32, 42, 82, .12);

  /* TYPE */
  --font-sans: 'Avenir Next LT Pro', 'Avenir Next', 'Gill Sans',
               'Trebuchet MS', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* RADII / MOTION */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-card: 8px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------- Base (the artifact's html, body, *, img and a rules) ----------
   Without body's margin:0: on #post-page, which is the site's <main>, it
   would cancel the offset that keeps the post below the fixed site header. */
#post-page { background: var(--wmp-white); color: var(--wmp-blue); font-family: var(--font-sans); }
#post-page * { box-sizing: border-box; }
#post-page img { display:block; max-width:100%; }
#post-page a { color: inherit; }

/* Where post.css differs from the artifact. It sets a line height of 1.5 on
   the wrapper and 1.15 on headings, where the artifact leaves both at the
   browser's normal. It gives a link a bottom border and turns it red on
   hover, where the artifact styles its links by class. */
#post-page,
#post-page h1, #post-page h2, #post-page h3,
#post-page h4, #post-page h5, #post-page h6 { line-height: normal; }
#post-page a { border-bottom: 0; }
#post-page a:hover { color: inherit; }

/* ---------- Common eyebrow ---------- */
#post-page .eyebrow {
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--wmp-red);
  font-weight: 600;
  margin: 0;
}

/* ---------- Common buttons ---------- */
#post-page .btn {
  appearance: none; border: 1px solid transparent; cursor: pointer;
  padding: 14px 24px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  text-decoration: none; display: inline-block;
  font-family: inherit;
}
#post-page .btn--ghost-dark { background: transparent; color:#fff; border-color: rgba(255,255,255,.5); }
#post-page .btn--ghost-dark:hover { background: rgba(255,255,255,.1); border-color:#fff; }
#post-page .btn--white { background:#fff; color: var(--wmp-blue); border-color:#fff; }
#post-page .btn--white:hover { background: var(--success); color:#fff; border-color: var(--success); }

/* ---------- Breadcrumb ---------- */
#post-page .breadcrumb {
  padding: 20px 64px;
  font-size: 13px;
  color: var(--wmp-gray-lilac);
  border-bottom: 1px solid var(--border);
}
#post-page .breadcrumb a { color: var(--wmp-gray-lilac); text-decoration: none; }
#post-page .breadcrumb a:hover { color: var(--wmp-red); }
#post-page .breadcrumb__sep { margin: 0 10px; color: var(--wmp-gray-lilac); }

/* ---------- Risk disclosure block ---------- */
#post-page .risk {
  background: var(--wmp-light-gray);
  padding: 48px 64px;
  border-top: 1px solid var(--border);
}
#post-page .risk__inner { max-width: 1100px; margin: 0 auto; }
#post-page .risk__h {
  font-size: 14px; font-weight: 600; color: var(--wmp-blue);
  letter-spacing: .02em; text-transform: none; margin: 0 0 14px;
}
#post-page .risk__p {
  font-size: 13px; line-height: 1.6; color: var(--wmp-taupe); margin: 0 0 10px;
  max-width: 88ch;
}

@media (max-width: 1100px) {
  #post-page .breadcrumb { padding: 16px 24px; }
  #post-page .risk { padding: 32px 24px; }
}

/* ---------- Magazine v2 ---------- */
#post-page .am-cover{max-width:1040px;margin:72px auto 48px;padding:0 64px}
#post-page .am-cover__meta{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:18px;border-bottom:1px solid var(--border);margin-bottom:40px;font-size:12px;letter-spacing:.02em;color:var(--wmp-gray-lilac)}
#post-page .am-cover__kicker{font-weight:600;color:var(--wmp-taupe)}
#post-page .am-cover__rule{display:block;width:56px;height:5.6px;background:var(--wmp-red);margin-bottom:24px}
#post-page .am-cover__title{font-size:clamp(56px,7vw,112px);line-height:.96;letter-spacing:-.025em;color:var(--wmp-blue);font-weight:400;margin:0;text-wrap:balance}
#post-page .am-cover__title-em{font-style:italic;font-weight:400;color:var(--wmp-blue)}
#post-page .am-cover__lede{font-size:22px;line-height:1.45;color:var(--wmp-taupe);max-width:60ch;margin:32px 0 0}
#post-page .am-cover__byline{display:flex;align-items:center;gap:16px;margin-top:56px;padding-top:24px;border-top:1px solid var(--border)}
#post-page .am-cover__photo{width:54px;height:54px;border-radius:50%;overflow:hidden;background:var(--wmp-beige)}
#post-page .am-cover__photo img{width:100%;height:100%;object-fit:cover}
#post-page .am-cover__author{font-size:15px;font-weight:600;color:var(--wmp-blue)}
#post-page .am-cover__author-sub{font-size:13px;color:var(--wmp-gray-lilac);margin-top:2px}

#post-page .am-bigimg{margin:48px 0 72px}
#post-page .am-bigimg img{width:100%;height:72vh;max-height:700px;min-height:480px;object-fit:cover;display:block}
#post-page .am-bigimg figcaption{max-width:1040px;margin:16px auto 0;padding:0 64px;font-size:13px;color:var(--wmp-gray-lilac);font-style:italic;line-height:1.5}

#post-page .am-body{max-width:680px;margin:0 auto;padding:0 32px}
#post-page .am-section{margin:0 0 48px}
#post-page .am-rule{display:block;width:40px;height:4px;background:var(--wmp-red);margin:56px 0 18px}
#post-page .am-h2{font-size:32px;line-height:1.15;font-weight:600;color:var(--wmp-blue);letter-spacing:-.01em;margin:0 0 20px;text-wrap:balance}
#post-page .am-p{font-size:18px;line-height:1.65;color:var(--wmp-taupe);margin:0 0 20px;text-wrap:pretty}
#post-page .am-lede{font-size:20px;line-height:1.6;color:var(--wmp-blue);margin:0 0 24px}
#post-page .am-dropcap{float:left;font-size:88px;line-height:.88;font-weight:600;color:var(--wmp-blue);padding:6px 14px 0 0;margin-top:4px;font-family:Georgia,'Times New Roman',serif;font-style:italic}

#post-page .am-pull{position:relative;max-width:880px;margin:64px auto;padding:40px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
#post-page .am-pull__q{font-size:30px;line-height:1.28;color:var(--wmp-blue);font-weight:500;letter-spacing:-.01em;margin:0;font-style:italic;text-wrap:balance;font-family:var(--font-sans)}
#post-page .am-pull__by{font-size:13px;color:var(--wmp-taupe);margin-top:18px;font-weight:600}

#post-page .am-outro{background:var(--wmp-blue);color:#fff;padding:96px 64px}
#post-page .am-outro__inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1.1fr .9fr;gap:72px;align-items:center}
#post-page .am-outro__kicker{font-size:12px;letter-spacing:.02em;color:rgba(255,255,255,.7);font-weight:600;margin-bottom:0}
#post-page .am-outro__rule{display:block;width:56px;height:5.6px;background:var(--wmp-red);margin:14px 0 0}
#post-page .am-outro__h{font-size:clamp(36px,4vw,60px);line-height:1.05;font-weight:600;color:#fff;letter-spacing:-.015em;margin:14px 0 0;text-wrap:balance}
#post-page .am-outro__p{font-size:16px;line-height:1.65;color:rgba(255,255,255,.78);margin:24px 0 0;max-width:54ch}
#post-page .am-outro__btns{display:flex;gap:12px;margin-top:41px;flex-wrap:wrap}
#post-page .am-outro .btn--white{background:#fff;color:var(--wmp-blue);border:1px solid var(--wmp-blue)}
#post-page .am-outro .btn--white:hover{background:var(--success);color:#fff;border-color:var(--success)}
#post-page .am-outro__inner--split{grid-template-areas:"head ." "body img";row-gap:0;align-items:stretch}
#post-page .am-outro__inner--split .am-outro__head{grid-area:head}
#post-page .am-outro__inner--split .am-outro__body{grid-area:body}
#post-page .am-outro__inner--split .am-outro__img{grid-area:img;margin-top:28px}
#post-page .am-outro__btns .btn{white-space:nowrap}
#post-page .am-outro__img{align-self:stretch;min-height:440px;overflow:hidden;position:relative;border-radius:8px}
#post-page .am-outro__img img{width:100%;height:130%;position:absolute;top:-15%;left:0;object-fit:cover;object-position:72% 55%}

#post-page .am-next{max-width:1280px;margin:64px auto 0;padding:56px 64px;border-top:1px solid var(--border)}
#post-page .risk__inner{max-width:1280px}
#post-page .am-next__label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--wmp-gray-lilac);font-weight:600;margin-bottom:24px}
#post-page .am-next__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
#post-page .am-next__item{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--border);padding:20px 20px 28px;border-radius:8px;transition:box-shadow .22s,border-color .22s}
#post-page .am-next__item:hover{box-shadow:0 4px 16px rgba(32,42,82,.1);border-color:var(--border-strong)}
#post-page .am-next__img{aspect-ratio:4/3;overflow:hidden;background:var(--wmp-beige);margin-bottom:14px;margin:0 0 14px;border-radius:6px}
#post-page .am-next__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
#post-page .am-next__item:hover .am-next__img img{transform:scale(1.03)}
#post-page .am-next__kicker{font-size:11px;letter-spacing:.04em;color:var(--wmp-taupe);font-weight:600;margin-bottom:6px}
#post-page .am-next__h{font-size:16px;line-height:1.3;font-weight:600;color:var(--wmp-blue);margin:0}
@media (max-width:700px){#post-page .am-next__grid{grid-template-columns:1fr}}

#post-page .am-h3{font-size:21px;line-height:1.3;font-weight:600;color:var(--wmp-blue);letter-spacing:-.005em;margin:40px 0 14px}
#post-page .am-h3__n{margin-right:.35em}

/* ---------- Grafieken (huisstijl) ---------- */
#post-page .gc{margin:36px 0 8px;padding:30px 32px 26px;background:#fff;border:1px solid var(--border);border-radius:var(--radius)}
#post-page .gc--wide{max-width:1040px;margin:48px auto 8px}
#post-page .gc__kicker{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--wmp-taupe);font-weight:600;margin-bottom:9px}
#post-page .gc__h{font-size:19px;line-height:1.32;font-weight:600;color:var(--wmp-blue);margin:0 0 4px;max-width:34em}
#post-page .gc__unit{font-size:12px;color:var(--wmp-taupe);margin:14px 0 6px}
#post-page .gc__note{margin:22px 0 0;padding-top:14px;border-top:1px solid var(--border);font-size:12.5px;line-height:1.55;color:var(--wmp-taupe)}
#post-page .gc__legend{display:flex;gap:22px;flex-wrap:wrap;margin-top:18px;font-size:12.5px;color:var(--wmp-taupe)}
#post-page .gc__legend span{display:flex;align-items:center;gap:8px}
#post-page .gc__legend i{width:14px;height:10px;border-radius:2px;display:block}

/* Staafdiagram: transactievolume */
#post-page .gc-bars{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;height:300px;align-items:end;border-bottom:1px solid var(--border-strong);padding-bottom:0}
#post-page .gc-bars__col{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;gap:6px}
#post-page .gc-bars__v{font-size:12.5px;font-weight:600;color:var(--wmp-blue);font-variant-numeric:tabular-nums}
#post-page .gc-bars__col--f .gc-bars__v{color:var(--wmp-blue)}
#post-page .gc-xaxis{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;margin-top:8px}
#post-page .gc-xaxis span{font-size:11.5px;color:var(--wmp-taupe);text-align:center;font-variant-numeric:tabular-nums}

/* Gestapeld staafdiagram LP/GP */
#post-page .gc-stack{display:flex;flex-direction:column;width:100%;max-width:44px;height:calc(var(--v) / 250 * 244px);border-radius:3px 3px 0 0;overflow:hidden;gap:1px}
#post-page .gc-stack__lp{background:var(--wmp-blue)}
#post-page .gc-stack__gp{background:var(--wmp-light-blue)}
#post-page .gc-bars__col--f .gc-stack{opacity:.5}
#post-page .gc-bars__col--f .gc-stack::after{content:none}

/* J-curve */
#post-page .gc-j{width:100%;height:auto;display:block;margin-top:6px}

@media (max-width:1100px){
#post-page .gc{padding:22px 18px}
#post-page .gc-bars{height:220px}
#post-page .gc-bars__v{font-size:11.5px}
#post-page .gc-stack{height:calc(var(--v) / 250 * 176px)}
#post-page .gc-xaxis span{font-size:9.5px}
#post-page .am-h3{font-size:19px}
#post-page .am-next{padding:48px 32px}
#post-page .am-next__grid{grid-template-columns:repeat(3,1fr);gap:24px}
#post-page .am-cover{padding:0 32px;margin-top:48px}
#post-page .am-cover__title{font-size:clamp(40px,9vw,72px)}
#post-page .am-bigimg img{height:50vh;min-height:320px}
#post-page .am-bigimg figcaption{padding:0 32px}
#post-page .am-body{padding:0 28px}
#post-page .am-h2{font-size:26px}
#post-page .am-p{font-size:17px}
#post-page .am-pull{padding:32px 28px;margin:48px auto}
#post-page .am-pull__q{font-size:24px}
#post-page .am-outro{padding:64px 32px}
#post-page .am-outro__inner{grid-template-columns:1fr;gap:40px}
#post-page .am-outro__inner--split{grid-template-columns:minmax(0,1fr) 240px;grid-template-areas:"head head" "body img";column-gap:32px;row-gap:0}
#post-page .am-outro__inner--split .am-outro__img{min-height:0;height:300px;align-self:start}
}
@media (max-width:680px){
#post-page .am-outro__inner--split{grid-template-columns:1fr;grid-template-areas:"head" "body" "img"}
#post-page .am-outro__inner--split .am-outro__img{height:240px}
#post-page .am-outro__img{height:280px}
}

#post-page .am-outro__inner--split .am-outro__body > .am-outro__p:first-child{margin-top:28px}

/* Hover-toelichting */
#post-page .am-term{position:relative;cursor:help;text-decoration:underline dotted var(--wmp-taupe);text-decoration-thickness:1.5px;text-underline-offset:4px}
#post-page .am-term::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%,4px);background:var(--wmp-blue);color:#fff;font-size:13px;line-height:1.3;font-weight:500;font-style:normal;white-space:nowrap;padding:7px 12px;border-radius:calc(var(--radius) / 2);opacity:0;pointer-events:none;transition:opacity .18s var(--ease),transform .18s var(--ease);z-index:5}
#post-page .am-term::before{content:"";position:absolute;left:50%;bottom:calc(100% + 4px);transform:translate(-50%,4px);border:6px solid transparent;border-top-color:var(--wmp-blue);border-bottom:0;opacity:0;transition:opacity .18s var(--ease),transform .18s var(--ease);z-index:5}
#post-page .am-term:hover::after,#post-page .am-term:focus::after,#post-page .am-term:hover::before,#post-page .am-term:focus::before{opacity:1;transform:translate(-50%,0)}
#post-page .am-term:focus{outline:none}
#post-page .am-term--wide::after{white-space:normal;width:320px;text-align:left}
#post-page .gc__note--body{font-size:17px;line-height:1.7}

/* ---------- a11y + mobiel ---------- */
#post-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#post-page .gc--wide .gc__legend{column-gap:14px;row-gap:8px}
#post-page .gc-scroll{overflow-x:auto}
#post-page .gc-scroll:focus-visible{outline:2px solid var(--wmp-blue);outline-offset:2px}
@media (max-width:700px){#post-page .am-next__grid{grid-template-columns:1fr;gap:20px}}
@media (max-width:560px){
#post-page .gc-bars,#post-page .gc-xaxis{grid-auto-columns:minmax(0,1fr);gap:3px}
#post-page .gc-bars__v{font-size:10px}
#post-page .gc-xaxis span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:10px;height:36px;text-align:left}
#post-page .gc-scroll .gc-j{min-width:500px}
}
