/* Full-screen hero slider (Woodmart-style) */
.alt-hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 920px;
    overflow: hidden;
    background: #2b0f13;
}

.alt-hero-track { position: absolute; inset: 0; }

.alt-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.alt-hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.alt-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 7s ease-out;
}

.alt-hero-slide.is-active .alt-hero-bg { transform: scale(1); }

.alt-hero-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 6, 8, .55) 0%, rgba(20, 6, 8, .1) 35%, rgba(20, 6, 8, .7) 70%, rgba(20, 6, 8, .95) 100%);
}

.alt-hero-content {
    position: absolute;
    inset-inline: 0;
    bottom: 9%;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
    margin: 0 auto;
}

.alt-hero-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    color: #d9c08a;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.alt-hero-title {
    margin: 0 0 26px;
    font-size: clamp(28px, 4.2vw, 58px);
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .45);
}

.alt-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 176px;
    height: 52px;
    padding: 0 30px;
    background: #1c1c1c;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .18);
    transition: all .25s ease;
}

.alt-hero-btn:hover {
    background: #c9a961;
    color: #2b0f13 !important;
    border-color: #c9a961;
}

/* Arrows */
.alt-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    font-size: 26px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s ease, transform .2s ease;
}

.alt-hero-nav:hover { color: #fff; transform: translateY(-50%) scale(1.08); }
.alt-hero-prev { inset-inline-start: 18px; }
.alt-hero-next { inset-inline-end: 18px; }

/* Numeric pagination */
.alt-hero-dots {
    direction: ltr;
    position: absolute;
    bottom: 34px;
    inset-inline: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.alt-hero-dot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .55);
    font-family: 'El Messiri', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
    padding: 6px 0;
    transition: color .2s ease;
}

.alt-hero-dot em {
    display: block;
    width: 34px;
    height: 1px;
    background: rgba(255, 255, 255, .35);
    transition: width .25s ease, background .25s ease;
}

.alt-hero-dot:hover { color: #fff; }
.alt-hero-dot.is-active { color: #fff; }
.alt-hero-dot.is-active em { width: 64px; background: #c9a961; }

/* Transparent header on the home page */
body.alt-home-hero .alt-announce { display: none; }

body.alt-home-hero .alt-header {
    position: absolute;
    top: 0;
    inset-inline: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    transition: background .3s ease, box-shadow .3s ease;
    z-index: 60;
}

body.alt-home-hero .alt-header .container { max-width: 1400px; }

body.alt-home-hero.alt-header-solid .alt-header {
    position: fixed;
    background: #411017 !important;
    box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8) !important;
}

/* home page: logo centered feel */
body.alt-home-hero .alt-header .site-branding img { max-height: 62px; }

@media (max-width: 782px) {
    .alt-hero { max-height: 780px; }
    .alt-hero-title { font-size: clamp(24px, 7vw, 34px); }
    .alt-hero-kicker { font-size: 11px; }
    .alt-hero-content { bottom: 14%; }
    .alt-hero-nav { display: none; }
    .alt-hero-dots { gap: 20px; bottom: 20px; }
    .alt-hero-dot em { width: 22px; }
    .alt-hero-dot.is-active em { width: 40px; }
}
