.space,
.space-bottom {
    margin: 0px !important;
    padding: 50px 0px;
}

.imgAboutUse {
    max-width: 85% !important;
}

.modal {
    z-index: 99999 !important;
}

.modal-backdrop {
    z-index: 99998 !important;
}

ul.topicMenu {
    position: relative;
}

ul.topicMenu li {
    position: relative;
}

ul.topicMenu li.active::after,
ul.topicMenu li:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 3px;
    background: linear-gradient(to right, #fffb8f, #fff);
    transform: translateX(-50%);
    border-radius: 2px;
    transition: width 0.3s ease;
    z-index: 1;
}

ul.topicMenu li:not(.active):hover::after {
    width: 80%;
}

ul.topicMenu li:not(.active)::after {
    width: 0;
}

.bl-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 46, 46, 0.86);
    animation: bl-fadeIn 0.3s ease;
}

.bl-overlay[data-target] {
    position: absolute;
    inset: 0;
}

/* สำหรับโหมดครอบเฉพาะ container */
.bl-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.bl-spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    animation: bl-spin 1s linear infinite;
}

.bl-text {
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes bl-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bl-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* utility: ตั้ง container เป็น relative เมื่อใช้โหมดเจาะจง */
.bl-relative {
    position: relative;
}