/* ==========================================================================
   Static pages built from page blocks (blocks/page-*): hero, icon row, text + picture rows
   (light or dark band), promises card, mint CTA band, and the data pictures
   (components/page-visual.php).
   ========================================================================== */

.page-blocks { padding-bottom: var(--s6); }
.pb { padding: var(--s6) 0; }
.pb-title { font-size: var(--title-md); text-wrap: balance; }
.pb-text { max-width: 60ch; font-size: var(--text-md); color: var(--text-muted); }
.pb .eyebrow + .pb-title { margin-top: 12px; }
.pb-title + .pb-text, .pb-text + .pb-text { margin-top: var(--s2); }
.pb-feature-text > .btn, .pb-hero-text > .btn { margin-top: var(--s4); align-self: flex-start; }

/* Hero ------------------------------------------------------------------- */

.pb-hero { padding-top: var(--s2); }
.pb-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--s6);
  padding: var(--s8) var(--s6);
  border-radius: var(--radius-panel);
  background: var(--panel-soft);
}
.pb-hero-panel.is-text { grid-template-columns: minmax(0, 760px); }
.pb-hero-text { display: flex; flex-direction: column; }
.pb-hero-title { margin-top: 12px; font-size: 64px; line-height: 1.04; text-wrap: balance; }
.pb-hero-lead { margin-top: var(--s2); font-size: var(--text-lg); color: var(--text-muted); }

/* Icon row --------------------------------------------------------------- */

.pb-pillars .pb-title { font-size: var(--title-sm); font-weight: 500; }
.pb-pillars-list { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.pb-pillars-list h3 { margin-top: 14px; font-size: 20px; font-weight: 500; }
.pb-pillars-list p { margin-top: 6px; font-size: 16px; color: var(--text-muted); }

/* Text + picture ----------------------------------------------------------- */

.pb-feature-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s8); }
.pb-feature.is-text .pb-feature-inner { grid-template-columns: minmax(0, 760px); }
.pb-feature.is-flipped .pv { order: -1; }
.pb-feature-text { display: flex; flex-direction: column; }
.pb-points { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s4); }
.pb-points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; font-size: 16px; color: var(--text-muted); }
.pb-points strong { display: block; color: var(--ink); font-weight: 600; }
.pb-point-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-inner); background: var(--score-bg); color: var(--eyebrow); }

.pb-feature--dark .pb-feature-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--s8) var(--s6);
  border-radius: var(--radius-panel);
  background: var(--inverse-bg);
  color: var(--inverse-ink);
}
.pb-feature--dark .eyebrow { color: var(--inverse-accent); }
.pb-feature--dark .pb-motif { top: -34%; right: -8%; width: 460px; fill: color-mix(in srgb, var(--inverse-line) 55%, transparent); }
.pb-feature--dark.is-flipped .pb-motif { right: auto; left: -8%; top: auto; bottom: -40%; }
.pb-feature--dark .pb-text, .pb-feature--dark .pb-points li { color: var(--inverse-muted); }
.pb-feature--dark .pb-points strong { color: var(--inverse-ink); }
.pb-feature--dark .pb-point-icon { background: var(--inverse-line); color: var(--inverse-accent); }
.pb-feature--dark [id], .pb-feature[id] { scroll-margin-top: calc(var(--header-h) + var(--s2)); }

/* Promises ----------------------------------------------------------------- */

.pb-rules-card { padding: var(--s6); border-radius: var(--radius-panel); background: var(--panel-soft); }
.pb-rules-card .pb-title { font-size: var(--title-sm); font-weight: 500; }
.pb-rules-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s4); margin-top: var(--s3); }
.pb-rules-card li { display: flex; gap: 12px; font-size: var(--text-md); }
.pb-rule-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--score-bg); color: var(--eyebrow); }
.pb-rules-card.is-no .pb-rule-icon { background: var(--no-bg); color: var(--no-ink); }

/* CTA band ---------------------------------------------------------------- */

