.login-carousel { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(235,185,70,.6); max-width: 36rem; }
.login-carousel [hidden] { display: none; }
.auth .login-carousel h3 { margin: 0 0 8px; color: #fff; font-size: 1.05rem; line-height: 1.4; }
.login-carousel p { margin: 0; color: rgba(255,255,255,.9); font-size: .95rem; line-height: 1.6; max-width: 42ch; }
.login-carousel__controls { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.login-carousel__controls button { min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: var(--navy-900); color: #fff; font-size: 1.2rem; cursor: pointer; }
.login-carousel__controls button:hover { background: var(--navy-800); }
.login-carousel__controls button:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 4px; }
.login-carousel__controls span { font-size: .8rem; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) and (max-width: 1099px) { .login-carousel { margin-top: 18px; padding-top: 14px; } }

/* Local per-slide artwork. Slide 1 inherits the approved worship assets unchanged. */
.auth__shell[data-hero-slide="2"] {
  --login-backdrop: url("/branding/login-carousel-2.webp");
  --login-backdrop-small: url("/branding/login-carousel-2-1000.webp");
}
.auth__shell[data-hero-slide="3"] {
  --login-backdrop: url("/branding/login-carousel-3.webp");
  --login-backdrop-small: url("/branding/login-carousel-3-1000.webp");
}
.auth__shell[data-hero-slide] .auth__hero-art { animation: none; }
@media (min-width: 1100px) {
  .auth__shell[data-hero-slide="2"] .auth__hero-art,
  .auth__shell[data-hero-slide="3"] .auth__hero-art { background-position: 60% 50%; }
  .auth__shell[data-hero-slide="2"] .auth__hero::after,
  .auth__shell[data-hero-slide="3"] .auth__hero::after {
    background: linear-gradient(90deg, rgba(5,16,36,.88), rgba(5,16,36,.58) 62%, rgba(5,16,36,.08)), linear-gradient(180deg, transparent 55%, rgba(3,9,20,.93));
  }
}


.login-carousel p.login-carousel__ref { margin-top: 8px; font-size: .85rem; }
.login-carousel__ref cite { font-style: normal; opacity: .9; }
/* Carousel Manager: the shell of a customised carousel. The per-position artwork rules come from /css/login-carousel-live.css and are scoped to this class so they outrank the shipped position rules above. */
.auth__shell--custom .auth__hero-art { animation: none; }
.login-carousel p.login-carousel__label { margin-bottom: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(235, 185, 70, .95); }
.login-carousel p.login-carousel__sub { margin-bottom: 8px; font-size: 1rem; color: #fff; }
.login-carousel p.login-carousel__note { margin-top: 8px; font-size: .85rem; opacity: .9; }
/* A slide whose artwork carries its own words draws no text: the gold rule above the (empty) copy area goes too, the arrows and counter stay. */
.login-carousel[data-mode="image_only"] { margin-top: 0; padding-top: 0; border-top-color: transparent; }
/* Content Mode, whole-page effect. Portal Overlay keeps the full presentation. Image Only and Minimal Overlay are for artwork that carries its own words, so the page's fixed
   "Welcome to ..." and Verse of the day (with its Bible-version notice, which only belongs with the verse) are not drawn over it; the brand, the arrows and the counter stay. */
.auth__shell[data-hero-mode="image_only"] .auth__welcome, .auth__shell[data-hero-mode="image_only"] .auth__verse, .auth__shell[data-hero-mode="image_only"] .auth__verse-notice,
.auth__shell[data-hero-mode="minimal"] .auth__welcome, .auth__shell[data-hero-mode="minimal"] .auth__verse, .auth__shell[data-hero-mode="minimal"] .auth__verse-notice { display: none; }
/* Carousel Manager: artwork that fits. Scoped to the customised carousel, so the shipped sign-in page keeps its approved geometry.
   Phone: the picture is a header strip at its own 16:9 shape (150-340 px tall) and the card starts just below it, so the whole picture (not only its top) is in view.
   Tablet: the banner is as tall as the picture's shape asks (45% of the width), but never more than half the window height, so the form stays in view in landscape.
   Wide: see the safe-fit rules in /css/login-carousel-live.css (a window narrower than 16:9 keeps the picture's central 80% whole and fades its top and bottom into a soft copy). */
.auth__shell--custom { --band-h: clamp(150px, 56.25vw, 340px); }
.auth__shell--custom .auth__hero-art { inset: 0; }
.auth__hero-fit { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -2; background: var(--login-backdrop) center / 100% 100% no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
@media (max-width: 767px) {
  .auth__shell--custom .auth__panel { padding-top: calc(var(--band-h) - 20px); }
  .auth__shell--custom .auth__panel::before { height: var(--band-h); background: linear-gradient(180deg, rgba(5, 14, 30, 0) 0, rgba(5, 14, 30, 0) 90%, var(--auth-paper) 100%), var(--login-backdrop-small) var(--art-pos-phone, 72% 22%) / cover no-repeat; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .auth__shell--custom .auth__hero { min-height: clamp(268px, 45vw, max(268px, 50dvh)); }
  .auth__shell--custom .auth__hero-art { background-position: var(--art-pos-band, 72% 36%); }
}
