/* Haber Manşet Slider basic styles */

.hms-slider {
    position: relative;
    overflow: hidden;
    background: #333;
    color: #fff;
}

.hms-slider-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 40%;
}

.hms-slide {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    opacity:0;
    transition: opacity 0.3s ease;
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
}

.hms-slide.hms-active {
    opacity:1;
    z-index:2;
}

.hms-slide-bg {
    position:absolute;
    top:0;left:0;
    width:100%;height:100%;
    background-size:cover;
    background-position:center;
}

.hms-slide-bg-ad {
    display:flex;
    align-items:center;
    justify-content:center;
    background:#000;
}

.hms-slide-bg-ad img {
    max-width:100%;
    max-height:100%;
}

.hms-slide-content {
    position:relative;
    padding:20px;
    z-index:3;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    width:100%;
}

.hms-slide-title a {
    color:inherit;
    text-decoration:none;
}

.hms-slider-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:24px;
    z-index:5;
    border-radius:2px;
}

.hms-prev { left:0; }
.hms-next { right:0; }

.hms-slider-nav {
    list-style:none;
    margin:10px 0 0;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    justify-content:center;
}

.hms-slider-nav li {
    cursor:pointer;
    text-align:center;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    border-radius:2px;
}
