/* ============================================================
   LANGHAR HOMEPAGE PROMOS — PREMIUM FINAL
   Palette: #173F32 / #B9852C / #F7F3ED / #FFFFFF / #777069
   Lightweight: CSS + tiny vanilla JS only.
   ============================================================ */

/* ============================================================
   ANNOUNCEMENT RIBBON
   ============================================================ */

.langhar-om-ribbon{
    position:relative;
    width:100%;
    height:40px;
    min-height:40px;
    overflow:hidden;
    display:flex;
    align-items:center;
    box-sizing:border-box;
    background:#173F32 !important;
    color:#FFFFFF !important;
    border:0 !important;
    box-shadow:inset 0 -1px 0 rgba(255,255,255,.08);
}

.langhar-om-ribbon-track{
    display:flex;
    width:max-content;
    flex:none;
    align-items:center;
    animation:langharOmRibbon 30s linear infinite;
    will-change:transform;
}

.langhar-om-ribbon-group{
    display:flex;
    align-items:center;
    flex:none;
    white-space:nowrap;
}

.langhar-om-ribbon-item,
.langhar-om-ribbon-item:visited,
.langhar-om-ribbon-item:hover,
.langhar-om-ribbon-item:focus{
    display:inline-flex;
    align-items:center;
    gap:7px;
    flex:none;
    padding:0 13px;
    color:#FFFFFF !important;
    text-decoration:none !important;
    white-space:nowrap;
    font-family:'Poppins',Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
    font-size:12px !important;
    font-weight:600 !important;
    line-height:40px !important;
    letter-spacing:.01em;
}

.langhar-om-ribbon-item:hover,
.langhar-om-ribbon-item:focus{
    color:#FFFFFF !important;
}

.langhar-om-ribbon-icon{
    font-size:13px;
    line-height:1;
}

.langhar-om-ribbon-separator{
    flex:none;
    color:#B9852C !important;
    font-size:13px;
    line-height:1;
}

@keyframes langharOmRibbon{
    from{transform:translate3d(0,0,0)}
    to{transform:translate3d(-50%,0,0)}
}

.langhar-om-ribbon:hover .langhar-om-ribbon-track{
    animation-play-state:paused;
}

/* ============================================================
   PREMIUM CAROUSEL CARD
   ============================================================ */

.langhar-om-carousel{
    position:relative;
    width:calc(100% - 48px);
    max-width:1240px;
    margin:28px auto 34px;
    overflow:hidden;
    background:#173F32;
    isolation:isolate;
    border:1px solid rgba(23,63,50,.10);
    border-radius:24px;
    box-shadow:
        0 18px 50px rgba(23,63,50,.12),
        0 4px 14px rgba(23,63,50,.06);
}

.langhar-om-carousel-track{
    position:relative;
    min-height:360px;
}

.langhar-om-slide{
    position:absolute;
    inset:0;
    min-height:360px;
    display:flex;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transform:scale(1.012);
    transition:opacity .55s ease,transform .75s ease,visibility .55s ease;
    background:#173F32;
    color:#FFFFFF;
}

.langhar-om-slide.is-active{
    opacity:1;
    visibility:visible;
    transform:scale(1);
}

.langhar-om-slide-media{
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
}

.langhar-om-slide-media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
}

.langhar-om-slide-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(90deg,rgba(23,63,50,.95),rgba(23,63,50,.38)) !important;
}

.langhar-om-slide-content{
    position:relative;
    z-index:2;
    width:min(650px,calc(100% - 40px));
    padding:48px max(22px,7vw) 58px;
    box-sizing:border-box;
}

.langhar-om-slide-kicker{
    display:block;
    margin-bottom:11px;
    color:#B9852C !important;
    font-family:'Poppins',Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
    font-size:10px !important;
    font-weight:700 !important;
    line-height:1 !important;
    letter-spacing:.18em;
    text-transform:uppercase;
}

/* Langhar headline typography */
.langhar-om-slide h2,
.langhar-om-slide h2:hover{
    margin:0 0 12px !important;
    color:#FFFFFF !important;
    font-family:'Playfair Display',Georgia,"Times New Roman",serif !important;
    font-size:clamp(29px,4vw,48px) !important;
    font-weight:600 !important;
    line-height:1.08 !important;
    letter-spacing:-.02em;
}

.langhar-om-slide p{
    max-width:560px;
    margin:0 0 22px !important;
    color:rgba(255,255,255,.88) !important;
    font-family:'Poppins',Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
    font-size:14px !important;
    font-weight:400 !important;
    line-height:1.65 !important;
}

