/* Vidas – Hero del blog | Single Post
 * Sin fondo ni padding exterior: los controla el contenedor de Elementor.
 * Foto recuperada de get_avatar() (compatible con Simple Local Avatars).
 */
.vbh {
    --vbh-content-max: 558px;
    --vbh-top: 65px;
    --vbh-gap-title: 16px;
    --vbh-gap-excerpt: 26px;
    --vbh-gap-meta: 34px;
    --vbh-meta-padding: 18px;
    --vbh-avatar-size: 43px;
    --vbh-category: #222222;
    --vbh-title: #050505;
    --vbh-excerpt: #222222;
    --vbh-name: #101010;
    --vbh-meta: #666666;
    --vbh-back: #292929;
    --vbh-line: #555555;
    --vbh-share-border: #666666;
    --vbh-share-text: #171717;
    --vbh-share-hover: #4e20e4;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--vbh-title);
    font-family: 'Soleil', sans-serif;
}
.vbh *, .vbh *::before, .vbh *::after { box-sizing: border-box; }

/* Enlace superior izquierdo */
.vbh__back {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--vbh-back);
    font: inherit;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    text-decoration: none;
    transition: opacity .2s ease;
}
.vbh__back:visited { color: var(--vbh-back); }
.vbh__back:hover { color: var(--vbh-back); opacity: .72; text-decoration: none; }
.vbh__back:focus-visible,
.vbh__share-link:focus-visible {
    outline: 2px solid var(--vbh-share-hover);
    outline-offset: 3px;
}
.vbh__back svg { display: block; width: 19px; height: 19px; flex: none; }

/* Columna central */
.vbh__content {
    width: 100%;
    max-width: var(--vbh-content-max);
    margin-inline: auto;
    padding-top: var(--vbh-top);
}
.vbh__category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--vbh-category);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: .012em;
}
.vbh__asterisk {
    width: 12px;
    height: 12px;
    display: block;
    flex: 0 0 auto;
    transform-origin: center center;
}
.vbh__title {
    margin: var(--vbh-gap-title) 0 0;
    padding: 0;
    font-family: inherit;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
    color: var(--vbh-title);
}
.vbh__category + .vbh__title { margin-top: var(--vbh-gap-title); }
.vbh__content > .vbh__title:first-child { margin-top: 0; }
.vbh__excerpt {
    margin: var(--vbh-gap-excerpt) 0 0;
    padding: 0;
    color: var(--vbh-excerpt);
    font-family: inherit;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: -.007em;
    overflow-wrap: break-word;
}

/* Firma, fecha, lectura y compartir */
.vbh__meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: var(--vbh-gap-meta);
    padding-block: var(--vbh-meta-padding);
    border-top: 1px solid var(--vbh-line);
    border-bottom: 1px solid var(--vbh-line);
    min-width: 0;
}
.vbh__author {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    flex: 1 1 auto;
}
.vbh__author-avatar {
    display: block;
    width: var(--vbh-avatar-size);
    height: var(--vbh-avatar-size);
    flex: 0 0 var(--vbh-avatar-size);
    overflow: hidden;
    border-radius: 50%;
    background: #eeeeee;
}
.vbh__author-avatar img,
.vbh__avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    object-fit: cover;
    border-radius: 50%;
}
.vbh__author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.vbh__author-name {
    display: block;
    color: var(--vbh-name);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
.vbh__author-detail {
    display: block;
    margin-top: 1px;
    color: var(--vbh-meta);
    font-family: inherit;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.vbh__share {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex: 0 0 auto;
}
.vbh__share-link,
.vbh__share-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border: 1px solid var(--vbh-share-border);
    border-radius: 999px;
    padding: 4px 12px;
    background: transparent;
    color: var(--vbh-share-text);
    font-family: inherit;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}
.vbh__share-link:hover {
    border-color: var(--vbh-share-hover);
    background: var(--vbh-share-hover);
    color: #ffffff;
    text-decoration: none;
}
.vbh__editor-note {
    padding: 16px;
    border: 1px dashed #9c95a5;
    color: #333;
    font-family: sans-serif;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .vbh__title { font-size: clamp(34px, 4.8vw, 46px); }
}
@media (max-width: 767px) {
    .vbh {
        --vbh-top: 66px;
        --vbh-meta-padding: 18px;
    }
    .vbh__title {
        font-size: clamp(32px, 8.6vw, 44px);
        line-height: 1.09;
        letter-spacing: -.03em;
    }
    .vbh__excerpt { font-size: 16px; line-height: 1.5; }
    .vbh__meta-bar { align-items: stretch; flex-direction: column; gap: 18px; }
    .vbh__author { flex: none; }
    .vbh__author-name { font-size: 13px; }
    .vbh__author-detail { font-size: 11px; }
    .vbh__share { align-self: flex-start; justify-content: flex-start; flex-wrap: wrap; }
    .vbh__share-link { min-height: 30px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .vbh__share-link, .vbh__back { transition: none; }
}