.pb-cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--s12) var(--s6);
  border-radius: var(--radius-panel);
  background: var(--accent);
  text-align: center;
}
.pb-cta-panel .pb-motif { fill: color-mix(in srgb, var(--accent-hover) 70%, var(--eyebrow) 12%); opacity: 0.55; }
.pb-motif--a { left: -70px; bottom: -150px; width: 340px; }
.pb-motif--b { right: -50px; top: -120px; width: 260px; transform: rotate(90deg); }
.pb-cta-title { max-width: 16ch; font-size: 56px; line-height: 1.06; text-wrap: balance; }
.pb-cta-panel .pb-text { margin-top: var(--s2); color: var(--ink); }
.pb-cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s2) var(--s4); margin-top: var(--s4); }
.pb-cta-secondary { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

/* Data pictures (components/page-visual.php) ------------------------------ */

.pv { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: var(--s2); min-height: 380px; margin: 0; padding: var(--s4); border-radius: var(--radius-panel); }
.pv figcaption { position: absolute; top: var(--s2); left: var(--s4); font-size: var(--text-xs); font-weight: 600; color: var(--ink); opacity: 0.65; }
.pv-card { padding: var(--s2); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-shot); }

/* The logo icon, big and cropped, a shade darker than the tile. */
.motif { position: absolute; z-index: -1; pointer-events: none; }
.pv-motif { right: -16%; bottom: -26%; width: 72%; fill: color-mix(in srgb, var(--ink) 7%, transparent); }
.pv--depth .pv-motif, .pv--founder .pv-motif { right: auto; left: -18%; bottom: -30%; }

/* Like a product screenshot: the main card runs off the tile's bottom edge. */
.pv--sources, .pv--depth, .pv--method { justify-content: flex-end; padding-top: var(--s6); padding-bottom: 0; }
.pv--sources .pv-mini { margin: 0 0 -34px 34%; padding-bottom: var(--s4); }
.pv--depth .pv-deep, .pv--method .pv-method { margin-bottom: -30px; padding-bottom: var(--s4); }
.pv-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); }
.pv-bar { height: 8px; border-radius: 4px; background: var(--chart-grid); }
.pv-bar > span { display: block; height: 100%; border-radius: 4px; background: var(--chart-accent); }

/* Sources -> toplist */
.pv-sources { position: relative; }
/* The inputs overlap the toplist card's left edge: what goes in, laid over what comes out. */
.pv-stack { position: absolute; z-index: 2; left: 0; top: 50%; transform: translateY(-62%); display: flex; flex-direction: column; gap: 10px; }
.pv-chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow); font-size: 14px; color: var(--text-muted); }
.pv-chip .icon { color: var(--eyebrow); }
.pv-chip b { color: var(--ink); }
.pv-flow { display: none; }
.pv-mini ol { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pv-mini li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.pv-mini .product-media--thumb { width: 40px; height: 40px; }
.pv-mini-name { font-size: 14px; font-weight: 600; line-height: 1.25; }

/* Quick answer vs deep */
.pv-depth { display: grid; gap: 14px; }
.pv-quick { width: 78%; opacity: 0.85; }
.pv-quick .pv-line { display: block; height: 9px; margin-top: 10px; border-radius: 5px; background: var(--chart-grid); }
.pv-deep { margin-left: 12%; }
.pv-deep-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-weight: 600; }
.pv-deep ul, .pv-method ul { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.pv-deep li, .pv-method li { display: grid; grid-template-columns: 104px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 14px; }
.pv-deep li b, .pv-method li b { text-align: right; }

/* The #1's score laid open (front page): name and score, then weight, subscore and the better half's average. */
.pv-score { width: 100%; max-width: 420px; margin: 0 auto; }
.pv-score-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.pv-score-head .product-media--thumb { width: 40px; height: 40px; }
.pv-score ul { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.pv-score li { display: grid; grid-template-columns: minmax(0, 104px) 40px minmax(0, 1fr) 30px; align-items: center; gap: 10px; font-size: 14px; }
.pv-score li b { text-align: right; }
.pv-weight { font-size: 12px; color: var(--text-subtle); text-align: right; }
.pv-score .pv-bar { position: relative; }
.pv-score .pv-bar i { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; border-radius: 1px; background: var(--ink); }
.pv-score-note { margin-top: 12px; font-size: 12px; color: var(--text-subtle); }

/* Same pay, different scores */
.pv-equal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.pv-cols { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin-top: 12px; border-bottom: 1px solid var(--line); }
.pv-col { flex: 1; border-radius: 4px 4px 0 0; background: var(--chart-accent); }
.pv-col.is-flat { background: var(--chart-context); }
.pv-note { margin-top: 8px; font-size: 14px; font-weight: 600; }

/* Founder quote */
.pv-founder { margin: 0; padding: var(--s4); }
.pv-quote { font-family: var(--font-display); font-size: 24px; line-height: 1.3; letter-spacing: var(--track-display); }
.pv-founder footer { display: flex; align-items: center; gap: 12px; margin-top: var(--s3); font-size: 15px; }
.pv-founder footer > span:last-child { display: flex; flex-direction: column; }
.pv-founder footer > span:last-child span { color: var(--text-subtle); }
.pv-avatar { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--inverse-ink); font-weight: 700; }
.pv-avatar--photo { object-fit: cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line); }

