/* Marco, flechas y puntos como el carrusel de Bloguiversos. */
.bch-carousel, .inicio-bch.bch-carousel--home, body.dark .inicio-bch.bch-carousel--home { position:relative; min-width:0; overflow:visible; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.bch-carousel__viewport { overflow:hidden; width:100%; border:1px solid rgba(241,146,141,.28); border-radius:24px; background:#f4efe9; box-sizing:border-box; }
body.dark .bch-carousel__viewport { border-color:#634743; background:#211d1b; }
.bch-carousel__track { display:flex; align-items:stretch; transition:transform .4s ease; }
.bch-carousel__slide { flex:0 0 100%; min-width:0; box-sizing:border-box; }
.bch-carousel__media { position:relative; min-width:0; height:180px; background:#e8e3dc; overflow:hidden; }
body.dark .bch-carousel__media { background:#292321; }
.bch-carousel__image { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.bch-carousel__body { padding:20px; min-width:0; overflow-wrap:anywhere; }
.bch-carousel__arrow { position:absolute; top:calc(50% - 18px); transform:translateY(-50%); z-index:1; display:grid; place-items:center; width:40px; height:40px; padding:0; border:0; border-radius:50%; background:rgba(20,20,20,.88); color:#fff; font:28px/1 Arial,sans-serif; cursor:pointer; }
.bch-carousel__arrow--prev { left:-18px; }
.bch-carousel__arrow--next { right:-18px; }
.bch-carousel__dots { display:flex; justify-content:center; align-items:center; height:36px; }
.bch-carousel__dots button { display:grid; place-items:center; width:22px; height:36px; padding:0; border:0; background:transparent; cursor:pointer; }
.bch-carousel__dots button::before { content:''; width:9px; height:9px; border-radius:9px; background:#595655; }
.bch-carousel__dots button.is-active { width:34px; }
.bch-carousel__dots button.is-active::before { width:26px; background:#a99f98; }
.bch-carousel button:focus-visible { outline:2px solid #f1928d; outline-offset:3px; }
.bch-carousel--landing .bch-carousel__slide { display:flex; align-items:stretch; }
.bch-carousel--landing .bch-carousel__media { width:34%; min-height:260px; height:auto; flex-shrink:0; }
.bch-carousel--landing .bch-carousel__body { flex:1; align-self:center; padding:28px; }
@media(max-width:700px) { .bch-carousel--landing .bch-carousel__slide { flex-direction:column; } .bch-carousel--landing .bch-carousel__media { width:100%; min-height:0; height:200px; } .bch-carousel--landing .bch-carousel__body { align-self:stretch; padding:22px; } .bch-carousel__arrow--prev { left:-12px; } .bch-carousel__arrow--next { right:-12px; } }
@media(prefers-reduced-motion:reduce) { .bch-carousel__track { transition:none; } }

/* Ajustes del carrusel lateral y móvil de Home. */
.bch-carousel--home.bch-carousel--has-image .bch-carousel__arrow { top:152px; width:38px; height:38px; background:rgba(0,0,0,.6); }
.bch-carousel--home .bch-carousel__arrow--prev { left:10px; }
.bch-carousel--home .bch-carousel__arrow--next { right:10px; }
.bch-carousel--home .bch-carousel__dots, .bch-carousel--home .bch-carousel__dots button { height:28px; }
.bch-carousel--home .bch-carousel__dots button.is-active::before { background:#f1928d; }
.bch-carousel__meta-line { display:flex; align-items:center; gap:7px; }
.bch-carousel__meta-line + .bch-carousel__meta-line { margin-top:4px; }
.bch-carousel__meta-line svg { width:15px; height:15px; flex-shrink:0; }

/* BCH destacado en Inicio, antes del carrusel de Bloguiversos. */
.inicio-bch--principal { width:100%; margin:0 0 4px; box-sizing:border-box; }
.inicio-bch--principal .bch-carousel__viewport { position:relative; max-width:100%; }
.inicio-bch__principal-heading { margin:0 0 16px; }
.inicio-bch__principal-eyebrow { display:block; margin-bottom:8px; color:#f1928d; font:700 12px/1.2 Inter,Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.inicio-bch__principal-heading h2 { max-width:100%; margin:0 0 8px; color:#242120; font:500 clamp(24px,3vw,38px)/1.1 'Playfair Display',Georgia,serif; white-space:normal; overflow-wrap:anywhere; }
.inicio-bch__principal-heading p { max-width:660px; margin:0; color:#8a7f78; font:15px/1.55 Inter,Arial,sans-serif; }
body.dark .inicio-bch__principal-heading h2 { color:#f5f1ef; }
body.dark .inicio-bch__principal-heading p { color:#b8aea6; }
.inicio-bch--principal .bch-carousel__viewport { border-radius:18px; }
.inicio-bch--principal .bch-carousel__slide { display:flex; align-items:stretch; min-height:300px; }
.inicio-bch--principal .bch-carousel__media { width:40%; height:auto; min-height:300px; flex:0 0 40%; }
.inicio-bch--principal .bch-carousel__image { object-fit:cover; }
.inicio-bch--principal .bch-carousel__body { display:flex; flex:1; flex-direction:column; justify-content:center; padding:28px clamp(22px,3vw,42px); }
.inicio-bch--principal .inicio-bch__titulo { font-size:clamp(22px,2.4vw,32px); }
.inicio-bch--principal .inicio-bch__meta { display:flex; flex-wrap:wrap; gap:6px 18px; }
.inicio-bch--principal .inicio-bch__meta .bch-carousel__meta-line + .bch-carousel__meta-line { margin-top:0; }
.inicio-bch--principal .bch-carousel__arrow { top:50%; }
.inicio-bch--principal .bch-carousel__dots { height:32px; }
.inicio-bch--lateral { flex-shrink:0; }
@media(max-width:700px) {
    .inicio-bch--principal { width:100%; max-width:calc(100vw - 32px); margin-left:auto; margin-right:auto; box-sizing:border-box; }
    .inicio-bch__principal-heading { margin-bottom:12px; }
    .inicio-bch__principal-heading h2 { display:block; width:100%; max-width:100%; box-sizing:border-box; font-size:clamp(22px,6vw,27px); white-space:normal !important; overflow-wrap:anywhere; word-break:break-word; }
    .inicio-bch__principal-heading p { font-size:14px; }
    .inicio-bch--principal .bch-carousel__slide { flex-direction:column; min-height:0; }
    .inicio-bch--principal .bch-carousel__media { width:100%; height:190px; min-height:0; flex:0 0 190px; }
    .inicio-bch--principal .bch-carousel__body { padding:18px; }
    .inicio-bch--principal .inicio-bch__titulo { font-size:22px; }
    .inicio-bch--principal .inicio-bch__meta { display:block; }
    .inicio-bch--principal .inicio-bch__meta .bch-carousel__meta-line + .bch-carousel__meta-line { margin-top:4px; }
    .inicio-bch--principal .inicio-bch__acciones { gap:8px; }
    .inicio-bch--principal .inicio-bch__btn { min-height:40px; }
    .inicio-bch--principal .bch-carousel__arrow { top:95px; }
}

/* Los accesos del lateral se expanden y contraen sin desplazar las tarjetas de golpe. */
#hero-articles > .inicio-lateral-reveal { min-width:0; min-height:0; flex-shrink:0; }
.inicio-lateral-reveal-enter-active,.inicio-lateral-reveal-leave-active { overflow:hidden !important; transition:height .34s ease,opacity .26s ease,transform .34s ease; }
.inicio-lateral-reveal-enter,.inicio-lateral-reveal-enter-from,.inicio-lateral-reveal-leave-to { transform:translateY(-8px); }
@media(prefers-reduced-motion:reduce) {
    .inicio-lateral-reveal-enter-active,.inicio-lateral-reveal-leave-active { transition:none; }
}
@media(max-width:1200px) { .inicio-lateral-reveal--bch { display:none !important; } }

/* Interacciones del carrusel de Challenges en Inicio. */
.bch-carousel--home .bch-carousel__viewport { transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.bch-carousel--home:hover .bch-carousel__viewport { transform:translateY(-2px); border-color:#f1928d; box-shadow:0 12px 28px rgba(241,146,141,.25),0 0 0 1px rgba(241,146,141,.35); }
.bch-carousel--home .inicio-bch__btn { transition:transform .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease; }
.bch-carousel--home .inicio-bch__btn:hover { transform:translateY(-2px); text-decoration:none; }
.bch-carousel--home .inicio-bch__btn--primary:hover { background:#dc7772; border-color:#dc7772; color:#fff; box-shadow:0 5px 14px rgba(241,146,141,.3); }
.bch-carousel--home .inicio-bch__btn--ghost:hover { background:rgba(241,146,141,.14); border-color:#dc7772; color:#f1928d; }
.bch-carousel--home .bch-carousel__arrow { transition:background-color .2s ease,box-shadow .2s ease; }
.bch-carousel--home .bch-carousel__arrow:hover { background:#f1928d; box-shadow:0 4px 12px rgba(0,0,0,.25); }
.bch-carousel--home .bch-carousel__dots button:hover::before { background:#f1928d; }
@media(prefers-reduced-motion:reduce) {
    .bch-carousel--home .bch-carousel__viewport,.bch-carousel--home .inicio-bch__btn,.bch-carousel--home .bch-carousel__arrow { transition:none; }
    .bch-carousel--home:hover .bch-carousel__viewport,.bch-carousel--home .inicio-bch__btn:hover { transform:none; }
}

/* La portada principal de Inicio comparte la composición editorial de la landing. */
section#vue-app .inicio-bch--editorial .inicio-bch__intro { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:22px; }
section#vue-app .inicio-bch--editorial .inicio-bch__principal-heading { max-width:850px; margin:0; }
section#vue-app .inicio-bch--editorial .inicio-bch__principal-heading h2 { margin:10px 0 14px; font-size:clamp(28px,3.2vw,44px); line-height:1.08; letter-spacing:-.035em; }
section#vue-app .inicio-bch--editorial .inicio-bch__principal-heading p { max-width:650px; }
section#vue-app .inicio-bch--editorial .inicio-bch__community { flex:0 0 190px; border-left:1px solid #b9a49b; padding:8px 0 8px 24px; }
section#vue-app .inicio-bch--editorial .inicio-bch__community strong { display:block; color:#2b2422; font:400 36px/1.1 'Playfair Display',Georgia,serif; }
section#vue-app .inicio-bch--editorial .inicio-bch__community span { display:block; margin-top:10px; color:#806b62; font:600 11px/1.7 Inter,Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__community { border-color:#634743; }
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__community strong { color:#f5f0e9; }
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__community span { color:#c4aaa0; }
section#vue-app .inicio-bch--editorial .inicio-bch__feature { position:relative; }
section#vue-app .inicio-bch--editorial .bch-carousel__viewport { border-radius:12px; }
section#vue-app .inicio-bch--editorial .bch-carousel__slide { position:relative; isolation:isolate; display:flex; align-items:flex-end; min-height:390px; background:#211915; }
section#vue-app .inicio-bch--editorial .bch-carousel__media { position:absolute; inset:0; width:100%; height:100%; min-height:0; z-index:-2; }
section#vue-app .inicio-bch--editorial .bch-carousel__image { object-fit:cover; object-position:center; }
section#vue-app .inicio-bch--editorial .bch-carousel__slide::after { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(0deg,rgba(16,11,9,.96),rgba(16,11,9,.08) 90%),linear-gradient(90deg,rgba(16,11,9,.83),rgba(16,11,9,.42) 55%,rgba(16,11,9,.12)); }
section#vue-app .inicio-bch--editorial .bch-carousel__body { display:block; flex:0 0 auto; width:100%; align-self:auto; padding:76px clamp(22px,2.5vw,36px) 28px; box-sizing:border-box; }
section#vue-app .inicio-bch--editorial .inicio-bch__titulo { max-width:1000px; margin:10px 0 14px; color:#f5e5d9; font:500 clamp(28px,3.2vw,44px)/1.12 'Playfair Display',Georgia,serif; }
section#vue-app .inicio-bch--editorial .inicio-bch__description { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; max-width:800px; margin:0 0 18px; color:#e0cec0; font:italic 400 clamp(18px,1.6vw,24px)/1.4 'Playfair Display',Georgia,serif; }
section#vue-app .inicio-bch--editorial .inicio-bch__meta { display:flex; flex-wrap:wrap; gap:10px 26px; margin:0 0 18px; color:#dfd1c7; font-size:14px; }
section#vue-app .inicio-bch--editorial .inicio-bch__meta .bch-carousel__meta-line { margin:0; }
section#vue-app .inicio-bch--editorial .inicio-bch__meta svg { color:#f1928d; }
section#vue-app .inicio-bch--editorial .inicio-bch__acciones { flex-wrap:wrap; gap:10px; }
section#vue-app .inicio-bch--editorial .inicio-bch__btn { flex:0 1 auto; min-height:44px; padding:11px 24px; font-size:14px; }
section#vue-app .inicio-bch--editorial .inicio-bch__btn--ghost { background:rgba(20,14,11,.35); border-color:#998277; color:#f5e5d9; }
section#vue-app .inicio-bch--editorial .inicio-bch__publicaciones { padding:10px 4px; color:#f5e5d9; font:600 13px/1.4 Inter,Arial,sans-serif; text-decoration:underline; text-underline-offset:4px; }
section#vue-app .inicio-bch--editorial .inicio-bch__publicaciones:hover { color:#f1928d; }
section#vue-app .inicio-bch--editorial .inicio-bch__navigation { position:absolute; z-index:2; top:24px; right:24px; display:flex; gap:8px; }
section#vue-app .inicio-bch--editorial .bch-carousel__arrow,
section#vue-app .inicio-bch--editorial.bch-carousel--has-image .bch-carousel__arrow { position:static; transform:none; width:44px; height:44px; border:1px solid #b29885; background:rgba(20,14,11,.55); font-size:22px; }
section#vue-app .inicio-bch--editorial .inicio-bch__footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:12px; }
section#vue-app .inicio-bch--editorial .inicio-bch__next { padding:8px 0; border:0; background:none; color:#b76760; font:italic 16px/1.5 'Playfair Display',Georgia,serif; text-align:left; cursor:pointer; overflow-wrap:anywhere; }
section#vue-app .inicio-bch--editorial .bch-carousel__dots { height:36px; }
section#vue-app .inicio-bch--editorial .inicio-bch__how { margin-top:16px; border-top:1px solid #b9a49b; padding-top:14px; }
section#vue-app .inicio-bch--editorial .inicio-bch__how h3 { margin:0; color:#806b62; font:600 16px/1.5 Inter,Arial,sans-serif; }
section#vue-app .inicio-bch--editorial .inicio-bch__how ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:24px 0 0; padding:0; list-style:none; counter-reset:challenge-step; }
section#vue-app .inicio-bch--editorial .inicio-bch__how li { position:relative; min-width:0; padding-left:42px; counter-increment:challenge-step; }
section#vue-app .inicio-bch--editorial .inicio-bch__how li::before { content:counter(challenge-step); position:absolute; left:0; top:0; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#ead5d1; color:#b76760; font:700 13px Inter,Arial,sans-serif; }
section#vue-app .inicio-bch--editorial .inicio-bch__how strong,
section#vue-app .inicio-bch--editorial .inicio-bch__how span { display:block; font:14px/1.5 Inter,Arial,sans-serif; }
section#vue-app .inicio-bch--editorial .inicio-bch__how strong { color:#2b2422; font-weight:700; }
section#vue-app .inicio-bch--editorial .inicio-bch__how span { color:#806b62; }
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__next { color:#e3ac96; }
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__how { border-color:#51403a; }
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__how h3,
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__how span { color:#c4b6ac; }
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__how strong { color:#f5f0e9; }
body.dark section#vue-app .inicio-bch--editorial .inicio-bch__how li::before { background:#493735; color:#f1928d; }
@media(max-width:1000px) {
    section#vue-app .inicio-bch--editorial .inicio-bch__intro { flex-direction:column; align-items:stretch; gap:20px; }
    section#vue-app .inicio-bch--editorial .inicio-bch__community { flex:auto; display:flex; align-items:center; gap:16px; padding:0 0 0 16px; }
    section#vue-app .inicio-bch--editorial .inicio-bch__community span { margin:0; max-width:200px; }
}
@media(max-width:700px) {
    section#vue-app .inicio-bch--editorial .bch-carousel__slide { min-height:440px; }
    section#vue-app .inicio-bch--editorial .bch-carousel__media { height:100%; flex:none; }
    section#vue-app .inicio-bch--editorial .bch-carousel__slide::after { background:linear-gradient(0deg,rgba(16,11,9,.97),rgba(16,11,9,.66) 65%,rgba(16,11,9,.25)); }
    section#vue-app .inicio-bch--editorial .bch-carousel__body { padding:76px 20px 24px; }
    section#vue-app .inicio-bch--editorial .inicio-bch__navigation { top:16px; right:16px; }
    section#vue-app .inicio-bch--editorial .inicio-bch__how ol { grid-template-columns:1fr; gap:18px; }
}
