/* ===============================
   MIMO CATEGORY POSTS WIDGET
================================ */

.mimo-widget-box {
    background: #f6f7fb;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mimo-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #222;
}

/* LIST CARD */
.mimo-post-list {
    border-radius: 12px;
    overflow: visible;
    height: auto;
}

/* ITEM */
.mimo-post-item {
    background: #ffff;
    display: flex;
    gap: 14px;
    padding: 14px;
    margin-top: 10px;
    border-radius: 5px;
}

.mimo-post-item:last-child {
    border-bottom: none;
}

/* THUMB */
.mimo-post-thumb {
    width: 150px;
    flex-shrink: 0;
}

.mimo-post-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* CONTENT */
.mimo-post-title {
    font-size: 15px !important;
    margin: 0px;
}

.mimo-post-title a {
    color: #222 !important;
    text-decoration: none;
    transition: color 0.3s;
}

.mimo-post-title a:hover {
    color: #ff7a00 !important;
}

.mimo-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.mimo-post-excerpt {
    font-size: 13px;
    color: #757575;
}

.mimo-read-more {
    font-size: 14px;
    color: #ff7a00;
    font-weight: 600;
    text-decoration: none;
}

.mimo-read-more:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
    .mimo-post-item {
        flex-direction: column;
    }

    .mimo-post-thumb {
        width: 100%;
    }
        .mimo-pagination {
        display: none;
    }

}

.mimo-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 14px;
    margin: 0;
}

.mimo-pagination li a,
.mimo-pagination li span {
    padding: 6px 12px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.mimo-pagination li .current {
    background: #ff7a00;
    color: #fff;
}

/* Thêm vào style.css */
@media (max-width: 768px) {
    .mimo-pagination {
        display: none !important;
    }
}

/* Hiệu ứng hiện bài viết mới */
.mimo-post-list .mimo-post-item {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
