/* Promo banners (js/promo-banners.js): a compact sliding strip, never taller than about 150px, so it never crowds the page */
.hgb { position: relative; overflow: hidden; border-radius: 18px; isolation: isolate; box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .45); margin: 0 auto; max-width: 1200px; }
.hgb-track { display: flex; transition: transform .55s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.hgb-slide { position: relative; flex: 0 0 100%; height: 140px; display: flex; align-items: center; padding: 20px 64px 28px 26px; box-sizing: border-box; overflow: hidden; color: #fff; }
.hgb-body { position: relative; z-index: 2; max-width: 640px; }
.hgb-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 4px; font: 800 1.22rem/1.25 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.hgb-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 12px; font: 500 .95rem/1.45 Inter, system-ui, sans-serif; opacity: .9; }
.hgb-cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; color: #0f172a !important; font: 700 .88rem/1 Inter, system-ui, sans-serif; text-decoration: none !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .15s ease; }
.hgb-cta::after { content: '→'; }
.hgb-cta:hover { transform: translateY(-1px); }
/* decoration: two soft glows, a faint grid, and a large outlined icon on the right */
.hgb-slide:not(.hgb-flyer)::before { content: ''; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent 35%, #000 85%); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 85%); }
.hgb-glow { position: absolute; border-radius: 50%; filter: blur(36px); opacity: .55; z-index: 0; pointer-events: none; }
.hgb-glow-a { width: 220px; height: 220px; right: -40px; top: -90px; }
.hgb-glow-b { width: 180px; height: 180px; right: 160px; bottom: -120px; opacity: .4; }
.hgb-art { position: absolute; right: 26px; top: 50%; width: 96px; height: 96px; transform: translateY(-50%) rotate(-8deg); z-index: 1; fill: rgba(255, 255, 255, .14); stroke: rgba(255, 255, 255, .55); stroke-width: .6; }
/* themes: deep, rich gradients like the big fintech and crypto apps */
.hgb-midnight { background: radial-gradient(120% 140% at 0% 0%, #1e3a8a 0%, #0f172a 55%, #020617 100%); } .hgb-midnight .hgb-glow-a { background: #3b82f6; } .hgb-midnight .hgb-glow-b { background: #22d3ee; }
.hgb-aurora { background: linear-gradient(115deg, #0b1d3a 0%, #134e4a 45%, #4c1d95 100%); } .hgb-aurora .hgb-glow-a { background: #a78bfa; } .hgb-aurora .hgb-glow-b { background: #2dd4bf; }
.hgb-emerald { background: linear-gradient(120deg, #022c22 0%, #065f46 55%, #0d9488 100%); } .hgb-emerald .hgb-glow-a { background: #34d399; } .hgb-emerald .hgb-glow-b { background: #a3e635; }
.hgb-sunset { background: linear-gradient(120deg, #431407 0%, #9a3412 50%, #d97706 100%); } .hgb-sunset .hgb-glow-a { background: #fbbf24; } .hgb-sunset .hgb-glow-b { background: #fb7185; }
.hgb-royal { background: linear-gradient(120deg, #1e1b4b 0%, #4338ca 55%, #7e22ce 100%); } .hgb-royal .hgb-glow-a { background: #c084fc; } .hgb-royal .hgb-glow-b { background: #60a5fa; }
.hgb-gold { background: linear-gradient(120deg, #0c0a09 0%, #292524 45%, #78350f 100%); } .hgb-gold .hgb-glow-a { background: #f59e0b; } .hgb-gold .hgb-glow-b { background: #fde68a; }
.hgb-gold .hgb-art { stroke: rgba(253, 230, 138, .7); }
.hgb-rose { background: linear-gradient(120deg, #2a0a18 0%, #881337 55%, #db2777 100%); } .hgb-rose .hgb-glow-a { background: #f472b6; } .hgb-rose .hgb-glow-b { background: #fb923c; }
/* a flyer: the image fills the banner; text, when there is some, sits on a dark fade at the left */
.hgb-flyer { padding: 0; background: #0f172a; }
.hgb-flyer .hgb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hgb-flyer .hgb-body { padding: 20px 26px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(90deg, rgba(2, 6, 23, .78) 0%, rgba(2, 6, 23, .45) 55%, transparent 100%); max-width: 70%; }
/* controls */
.hgb-dots { position: absolute; left: 26px; bottom: 10px; display: flex; gap: 6px; z-index: 3; }
.hgb-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .25s ease, background .25s ease; }
.hgb-dot[aria-current="true"] { width: 22px; background: #fff; }
.hgb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(15, 23, 42, .35); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s ease; backdrop-filter: blur(4px); }
.hgb:hover .hgb-nav, .hgb-nav:focus-visible { opacity: 1; }
.hgb-prev { left: 8px; } .hgb-next { right: 8px; }
.hgb-close { position: absolute; top: 8px; right: 10px; z-index: 4; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .35); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
.hgb-dot:focus-visible, .hgb-close:focus-visible, .hgb-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
  .hgb { border-radius: 16px; }
  .hgb-slide { height: 128px; padding: 14px 40px 24px 18px; }
  .hgb-title { font-size: 1.02rem; -webkit-line-clamp: 1; } .hgb-text { font-size: .84rem; margin-bottom: 8px; }
  .hgb-art { width: 70px; height: 70px; right: 12px; opacity: .8; }
  .hgb-nav { display: none; }
  .hgb-dots { left: 18px; }
  .hgb-flyer .hgb-body { max-width: 85%; padding: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) { .hgb-track { transition: none; } }
.promo-banners-slot { padding: 14px 16px 4px; max-width: 1232px; margin: 0 auto; box-sizing: border-box; }
.promo-banners-slot[hidden] { display: none !important; }
.hg-banners { padding: 0; margin: 0 0 18px; max-width: none; }
/* the page's own text colours never reach the banner (church and dashboard styles colour every p and heading) */
.hgb .hgb-title, .hgb .hgb-text { color: #fff !important; }
.hgb .hgb-title { font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif !important; }
@media (max-width: 640px) { .hgb-slide:not(.hgb-flyer) .hgb-body { max-width: 76%; } }
