/* custom */
html #header nav ul li.current-menu-item a {
    border-radius: 50px;
}

#header .logo a img {
    margin-top: 15px;
}

#header nav .menu {
    margin-top: -15px;

}

html .sb_submit[type=submit] {
    border-radius: 50px;

}

html #comments input[type=submit] {
    border-radius: 15px;
}

html .widget .wp-block-search .wp-block-search__button {
    border-radius: 15px;

}

html .app-s .readmore {
    border-radius: 15px;

}

html .downloadAPK {
    border-radius: 20px;

}

.app-p .box,
.app-s .box {
    border-radius: 20px;
}

#px_custom_categories_widget-2 {
    border-radius: 15px;
}

html .app-s .s2 .meta-cats a {
    border-radius: 15px;

}

/* category css */
.category-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 27%;
    transform: translate(810px, -720px);
    margin-top: -102px;
    display: none;
}


.cat-title {
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cột */
    gap: 12px 20px;
    /* khoảng cách giữa các item */
}

.category-list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.category-list li span.cccc {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    color: black !important;
}

.category-box span {
    /* CSS ở đây */
    color: rgb(0, 0, 0);
    font-weight: normal;

}

.category-box .cat-item span:not(.icop) {
    position: relative;
    top: -10px;
    font-family: 'Open Sans';
}

/* ===== FOOTER SOCIAL ICONS STYLING ===== */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 800px;
}

.footer-social li {
    list-style: none;
}

.footer-social li a {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-social li a:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer Social Platform Colors */
.footer-social li a.facebook {
    background: #3b5998;
}

.footer-social li a.twitter {
    background: #1da1f2;
}

.footer-social li a.instagram {
    background: #c13584;
}

.footer-social li a.youtube {
    background: #ff0000;
}

.footer-social li a.pinterest {
    background: #cb2027;
}

.footer-social li a.telegram {
    background: #0088cc;
}

.footer-info {
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    margin-top: -56px;
    margin-right: 450px;
}

/* Responsive Footer Social */
@media (max-width: 768px) {
    .footer-social {
        gap: 6px;
        margin: 12px 0;
    }

    .footer-social li a {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }

    @media (max-width: 768px) {
        .footer-info {
            margin-right: 0;
            margin-top: 0;
            padding: 10px 20px;
            font-size: 13px;
        }
    }

    @media (max-width: 480px) {
        .footer-social {
            gap: 4px;
            margin: 10px 0;
        }

        .footer-social li a {
            width: 28px;
            height: 28px;
            line-height: 28px;
            font-size: 12px;
        }
    }
}

.container {
    /* background-color: white; */
    border-radius: 12px;


}

/* lates app */

.sections {
    width: 100% !important;
}

.baps {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-start;


}

.baps .app-item {

    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;

}

@media (max-width: 768px) {
    .baps .app-item {

        width: calc(100% / 4);
    }
}


#block-2,
.widget_search,
.widget_block.widget_search {
    display: none !important;
}

#block-6.widget.widget_block {
    display: none !important;
}

.pagination .dots,
.pagination .page-numbers,
.pagination .current,
.pagination a {
    box-shadow: none !important;
}

span.page-numbers.current {
    border-radius: 50px;
}

/* hiển thị phần comment */

div#comments {
    display: none;
}

body.home li#px_custom_categories_widget-3 {
    transform: translate(810px, -820px);
}


li#px_custom_categories_widget-3 {
    transform: translate(810px, -315px);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 280px;
}

/* 
#main-site {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
} */


.container #sidebar+#sidebar {
    display: none !important;
}

/* 
.section {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} */

#sidebar>ul {
    height: 75px;
}


@media (max-width: 768px) {

    li#px_custom_categories_widget-3,
    body.home li#px_custom_categories_widget-3 {
        transform: none !important;
        position: static !important;
        /* Thay vì relative */
        width: 100% !important;
        margin: 20px 0 50px 0 !important;
        /* Margin bottom rõ ràng */
        padding: 15px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 15px;
        float: none !important;
        clear: both !important;
        display: block !important;
    }

    /* Quan trọng: Đảm bảo sidebar có chiều cao đúng */
    #sidebar {
        height: auto !important;
        /* Bỏ height: 75px */
        min-height: 300px !important;
        margin-bottom: 50px !important;
    }

    /* Reset ul trong sidebar */
    #sidebar>ul {
        height: auto !important;
        /* Bỏ height: 75px */
    }
}


/* CSS mới cho trang category - transform ít hơn */
body.archive li#px_custom_categories_widget-3,
body.category li#px_custom_categories_widget-3 {
    transform: translate(810px, -315px);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 280px;
}

body.archive #footer,
body.category #footer {
    margin-top: 510px;
}


.page-id-522 #main-site+.container {
    height: 920px;
}

.category-273 #px_custom_categories_widget-3 {
    margin-top: -220px;
}

.category-272 #px_custom_categories_widget-3 {
    margin-top: -220px;
}




/* HOTS APPS */
/* Container */
.mySwiper-hotapps {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Header */
.mySwiper-hotapps .section-header {
    margin-bottom: 10px;
    padding-bottom: 7px;
}

.mySwiper-hotapps .section-title {
    font-size: 17px;
    font-weight: 700;
    color: #141313;
    margin-top: 10px !important;
    margin-left: 15px !important;

}

.mySwiper-hotapps .view-more-link {
    font-size: 14px;
    color: #cd2535 !important;
    font-weight: 650;
    text-decoration: none;
    margin-right: 15px;
    white-space: nowrap;
    /* không cho xuống dòng */
    margin-top: 10px;
}

.mySwiper-hotapps .view-more-link:hover {
    text-decoration: underline;
}

/* Swiper slide card */
.hot-post-card {
    width: 105px;
    height: 105px;
    /* cố định width mỗi item */
    text-align: center;
}

.hot-post-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hot-post-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ảnh */
.hot-post-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
}

