/* Las Escrituras: estilos de la presentación de la página (seccion.html y seccion-en.html). */
.hub-groups{display:block!important;max-width:var(--hub-width,960px);margin:0 auto;padding:34px 24px 70px}
.hub-intro{max-width:820px;margin:0 auto 30px;text-align:center}
.hub-intro p{margin:0 0 18px;color:#34477f;font:400 18px/1.65 "Source Serif 4",Georgia,serif}
.hub-intro strong{color:#26376f}
.hub-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;margin:0;padding:0;list-style:none;color:#46537a;font:600 13px/1.3 "Source Sans 3",system-ui,sans-serif}
.hub-legend li{display:flex;align-items:center;gap:8px}
.hub-legend i{width:14px;height:14px;border-radius:5px;display:inline-block}
.hub-legend i.is-ready{background:#f3eefa;border:1.5px solid #8d54a5}
.hub-legend i.is-soon{background:#f4f6fb;border:1.5px dashed #9aa4c4}
.hub-legend b{display:inline-grid;place-items:center;min-width:24px;height:20px;padding:0 5px;border-radius:6px;background:#e9edf8;color:#3b4d85;font-size:11px}

.hub-feature{position:relative;min-height:340px;margin:0 0 6px;border-radius:24px;overflow:hidden;color:#fff;background:#1b2550 97% 50%/cover no-repeat;box-shadow:0 22px 50px rgba(30,44,98,.22)}
.hub-feature-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,28,70,.94) 0%,rgba(18,28,70,.78) 46%,rgba(18,28,70,.18) 100%)}
.hub-feature-body{position:relative;max-width:560px;padding:44px 44px 40px}
.hub-kicker{margin:0 0 8px;color:#f0b7dc;font:800 12px/1 "Source Sans 3",system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase}
.hub-feature h2{margin:0 0 10px;color:#fff;font:400 clamp(40px,5vw,58px)/1.05 "Source Serif 4",Georgia,serif}
.hub-lead{margin:0 0 20px;color:#e8ecfb;font:400 16px/1.6 "Source Serif 4",Georgia,serif}
.hub-progress{height:8px;border-radius:99px;background:rgba(255,255,255,.22);overflow:hidden}
.hub-progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f0b7dc,#fff)}
.hub-count{margin:10px 0 22px;color:#e8ecfb;font:600 14px/1.3 "Source Sans 3",system-ui,sans-serif}
.hub-count strong{color:#fff;font-size:18px}
.hub-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
.hub-cta{display:inline-block;padding:13px 26px;border-radius:999px;background:#fff;color:#26376f;font:800 14px/1 "Source Sans 3",system-ui,sans-serif;text-decoration:none;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.hub-cta:hover,.hub-cta:focus-visible{background:#f3eefa;color:#6b2f8a}
.hub-latest{color:#fff;font:600 14px/1.3 "Source Sans 3",system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px}

.hub-testament{display:flex;align-items:center;gap:18px;margin:46px 0 22px;color:#26376f;font:400 clamp(26px,3vw,34px)/1.1 "Source Serif 4",Georgia,serif;text-align:center}
.hub-testament:before,.hub-testament:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(58,70,124,.3))}
.hub-testament:after{background:linear-gradient(270deg,transparent,rgba(58,70,124,.3))}
.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hub-gap,20px)}
.hub-group{overflow:hidden;border:1px solid rgba(58,70,124,.14);border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(36,52,112,.09)}
.hub-group.is-wide{grid-column:1/-1}
.hub-photo{position:relative;margin:0;display:flex;aspect-ratio:var(--hub-photo-ratio,1.89);background:#dfe5f3}
.hub-photo.is-pair{display:block;aspect-ratio:var(--hub-pair-ratio,3.16);overflow:hidden}
.hub-photo.is-pair img{position:absolute;top:0;width:56%;height:100%;object-fit:cover}
.hub-photo.is-pair img:first-child{left:0}
.hub-photo.is-pair img:last-child{right:0;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 21%);mask-image:linear-gradient(90deg,transparent 0,#000 21%)}
.hub-photo img{flex:1;min-width:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block}
.hub-head{padding:14px 26px 0}
.hub-head h3{margin:0;padding-bottom:4px;color:#26376f;text-align:center;font:400 var(--hub-title-size,24px)/1.15 "Source Serif 4",Georgia,serif}
.hub-books{display:grid;grid-template-columns:1fr;gap:0;padding:10px 22px 20px;align-content:start}
.hub-group[data-scripture-group="historicos"] .hub-books,.hub-group[data-scripture-group="profetas-menores"] .hub-books{display:block;column-count:2;column-gap:28px}
.hub-book{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:var(--hub-book-pad,4px) 8px;border-radius:8px;font:400 var(--hub-book-size,12.5px)/1.3 "Source Serif 4",Georgia,serif;text-decoration:none}
.hub-group[data-scripture-group="iglesia-cartas"] .hub-books{display:block;column-count:4;column-gap:22px}
.hub-book{break-inside:avoid}
.hub-book::before{content:"\203A";margin-right:8px;opacity:.55}.hub-book>span:first-child{flex:1}
.hub-book b{flex:none;color:inherit;opacity:.72;font:700 11px/1 "Source Sans 3",system-ui,sans-serif}
.hub-book.is-ready{color:#8d54a5;font-weight:700;background:#f7f2fb}
.hub-book.is-ready:hover,.hub-book.is-ready:focus-visible{color:#fff;background:#8d54a5;border-color:#8d54a5;outline:none}
.hub-book.is-soon{color:#56648f;cursor:default}
@media(max-width:820px){
  .hub-grid{grid-template-columns:1fr}
  .hub-groups{padding:24px 16px 56px}
  .hub-intro p{font-size:16px}
  .hub-feature{min-height:0}
  .hub-feature-shade{background:linear-gradient(180deg,rgba(18,28,70,.82),rgba(18,28,70,.94))}
  .hub-feature-body{padding:30px 22px 28px}
  .hub-books,.hub-group[data-scripture-group] .hub-books{display:block;column-count:1;padding:10px 18px 22px}
  .hub-testament{margin:36px 0 18px}
}

/* Tarjetas informativas (cierran la fila para que todo quede simétrico) */
.hub-info{position:relative;display:flex;align-items:center;overflow:hidden;border-radius:20px;color:#fff;background:radial-gradient(circle at 85% 12%,rgba(240,183,220,.22),transparent 46%),linear-gradient(155deg,#26376f 0%,#3a3a86 55%,#5a3d92 100%);box-shadow:0 14px 34px rgba(36,52,112,.18)}
.hub-info-body{position:relative;width:100%;padding:34px 34px 36px}
.hub-info-label{margin:0 0 12px;color:#f0b7dc;font:800 11px/1.2 "Source Sans 3",system-ui,sans-serif;letter-spacing:.17em;text-transform:uppercase}
.hub-info-big{margin:0 0 4px;color:rgba(255,255,255,.14);font:400 clamp(90px,11vw,150px)/.9 "Source Serif 4",Georgia,serif}
.hub-info h3{margin:0 0 14px;color:#fff;font:400 clamp(26px,2.6vw,34px)/1.15 "Source Serif 4",Georgia,serif}
.hub-info-text{margin:0;color:#e8ecfb;font:400 16px/1.7 "Source Serif 4",Georgia,serif}
.hub-info-chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none}
.hub-info-chips li{padding:8px 14px;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:#fff;font:700 13px/1 "Source Sans 3",system-ui,sans-serif;background:rgba(255,255,255,.08)}
@media(max-width:820px){.hub-info-body{padding:28px 24px 30px}.hub-info-big{font-size:96px}}

@media(max-width:820px){.hub-group[data-scripture-group="iglesia-cartas"] .hub-books{display:block;column-count:2;column-gap:14px}}

.hub-sub{margin:0;padding-bottom:10px;border-bottom:1px solid rgba(58,70,124,.14);color:#6a74a0;text-align:center;font:italic 400 13px/1.4 "Source Serif 4",Georgia,serif}
.hub-note{width:fit-content;max-width:min(720px,100%);text-wrap:balance;box-sizing:border-box;margin:20px auto 0!important;align-self:center;padding:10px 16px;border-radius:12px;color:#4a2a68;background:#f3eefa;border:1px solid #d9c6ec;text-align:center;font:400 14px/1.5 "Source Serif 4",Georgia,serif}
@media(max-width:820px){.hub-book{padding:10px 8px;font-size:14px}.hub-book b{font-size:12px}.hub-sub{font-size:13px}}
