/* Current homepage (index.php, fr/index.php): the Chanukah cards + new loan limits banners from the modern
   home-demo, scoped to .hp-promo so the existing photo slides keep their own styles (2026-11-27). */
.carousel-item.hp-item { background: none !important; padding: 0 !important; }
.hp-promo { height: 100%; display: flex; align-items: center; background-color: #0338b0; background-position: center; background-size: cover; color: #fff; overflow: hidden; }
.hp-promo .container { height: 100%; }
.hp-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hp-text { flex: 1 1 56%; min-width: 0; }
.hp-kicker { color: #8fdcf5; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .8em; }
.hp-promo h2.hp-title { color: #fff; font-family: "Montserrat", "GothamBook", sans-serif; font-weight: 700; font-size: clamp(1.5rem, 2.9vw, 2.6rem); line-height: 1.2; margin: 0 0 18px; }
.hp-under { position: relative; display: inline-block; isolation: isolate; }
.hp-under::after { content: ""; position: absolute; left: -0.06em; right: -0.06em; bottom: 0.08em; height: 38%; background: rgba(51, 175, 217, 0.45); z-index: -1; }
.hp-promo p.hp-line { color: #fff; font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.5; margin: 0 0 26px; }
.hp-promo p.hp-line span { display: inline-block; }
.hp-btn { display: inline-block; padding: 13px 34px; border-radius: 999px; background: #33afd9; color: #fff !important; font-family: "Montserrat", "GothamBook", sans-serif; font-weight: 700; font-size: 1rem; text-decoration: none !important; transition: background .2s, color .2s; }
.hp-btn:hover, .hp-btn:focus { background: #fff; color: #0338b0 !important; }
.hp-art { flex: 0 1 38%; width: 38%; max-width: 430px; height: auto; max-height: 92%; object-fit: contain; }
/* Chanukah cards: dark blue glow + three real cards fanned out */
.hp-promo--cards { background: radial-gradient(60% 90% at 78% 55%, rgba(51,175,217,.34), transparent 70%), radial-gradient(40% 60% at 8% 0%, rgba(124,115,192,.30), transparent 70%), linear-gradient(120deg, #07173d 0%, #0d2a66 55%, #123c86 100%); }
.hp-fan { position: relative; flex: 0 1 38%; width: 38%; max-width: 400px; aspect-ratio: 1.14 / 1; }
.hp-fan img { position: absolute; width: 44%; height: auto; border-radius: 10px; border: 4px solid #fff; box-shadow: 0 18px 40px rgba(0,0,0,.42); }
.hp-fan .hp-fan-l { left: 4%; top: 12%; transform: rotate(-11deg); }
.hp-fan .hp-fan-r { right: 4%; top: 12%; transform: rotate(11deg); }
.hp-fan .hp-fan-m { left: 50%; top: 4%; width: 48%; transform: translateX(-50%) rotate(-1.5deg); }
/* Tablet / phone: the site's slides go to auto height there, so stack text over art */
@media (max-width: 991px) {
    .hp-row { flex-direction: column; justify-content: center; text-align: center; gap: 18px; padding: 34px 0 44px; }
    .hp-art { width: 60%; max-width: 300px; max-height: none; }
    .hp-fan { flex: 0 0 auto; width: 66%; max-width: 320px; }
}
@media (max-width: 575px) {
    .hp-art { width: 74%; max-width: 250px; }
    .hp-fan { width: 80%; }
    .hp-promo p.hp-line { margin-bottom: 20px; }
}