/* Tablets and phones -------------------------------------------------------- */

@media (max-width: 1100px) {
  .pb-hero-panel, .pb-feature-inner { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .pb-feature.is-flipped .pv { order: 0; }
  .pb-pillars-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-hero-title { font-size: 52px; }
}
@media (max-width: 700px) {
  .pb { padding: var(--s4) 0; }
  .pb-hero-panel, .pb-feature--dark .pb-feature-inner { padding: var(--s4) var(--s2); }
  .pb-hero-title { font-size: 40px; }
  .pb-pillars-list, .pb-rules-card ul, .pv-equal { grid-template-columns: minmax(0, 1fr); }
  .pb-rules-card { padding: var(--s4) var(--s2); }
  .pb-cta-panel { padding: var(--s6) var(--s2); }
  .pb-cta-title { font-size: 36px; }
  .pv { min-height: 0; padding: var(--s6) var(--s2) var(--s2); }
  .pv figcaption { left: var(--s2); }
  .pv--sources, .pv--depth, .pv--method { padding-bottom: 0; }
  .pb-motif--b { display: none; }
  .pv-stack { position: static; transform: none; align-items: flex-start; margin-bottom: var(--s2); }
  .pv--sources .pv-mini { margin-left: 0; }
  .pv-quick { width: 100%; }
  .pv-deep { margin-left: 0; }
  .pv-cols { height: 100px; }
  .pv-quote { font-size: 20px; }
  .pv-founder { padding: var(--s3) var(--s2); }
  .pb-pillars-list { gap: var(--s3); }
  .pb-pillars-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
  .pb-pillars-list li > .icon-badge { grid-row: span 2; width: 48px; height: 48px; }
  .pb-pillars-list h3 { margin-top: 0; }
}

/* Contact (blocks/page-contact) ------------------------------------------- */

/* Desktop: text and details on the left, form on the right. Phones: text, form, details. */
.pb-contact .pb-hero-panel { grid-template-areas: "text form" "aside form"; grid-template-rows: auto 1fr; align-items: start; row-gap: 0; }
.pb-contact .pb-hero-text { grid-area: text; }
.pb-contact .pv--form { grid-area: form; }
.pb-contact-aside { grid-area: aside; display: flex; flex-direction: column; }
@media (max-width: 1100px) {
  .pb-contact .pb-hero-panel { grid-template-areas: "text" "form" "aside"; row-gap: var(--s4); }
  .pb-contact-aside .pb-contact-facts { margin-top: 0; }
}
.pb-contact-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s4); margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.pb-contact-facts dt { font-size: var(--text-xs); color: var(--text-subtle); }
.pb-contact-facts dd { margin: 2px 0 0; font-weight: 600; }
.pb-contact-person { display: flex; align-items: center; gap: 14px; margin-top: var(--s4); padding: 14px 18px 14px 14px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow); align-self: flex-start; font-size: 15px; }
.pb-contact-person img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.pb-contact-person span { color: var(--text-muted); }
.pb-contact-person strong { display: block; color: var(--ink); }
.pv--form { min-height: 0; padding: var(--s4); scroll-margin-top: calc(var(--header-h) + var(--s2)); }
.pb-form { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3); }
.pb-form label:not(.pb-topic) > span, .pb-form legend { display: block; margin-bottom: 6px; font-size: var(--text-sm); font-weight: 600; }
.pb-form input[type="text"], .pb-form input[type="email"], .pb-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-inner);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}
.pb-form textarea { resize: vertical; min-height: 128px; }
.pb-form input:focus-visible, .pb-form textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--eyebrow); }
.pb-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.pb-form-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.pb-form-topics legend { width: 100%; }
.pb-topic input { position: absolute; opacity: 0; pointer-events: none; }
.pb-topic span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 14px; cursor: pointer; }
.pb-topic span:hover { border-color: var(--ink); }
.pb-topic input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--inverse-ink); }
.pb-topic input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pb-form .btn { align-self: flex-start; }
.pb-form-hp { position: absolute; left: -9999px; }
.pb-form-error { padding: 10px 14px; border-radius: var(--radius-inner); background: var(--no-bg); color: var(--no-ink); font-size: var(--text-sm); }
.pb-form--done { align-items: flex-start; padding: var(--s4); }
.pb-form--done h2 { font-size: var(--title-sm); }
.pb-form--done p { color: var(--text-muted); }
.pb-form-done-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--score-bg); color: var(--eyebrow); }

