/* ========================================================================
 * mobile-nav-main.css
 * 2026-03-25 15:10:00 r005
 * - mobile-main-top-go 6개 아이템 overflow/빈칸 보정
 * - 413~767 : 3열
 * - 412 이하 : 2열
 * ======================================================================== */

@media all and (max-width: 767px) {
    .mobile-main-top-go-wrap {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
        border-top: 1px solid #eef2f7;
        border-bottom: 1px solid #eef2f7;
        background: #ffffff;
        box-sizing: border-box;
        overflow: hidden;
    }

    .mobile-main-top-go-wrap .mobile-main-top-go__nav {
        display: none !important;
    }

    .mobile-main-top-go {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible;
        box-sizing: border-box;
    }

    .mobile-main-top-go .mobile-go-item {
        min-width: 0;
        margin: 0;
        padding: 0;
        border-right: 1px solid #eef2f7;
        box-sizing: border-box;
    }

    .mobile-main-top-go .mobile-go-item:nth-child(3n) {
        border-right: 0;
    }

    .mobile-main-top-go .mobile-go-item:nth-child(n + 4) {
        border-top: 1px solid #eef2f7;
    }

    .mobile-main-top-go .mobile-go-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        padding: 8px 6px;
        background: #ffffff;
        color: #334155;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.25;
        text-decoration: none;
        text-align: center;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
}

@media all and (max-width: 412px) {
    .mobile-main-top-go {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-main-top-go .mobile-go-item:nth-child(3n) {
        border-right: 1px solid #eef2f7;
    }

    .mobile-main-top-go .mobile-go-item:nth-child(2n) {
        border-right: 0;
    }

    .mobile-main-top-go .mobile-go-item:nth-child(n + 4) {
        border-top: 0;
    }

    .mobile-main-top-go .mobile-go-item:nth-child(n + 3) {
        border-top: 1px solid #eef2f7;
    }
}