/* ============================================================
   Family Business Academy — Insights (the blog)
   On top of fba-landing.css: the same colours, type, header and
   footer as the home page, light and dark.
   ============================================================ */

/* ---------- Breadcrumbs ---------- */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.4rem;
    color: var(--muted);
    font-size: 0.88rem;
}
.crumbs a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--text); text-decoration-color: currentColor; }
.crumbs span[aria-hidden] { color: var(--soft); }

/* ---------- The Insights page ---------- */
.blog-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(0.5rem, 2vw, 1rem); }
.blog-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 6vw, 4.2rem); }
.blog-hero .lede { max-width: 44rem; margin-top: 1.2rem; }
.blog-list { padding-top: clamp(1.75rem, 4vw, 2.75rem); }

.topic-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.topic-list a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.3rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--pill);
    background: var(--panel);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 650;
    transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.topic-list a:hover { border-color: var(--border-strong); color: var(--text); }

.post-feature { margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }
.post-feature__art { aspect-ratio: 3 / 2; padding: 1rem 2rem; }
.post-feature__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; }
.post-feature .post-card__dek { -webkit-line-clamp: 4; font-size: 1.04rem; }
@media (min-width: 860px) {
    .post-feature { display: grid; grid-template-columns: 1.1fr 1fr; }
    .post-feature__art { aspect-ratio: auto; min-height: 21rem; }
    .post-feature__body { justify-content: center; padding: 2.25rem; gap: 0.8rem; }
}

/* ---------- A post ---------- */
.post-hero { padding-block: clamp(2.25rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2rem); }
.post-hero__inner { max-width: calc(62rem + 2 * var(--gutter)); }
.post-hero__inner > * { max-width: 48rem; }
/* On a wide screen the title lines up with the text column below it. */
.post-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.06; }
.post-dek { margin-top: 1.1rem; color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }

.byline { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.6rem; }
.byline__photo { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
/* Posts signed by the academy rather than a person. */
.byline__mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--accent-tint);
    color: var(--accent);
    font-size: 1.45rem;
}
.byline__name { font-weight: 700; }
.byline__meta { color: var(--muted); font-size: 0.9rem; }

.post-art {
    margin: 0 auto;
    max-width: 62rem;
    aspect-ratio: 2 / 1;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    border-radius: var(--radius);
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding-block: clamp(2rem, 5vw, 3.25rem) clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 1020px) {
    .post-layout {
        grid-template-columns: minmax(0, 44rem) 14rem;
        justify-content: center;
        gap: 4rem;
    }
}

/* Reading text: a little larger and looser than the home page's. */
.prose { font-size: clamp(1.05rem, 1.25vw, 1.14rem); line-height: 1.75; }
.prose > p,
.prose > ul,
.prose > ol { margin: 0 0 1.25rem; }
.prose > h2 {
    margin: 2.6rem 0 1rem;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.prose > ul,
.prose > ol { padding-left: 1.3rem; }
.prose > ul { list-style: disc; }
.prose > ol { list-style: decimal; }
.prose li { margin-bottom: 0.6rem; padding-left: 0.2rem; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { font-weight: 700; color: var(--text); }
.prose a:not(.btn) {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.prose a:not(.btn):hover { text-decoration-thickness: 2px; }

.pull {
    margin: 2.2rem 0;
    padding: 0.25rem 0 0.25rem 1.4rem;
    border-left: 4px solid #e0a63c;
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.takeaways {
    margin: 0 0 2.25rem;
    padding: 1.25rem 1.4rem 0.6rem;
    border: 1px solid rgba(35, 77, 111, 0.18);
    border-radius: var(--radius);
    background: var(--accent-tint);
    font-size: 1rem;
    line-height: 1.6;
}
.takeaways__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.takeaways__title i { font-size: 1.1rem; }
.takeaways ul { padding-left: 1.2rem; list-style: disc; }
.takeaways li { margin-bottom: 0.6rem; }
.takeaways li::marker { color: var(--accent); }

.post-cta {
    display: grid;
    gap: 1.25rem;
    margin: 2.75rem 0;
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}
.post-cta .eyebrow { margin-bottom: 0.5rem; }
.post-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.15; }
.post-cta p:not(.eyebrow) { margin-top: 0.5rem; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.post-cta .btn { justify-self: start; white-space: normal; line-height: 1.25; }

.sources { margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.sources h2 { margin-bottom: 1rem; font-size: 1.15rem; letter-spacing: -0.01em; }
.sources ol { padding-left: 1.3rem; list-style: decimal; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.sources li { margin-bottom: 0.7rem; }
.sources a { color: var(--accent); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 2px; }

.author {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    margin-top: 2.5rem;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-alt);
}
.author__photo { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.author .eyebrow { margin-bottom: 0.3rem; }
.author h2 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.author p:not(.eyebrow) { color: var(--muted); font-size: 0.96rem; line-height: 1.6; }

/* The side column: share, and where to go next. Beside the text on a wide
   screen, after it on a narrow one. */
.post-side { display: grid; gap: 1.75rem; align-content: start; }
@media (min-width: 1020px) {
    .post-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.post-side__title {
    margin-bottom: 0.7rem;
    color: var(--soft);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.share { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share__btn {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--panel);
    color: var(--text);
    font-size: 1.2rem;
    transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}
.share__btn:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.share__done { min-height: 1.3em; margin-top: 0.5rem; color: var(--muted); font-size: 0.85rem; }

.post-side__links { display: grid; gap: 0.35rem; }
.post-side__links a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}
.post-side__links i { flex: none; margin-top: 0.15rem; color: var(--accent); }
.post-side__links a:hover span { text-decoration: underline; text-underline-offset: 3px; }

.related__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1.5rem;
}
.related__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

/* ---------- Dark ---------- */
.dark .takeaways { border-color: rgba(147, 197, 253, 0.2); }
.dark .share__btn:hover { background: #f1f5f9; border-color: #f1f5f9; color: #0f172a; }

@media (max-width: 520px) {
    .author { flex-direction: column; }
}
