.hvpa-author-card,
.hvpa-author-card * {
    box-sizing: border-box;
}


/* FIX chữ Việt: hạn chế weight 800/900 dễ lỗi dấu tiếng Việt trên một số theme. */
.hvpa-author-card strong,
.hvpa-author-page strong,
.hvpa-author-card b,
.hvpa-author-page b {
    font-weight: 600 !important;
}

.hvpa-author-card [class^="hvpa-"],
.hvpa-author-card [class*=" hvpa-"],
.hvpa-author-page [class^="hvpa-"],
.hvpa-author-page [class*=" hvpa-"] {
    font-synthesis-weight: none;
}

.hvpa-author-card {
    --hvpa-bg: #eef4ff;
    --hvpa-text: #071127;
    --hvpa-muted: #566072;
    --hvpa-green: #169b63;
    --hvpa-blue: #0f5ed7;
    --hvpa-border: rgba(15, 35, 70, .08);

    width: 100%;
    margin: 24px 0 22px;
    padding: 22px 24px;
    border-radius: 20px;
    background: var(--hvpa-bg);
    border: 1px solid var(--hvpa-border);
    color: var(--hvpa-text);
    box-shadow: 0 8px 22px rgba(12, 24, 48, .045);
    clear: both;
    overflow: hidden;
}

.hvpa-author-card--single_author {
    margin-top: 0;
}

.hvpa-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
}

.hvpa-card-avatar {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5eaf3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255,255,255,.82);
}

.hvpa-card-avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 50% !important;
    margin: 0 !important;
}

.hvpa-card-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
    color: #2b3448;
    text-transform: uppercase;
}

.hvpa-card-info {
    min-width: 0;
}

.hvpa-card-subtitle {
    margin: 0 0 3px;
    color: var(--hvpa-muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.hvpa-card-name {
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--hvpa-text);
    font-size: 24px;
    line-height: 1.22;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hvpa-card-name a {
    color: inherit !important;
    text-decoration: none !important;
}

.hvpa-card-name a:hover {
    color: #114c9a !important;
}

.hvpa-card-verified {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--hvpa-green);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.hvpa-card-verified-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--hvpa-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.hvpa-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 14px;
    color: #30384a;
    font-size: 13px;
    line-height: 1.5;
}

.hvpa-card-meta span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.68);
}

.hvpa-card-meta strong {
    font-weight: 600;
}

.hvpa-meta-icon {
    color: var(--hvpa-blue);
    font-size: 13px;
    line-height: 1;
}

.hvpa-card-bio {
    margin: 0;
    color: #101828;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}

.hvpa-card-bio p {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.hvpa-card-bio p:last-child {
    margin-bottom: 0 !important;
}

.hvpa-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    align-items: center;
}

.hvpa-card-btn,
.hvpa-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none !important;
    transition: .2s ease;
}

.hvpa-card-btn i,
.hvpa-card-link i {
    font-size: 13px;
    line-height: 1;
}

.hvpa-card-btn {
    background: var(--hvpa-blue);
    color: #fff !important;
    border: 1px solid var(--hvpa-blue);
}

.hvpa-card-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 94, 215, .2);
}

.hvpa-card-link {
    background: rgba(255,255,255,.72);
    color: var(--hvpa-blue) !important;
    border: 1px solid rgba(15, 94, 215, .16);
}

.hvpa-card-link:hover {
    background: #fff;
}

.hvpa-author-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 15px 44px;
}

.hvpa-author-page-title,
.hvpa-author-list-title {
    margin: 28px 0 16px !important;
    padding: 0 !important;
    font-size: 22px !important;
    line-height: 1.32 !important;
    font-weight: 600 !important;
    color: #071127 !important;
    letter-spacing: -0.01em;
}

.hvpa-author-post-grid,
.hvpa-author-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hvpa-author-post-item,
.hvpa-author-list-item {
    display: block;
    border: 1px solid rgba(12, 24, 48, .08);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 8px 22px rgba(12, 24, 48, .045);
    transition: .2s ease;
}

.hvpa-author-post-item:hover,
.hvpa-author-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(12, 24, 48, .08);
}

.hvpa-author-post-thumb {
    aspect-ratio: 16 / 9;
    background: #eef2f7;
    overflow: hidden;
}

.hvpa-author-post-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

.hvpa-author-post-body,
.hvpa-author-list-body {
    padding: 13px;
}

.hvpa-author-post-title,
.hvpa-author-list-name {
    display: block;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #071127 !important;
    font-size: 15px !important;
    line-height: 1.36 !important;
    font-weight: 600 !important;
    letter-spacing: 0;
}

.hvpa-author-post-date,
.hvpa-author-list-subtitle {
    display: block;
    margin: 0 0 7px;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.4;
}

.hvpa-author-post-excerpt,
.hvpa-author-list-desc {
    margin: 0 !important;
    color: #4b5565;
    font-size: 13.5px;
    line-height: 1.55;
}

.hvpa-author-empty {
    padding: 18px;
    border-radius: 14px;
    background: #f7f8fb;
    color: #667085;
    font-size: 14px;
}

.hvpa-author-pagination {
    margin: 24px 0 0;
    display: flex;
    justify-content: center;
}

.hvpa-author-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    margin: 0 3px;
    border-radius: 10px;
    border: 1px solid #e4e7ec;
    color: #344054;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
}

.hvpa-author-pagination .page-numbers.current {
    background: var(--hvpa-blue);
    color: #fff;
    border-color: var(--hvpa-blue);
}

.hvpa-author-list-item {
    display: flex;
    gap: 13px;
    padding: 13px;
}

.hvpa-author-list-avatar {
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f7;
}

.hvpa-author-list-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

@media (max-width: 849px) {
    .hvpa-author-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .hvpa-card-head {
        gap: 14px;
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .hvpa-card-avatar {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .hvpa-card-subtitle {
        font-size: 15px;
    }

    .hvpa-card-name {
        font-size: 22px;
    }

    .hvpa-card-verified {
        font-size: 15px;
        gap: 8px;
    }

    .hvpa-card-verified-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 12px;
    }

    .hvpa-card-bio {
        font-size: 15px;
    }

    .hvpa-author-page-title,
    .hvpa-author-list-title {
        font-size: 21px !important;
    }

    .hvpa-author-post-grid,
    .hvpa-author-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 549px) {
    .hvpa-card-head {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .hvpa-card-avatar {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
    }

    .hvpa-card-subtitle {
        font-size: 14px;
    }

    .hvpa-card-name {
        font-size: 20px;
        margin-bottom: 8px !important;
    }

    .hvpa-card-verified {
        font-size: 14px;
    }

    .hvpa-card-meta span {
        width: 100%;
        border-radius: 12px;
    }

    .hvpa-card-actions {
        gap: 7px;
    }

    .hvpa-card-btn,
    .hvpa-card-link {
        min-height: 32px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .hvpa-author-post-grid,
    .hvpa-author-list-grid {
        grid-template-columns: 1fr;
    }
}
