/* An article's place in the startup process: the stage line under its title, and the card that routes to the next one. */
.fdpr-strip, .fdpr-next {
  --fr-red: #e63946; --fr-deep: #c81e2e; --fr-ink: #111; --fr-grey: #686868; --fr-mist: #b3ada6; --fr-cream: #f4f2ef;
  --fr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Inter, system-ui, sans-serif;
}
.fdpr-strip { max-width: 36rem; margin: 1.5rem 0 0 !important; }
.fdpr-strip__link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; color: #fff; font-size: 0.875rem; line-height: 1.4; text-decoration: none !important; }
.fdpr-strip__kicker { color: var(--fr-mist); font-weight: 500; }
.fdpr-strip__stage { font-weight: 600; background: linear-gradient(var(--fr-red) 0 0) no-repeat 0 100% / 0 2px; padding-bottom: 0.1em; transition: background-size 0.45s var(--fr-ease); }
.fdpr-strip__link:hover .fdpr-strip__stage, .fdpr-strip__link:focus-visible .fdpr-strip__stage { background-size: 100% 2px; }
.fdpr-strip__link:focus-visible { outline: 3px solid var(--fr-red); outline-offset: 3px; border-radius: 2px; }
.fdpr-strip__line { display: flex; gap: 4px; margin: 0.65rem 0 0; padding: 0; list-style: none; }
.fdpr-strip__line li { flex: 1; margin: 0; }
.fdpr-strip__line a { display: block; height: 6px; border-radius: 1px; background: rgb(255 255 255 / 16%); transition: background 0.25s; }
.fdpr-strip__line .is-past a { background: rgb(255 255 255 / 52%); }
.fdpr-strip__line .is-here a { background: var(--fr-red); }
.fdpr-strip__line a:hover { background: #fff; }

/* Pages (tool lists, pitch deck guides) carry it on white, above the content. */
.fdpr-strip--light { max-width: 45rem; margin: 0 auto 2rem !important; padding-bottom: 1.25rem; border-bottom: 1px solid rgb(17 17 17 / 12%); }
.fdpr-strip--light .fdpr-strip__link { color: var(--fr-ink); }
.fdpr-strip--light .fdpr-strip__kicker { color: var(--fr-grey); }
.fdpr-strip--light .fdpr-strip__line a { background: rgb(17 17 17 / 10%); }
.fdpr-strip--light .fdpr-strip__line .is-past a { background: rgb(17 17 17 / 38%); }
.fdpr-strip--light .fdpr-strip__line .is-here a { background: var(--fr-red); }
.fdpr-strip--light .fdpr-strip__line a:hover { background: var(--fr-ink); }

.fdpr-next { max-width: 42.5rem; margin: 3rem 0 0 !important; padding: 1.4rem 1.5rem 1.2rem; border-radius: 10px; background: var(--fr-cream); color: var(--fr-ink); box-sizing: border-box; }
.fdpr-strip--light ~ * .fdpr-next, .wp-block-post-content + .fdpr-next { margin-inline: auto; }
.fdpr-next__kicker { margin: 0 0 0.7rem !important; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fr-grey); }
.fdpr-next__main { display: grid; grid-template-columns: minmax(0, 1fr) 1.25rem; gap: 0.3rem 1rem; align-items: center; color: inherit !important; text-decoration: none !important; background: none !important; }
.fdpr-next__stage { grid-column: 1; font-size: 0.8125rem; font-weight: 600; color: var(--fr-deep); }
.fdpr-next__title { grid-column: 1; font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.022em; text-wrap: balance; }
.fdpr-next__title > span { background: linear-gradient(var(--fr-red) 0 0) no-repeat 0 100% / 0 2px; padding-bottom: 0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-size 0.45s var(--fr-ease); }
.fdpr-next__main svg { grid-column: 2; grid-row: 1 / span 2; width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--fr-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--fr-ease); }
.fdpr-next__main:hover .fdpr-next__title > span, .fdpr-next__main:focus-visible .fdpr-next__title > span { background-size: 100% 2px; }
.fdpr-next__main:hover svg { transform: translateX(6px); }
.fdpr-next__main:focus-visible { outline: 3px solid var(--fr-red); outline-offset: 4px; border-radius: 4px; }
.fdpr-next__more { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 1rem 0 0 !important; padding-top: 0.9rem; border-top: 1px solid rgb(17 17 17 / 12%); font-size: 0.875rem; }
.fdpr-next__more a { color: var(--fr-ink) !important; text-decoration: underline !important; text-decoration-color: rgb(17 17 17 / 35%) !important; text-underline-offset: 0.2em; background: none !important; }
.fdpr-next__more a:hover { text-decoration-color: var(--fr-red) !important; }

@media (prefers-reduced-motion: reduce) {
  .fdpr-strip *, .fdpr-next * { transition: none !important; }
}
.fdp-article .fdpr-next { max-width: none; }
