/* BEEGITAL Insights: ONLY the inside of the existing dark hero browser frame. */
.beegital-insights__hero-device .beegital-insights__hero-rotator{
    position:relative;
    box-sizing:border-box;
    overflow:hidden;
    width:100%;
    height:clamp(290px,26vw,355px);
    min-height:290px;
    padding:0;
    background:#0d1621;
    isolation:isolate;
}
.beegital-insights__hero-rotator .beegital-insights__hero-story{
    position:absolute;
    inset:0;
    display:block;
    z-index:1;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    text-decoration:none!important;
    color:#fff!important;
    transition:opacity .7s ease,visibility .7s ease;
}
.beegital-insights__hero-rotator .beegital-insights__hero-story.is-active{
    z-index:2;
    visibility:visible;
    opacity:1;
    pointer-events:auto;
}
.beegital-insights__hero-story img{
    position:absolute;
    inset:0;
    display:block;
    height:100%!important;
    width:100%!important;
    object-fit:cover;
    object-position:center;
    filter:saturate(.92);
    transition:transform 6.7s ease-out;
}
.beegital-insights__hero-story.is-active:hover img{
    transform:scale(1.045);
}
.beegital-insights__hero-story::before{
    content:"";
    position:absolute;
    z-index:1;
    inset:0;
    background:linear-gradient(180deg,rgba(8,12,19,.06) 0%,rgba(8,12,19,.12) 27%,rgba(5,9,16,.80) 66%,rgba(5,9,16,.98) 100%);
}
.beegital-insights__hero-story-body{
    position:absolute;
    z-index:2;
    inset:auto 22px 23px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
    max-width:calc(100% - 44px);
}
.beegital-insights__hero-story-category{
    font-size:10px!important;
    line-height:1.4;
    font-weight:850;
    color:#ffd144!important;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.beegital-insights__hero-story-title{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    font-family:var(--font-heading),sans-serif;
    font-size:clamp(18px,1.8vw,24px);
    line-height:1.20;
    letter-spacing:-.025em;
    font-weight:850;
    color:#fff!important;
    text-shadow:0 2px 12px rgba(0,0,0,.7);
}
.beegital-insights__hero-story-more{
    margin-top:2px;
    font-size:11px!important;
    font-weight:850;
    color:#ffcf42!important;
}
.beegital-insights__hero-story-counter{
    position:absolute;
    z-index:4;
    top:12px;
    right:14px;
    border:1px solid rgba(255,255,255,.24);
    border-radius:8px;
    padding:7px 10px;
    font:800 10px/1.1 ui-monospace,monospace;
    color:#cfd5de;
    background:rgba(5,10,16,.79);
}
.beegital-insights__hero-story-counter [data-story-index]{
    color:#ffcf42;
}
.beegital-insights__hero-story-fallback{
    display:grid;
    place-items:center;
    height:100%;
    color:#ffc107;
    font-weight:850;
    letter-spacing:.12em;
}
@media(max-width:640px){
    .beegital-insights__hero-device .beegital-insights__hero-rotator{
        height:270px;
        min-height:270px;
    }
    .beegital-insights__hero-story-body{
        inset:auto 15px 18px;
        max-width:calc(100% - 30px);
    }
    .beegital-insights__hero-story-title{
        font-size:19px;
    }
    .beegital-insights__hero-story-counter{
        top:10px;
        right:10px;
    }
}
/* Stacked mobile/tablet layout: keep the tagline in normal flow below
   the article frame, never hidden behind the bottom edge. */
@media(max-width:1050px){
    .beegital-insights__hero-art{
        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        align-items:center;
        min-height:0;
    }
    .beegital-insights__hero-art .beegital-insights__hero-device{
        flex:0 0 auto;
        order:1;
        margin-bottom:0;
    }
    .beegital-insights__hero-art .beegital-insights__hero-foot{
        position:relative;
        bottom:auto;
        top:auto;
        left:auto;
        right:auto;
        order:2;
        display:block;
        flex:0 0 auto;
        width:100%;
        max-width:100%;
        margin:25px 0 0;
        padding:0 12px;
        z-index:3;
        box-sizing:border-box;
        color:#c3a052;
        font-size:10px;
        line-height:1.6;
        text-align:center;
    }
}
@media(prefers-reduced-motion:reduce){
    .beegital-insights__hero-story,
    .beegital-insights__hero-story img{
        transition:none!important;
    }
}
