/* Bank Hero Slider — front-end styles */

.bhs-slider {
    position: relative;
    width: 100%;
    height: var(--bhs-height, 640px);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 0;
    box-sizing: border-box;
}
.bhs-slider * { box-sizing: border-box; }

.bhs-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.bhs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms ease;
    z-index: 1;
}
.bhs-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.bhs-media {
    position: absolute;
    inset: 0;
    background-color: #0b2545;
    background-image: linear-gradient(135deg, #0b2545 0%, #13355e 45%, #0b2545 100%);
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
}
.bhs-slide.is-active .bhs-media {
    transform: scale(1);
}

.bhs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,20,40, calc(var(--bhs-overlay, 0.55) + 0.25)) 0%, rgba(6,20,40, var(--bhs-overlay, 0.55)) 45%, rgba(6,20,40, calc(var(--bhs-overlay, 0.55) - 0.15)) 100%);
}

.bhs-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.bhs-inner {
    max-width: 620px;
    padding: 0 6vw;
    color: #ffffff;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease 250ms, transform 700ms ease 250ms;
}
.bhs-slide.is-active .bhs-inner {
    opacity: 1;
    transform: translateY(0);
}

.bhs-eyebrow {
    display: inline-block;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: #d4af6a;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4af6a;
}

.bhs-heading {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 18px;
    color: #ffffff;
}

.bhs-text {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    margin: 0 0 30px;
    max-width: 540px;
}

.bhs-btn {
    display: inline-block;
    background: #d4af6a;
    color: #0b2545;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 15px 34px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 200ms ease, transform 200ms ease;
}
.bhs-btn:hover {
    background: #e8c98a;
    transform: translateY(-2px);
    color: #0b2545;
}

/* Arrows */
.bhs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(11,37,69,0.35);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 200ms ease;
}
.bhs-arrow:hover { background: rgba(11,37,69,0.7); }
.bhs-prev { left: 24px; }
.bhs-next { right: 24px; }

/* Dots */
.bhs-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}
.bhs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 200ms ease, width 200ms ease;
}
.bhs-dot.is-active {
    background: #d4af6a;
    border-color: #d4af6a;
    width: 26px;
    border-radius: 6px;
}

@media (max-width: 782px) {
    .bhs-slider { height: min(var(--bhs-height, 640px), 78vh); }
    .bhs-inner { padding: 0 6vw; max-width: 100%; }
    .bhs-arrow { width: 38px; height: 38px; }
    .bhs-prev { left: 12px; }
    .bhs-next { right: 12px; }
}
