.mediband-author-byline {
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 12px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.mediband-author-byline strong {
    color: #222;
    font-weight: 600;
}

.mediband-author-byline .byline-title {
    color: #444;
}

.mediband-author-byline .sep {
    margin: 0 6px;
    color: #bbb;
}

.mediband-author-bio {
    background: #fafaf8;
    border: 1px solid #e5e2dc;
    border-radius: 8px;
    padding: 24px;
    margin: 40px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

/* Brand-aware bio card colors */
.mediband-author-bio--handband {
    background: #FAF4E1;
    border-color: #F0B010;
}

.bio-worksfor {
    display: none; /* metadata-only, no visual */
}

.bio-overline {
    margin: 0 0 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: #888;
    font-weight: 700;
    line-height: 1.2;
}

.mediband-author-bio--handband .bio-overline {
    color: #8A6208;
}

.mediband-author-bio--handband .bio-links a {
    color: #8A6208;
}

.mediband-author-bio--handband .bio-links a:hover {
    border-bottom-color: #8A6208;
}

.mediband-author-bio--handband .bio-name a:hover {
    color: #8A6208;
}

.mediband-author-bio .bio-image {
    flex: 0 0 96px;
}

.mediband-author-bio .bio-image img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.mediband-author-bio .bio-text {
    flex: 1 1 320px;
    min-width: 0;
}

.mediband-author-bio .bio-name {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    color: #222;
}

.mediband-author-bio .bio-name a {
    color: inherit;
    text-decoration: none;
}

.mediband-author-bio .bio-name a:hover {
    color: #cb6913;
}

.mediband-author-bio .bio-title {
    margin: 2px 0 12px;
    font-size: 14px;
    color: #888;
}

.mediband-author-bio .bio-description {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.mediband-author-bio .bio-links {
    margin: 8px 0 0;
    font-size: 14px;
}

.mediband-author-bio .bio-links a {
    color: #cb6913;
    text-decoration: none;
    margin-right: 14px;
    border-bottom: 1px solid transparent;
}

.mediband-author-bio .bio-links a:hover {
    border-bottom-color: #cb6913;
}

@media (max-width: 600px) {
    .mediband-author-byline .sep {
        display: inline-block;
        margin: 0 4px;
    }
    .mediband-author-bio {
        padding: 18px;
        gap: 14px;
    }
    .mediband-author-bio .bio-image {
        flex: 0 0 72px;
    }
    .mediband-author-bio .bio-image img {
        width: 72px;
        height: 72px;
    }
    .mediband-author-bio .bio-name {
        font-size: 17px;
    }
}

/* ───── Featured Image (LCP) ─────
   Width/height attrs reserve aspect ratio (CLS = 0); CSS makes it responsive
   while preserving that ratio so the browser can lay out before the file
   finishes downloading. Don't add `loading="lazy"` — this IS the LCP. */
.post-featured-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* ───── Auto Table of Contents ───── */
.mediband-blog-toc {
    background: #fafaf8;
    border: 1px solid #e5e2dc;
    border-radius: 8px;
    padding: 18px 24px;
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.6;
}

.mediband-blog-toc .toc-title {
    margin: 0 0 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
    color: #444;
}

.mediband-blog-toc ol {
    margin: 0;
    padding-left: 20px;
}

.mediband-blog-toc li {
    margin: 4px 0;
}

.mediband-blog-toc li.sub {
    margin-left: 16px;
    list-style: circle;
    font-size: 13px;
}

.mediband-blog-toc a {
    color: #cb6913;
    text-decoration: none;
}

.mediband-blog-toc a:hover {
    text-decoration: underline;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 600px) {
    .mediband-blog-toc {
        padding: 14px 18px;
    }
}
