/* Shared overview card above a single article column. */
.design-shell .fmh-guide-article {
    max-width: 840px;
    margin-inline: auto;
}
.design-shell .fmh-guide-article > .principles-body {
    max-width: none;
    min-width: 0;
}
.design-shell .fmh-article-overview {
    margin: 0 0 2rem;
    padding: 22px;
    border: 2px solid var(--fmh-ink);
    border-radius: var(--fmh-radius);
    box-shadow: 4px 4px 0 var(--fmh-pop);
}
.design-shell .fmh-article-overview,
body.single-post .design-shell .entry-content .fmh-article-overview {
    background: var(--fmh-brand-soft, rgba(29, 78, 216, .09));
}
.design-shell .fmh-article-overview:hover { box-shadow: 6px 6px 0 var(--fmh-pop); }
.design-shell .fmh-article-overview h2,
.design-shell .fmh-article-overview h3 {
    margin: 4px 0 12px;
    padding: 0;
    border: 0;
    background: none;
    counter-increment: none;
    color: var(--fmh-text);
    font-family: var(--fmh-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
}
.design-shell .fmh-article-overview h2::before { content: none; }
.design-shell .fmh-article-overview dl { margin: 0; }
.design-shell .fmh-article-overview dl > div {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--fmh-line);
}
.design-shell .fmh-article-overview dt { font-weight: 800; }
.design-shell .fmh-article-overview dd { margin: 0; overflow-wrap: anywhere; }
.design-shell .fmh-article-index {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 2px dashed var(--fmh-line-strong);
}
.design-shell .fmh-article-index ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 26px;
    margin: 0 0 0 20px;
    padding: 0;
}
.design-shell .fmh-article-index li { min-width: 0; margin: 0; padding-left: 2px; }
.design-shell .fmh-article-index a {
    color: var(--fmh-brand);
    font-size: .82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.design-shell .principles-body [id] { scroll-margin-top: 24px; }
.design-shell .principles-body .grid2,
.design-shell .principles-body .grid3 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.design-shell .principles-body > .statline { flex-wrap: wrap; padding: 0 0 24px; margin-bottom: 24px; }
.design-shell .principles-body > .photo {
    width: 100%; height: auto; min-height: 160px; aspect-ratio: 3 / 1;
    margin: 24px 0; border-radius: var(--fmh-radius);
}
.design-shell .principles-body .tagline { padding-left: 0; padding-right: 0; }
.design-shell .principles-body .pitch-pair { margin: 18px 0; }
.design-shell .principles-body .fmh-table-wrap,
.design-shell .principles-body .markdown-table { max-width: 100%; overflow-x: auto; }
@media (max-width: 600px) {
    .design-shell .fmh-article-overview dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .design-shell .fmh-article-index ol { grid-template-columns: minmax(0, 1fr); }
    .design-shell .fmh-article-overview { padding: 18px; }
}
