/* footer.css */

/* Điều chỉnh widget trong footer */
#site-footer .widget,
#site-footer .wp-block-list {
    margin-bottom: 10px;
}

#site-footer .widget ul,
#site-footer .wp-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#site-footer .widget ul li,
#site-footer .wp-block-list li {
    margin-bottom: 10px;
    padding-left: 0;
}

#site-footer {
    background-color: #3d4143;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    color: #fff;
    width: 100%;
}

#site-footer a {
    color: #fff !important;
    text-decoration: none;
}

#site-footer a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
}

.footer-bottom a {
    color: #fff !important;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* Xóa các CSS giới hạn chiều cao */
html, body {
    margin: 0;
}

body {
    min-height: 100vh;
}

#site-content {
    min-height: 100vh;
}
/* Loại bỏ khoảng trắng tạo ra  */
body[style*="padding-bottom"] {
    padding-bottom: 0 !important;
}

/* Giữ nguyên anchor ad nhưng đẩy footer lên để không bị che */
@media (max-width: 767.98px) {
    #site-footer {
        margin-bottom: 290px; /* Vì anchor ad đang cao 280px */
    }
}
@media (min-width: 768px) {
    #site-footer {
        margin-bottom: 290px; /* desktop cũng tương tự */
    }
}