/* Top Nhà Cái Plugin Styles - Based on Original Design */

.list__nhacai {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.news-style-22 .news-item-posts {
    position: relative;
    padding: 5px;
    margin-bottom: 30px;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 0 25px 0 rgb(0 0 0 / 20%);
    /* transition: all .5s ease-in-out; */
    /* -webkit-transition: all .3s; */
    /* transition: all .3s; */
    float: left;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 0 20px 0;
}

/* .news-style-22 .news-item-posts:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px 0 rgb(0 0 0 / 30%);
} */

/* Ranking Badge */
.news-style-22 .news-item-posts .nth__nth {
    width: 25%;
    float: left;
    padding: 0 10px;
    text-align: center;
}

.news-style-22 .news-item-posts .nth__nth.nth_child_img {
    width: 20%;
}

.news-style-22 .news-item-posts .nth__nth.nth_child_thuong {
    width: 30%;
}

.news-style-22 .news-item-posts .nth__nth.nth_child_cuoc {
    display: flex;
    gap: 10px;
}

.news-style-22 .news-item-posts .nth_child_img span {
    left: 0px;
    top: -15px;
    position: absolute;
    width: 30px;
    height: 38px;
    font-weight: bold;
    font-size: 15px;
    -webkit-transform: translateY(0);
    background-size: contain;
    transform: translateY(0);
    background: url(images/medal_blue.png) no-repeat;
    display: inline-block;
    color: #fff;
    line-height: 32px;
    text-align: center;
    z-index: 10;
}

.news-style-22 .news-item-posts .nth_child_img span.maucam {
    background: url(images/medal_orange.png) no-repeat;
}

/* Casino Logo */
.news-style-22 .news-item-posts .nth_child_img img {
    max-width: 100px;
    height: auto;
}

.no-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    border-radius: 8px;
}

