/* DHV Experience 13.50.0 — Contextual Reader Journey.
 * Explainable Theme presentation over the existing related-post authority order. */
.dhvx-reader-journey {
  width:min(calc(100% - 64px),66ch);
  margin:0 auto;
  padding:34px 0 38px;
  border-top:1px solid var(--dhvx-border);
}
.dhvx-reader-journey__head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
}
.dhvx-reader-journey__heading { min-width:0; }
.dhvx-reader-journey__eyebrow {
  display:block;
  margin-bottom:5px;
  color:var(--dhvx-brand);
  font-size:var(--dhvx-kicker-font,11.5px);
  font-weight:800;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.dhvx-reader-journey__heading h2 {
  margin:0;
  color:var(--dhvx-text);
  font-size:20px;
  line-height:1.25;
  letter-spacing:-.025em;
  text-wrap:balance;
}
.dhvx-reader-journey__heading p {
  max-width:54ch;
  margin:6px 0 0;
  color:var(--dhvx-text-muted);
  font-size:12.75px;
  line-height:1.5;
}
.dhvx-reader-journey__all {
  --dhvx-category:#68706d;
  --dhvx-category-soft:color-mix(in srgb,var(--dhvx-category) 11%,var(--dhvx-surface));
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:36px;
  padding:3px 9px 3px 4px;
  border:1px solid color-mix(in srgb,var(--dhvx-category) 20%,var(--dhvx-border));
  border-radius:999px;
  color:var(--dhvx-category);
  font-size:11.5px;
  font-weight:700;
  line-height:1;
}
.dhvx-reader-journey__all.tone-teal   { --dhvx-category:#6b7077; }
.dhvx-reader-journey__all.tone-orange { --dhvx-category:#6b7077; }
.dhvx-reader-journey__all.tone-violet { --dhvx-category:#6b7077; }
.dhvx-reader-journey__all.tone-clay   { --dhvx-category:#6b7077; }
.dhvx-reader-journey__all.tone-blue   { --dhvx-category:#6b7077; }
.dhvx-reader-journey__all.tone-rose   { --dhvx-category:#6b7077; }
.dhvx-reader-journey__all.tone-slate  { --dhvx-category:#6b7077; }
.dhvx-reader-journey__all.tone-red    { --dhvx-category:#d82831; }
.dhvx-reader-journey__all:hover,
.dhvx-reader-journey__all:focus-visible { background:var(--dhvx-category-soft); }
.dhvx-reader-journey__all:focus-visible { outline:2px solid color-mix(in srgb,var(--dhvx-category) 42%,transparent); outline-offset:2px; }
.dhvx-reader-journey__all .dhvx-category-link__icon { width:28px; height:28px; flex-basis:28px; }

.dhvx-reader-journey__list {
  display:grid;
  gap:0;
  border-top:1px solid var(--dhvx-border);
}
.dhvx-reader-journey__item {
  --dhvx-journey-accent:var(--dhvx-brand);
  position:relative;
  display:grid;
  grid-template-columns:132px minmax(0,1fr) auto;
  grid-template-areas:"reason title go" "reason meta go";
  gap:5px 18px;
  align-items:center;
  min-width:0;
  padding:15px 2px;
  border-bottom:1px solid var(--dhvx-border);
  color:var(--dhvx-text);
}
.dhvx-reader-journey__item.is-same { --dhvx-journey-accent:#6b7077; }
.dhvx-reader-journey__item.is-bridge { --dhvx-journey-accent:#6b7077; }
.dhvx-reader-journey__item.is-related { --dhvx-journey-accent:#68706d; }
.dhvx-reader-journey__reason {
  grid-area:reason;
  align-self:start;
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:2px 7px;
  color:var(--dhvx-journey-accent);
  font-size:10.75px;
  font-weight:800;
  line-height:1.25;
}
.dhvx-reader-journey__reason-icon {
  grid-row:1 / span 2;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:color-mix(in srgb,var(--dhvx-journey-accent) 11%,var(--dhvx-surface));
}
.dhvx-reader-journey__reason small {
  min-width:0;
  overflow:hidden;
  color:var(--dhvx-text-muted);
  font-size:10px;
  font-weight:600;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dhvx-reader-journey__item > strong {
  grid-area:title;
  min-width:0;
  color:var(--dhvx-text);
  font-size:15.25px;
  font-weight:700;
  line-height:1.38;
  letter-spacing:-.012em;
  text-wrap:pretty;
  overflow-wrap:anywhere;
}
.dhvx-reader-journey__meta {
  grid-area:meta;
  display:flex;
  flex-wrap:wrap;
  gap:4px 10px;
  color:var(--dhvx-text-muted);
  font-size:10.75px;
  line-height:1.3;
}
.dhvx-reader-journey__meta span + span::before { content:"·"; margin-right:10px; }
.dhvx-reader-journey__go {
  grid-area:go;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  color:var(--dhvx-text-muted);
  transition:background-color var(--dhvx-motion-fast) var(--dhvx-ease-standard),color var(--dhvx-motion-fast) var(--dhvx-ease-standard),transform var(--dhvx-motion-fast) var(--dhvx-ease-standard);
}
.dhvx-reader-journey__item:hover > strong { color:var(--dhvx-journey-accent); }
.dhvx-reader-journey__item:hover .dhvx-reader-journey__go,
.dhvx-reader-journey__item:focus-visible .dhvx-reader-journey__go {
  background:color-mix(in srgb,var(--dhvx-journey-accent) 10%,var(--dhvx-surface));
  color:var(--dhvx-journey-accent);
  transform:translateX(2px);
}
.dhvx-reader-journey__item:focus-visible { outline:2px solid color-mix(in srgb,var(--dhvx-journey-accent) 42%,transparent); outline-offset:3px; border-radius:6px; }
.dhvx-reader-journey__note {
  margin:11px 0 0;
  color:var(--dhvx-text-muted);
  font-size:10.5px;
  line-height:1.45;
}

html[data-theme="dark"] .dhvx-reader-journey__all { --dhvx-category-soft:color-mix(in srgb,var(--dhvx-category) 17%,var(--dhvx-surface)); }
html[data-theme="dark"] .dhvx-reader-journey__all.tone-teal   { --dhvx-category:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__all.tone-orange { --dhvx-category:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__all.tone-violet { --dhvx-category:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__all.tone-clay   { --dhvx-category:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__all.tone-blue   { --dhvx-category:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__all.tone-rose   { --dhvx-category:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__all.tone-slate  { --dhvx-category:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__all.tone-red    { --dhvx-category:#d82831; }
html[data-theme="dark"] .dhvx-reader-journey__item.is-same { --dhvx-journey-accent:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__item.is-bridge { --dhvx-journey-accent:#a8adb3; }
html[data-theme="dark"] .dhvx-reader-journey__item.is-related { --dhvx-journey-accent:#a8adb3; }

@media (max-width:767px) {
  .dhvx-reader-journey { width:auto; margin-inline:14px; padding:28px 0 30px; }
  .dhvx-reader-journey__head { align-items:flex-start; gap:12px; }
  .dhvx-reader-journey__heading h2 { font-size:18px; }
  .dhvx-reader-journey__heading p { font-size:12px; }
  .dhvx-reader-journey__all { min-height:34px; padding-right:8px; }
  .dhvx-reader-journey__all > span:not(.dhvx-category-link__icon) { display:none; }
  .dhvx-reader-journey__item {
    grid-template-columns:minmax(0,1fr) 30px;
    grid-template-areas:"reason go" "title go" "meta go";
    gap:7px 10px;
    padding:14px 0;
  }
  .dhvx-reader-journey__reason { display:flex; align-items:center; gap:6px; }
  .dhvx-reader-journey__reason-icon { flex:0 0 22px; }
  .dhvx-reader-journey__reason small { max-width:42vw; }
  .dhvx-reader-journey__item > strong { font-size:14.5px; }
  .dhvx-reader-journey__note { font-size:10px; }
}

@media (max-width:359px) {
  .dhvx-reader-journey__head { display:block; }
  .dhvx-reader-journey__all { margin-top:10px; }
  .dhvx-reader-journey__reason small { max-width:52vw; }
}

@media (prefers-reduced-motion:reduce) {
  .dhvx-reader-journey__go { transition:none; }
}

@media (forced-colors:active) {
  .dhvx-reader-journey__reason-icon,
  .dhvx-reader-journey__all { forced-color-adjust:auto; border:1px solid CanvasText; background:Canvas; color:CanvasText; }
  .dhvx-reader-journey__item:focus-visible { outline:2px solid Highlight; }
}

/* 13.73.0 — Reader Mobile End-of-Article Convergence.
 * Keep all public journey items, but turn the mobile tail into one scannable
 * horizontal lane so the Reader does not become a long stack of related blocks. */
@media (max-width:767px) {
  .dhvx-reader-journey {
    margin-inline:16px;
    padding:22px 0 24px;
  }
  .dhvx-reader-journey__head {
    gap:10px;
    margin-bottom:12px;
  }
  .dhvx-reader-journey__heading h2 { font-size:17px; line-height:1.28; }
  .dhvx-reader-journey__heading p { margin-top:5px; font-size:11.75px; line-height:1.45; }
  .dhvx-reader-journey__all { min-width:36px; min-height:36px; }
  .dhvx-reader-journey__list {
    grid-auto-flow:column;
    grid-auto-columns:minmax(252px,86%);
    gap:10px;
    margin:0 -16px;
    padding:0 16px 4px;
    border-top:0;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .dhvx-reader-journey__list::-webkit-scrollbar { display:none; }
  .dhvx-reader-journey__item {
    grid-template-columns:minmax(0,1fr) 28px;
    grid-template-areas:"reason go" "title go" "meta go";
    align-content:start;
    gap:7px 9px;
    min-height:132px;
    padding:13px 14px;
    border:1px solid var(--dhvx-border);
    border-radius:12px;
    background:var(--dhvx-surface);
    scroll-snap-align:start;
  }
  .dhvx-reader-journey__reason { display:flex; align-items:center; gap:6px; }
  .dhvx-reader-journey__reason small { max-width:38vw; }
  .dhvx-reader-journey__item > strong { font-size:14.25px; line-height:1.37; }
  .dhvx-reader-journey__go { width:28px; height:28px; }
  .dhvx-reader-journey__note { margin-top:8px; font-size:9.75px; }
}
@media (max-width:359px) {
  .dhvx-reader-journey { margin-inline:14px; }
  .dhvx-reader-journey__list {
    grid-auto-columns:minmax(238px,89%);
    margin-inline:-14px;
    padding-inline:14px;
  }
  .dhvx-reader-journey__reason small { max-width:45vw; }
}

/* 13.78.9 — Reader Journey language convergence responsive guard.
 * The copy is now more conversational; give tablet widths enough room to wrap
 * naturally without collapsing the editorial hierarchy or the category action. */
@media (min-width:768px) and (max-width:1119px) {
  .dhvx-reader-journey {
    width:min(calc(100% - 48px),66ch);
    padding:30px 0 34px;
  }
  .dhvx-reader-journey__head {
    align-items:flex-start;
    gap:16px;
  }
  .dhvx-reader-journey__heading { flex:1 1 auto; }
  .dhvx-reader-journey__all {
    flex:0 1 auto;
    max-width:42%;
    line-height:1.25;
  }
  .dhvx-reader-journey__all > span:not(.dhvx-category-link__icon) {
    min-width:0;
    white-space:normal;
  }
  .dhvx-reader-journey__item {
    grid-template-columns:118px minmax(0,1fr) 30px;
    gap:5px 14px;
  }
  .dhvx-reader-journey__reason small {
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
  }
}
