/*
Theme Name: Mercury ESB
Theme URI: https://esportbet.com
Description: Child theme for Mercury theme
Author: Sonus Media
Author URI: https://esportbet.com
Template: mercury
Version: 3.11
*/
/* Parent theme loaded via wp_enqueue_style in functions.php */

/* ============================================================
   Author Hub — Team Page & Bio Cards
   ============================================================ */

/* Bio card base */
.eb-ah--bio {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Card header: avatar + name/role side by side */
.eb-ah__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.eb-ah__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00bfff;
    flex-shrink: 0;
}

.eb-ah__identity {
    flex: 1;
}

.eb-ah__name {
    margin: 0 0 4px;
    font-size: 1.15em;
    line-height: 1.3;
}

.eb-ah__name a {
    color: #fff;
    text-decoration: none;
}

.eb-ah__name a:hover {
    color: #00bfff;
}

.eb-ah__role {
    margin: 0;
    font-size: .82em;
    color: #00bfff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Bio text */
.eb-ah__bio-text {
    font-size: .88em;
    color: #c6c6c6;
    line-height: 1.7;
}

.eb-ah__bio-text p {
    margin: 0 0 10px;
}

.eb-ah__bio-text p:last-child {
    margin-bottom: 0;
}

/* Social links */
.eb-ah__social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eb-ah__social-item a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8em;
    color: #00bfff;
    text-decoration: none;
    padding: 3px 8px;
    border: 1px solid #1f3a4a;
    border-radius: 3px;
    transition: background .15s, border-color .15s;
}

.eb-ah__social-item a:hover {
    background: #1f3a4a;
    border-color: #00bfff;
}

.eb-ah__social-icon {
    font-style: normal;
    font-weight: 700;
}

/* View full profile link */
.eb-ah__more-link {
    margin: 0;
}

.eb-ah__link {
    font-size: .82em;
    color: #00bfff;
    text-decoration: none;
    font-weight: 600;
}

.eb-ah__link:hover {
    text-decoration: underline;
}

/* Snippet card (post/page author box) */
.eb-ah--snippet {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 4px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

/* Post-bottom author snippet box (injected via the_content filter) */
.eb-author-snippet-box img {
    border-radius: 50%;
    border: 2px solid #00bfff;
}

/* Author profile page header */
.eb-author-header img {
    border-radius: 50%;
    border: 2px solid #00bfff;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Author content list */
.eb-author-content-list li {
    font-size: .9em;
    color: #c6c6c6;
}

.eb-author-content-list a {
    color: #00bfff;
    text-decoration: none;
}

.eb-author-content-list a:hover {
    text-decoration: underline;
}

/* ============================================================
   Author Profile Pages (.eb-ap__*)
   ============================================================ */

.space-page-content-wrap .eb-ap__header {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 28px;
    padding: 32px 0 28px;
    border-bottom: 2px solid #1f2937;
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    .space-page-content-wrap .eb-ap__header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
}

.space-page-content-wrap .eb-ap__avatar {
    flex-shrink: 0;
    width: 120px;
}

.space-page-content-wrap .eb-ap__avatar-img,
.eb-ap__avatar-img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    border: 3px solid #00bfff !important;
    object-fit: cover !important;
    display: block !important;
}

.space-page-content-wrap .eb-ap__identity {
    flex: 1 !important;
    min-width: 0;
}

.space-page-content-wrap .eb-ap__name {
    margin: 0 0 6px !important;
    font-size: 1.7em !important;
    color: #fff !important;
    line-height: 1.2 !important;
}

.space-page-content-wrap .eb-ap__role {
    margin: 0 0 6px !important;
    color: #00bfff !important;
    font-size: .9em !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.space-page-content-wrap .eb-ap__expertise {
    margin: 0 0 14px !important;
    color: #888 !important;
    font-size: .85em !important;
}

.space-page-content-wrap .eb-ap__socials {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    margin-top: 12px !important;
    list-style: none !important;
    padding: 0 !important;
}

.eb-ap__social-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px;
    color: #00bfff !important;
    font-size: .82em !important;
    text-decoration: none !important;
    padding: 5px 12px !important;
    border: 1px solid #00bfff44 !important;
    border-radius: 4px !important;
    background: transparent !important;
    transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}

.eb-ap__social-link:hover {
    background: #00bfff18 !important;
    border-color: #00bfff !important;
    color: #fff !important;
}

.eb-ap__social-link--instagram:hover {
    background: #e1306c18 !important;
    border-color: #e1306c !important;
    color: #e1306c !important;
}

.eb-ap__social-link--facebook:hover {
    background: #1877f218 !important;
    border-color: #1877f2 !important;
    color: #1877f2 !important;
}

.eb-ap__back-link {
    color: #555 !important;
    font-size: .82em !important;
    text-decoration: none !important;
}

.eb-ap__back-link:hover {
    color: #888 !important;
}

.space-page-content-wrap .eb-ap__bio {
    margin-bottom: 36px;
    font-size: 1em;
    line-height: 1.75;
    color: #c6c6c6;
}

.space-page-content-wrap .eb-ap__bio p {
    margin-bottom: 1.1em;
}

.space-page-content-wrap .eb-ap__bio p:last-child {
    margin-bottom: 0;
}