/* Casino Info */
.news-style-22 .news-item-posts .nth__nth.nth_child_thuong {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.news-style-22 .news-item-posts .nth__nth.nth_child_thuong p {
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 0;
    margin-top: 0;
    color: #333;
}

.news-style-22 .news-item-posts .nth__nth.nth_child_thuong > span {
    font-size: 21px;
    display: block;
    line-height: 30px;
    font-weight: 700;
    text-transform: none;
    margin: 0 0 10px 0;
    text-align: left;
    color: #333;
    text-align: center;
}

.news-style-22 .news-item-posts .nth_child_star {
    border-right: 1px solid #ddd;
}

/* Rating */
.news-style-22 .news-item-posts .nth_child_star .star i {
    color: #ffd32a;
    font-size: 13px;
}

.news-style-22 .news-item-posts .sale {
    font-size: 16px;
    font-weight: 600;
}

.news-style-22 .news-item-posts .sale a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.news-style-22 .news-item-posts .sale img {
    margin-left: 5px;
    vertical-align: middle;
}

/* Action Buttons */
.nth_child_cuoc a {
    display: block;
    margin: 0 5px;
    background: #0a5c6f;
    line-height: 40px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    padding: 0 6px;
    width: 100%;
    text-decoration: none;
    /* transition: all 0.3s ease; */
}

.nth_child_cuoc a i {
    font-size: 13px;
    margin-right: 5px;
}

.nth_child_cuoc a.review {
    background: #f3b505;
}

.nth_child_cuoc a:hover {
    background: #214790;
    color: #fff;
    text-decoration: none;
    /* transform: translateY(-1px); */
}

/* Responsive Design */
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .title__home .section-title span {
        font-size: 22px;
        line-height: 33px;
    }
    
    .news-style-22 .news-item-posts {
        display: block;
    }
    
    .news-style-22 .news-item-posts .nth__nth {
        /*width: 100% !important;*/
        border: 0 !important;
    }
    
    .news-style-22 .news-item-posts .nth__nth.nth_child_cuoc {
        overflow: hidden;
        clear: both;
        padding: 10px 0 0 0;
    }
    
    .news-style-22 .news-item-posts .nth__nth.nth_child_cuoc a {
        float: left;
        width: 49%;
    }
    
    .news-style-22 .news-item-posts .nth__nth.nth_child_cuoc a:nth-child(2) {
        float: right;
    }
    
    .news-style-22 .news-item-posts .sale {
        font-size: 13px;
        font-weight: 600;
    }
    
    .news-style-22 .news-item-posts .nth__nth.nth_child_thuong p {
        font-size: 13px;
    }
    
    .news-style-22 .news-item-posts .nth__nth.nth_child_thuong p.khuyen_mai {
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 0;
        margin-top: 0;
        color: #f11b18;
    }
    
    .box__colum__left .news-item .boxx__innner {
        display: block;
    }
    
    .box__colum__left .news-thumb {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .box__colum__left .box__slider {
        width: 100%;
        padding: 0;
    }
    
    .box__colum__right .news-item-clear {
        width: 100%;
    }
    
    .news-post-news .box__thumb__img {
        width: 100%;
    }
    
    .news-post-news .box__content {
        width: 100%;
        padding: 15px 0 0 0;
    }
    
    .footer-widgets .widget {
        margin-bottom: 15px;
    }
    
    .news-post-news .box__thumb__img img {
        height: auto;
    }
    
    .news-style-22 .news-item-posts.nhacaihome__home .nth__nth {
        width: 100% !important;
        clear: both;
    }
}

/* Additional mobile styles for smaller screens */
@media (max-width: 480px) {
    .list__nhacai {
        padding: 10px;
    }
    
    .news-style-22 .news-item-posts {
        padding: 12px;
    }
    
    .news-style-22 .news-item-posts .nth__nth.nth_child_thuong > span {
        font-size: 18px;
    }
    
    .news-style-22 .news-item-posts .nth__nth.nth_child_thuong p {
        font-size: 12px;
    }
}

/* Animation - Disabled */
/* @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-style-22 .news-item-posts {
    animation: fadeInUp 0.6s ease forwards;
}

.news-style-22 .news-item-posts:nth-child(1) { animation-delay: 0.1s; }
.news-style-22 .news-item-posts:nth-child(2) { animation-delay: 0.2s; }
.news-style-22 .news-item-posts:nth-child(3) { animation-delay: 0.3s; }
.news-style-22 .news-item-posts:nth-child(4) { animation-delay: 0.4s; }
.news-style-22 .news-item-posts:nth-child(5) { animation-delay: 0.5s; } */

/* Flatsome Theme Compatibility */
.flatsome .list__nhacai {
    font-family: inherit;
}

.flatsome .news-style-22 .news-item-posts {
    border-radius: 8px;
}

.flatsome .nth_child_cuoc a {
    border-radius: 6px;
}

/* Loading State - Disabled */
/* .list__nhacai.loading {
    opacity: 0.6;
    pointer-events: none;
}

.list__nhacai.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} */ 

.news-style-22 .news-item-posts .nth_child_star .star i.inactive {
    color: #ccc;
} 

.textwidget .news-item-posts {
    display: block;
}

.textwidget  .news-item-posts  {
    display: block;
}
.textwidget  .news-item-posts .nth__nth {
    width: 100%;
    border: 0 !important;
}
.textwidget .news-item-posts .nth__nth.nth_child_img  {float: left;width: 100px;padding: 0;margin-top: 10px;}
.textwidget .news-item-posts .nth__nth.nth_child_img p {
    margin: 0 !important;
}
.textwidget .news-item-posts .nth__nth.nth_child_thuong {
    padding-top: 10px;
    text-align: left;
}

.textwidget .news-style-22 .news-item-posts .nth_child_img img {
    max-width: 70px;
    height: auto;
}
.textwidget  .nth_child_cuoc {
    overflow: hidden;
    clear: both;
    padding: 10px 0 0 !important;
}
.textwidget  .nth_child_cuoc a {
    float: left;
    width: 48%;
    margin: 0;

}
.textwidget  .nth_child_cuoc a:nth-child(2n) {
    float: right;
}
.textwidget  .news-style-22 .news-item-posts .nth__nth.nth_child_thuong span {
    font-size: 23px;
}
.textwidget .widget-title  {

    display: block;
    line-height: 30px;
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 20px 0;

}
.textwidget .news-style-22 .news-item-posts .nth__nth.nth_child_thuong p {
    display: none;
}