#web-stories-container {
    width: 100%;
    }
    
    .category-buttons-slider {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 20px;
    }
    
    .category-button {
        padding: 5px 20px;
        margin-right: 10px;
        cursor: pointer;
        white-space: nowrap;
        background: #f1f1f1;
        border-radius: 5px;
        border: 1px solid gray;
        text-transform: capitalize;
    }
    
    .category-button.selected {
    background-color: #F58634;
    color: #fff;
    }
    
    .web-stories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    }
    
    .web-story {
    width: calc(25% - 20px); /* Adjust as needed to fit 4 in a row */
    box-sizing: border-box;
    }

    .web-story {
        position: relative; /* Ensure relative positioning for absolute child */
    }
    
    .center-icon {
        position: absolute;
        top: 2%;
        left: 2%;
        /* transform: translate(-50%, -50%); */
        z-index: 10; /* Ensure it's above the thumbnail */
    }
    
    .center-icon img {
        width: 25px; /* Adjust size as needed */
        height: auto;
    }
    button#load-more-stories {
        display: block;
        margin: auto;
        padding: 7px;
        background: #F58634;
        color: #fff;
        border: 0;
        border-radius: 6px;
        min-width: 110px;
        box-shadow: 0px 2px 2px #000;
        margin-top: 2%;
    }
    .web-story h3 {
        position: absolute;
        bottom: 0;
        font-size: 1rem;
        padding-left: 8px;
        background-color: #000000d1;
        color: #fff;
        letter-spacing: 0.7px;
        border-left: 5px solid #F58634;
    }
    @media (max-width: 768px) {
        .web-story {
            width: calc(50% - 10px); /* 2 story per row on smaller screens (mobile) */
        }
    }
    .web-story img {
        border-radius: 15px;
    }
    .publish-date {
        position: absolute;
        top: 8px;
        background: #271d1dcc;
        right: 0px;
        font-size: 11px;
        padding: 0px 5px 0px 5px;
    }