/* CTA — explicitly remove theme underline */
.langhar-om-carousel .langhar-om-slide-button,
.langhar-om-carousel .langhar-om-slide-button:visited,
.langhar-om-carousel .langhar-om-slide-button:hover,
.langhar-om-carousel .langhar-om-slide-button:focus,
.langhar-om-carousel .langhar-om-slide-button:active{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:11px;
    min-height:44px;
    padding:0 18px;
    border:1px solid #B9852C !important;
    border-radius:10px;
    background:#B9852C !important;
    color:#FFFFFF !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    text-decoration-thickness:0 !important;
    box-shadow:none;
    font-family:'Poppins',Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
    font-size:11px !important;
    font-weight:700 !important;
    line-height:1 !important;
    letter-spacing:.01em;
    transition:transform .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}

.langhar-om-carousel .langhar-om-slide-button:hover,
.langhar-om-carousel .langhar-om-slide-button:focus-visible{
    background:#FFFFFF !important;
    border-color:#FFFFFF !important;
    color:#173F32 !important;
    text-decoration:none !important;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.langhar-om-slide-button span{
    text-decoration:none !important;
    line-height:1;
}

/* ============================================================
   CAROUSEL CONTROLS
   ============================================================ */

.langhar-om-carousel-controls{
    position:absolute;
    right:24px;
    bottom:20px;
    z-index:5;
    display:flex;
    align-items:center;
    gap:10px;
    padding:7px 8px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    background:rgba(23,63,50,.48);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

.langhar-om-carousel .langhar-om-prev,
.langhar-om-carousel .langhar-om-next{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    padding:0 !important;
    border:1px solid rgba(255,255,255,.55) !important;
    background:#F7F3ED !important;
    color:#173F32 !important;
    border-radius:50% !important;
    cursor:pointer;
    font-family:Arial,sans-serif !important;
    font-size:21px !important;
    font-weight:400 !important;
    line-height:30px !important;
    box-shadow:none !important;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}

.langhar-om-carousel .langhar-om-prev:hover,
.langhar-om-carousel .langhar-om-next:hover,
.langhar-om-carousel .langhar-om-prev:focus,
.langhar-om-carousel .langhar-om-next:focus{
    background:#B9852C !important;
    border-color:#B9852C !important;
    color:#FFFFFF !important;
    transform:translateY(-1px);
}

.langhar-om-dots{
    display:flex;
    align-items:center;
    gap:5px;
}

.langhar-om-carousel .langhar-om-dots button{
    width:6px !important;
    height:6px !important;
    min-width:6px !important;
    min-height:6px !important;
    border:0 !important;
    border-radius:50% !important;
    padding:0 !important;
    background:rgba(255,255,255,.45) !important;
    cursor:pointer;
    box-shadow:none !important;
}

.langhar-om-carousel .langhar-om-dots button.is-active{
    width:18px !important;
    border-radius:999px !important;
    background:#B9852C !important;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media(max-width:767px){
    .langhar-om-ribbon{
        height:36px;
        min-height:36px;
    }

    .langhar-om-ribbon-track{
        animation-duration:25s;
    }

    .langhar-om-ribbon-item,
    .langhar-om-ribbon-item:visited,
    .langhar-om-ribbon-item:hover,
    .langhar-om-ribbon-item:focus{
        padding:0 10px;
        font-size:11px !important;
        line-height:36px !important;
    }

    .langhar-om-ribbon-icon{
        font-size:12px;
    }

    .langhar-om-carousel{
        width:calc(100% - 28px);
        margin:20px auto 28px;
        border-radius:18px;
        box-shadow:0 12px 30px rgba(23,63,50,.11);
    }

    .langhar-om-carousel-track,
    .langhar-om-slide{
        min-height:330px;
    }

    .langhar-om-slide-overlay{
        background:linear-gradient(90deg,rgba(23,63,50,.96),rgba(23,63,50,.58)) !important;
    }

    .langhar-om-slide-content{
        width:100%;
        padding:38px 22px 68px;
    }

    .langhar-om-slide h2{
        font-size:30px !important;
        line-height:1.1 !important;
    }

    .langhar-om-slide p{
        font-size:12px !important;
        line-height:1.55 !important;
    }

    .langhar-om-carousel .langhar-om-slide-button{
        min-height:42px;
        padding:0 15px;
    }

    .langhar-om-carousel-controls{
        right:12px;
        bottom:12px;
        gap:7px;
        padding:5px 6px;
    }

    .langhar-om-carousel .langhar-om-prev,
    .langhar-om-carousel .langhar-om-next{
        width:31px !important;
        height:31px !important;
        min-width:31px !important;
        min-height:31px !important;
        font-size:19px !important;
    }
}

@media(max-width:380px){
    .langhar-om-carousel{
        width:calc(100% - 22px);
        border-radius:16px;
    }

    .langhar-om-slide h2{
        font-size:27px !important;
    }

    .langhar-om-slide-content{
        padding-left:18px;
        padding-right:18px;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media(prefers-reduced-motion:reduce){
    .langhar-om-ribbon-track{
        animation:none;
    }

    .langhar-om-slide,
    .langhar-om-slide-button,
    .langhar-om-prev,
    .langhar-om-next{
        transition:none !important;
    }
}
