/* Add your custom styles here */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css");

/* 기본 스타일 */
/* :root {
    --primary-color: var(--primary-color);
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --border-color: #eee;
} */

:root {
    --primary-color: #216cf3;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --gray-color: #6c757d;
    --border-color: #eee;
    --success-color: #34a45d;
    --warning-color: #fb8500;
    --danger-color: #ef4444;
    --border-radius: 8px;
}

a,
a:focus,
a:hover,
a:visited {
    text-decoration: none !important;
}

ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

:focus {
    outline: none !important;
}

body *:not(i):not(#wpadminbar *):not(.nm):not(.nm *) {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif !important;
}

body {
    background-color: #f5f5f5;
}

/* 전체 페이지 설정 */
html,
body {
    overflow-x: hidden;
}

/* 모든 주요 컨테이너 강제 제한 */
body,
#page,
#main,
#primary,
#content,
.site-content,
.elementor,
.elementor-inner,
.elementor-section-wrap,
.elementor-widget-wrap,
.elementor-location-header,
.elementor-location-footer,
article {
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 엘리멘터 섹션과 컨테이너 강제 제한 */
.elementor-section,
.elementor-container,
.elementor-column-wrap,
.elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 780px !important;
    width: 100% !important;
}

/* 앱 느낌을 위한 그림자와 배경 */
#page {
    background-color: #ffffff !important;
    width: 100% !important;
}

h2#swal2-title {
    font-size: 18px;
    line-height: 1.3em;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 15px;
    line-height: 1.3em;
}

.display-pc {
    display: block;
}

.display-m {
    display: none;
}

.modal .modal-content * {
    font-size: 1rem;
}

/* 
.modal .modal-content * {
    font-size: 1.6rem;
}

.modal-dialog {
    max-width: 70rem;
}

.modal-body img {
    width: 100%;
}

.modal .modal-content .modal-header>h5 {
    font-size: 2rem;
    font-weight: 700;
} */

.modal-header {
    margin-bottom: 15px;
}

.h3,
h3 {
    font-size: calc(1.3rem + .6vw);
}

.fw-page-container {
    position: relative;
    min-height: calc(100vh - 60px);
    padding-bottom: 60px;
    /* height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden; */
    background-color: #fff;
}

/* 바텀 네비게이션 */
.bottom-nav {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-top: 1px solid #eee;
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 780px;
    z-index: 100;
    padding: 8px 0 5px;
    transform: translateX(-50%);
}

.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #aaa;
    font-size: 11px;
    padding: 5px 0;
}

.bottom-nav a.active {
    color: var(--primary-color);
}

.bottom-nav a i {
    font-size: 20px;
    margin-bottom: 3px;
}

.bottom-nav a:nth-child(4) {
    position: relative;
}

.bottom-nav a:nth-child(4)::after {
    content: 'LIVE';
    position: absolute;
    top: 0;
    left: 50%;
    background: #ff5252;
    color: #fff;
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 2px;
    transform: translateX(+7px);
}

/* 접근성 개선 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}