/* Title */
.hot-post-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;

    max-width: 120px;
    /* 👈 giới hạn chiều rộng của text */
}

.mySwiper-hotapps .section-header {
    margin-bottom: 10px;
    padding-bottom: 7px;
    position: relative;
}

.mySwiper-hotapps .section-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    /* lệch cùng lề với tiêu đề */
    width: 1070px;
    /* độ dài đường kẻ */
    height: 1px;
    background: #eaeaea;
}


/* Pagination của Hot Apps */
.hotapps-pagination {
    margin-top: 20px !important;
    /* Dịch xuống */
    position: relative !important;
    /* Để nó không bị absolute dính ảnh */
}

/* Style cho chấm */
.hotapps-pagination .swiper-pagination-bullet {
    background: #999 !important;
    /* Màu mặc định */
    opacity: 1 !important;
    /* Không bị mờ */
}

/* Style cho chấm active */
.hotapps-pagination .swiper-pagination-bullet-active {
    background: #e91e63 !important;
    /* Màu nổi bật */
}



/* HOTS APPS */

.swiper.mySwiper-hotgames.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    /* margin-top: 15px !important; */
    margin-bottom: 20px;
}

.mySwiper-hotgames {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Header */
.mySwiper-hotgames .section-header {
    margin-bottom: 10px;
    padding-bottom: 7px;
    position: relative;
}

.mySwiper-hotgames .section-title {
    font-size: 17px;
    font-weight: 700;
    color: #141313;
    margin-top: 10px !important;
    margin-left: 15px !important;
}

.mySwiper-hotgames .view-more-link {
    font-size: 14px;
    color: #cd2535 !important;
    font-weight: 650;
    text-decoration: none;
    margin-right: 15px;
    white-space: nowrap;
    margin-top: 10px;
}

.mySwiper-hotgames .view-more-link:hover {
    text-decoration: underline;
}

.mySwiper-hotgames .section-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 1070px;
    height: 1px;
    background: #eaeaea;
}

/* Swiper slide card */
.hot-post-card {
    width: 105px;
    height: 105px;
    text-align: center;
}

.hot-post-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hot-post-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ảnh */
.hot-post-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
}

/* Title */
.hot-post-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 120px;
}

/* Pagination của Hot Games */
.hotgames-pagination {
    margin-top: 20px !important;
    position: relative !important;
}

.hotgames-pagination .swiper-pagination-bullet {
    background: #999 !important;
    opacity: 1 !important;
}

.hotgames-pagination .swiper-pagination-bullet-active {
    background: #e91e63 !important;
}

li.ws {
    display: none;
}

a.facebook {
    border-radius: 15px;

}

a.twitter {
    border-radius: 15px;

}

a.pinterest {
    border-radius: 15px;

}

a.telegram {
    border-radius: 15px;

}

.botones_sociales {
    margin-left: -178px;
    gap: 5px;
}


.swiper.mySwiper-hotapps.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    margin-bottom: 20px;
}

/* ===== REVIEW & GUIDE BUTTONS STYLING ===== */
/* ===== REVIEW & GUIDE BUTTONS STYLING ===== */
.box-social+.box-review-guide {
    margin-top: 15px;
}

.box-review-guide {
    padding: 0;
}

.review-guide-buttons {
    display: flex;
    gap: 12px !important;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    margin-top: -31px;
    margin-left: -273px !important;
}

.review-guide-buttons li {
    list-style: none;
}

.review-guide-buttons li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    /* ← Thu nhỏ padding */
    color: #fff !important;
    text-decoration: none;
    border-radius: 15px;
    /* ← Thu nhỏ border-radius */
    font-weight: 600;
    font-size: 12px;
    /* ← Thu nhỏ font-size */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    width: 104px !important;
    /* ← Cố định width */
    height: 31px;
    /* ← Cố định height */
    box-sizing: border-box;
    /* ← Đảm bảo size chính xác */
    justify-content: center;
    /* ← Căn giữa nội dung */
}

.review-guide-buttons li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.review-guide-buttons li a.review-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.review-guide-buttons li a.review-btn:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d84315 100%);
}

.review-guide-buttons li a.guide-btn {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.review-guide-buttons li a.guide-btn:hover {
    background: linear-gradient(135deg, #26d0ce 0%, #2a9d8f 100%);
}

/* Layout bên cạnh social buttons */
@media (min-width: 769px) {
    .box-social {
        display: inline-block;
        width: 65%;
        vertical-align: top;
    }

    .box-social+.box-review-guide {
        display: inline-block;
        width: 32%;
        margin-left: 3%;
        margin-top: 0;
        vertical-align: top;
    }

    .review-guide-buttons {
        flex-direction: row;
        gap: 8px;
    }

    .review-guide-buttons li a {
        justify-content: center;
        width: auto;
        box-sizing: border-box;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .review-guide-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .review-guide-buttons li a {
        padding: 10px 18px;
        font-size: 13px;
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .review-guide-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .review-guide-buttons li a {
        width: 100%;
        text-align: center;
    }
}