

.hb-stories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.hb-stories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.hb-stories-header-title {
    background-color: #c00;
    width: 250px;
    height: 58px;
    position: relative;
}


.hb-stories-header-arrow {
    color: #c00;
    width: clamp(30px, 3vw, 40px);
    height: clamp(30px, 3vw, 40px);
    margin-top: 10px;
    margin-right:15px ;
}

/* Gallery Styles - Updated for scrolling and fixed width cards */
.hb-stories-gallery {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
}

.hb-stories-gallery::-webkit-scrollbar {
    height: 6px; /* Height of the scrollbar */
}

.hb-stories-gallery::-webkit-scrollbar-thumb {
    background-color: rgba(192, 0, 0, 0.5); /* Scrollbar color matching your theme */
    border-radius: 3px;
}

/* Card Styles - Fixed size of 230px */
.hb-stories-card {
    width: 220px;
    min-width: 220px; /* Ensure minimum width */
    flex-shrink: 0; /* Prevent cards from shrinking */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 330px;
}

.hb-stories-card-image {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.hb-stories-card-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    position: absolute;
    top: 0;
    left: 0;
}

/* Overlay gradients for each card */
.hb-stories-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Different overlay colors for each card */
.hb-stories-card .hb-stories-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.hb-stories-logo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid red;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.no-of-stories {
    font-family: 'Manrope', sans-serif;
    position: absolute;
    top: 20px;
    right: 12px;
    padding: 2px 8px;
    background-color: red;
    opacity: 0.8;
    border: 2px solid red;
    color: white;
    font-weight: 800;
    font-size: 12px;
    z-index: 2;
    border-radius: 50px;
}


.hb-stories-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    z-index: 2;
}

.hb-stories-card-content h3 {
    font-family: 'Mukta', serif;
    padding: 8px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
}

.hb-stories-separator {
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

.hb-stories-card-footer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hb-stories-card-footer img {
    width: 12px;
    height: 12px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hb-stories-container {
        padding: 10px;
        max-width: 100%;
        overflow-x: hidden; /* Hide any overflow outside the container */
    }
    .hb-stories-header-arrow {
        margin-right:0px ;
    }

}

@media (max-width: 768px) {
    .hb-stories-card {
    width: 200px;
    min-width: 200px; /* Ensure minimum width */
    height: 300px;
}
}

@media (max-width: 480px) {
    .hb-stories-card {
    width: 180px;
    min-width: 180px; /* Ensure minimum width */
    height: 280px;
}
.hb-stories-header-title {
  
    height: 45px;
    
}
}
