/* GospelShelf rotating banner (shared component, Oct 20): homepage hero rules, reused by the hub. */
.rd2-hero{position:relative;width:100%;height:clamp(240px,40vw,600px);overflow:hidden;background:#14213d;border-bottom:3px solid var(--brand-gold,#c9a227)}
.rd2-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.6s ease-in-out}
.rd2-hero img.on{opacity:1}
.rd2-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(20,33,61,.82) 0%,rgba(20,33,61,.62) 45%,rgba(20,33,61,.58) 100%);pointer-events:none;z-index:1}
.rd2-hero .rd2-ht{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px 18px;box-sizing:border-box}
.rd2-hero[data-gs-banner] .rd2-hp{position:absolute;right:10px;bottom:10px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;border:2px solid var(--brand-gold,#c9a227);background:#14213d;color:#fff;font:700 14px/1 Inter,system-ui,sans-serif;cursor:pointer}
.rd2-hero[data-gs-banner] .rd2-hp[hidden]{display:none}
.rd2-hero .rd2-hp:focus-visible{outline:3px solid var(--brand-gold,#c9a227);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.rd2-hero img{transition:none!important}.rd2-hero .rd2-hp{display:none!important}}
/* hub variant: shorter, tagline is not a heading (the hub's own H1 follows) */
.rd2-hero.gs-ban-hub{height:clamp(170px,30vw,420px)}
.rd2-hero .rd2-hk{margin:0;color:#fff;text-align:center;font:600 clamp(1.6rem,5vw,3rem)/1.1 var(--brand-font-head,"Cormorant Garamond",Georgia,serif);text-wrap:balance;text-shadow:0 2px 14px rgba(20,33,61,.7)}
.rd2-hero .rd2-hk::after{content:"";display:block;width:56px;height:3px;margin:.4em auto 0;background:var(--brand-gold,#c9a227)}
