/* ==========================================================================
   BVB - NOTICIA (interior del blog)
   Cabecera con imagen, contenido a dos columnas y barra lateral.
   ========================================================================== */

/* ------------------------------- Cabecera -------------------------------- */
.bvb-post-hero {
    position: relative;
    background-image: var(--bvb-gradient-gold);
    color: var(--bvb-white);
    overflow: hidden;
}

.bvb-post-hero--media {
    display: flex;
    align-items: flex-end;
    min-height: clamp(340px, 44vh, 500px);
}

.bvb-post-hero__media { position: absolute; inset: 0; }
.bvb-post-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.bvb-post-hero__overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.38) 38%, rgba(0,0,0,.86) 100%);
}

.bvb-post-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-block: clamp(2.25rem, 5vw, 4.25rem);
}

.bvb-post-hero__kicker {
    margin: 1.4rem 0 .85rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--bvb-gold-light);
}

.bvb-post-hero__title {
    margin: 0 0 1.75rem;
    max-width: 22ch;
    font-family: var(--font-display);
    font-weight: var(--fw-regular);
    font-size: clamp(1.85rem, 3.6vw, 3.1rem);
    line-height: 1.14;
    color: var(--bvb-white);
}

.bvb-post-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.88);
}

.bvb-post-hero__meta li { display: inline-flex; align-items: center; gap: .5rem; }
.bvb-post-hero__meta svg { opacity: .8; }

/* --------------------------- Migas de pan ------------------------------- */
.bvb-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    letter-spacing: .04em;
    color: rgba(255,255,255,.75);
}

.bvb-breadcrumb__link { color: rgba(255,255,255,.75); }
.bvb-breadcrumb__link:hover { color: var(--bvb-gold-light); }
.bvb-breadcrumb__current { color: var(--bvb-white); }
.bvb-breadcrumb__sep { opacity: .55; }

/* ------------------------------ Estructura ------------------------------ */
.bvb-post-layout { background-color: var(--bvb-white); }

.bvb-post-layout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(2rem, 4.5vw, 4.5rem);
    padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.bvb-post__thumb { margin: 0 0 2.5rem; overflow: hidden; }
.bvb-post__thumb img { width: 100%; height: auto; }

/* ------------------------------- Contenido ------------------------------ */
.bvb-post__content { max-width: none; font-size: var(--fs-md); line-height: 1.85; }

.bvb-post__content > p:first-of-type {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    line-height: 1.7;
    color: var(--bvb-ink-2);
    margin-bottom: 2rem;
}

.bvb-post__content h2 {
    position: relative;
    margin: 3rem 0 1.75rem;
    padding-bottom: .85rem;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: var(--fw-regular);
}

.bvb-post__content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(120px, 22%, 220px);
    height: 2px;
    background-image: linear-gradient(90deg, var(--bvb-gold) 0%, rgba(168, 123, 6, 0) 100%);
}

.bvb-post__content h3 { font-size: var(--fs-xl); font-weight: var(--fw-semibold); }

.bvb-post__content a { text-decoration: underline; text-underline-offset: 3px; }

.bvb-post__content img { margin-block: 2rem; }
.bvb-post__content figure { margin-block: 2.25rem; }
.bvb-post__content figcaption {
    margin-top: .75rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    color: var(--bvb-grey-700);
}

/* Listas numeradas tipo "01 · 02 · 03" del diseno */
.bvb-post__content ol {
    counter-reset: bvb-point;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.bvb-post__content ol > li {
    counter-increment: bvb-point;
    position: relative;
    padding: 1.35rem 0 1.35rem 4.5rem;
    border-bottom: 1px solid var(--bvb-grey-200);
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--bvb-grey-800);
}

.bvb-post__content ol > li:first-child { border-top: 1px solid var(--bvb-grey-200); }

.bvb-post__content ol > li::before {
    content: counter(bvb-point, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 1.3rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1;
    color: var(--bvb-gold);
}

.bvb-post__content ol > li strong {
    display: block;
    margin-bottom: .2rem;
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--bvb-ink);
}

.bvb-post__content ul { margin: 0 0 1.75rem; padding-left: 1.25rem; }
.bvb-post__content ul li { margin-bottom: .5rem; }

/* ------------------------------- Pie ------------------------------------ */
.bvb-post__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--bvb-grey-200);
}

.bvb-post__share-label {
    margin: 0 0 .75rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--bvb-ink);
}

.bvb-share { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.bvb-share a { display: inline-flex; color: var(--bvb-ink); text-decoration: none; }
.bvb-share a:hover { color: var(--bvb-gold); }

/* ------------------------------ Barra lateral --------------------------- */
.bvb-post-side { display: grid; gap: clamp(2.25rem, 4vw, 3.25rem); }

.bvb-side-block__title {
    position: relative;
    margin: 0 0 1.5rem;
    padding-bottom: .8rem;
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    font-weight: var(--fw-regular);
}

.bvb-side-block__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(90deg, var(--bvb-gold) 0%, rgba(168, 123, 6, .12) 100%);
}

/* Relacionados */
.bvb-side-related { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.75rem; }

.bvb-related__link {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
}

.bvb-related__media { display: block; overflow: hidden; }
.bvb-related__media img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.bvb-related__link:hover .bvb-related__media img { transform: scale(1.06); }

.bvb-related__body { display: block; }

.bvb-related__cat {
    display: block;
    margin-bottom: .35rem;
    font-family: var(--font-sans);
    font-size: .625rem;
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--bvb-gold);
}

.bvb-related__title {
    display: block;
    margin-bottom: .5rem;
    font-family: var(--font-display);
    font-size: .975rem;
    font-weight: var(--fw-semibold);
    line-height: 1.3;
    color: var(--bvb-ink);
    transition: color var(--transition);
}

.bvb-related__link:hover .bvb-related__title { color: var(--bvb-gold); }

.bvb-related__meta {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    color: var(--bvb-grey-600);
    line-height: 1.5;
}

/* Categorias */
.bvb-side-cats { margin: 0; padding: 0; list-style: none; }

.bvb-side-cats li { border-bottom: 1px solid var(--bvb-grey-200); }

.bvb-side-cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 0;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    color: var(--bvb-ink);
}

.bvb-side-cats a:hover { color: var(--bvb-gold); }
.bvb-side-cats__count { color: var(--bvb-grey-600); font-size: var(--fs-sm); }

/* CTA */
.bvb-side-cta {
    position: relative;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background-image: var(--bvb-gradient-gold);
    background-color: var(--bvb-gold-dark);
    color: var(--bvb-white);
    overflow: hidden;
}

.bvb-side-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bvb-cta-img, none);
    background-size: cover;
    background-position: center;
    opacity: .28;
    mix-blend-mode: multiply;
}

.bvb-side-cta > * { position: relative; z-index: 1; }

.bvb-side-cta__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-weight: var(--fw-regular);
    font-size: clamp(1.25rem, 1.9vw, 1.6rem);
    line-height: 1.25;
    color: var(--bvb-white);
}

.bvb-side-cta__text {
    margin: 0 0 1.75rem;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.92);
}

/* ------------------------------- Responsive ----------------------------- */
@media (max-width: 1024px) {
    .bvb-post-layout__grid { grid-template-columns: minmax(0, 1fr); }
    .bvb-post-side { margin-top: 1rem; }
}

@media (max-width: 560px) {
    .bvb-post-hero__title { max-width: none; }
    .bvb-post__content ol > li { padding-left: 3.25rem; }
    .bvb-post__content ol > li::before { font-size: 1.4rem; }
    .bvb-related__link { grid-template-columns: 78px minmax(0, 1fr); }
}
