.horizontal-post-list {
    display: flex;
    flex-wrap: nowrap;
    /* overflow-x: hidden; 
    overflow-y: hidden;  */
    padding: 20px 0;
}


.post-item {
    flex: 0 0 auto;
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-right: 20px;
    background-color:rgb(2, 30, 92);
   
}

.post-item:last-child {
    margin-right: 0;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    overflow: hidden;
    position: relative;
    height: 200px;
    margin-top: 0px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.post-thumbnail:hover img {
    transform: scale(1.1);
}

.post-content {
    padding: 15px;
}

.post-title a {
    font-size: 18px;
    color: #ffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-title a:hover {
    color: #c0c0c0;
}

.post-excerpt {
    margin-top: 10px;
    font-size: 14px;
    color: #ffff;
    line-height: 1.5;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}


.slick-dots {
    bottom: 10px;
}

.slick-dots li button {
    font-size: 12px;
}

.post-icon-list {
    padding-left: 0;
    margin-top: 15px;

    display: flex;
    justify-content: space-between;
    align-content: stretch;
    flex-wrap: wrap;
    flex-direction: column;
}

button.post-button {
    background-color: #0051C5;
    background-image: linear-gradient(180deg, #03037A, transparent);
    color: #fff;
    padding: 9px 30px;
    border: unset;
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    transition: .5s !important;
}

button.post-button:hover {
    transform: scale(0.9);
   
}


@media (max-width: 768px) {
    .horizontal-post-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .post-item {
        margin: 10px;
        width: calc(100% - 20px);
    }
}
