/* 
 * Givia Common CSS 
 * 에디터 및 프론트엔드 공통 UI 정화 및 초기화
 */
/* Elementor 프로 업그레이드 하단 배너 (분홍색 바) 숨김 */
body.elementor-editor-active #elementor-editor-go-pro-notice,
body.elementor-editor-active .elementor-update-go-pro,
body.elementor-editor-active .elementor-nerd-box,
body.elementor-editor-active .elementor-nerd-box-upgrade,
body.elementor-editor-active div[class*="elementor-update-go-pro"],
body.elementor-editor-active div[class*="elementor-nerd-box"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* SHE 홍보 요소 전역 숨김 (백업) */
.she-header-notice,
.she-discord-box,
.she-request-box-button {
    display: none !important;
}

/* 엘리멘터 편집기/미리보기 상태의 body 여백 제거 */
.elementor-editor-active body,
html,
body,
.elementor-html body {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-top: inherit
}

/*엘리멘터 어드민바*/
/*
.admin-bar div[data-elementor-type="wp-post"].elementor {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar div[data-elementor-type="wp-post"].elementor {
        margin-top: 46px;
    }
}*/

/* DSG 반응형 너비 제한 (Max Width) */
.dsgo-has-max-width {
    max-width: var(--dsgo-max-width, none) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 1024px) {
    .dsgo-has-max-width {
        max-width: var(--dsgo-max-width-tablet, var(--dsgo-max-width, none)) !important;
    }
}

@media (max-width: 767px) {
    .dsgo-has-max-width {
        max-width: var(--dsgo-max-width-mobile, var(--dsgo-max-width-tablet, var(--dsgo-max-width, none))) !important;
    }
}