*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.mobile-break {
    display: none;
}

.tablet-break {
    display: none;
}

.tablet-mobile-break {
    display: none !important;
}

/* ===== basePage 공통 운영 레이아웃 정리 ===== */
.basePage {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    --color-point1 :#5E2C7B;
    --color-point2: #A8599E;
}

body:has(.basePage) #subtop,
body:has(.basePage) #quickToggleBtn,
body:has(.basePage) #quickForm,
body:has(.basePage) #floating1,
body:has(.basePage) #floating1_btn {
    display: none !important;
}

body:has(.basePage) #footer,
body:has(.basePage) .footer-copyright {
    display: none !important;
}

body:has(.basePage) #quickSide {
    z-index: 1600;
}

body:has(.basePage) #site_config {
    width: 100%;
    flex-shrink: 0;
    border-bottom-color: #eee;
    background: #fff;
    display: flex;
    align-items: center;
    border-bottom: none;
}

body:has(.basePage) #site_config .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

body:has(.basePage) #site_config .site {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

body:has(.basePage) .imp-collab {
    padding-top: 0;
}

.basePage *,
.basePage *::before,
.basePage *::after {
    box-sizing: border-box;
}

.pc-break,
.pc-tablet-break,
.pc-mobile-break {
    display: block !important;
}

.tablet-break,
.tablet-mobile-break,
.mobile-break {
    display: none !important;
}

.contents-wrapper {
    width: min(1380px, calc(100% - 160px));
    max-width: min(1380px, calc(100% - 160px));
    margin: auto;
}


/* ===== 반응형: Tablet/Common ===== */
@media (max-width: 1199px) {
    .pc-break,
    .pc-mobile-break,
    .mobile-break{
        display: none !important;
    }

    .tablet-break,
    .tablet-mobile-break,
    .pc-tablet-break {
        display: block !important;
    }

    .contents-wrapper {
        width: max(738px, calc(100% - 120px));
        max-width: max(738px, calc(100% - 120px));
        margin: auto;
    }


    body:has(.basePage) #quickSide {
        display: none !important;
    }
}


/* ===== 반응형: Mobile ===== */
@media (max-width: 767px) {
    .pc-tablet-break,
    .pc-break,
    .tablet-break {
        display:  none !important
    }
    .mobile-break,
    .pc-mobile-break,
    .tablet-mobile-break {
        display: block !important;
    }

    .contents-wrapper {
        width: calc(100% - 30px);
        max-width: calc(100% - 30px);
        margin: auto;
    }
}
