.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;
    }
}

/* ============================================================================
   MHM2-615 — Author profile card at /blog/author/<slug>/
============================================================================ */
.mediband-author-profile {
    background: #fafaf8;
    border: 1px solid #e5e2dc;
    border-radius: 10px;
    padding: 28px;
    margin: 0 0 32px;
    color: #1a1a1a;
}
.mediband-author-profile--handband {
    background: #FAF4E1;
    border-color: #F0B010;
}
.mediband-author-profile__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
}
.mediband-author-profile__photo {
    flex: 0 0 auto;
}
.mediband-author-profile__photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    display: block;
}
.mediband-author-profile__body {
    flex: 1 1 360px;
    min-width: 0;
}
.mediband-author-profile__overline {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6B7387;
    margin: 0 0 6px;
}
.mediband-author-profile__name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px;
    color: #0F1828;
}
.mediband-author-profile__title {
    font-size: 15px;
    color: #444;
    margin: 0 0 14px;
}
.mediband-author-profile__bio {
    font-size: 15px;
    line-height: 1.6;
    color: #3A465E;
    margin: 0 0 14px;
}
.mediband-author-profile__credentials {
    font-size: 14px;
    color: #3A465E;
    margin: 0 0 14px;
    line-height: 1.45;
}
.mediband-author-profile__expertise {
    margin: 0 0 16px;
}
.mediband-author-profile__expertise-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B7387;
    margin: 0 0 6px;
}
.mediband-author-profile__chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mediband-author-profile__chip {
    display: inline-block;
    background: #fff;
    border: 1px solid #d6d3cc;
    color: #3A465E;
    font-size: 12px;
    line-height: 1;
    border-radius: 999px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.mediband-author-profile__chip a,
.mediband-author-profile__chip {
    /* unified inner padding whether chip is a link or plain text */
}
.mediband-author-profile__chip a {
    display: inline-block;
    padding: 6px 10px;
    color: inherit;
    text-decoration: none;
}
.mediband-author-profile__chip:not(:has(a)) {
    padding: 6px 10px;
}
.mediband-author-profile__chip:has(a):hover {
    background: #fff5ed;
    border-color: #C00;
    color: #C00;
}
.mediband-author-profile--handband .mediband-author-profile__chip:has(a):hover {
    background: #FFF8E1;
    border-color: #F0B010;
    color: #8a6200;
}
.mediband-author-profile--handband .mediband-author-profile__chip {
    border-color: #d4b46e;
}
.mediband-author-profile__links {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}
.mediband-author-profile__links a {
    font-size: 13px;
    font-weight: 700;
    color: #C00;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px solid currentColor;
}
.mediband-author-profile__links a:hover {
    color: #800;
}
.mediband-author-profile--handband .mediband-author-profile__links a {
    color: #B68000;
}
.mediband-author-profile--handband .mediband-author-profile__links a:hover {
    color: #8a6200;
}
@media (max-width: 760px) {
    .mediband-author-profile { padding: 22px 18px; }
    .mediband-author-profile__inner { gap: 18px; }
    .mediband-author-profile__photo img { width: 120px; height: 120px; }
    .mediband-author-profile__name { font-size: 22px; }
    .mediband-author-profile__title { font-size: 14px; }
    .mediband-author-profile__bio { font-size: 14px; }
}
