/* VH Author Manager — Frontend */

/* ==========================================================================
   Author Block (bottom of post) — Light theme
   ========================================================================== */

.vha-author-block {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 28px;
    margin: 40px 0 20px;
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Avatar */
.vha-avatar-col {
    flex-shrink: 0;
}

.vha-avatar {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #ad8633;
}

/* Info */
.vha-info-col {
    flex: 1;
    min-width: 0;
}

.vha-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.vha-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 10px;
    padding: 0;
    line-height: 1.3;
}

.vha-bio {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 16px;
}

/* Social links */
.vha-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vha-follow {
    font-size: 13px;
    color: #999;
    margin-right: 4px;
}

.vha-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
}

.vha-social-link:hover {
    transform: translateY(-2px);
    color: #fff;
}

.vha-social-facebook:hover  { background: #1877F2; border-color: #1877F2; }
.vha-social-instagram:hover { background: #E4405F; border-color: #E4405F; }
.vha-social-linkedin:hover  { background: #0A66C2; border-color: #0A66C2; }
.vha-social-twitter:hover   { background: #333;    border-color: #333; }
.vha-social-youtube:hover   { background: #FF0000; border-color: #FF0000; }
.vha-social-tiktok:hover    { background: #000;    border-color: #69C9D0; }
.vha-social-zalo:hover      { background: #0068FF; border-color: #0068FF; }
.vha-social-phone:hover     { background: #25D366; border-color: #25D366; }
.vha-social-website:hover   { background: #ad8633; border-color: #ad8633; }

.vha-social-link svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Inline Author + Date (same line as tags)
   ========================================================================== */

.vha-inline-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    font-size: 13px;
    vertical-align: middle;
}

.vha-author-link {
    color: #ad8633;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.vha-author-link:hover {
    color: #8a6b28;
    text-decoration: underline;
}

.vha-meta-sep {
    color: #ccc;
}

.vha-meta-date {
    color: #999;
    font-size: 13px;
}

/* Fallback wrap (if tags container not found) */
.vha-inline-meta-wrap {
    margin-bottom: 15px;
    font-size: 13px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .vha-author-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 18px;
        gap: 15px;
    }

    .vha-avatar {
        width: 90px;
        height: 90px;
    }

    .vha-name {
        font-size: 18px;
    }

    .vha-bio {
        font-size: 13px;
    }

    .vha-socials {
        justify-content: center;
    }

    .vha-inline-meta {
        display: flex;
        margin-left: 0;
        margin-top: 6px;
        font-size: 12px;
    }
}
