/* ======================================================================
   Front Hero — Design #12 (Slider + Thumbnail Rail, lightSlider gallery)
   Library variant. Boxed/contained hero + clickable thumbnail rail below.
   Class pattern: front-hero-12-*. Palette adapts via --bs-primary / --bs-secondary.
   ====================================================================== */

.front-hero-12-band { padding: 1.75rem 0 0.5rem; }

.front-hero-12-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
}

/* lightSlider wrapper reset */
.front-hero-12-list { list-style: none; margin: 0; padding: 0; }

.front-hero-12-slide {
    position: relative;
    height: 440px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.front-hero-12-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(10, 18, 12, 0.72) 0%,
        rgba(10, 18, 12, 0.45) 42%,
        rgba(10, 18, 12, 0.05) 74%,
        transparent 100%);
}
.front-hero-12-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}
.front-hero-12-content { max-width: 520px; color: #fff; }

.front-hero-12-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(var(--bs-secondary-rgb, 255, 122, 69), 0.92);
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.front-hero-12-title {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.32);
}
.front-hero-12-sub {
    font-size: 1.02rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem;
    max-width: 420px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.front-hero-12-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--bs-secondary);
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.85rem 1.6rem;
    border-radius: 0.6rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(var(--bs-secondary-rgb, 255, 122, 69), 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.front-hero-12-cta svg { transition: transform 0.2s ease; }
.front-hero-12-cta:hover { transform: translateY(-2px); }
.front-hero-12-cta:hover svg { transform: translateX(4px); }

/* lightSlider default arrows → glassmorphic (positioned over the main slide) */
.front-hero-12-frame .lSAction > a {
    width: 42px !important;
    height: 42px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
    opacity: 1 !important;
    margin-top: -21px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px !important;
    text-indent: -9999px;
    transition: background 0.15s ease, transform 0.15s ease;
}
.front-hero-12-frame .lSAction > a:hover { background: #fff !important; transform: scale(1.06); }
.front-hero-12-frame .lSAction > .lSPrev {
    left: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") !important;
}
.front-hero-12-frame .lSAction > .lSNext {
    right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") !important;
}

/* lightSlider GALLERY (thumbnail rail) */
.front-hero-12-frame .lSSlideOuter .lSGallery { margin-top: 12px !important; }
.front-hero-12-frame .lSSlideOuter .lSGallery li {
    border-radius: 0.6rem;
    overflow: hidden;
    opacity: 0.55;
    border: 2px solid transparent;
    height: 78px;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.front-hero-12-frame .lSSlideOuter .lSGallery li img { width: 100%; height: 100%; object-fit: cover; display: block; }
.front-hero-12-frame .lSSlideOuter .lSGallery li:hover { opacity: 0.85; transform: translateY(-2px); }
.front-hero-12-frame .lSSlideOuter .lSGallery li.active { opacity: 1; border-color: var(--bs-secondary); }

@media (max-width: 991.98px) { .front-hero-12-slide { height: 360px; } }
@media (max-width: 575.98px) {
    .front-hero-12-slide { height: 300px; }
    .front-hero-12-slide::after {
        background: linear-gradient(180deg, rgba(10, 18, 12, 0.3) 0%, rgba(10, 18, 12, 0.55) 55%, rgba(10, 18, 12, 0.8) 100%);
    }
    .front-hero-12-frame .lSAction > a { width: 34px !important; height: 34px !important; margin-top: -17px !important; }
    .front-hero-12-frame .lSSlideOuter .lSGallery li { height: 56px; }
}