@media (max-width: 700px) {
  .pv--form { padding: var(--s2); }
  .pb-form { padding: var(--s2); }
  .pb-form-row { grid-template-columns: minmax(0, 1fr); }
}

/* Numbered steps (page-pillars, style "steps"): a line runs through the numbers ------------ */

.pb-pillars--steps .pb-title { font-size: var(--title-md); font-weight: 400; }
.pb-pillars--steps .pb-pillars-list { position: relative; }
.pb-pillars--steps .pb-pillars-list::before { content: ""; position: absolute; top: 27px; left: 27px; right: 10%; border-top: 2px dashed var(--line-strong); }
.pb-pillars--steps li { position: relative; }
.pb-step-num { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--font-display); font-size: 24px; font-weight: 500; box-shadow: 0 0 0 6px var(--bg); }

/* Categories and their models (page-models) ---------------------------------------------- */

.pb-models .pb-text { margin-top: 12px; }
.pb-models-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--s3); margin-top: var(--s4); }
.pb-model { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
.pb-model-head h3 { font-size: var(--title-sm); font-weight: 500; }
.pb-model-head a { color: var(--ink); text-decoration: none; }
.pb-model-head a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pb-model-meta { display: block; margin-top: 4px; font-size: var(--text-sm); color: var(--text-subtle); }
.pb-model-weights { display: flex; flex-direction: column; gap: 9px; }
.pb-model-weights li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 44px; align-items: center; gap: 10px; font-size: 15px; }
.pb-model-weights b { text-align: right; }
.pb-model-log summary { cursor: pointer; font-size: var(--text-sm); font-weight: 600; }
.pb-model-log li { margin-top: 6px; font-size: var(--text-sm); color: var(--text-muted); }
.pb-model-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--eyebrow); font-weight: 600; text-decoration: none; }
.pb-model-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Pictures for Så väljer vi ---------------------------------------------------------------- */

/* A chip of its own, so the keys read on every tone; inside a white card it is plain text again. */
.pv-legend { display: flex; flex-wrap: wrap; align-items: center; align-self: flex-start; gap: 6px 14px; margin-top: 4px; padding: 7px 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; color: var(--ink); }
.pv-card .pv-legend { margin-top: 10px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.pv-legend-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pv-key { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; }
.pv-key--raw { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.pv-key--adj { background: var(--chart-accent); }
.pv-key--mean { background: var(--chart-context); }
.pv-key--line { width: 16px; height: 2px; border-radius: 0; background: var(--ink); }

/* Reviews pulled towards the mean */
.pv-reviews { display: flex; flex-direction: column; gap: 12px; }
.pv-review-name { font-weight: 600; }
.pv-review-raw { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 14px; color: var(--text-muted); }
.pv-review-raw .icon { color: var(--star); fill: var(--star); }
.pv-review-raw b { color: var(--ink); }
.pv-track { position: relative; height: 8px; margin: 18px 6px 10px; border-radius: 4px; background: var(--chart-grid); }
.pv-track span { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%); }
.pv-track-mean { width: 4px !important; height: 20px !important; border-radius: 2px !important; background: var(--chart-context); }
.pv-track-raw { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.pv-track-adj { background: var(--chart-accent); box-shadow: 0 0 0 2px var(--surface); }
.pv-review-adj { font-size: 14px; color: var(--text-muted); }
.pv-review-adj b { color: var(--ink); }

/* Testers' scales */
.pv-tests { display: flex; flex-direction: column; gap: 10px; }
.pv-scale-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 52px; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; }
.pv-scale-row small { color: var(--text-subtle); text-align: right; }
.pv-dots { position: relative; height: 8px; border-radius: 4px; background: var(--chart-grid); }
.pv-dots i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--chart-accent); box-shadow: 0 0 0 2px var(--surface); transform: translate(-50%, -50%); }
.pv-dots i.is-b { background: var(--chart-ramp-2); }
.pv-dots i.is-c { background: var(--chart-ramp-4); }
.pv-flow-down { align-self: center; color: var(--ink); opacity: 0.6; transform: rotate(90deg); }

