/* ==========================================================================
   STORY & PROFILE TEMPLATE
   ========================================================================== */

/* HEADER */

.bcbhas-profile-header {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #014D4E; /* Dark Teal, per client request 2026-09-20 */
    padding: 100px 0;
}

.bcbhas-profile-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

.bcbhas-profile-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.bcbhas-breadcrumb-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    white-space: nowrap;
}

.bcbhas-breadcrumb-primary {
    background-color: #cc3333;
    color: #ffffff;
    border: none;
}

.bcbhas-breadcrumb-primary:hover {
    background-color: #b22c2c;
    color: #ffffff;
}

.bcbhas-breadcrumb-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: default;
}

.bcbhas-breadcrumb-tag svg {
    flex-shrink: 0;
}

.bcbhas-profile-title {
    font-size: 3em;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 8px 0;
    padding: 0;
}

.bcbhas-profile-dates {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
    padding: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.bcbhas-profile-teaser {
    font-size: 1.15em;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    max-width: 760px;
    font-weight: 400;
}

/* CONTENT LAYOUT (main + sidebar) */

.bcbhas-profile-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 28px 64px;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.bcbhas-profile-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.bcbhas-profile-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    /* --bcbhas-header-height is set at runtime by bcbhas-sticky-offset.js;
       90px fallback covers the moment before that script runs. */
    top: calc(var(--bcbhas-header-height, 90px) + 24px);
    align-self: flex-start;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 24px;
}

/* PULL QUOTE */

.bcbhas-profile-pullquote {
    border-left: 3px solid #d0d0d0;
    margin: 0 0 32px 0;
    padding: 4px 0 4px 20px;
    font-size: 1.05em;
    font-style: italic;
    color: #888888;
    line-height: 1.7;
}

/* BODY */

.bcbhas-profile-body p {
    font-size: 0.98em;
    line-height: 1.75;
    color: #333333;
    margin-bottom: 18px;
}

/* SECTION LABELS */

.bcbhas-section-label {
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999999;
    margin: 0 0 14px 0;
}

/* PHOTOS */

.bcbhas-profile-photos {
    margin-top: 40px;
}

.bcbhas-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.bcbhas-photo-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

/* LEARN MORE LINKS */

.bcbhas-profile-learn-more {
    margin-top: 36px;
}

.bcbhas-learn-more-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bcbhas-learn-more-links li {
    margin-bottom: 10px;
}

.bcbhas-learn-more-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.92em;
    color: #444444;
    text-decoration: none;
}

.bcbhas-learn-more-links a:hover {
    color: #cc3333;
}

.bcbhas-learn-more-links svg {
    flex-shrink: 0;
    color: #888888;
}

/* MORE BIOGRAPHIES / MORE ARTICLES (sidebar thumbnail list) */

.bcbhas-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bcbhas-related-item {
    margin: 0;
}

.bcbhas-related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.bcbhas-related-thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    background: #eeeeee;
}

.bcbhas-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bcbhas-related-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cc3333;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
}

.bcbhas-related-title {
    font-size: 0.92em;
    font-weight: 600;
    color: #222222;
    line-height: 1.35;
}

.bcbhas-related-link:hover .bcbhas-related-title {
    color: #cc3333;
}

/* BACK NAVIGATION */

.bcbhas-profile-back-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 28px 48px;
    border-top: 1px solid #eeeeee;
}

.bcbhas-profile-back-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #555555;
    text-decoration: none;
    font-weight: 500;
}

.bcbhas-profile-back-nav a:hover {
    color: #cc3333;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .bcbhas-profile-header {
        padding: 56px 0;
    }

    div.bcbhas-profile-breadcrumbs {
        display: none !important;
        visibility: hidden !important;
    }

    .bcbhas-profile-title {
        font-size: 2em;
    }

    .bcbhas-profile-teaser {
        font-size: 1em;
    }

    .bcbhas-profile-header-inner {
        padding: 0 28px;
    }

    .bcbhas-profile-container {
        flex-direction: column;
        padding: 36px 28px 48px;
        gap: 36px;
    }

    .bcbhas-profile-sidebar {
        width: 100%;
        position: static;
    }

    .bcbhas-profile-back-nav {
        padding: 20px 28px 40px;
    }
}