/* Front-page blocks: the same look on the site and in the admin preview. */
.hb { --hb-bg: #2a1366; --hb-title: #ffffff; --hb-text: #e9e2ff; --hb-accent: #ffd60a; position: relative; overflow: hidden; border-radius: 22px; background: var(--hb-bg); color: var(--hb-text); border: 2px solid rgba(255,255,255,.12); font-family: var(--hb-fb); margin: 0 0 16px; display: grid; }
.hb-img { position: absolute; inset: 0; background-size: cover; background-position: center; } .hb-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,2,24,calc(var(--hb-ov) * .55)), rgba(8,2,24,var(--hb-ov))); }
.hb-in { position: relative; display: grid; gap: 10px; padding: clamp(18px, 4vw, 34px); align-content: center; justify-items: start; min-width: 0; }
.hb.al-center .hb-in { justify-items: center; text-align: center; } .hb.al-right .hb-in { justify-items: end; text-align: right; } .hb.al-left .hb-in { text-align: left; }
.hb-banner.ht-s { min-height: 150px; } .hb-banner.ht-m { min-height: 250px; } .hb-banner.ht-l { min-height: 380px; } .hb-banner .hb-in { align-content: end; }
.hb-title { margin: 0; font-family: var(--hb-ft); color: var(--hb-title); line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere; font-size: clamp(1.7rem, 4.6vw, 2.8rem); } .hb.sz-s .hb-title { font-size: clamp(1.25rem, 3.2vw, 1.8rem); } .hb.sz-l .hb-title { font-size: clamp(2.3rem, 7vw, 4.4rem); }
.hb-body { margin: 0; white-space: pre-line; font-size: 1.05rem; line-height: 1.55; max-width: 62ch; overflow-wrap: anywhere; } .hb.sz-l .hb-body { font-size: 1.2rem; }
.hb-badge { background: var(--hb-accent); color: #1b0a45; font: 800 .78rem/1 var(--hb-fbadge, var(--hb-ft)); letter-spacing: .06em; text-transform: uppercase; border-radius: 99px; padding: 6px 12px; }
.hb-cd { font: 800 1.05rem/1 var(--hb-fcd, var(--hb-ft)); color: var(--hb-accent); background: rgba(0,0,0,.35); border-radius: 99px; padding: 8px 14px; font-variant-numeric: tabular-nums; } .hb-cd[hidden] { display: none; }
.hb-btn { display: inline-block; margin-top: 4px; background: var(--hb-accent); color: #1b0a45; text-decoration: none; font: 800 1rem/1 var(--hb-fbtn, var(--hb-fb)); border-radius: 99px; padding: 13px 24px; box-shadow: 0 4px 0 rgba(0,0,0,.28); } .hb-btn:hover { transform: translateY(-2px); }
.hb-card { grid-template-columns: minmax(0, 1fr); } .hb-card.has-img.pos-left { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .hb-card.has-img.pos-right { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } .hb-card.has-img.pos-right .hb-pic { order: 2; }
.hb-pic { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; } .hb-card.has-img.pos-top .hb-pic { height: 260px; }
@media (max-width: 700px) { .hb-card.has-img.pos-left, .hb-card.has-img.pos-right { grid-template-columns: minmax(0, 1fr); } .hb-card.has-img.pos-right .hb-pic { order: 0; } .hb-pic { height: 200px; min-height: 0; } }
#homeBlocks { width: min(1180px, 100% - 32px); margin: 18px auto 0; } #homeBlocks[hidden] { display: none; }

/* slider: the live banners take turns */
.hb-slider { position: relative; margin: 0 0 16px; }
.hb-slides { display: grid; position: relative; overflow: hidden; border-radius: 22px; }
.hb-slides .hb { margin: 0; height: 100%; }
.hb-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(5%); transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s; min-width: 0; }
.hb-slide.past { transform: translateX(-5%); }
.hb-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease, visibility 0s; z-index: 1; }
.hb-nav { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 8px; justify-content: center; z-index: 3; pointer-events: none; }
.hb-dot { pointer-events: auto; width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s ease, background .25s ease; }
.hb-dot.on { width: 26px; background: #fff; }
.hb-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font: 700 26px/1 Arial, sans-serif; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; opacity: 0; transition: opacity .2s ease, background .2s ease; }
.hb-prev { left: 10px; } .hb-next { right: 10px; }
.hb-slider:hover .hb-arrow, .hb-arrow:focus-visible { opacity: 1; } .hb-arrow:hover { background: rgba(0,0,0,.7); }
@media (hover: none) { .hb-arrow { display: none; } }
.hb-slider .hb-banner .hb-in { padding-bottom: clamp(34px, 5vw, 46px); }
@media (prefers-reduced-motion: reduce) { .hb-slide, .hb-slide.on { transition: none; transform: none; } }