/* Specs become points */
.pv-specs ul { display: flex; flex-direction: column; margin-top: 8px; }
.pv-specs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kind points" "what points"; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--hover-soft); }
.pv-specs li:first-child { border-top: 0; }
.pv-spec-kind { grid-area: kind; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--eyebrow); }
.pv-spec-what { grid-area: what; margin-top: 2px; font-size: 15px; }
.pv-spec-what small { display: block; color: var(--text-subtle); font-size: 13px; }
.pv-spec-points { grid-area: points; align-self: center; display: flex; flex-direction: column; align-items: flex-end; font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1; }
.pv-spec-points small { font-family: var(--font-body); font-size: 12px; color: var(--text-subtle); }

/* Price against performance */
.pv-value svg { display: block; width: 100%; height: auto; margin-top: 8px; }
.pv-value circle { fill: var(--chart-context); stroke: var(--surface); stroke-width: 2; }
.pv-value circle.is-top { fill: var(--chart-accent); }
.pv-value-line { stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 8 6; }

/* Every score on one axis */
.pv-strip { position: relative; height: 86px; margin: 14px 8px 0; border-bottom: 2px solid var(--line-strong); }
.pv-strip i { position: absolute; width: var(--dot, 12px); height: var(--dot, 12px); margin: 0 0 2px calc(var(--dot, 12px) / -2); border-radius: 50%; background: var(--chart-accent); }
.pv-axis { position: relative; height: 58px; margin: 0 8px; }
.pv-axis span { position: absolute; top: 8px; transform: translateX(-50%); font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.pv-axis span::before { content: ""; position: absolute; top: -10px; left: 50%; height: 8px; border-left: 2px solid var(--ink); }
.pv-axis span:last-child { top: 32px; transform: translateX(-88%); }
.pv-axis span:last-child::before { top: -34px; height: 32px; border-left-style: dotted; left: 88%; }
.pv-axis b { color: var(--ink); }

/* Roles in the toplist */
.pv-roles .pv-mini-name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.pv-roles .role-chip { padding: 2px 8px; font-size: 11px; }
.pv--roles, .pv--value { justify-content: flex-end; padding-bottom: 0; padding-top: var(--s6); }
.pv--roles .pv-roles, .pv--value .pv-value { margin-bottom: -30px; padding-bottom: var(--s4); }

@media (max-width: 700px) {
  .pb-pillars--steps .pb-pillars-list::before { top: 24px; bottom: 24px; left: 24px; right: auto; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .pb-pillars--steps .pb-pillars-list li > .pb-step-num { grid-row: span 2; width: 48px; height: 48px; font-size: 20px; }
  .pb-pillars--steps .pb-pillars-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
  .pb-models-list { grid-template-columns: minmax(0, 1fr); }
  .pb-model-weights li { grid-template-columns: 110px minmax(0, 1fr) 40px; }
  .pv--roles, .pv--value { padding-bottom: 0; }
}

/* Author page (page-rasmus-barslund.php) ---------------------------------- */
.author-hero { padding-bottom: var(--s4); }
.author-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.author-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.author-name { margin-top: var(--s2); font-size: var(--title-md); }
.author-role { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--eyebrow); }
.author-bio { max-width: 58ch; margin-top: var(--s2); color: var(--text-muted); }
.author-bio a { margin-left: 4px; font-weight: 600; color: var(--eyebrow); white-space: nowrap; }
.author-social { display: flex; gap: 10px; margin-top: var(--s3); }
.author-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, color .15s; }
.author-social a:hover { color: var(--ink); background: var(--accent); }
.author-guides { padding-top: 0; }
