.cat-bar-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    margin: 100px 0 40px 0;
}

.cat-bar {
    display: flex;
    overflow-x: auto;
    scroll-behavior: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 10px;
}

.cat-bar::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    position: absolute;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 8px 12px;
    font-size: 18px;
    font-weight: bold;
    bottom: 0;
}

.scroll-btn.left {
    left: 0;
    background: linear-gradient(to left, transparent, white);
    
}

.scroll-btn.right {
    right: 0;
    background: linear-gradient(to right, transparent, white);
}


.cat-bar .round-btn {
    background-color: #D3F4F8;
    font-size: 14px;
    color: #879FAA;
    white-space: nowrap
}

.cat-bar .round-btn.active {
    background-color: #25C9DE;
    color: white;
}

.scroll-btn {
    transition: opacity 0.3s ease;
}

.scroll-btn[style*="display: none"] {
    opacity: 0;
    pointer-events: none;
}

/* Blog Grid Section  */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.article-card {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: box-shadow ease-in 0.5s;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 5px;
}

.article-card:hover {
    box-shadow: rgba(100, 100, 111, 0.685) 0px 7px 29px 0px;
}

.post-category {
    position: absolute;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: white;
    z-index: 1;
    top: 20px;
    right: 20px;
    font-size: 14px;
    font-style: italic;
}

.featured-img-cnt {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;

}

.featured-img-cnt img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-title {
    font-size: 21px;
    color: #54595F;
}

.content-cnt {
    padding: 0 20px;
}

.content-cnt p {
    font-size: 14px;
    color: #54595F;
}

time {
    padding: 20px;
    margin-top: auto;
    font-size: 12px;
    border-top: solid #54595f33 0.1px;
}

.pagination {
    padding-top: 100px;
    text-align: center;
}

.pagination > * {
    margin: 0 5px;
}

@media only screen and (max-width: 767px) {
    .post-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}