@charset "UTF-8";

html, body {
    position: relative;
    font-family: "Pretendard";
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: clip;
}

#wrap {
    flex: 1;
    padding: 0 2rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    text-decoration: none;
    color: var(--color-primary);
    word-break: keep-all;
}

.sub-section {
    width: 100%;
}

.inner {
    max-width: var(--layout-max-width);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    /* padding-bottom: 6rem; */
    /* margin-top: 1.6rem; */
}

/* web font */
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

.list-empty {
    padding: var(--space-32) var(--space-37);
    border-radius: 2.5rem;
    background: #fff;
    text-align: center;
}

.list-empty p {
    font-size: var(--fs-25);
    font-weight: 600;
    color: var(--color-txt-purple);
}

.search-form__error {
    margin-top: 1.2rem;
    font-size: var(--fs-14);
    font-weight: 600;
    color: #d92d20;
}

.train-no {
    margin-left: 0.8rem;
    font-size: var(--fs-14);
    font-weight: 700;
    color: var(--color-primary-50);
    display: none;
}

/* ========================================
   여러 페이지가 공통으로 쓰는 컴포넌트 (빈 선택자)
   - index.php / timetable.php / faq.php 등 2개 이상 페이지에서 재사용되는 클래스.
   - 페이지 전용 클래스는 각 페이지 css(index.css, timetable.css 등)에 남겨둔다.
======================================== */

/* 타이틀 섹션: index.php, timetable.php, faq.php */
.title-sec {padding-bottom: var(--space-30);}

.title-sec .inner p {color: var(--color-primary);font-size: var(--fs-21-3);margin-bottom: var(--space-15);font-weight: 400;}

.title-sec .inner h1 {display: flex;flex-direction: column;align-items: flex-start;justify-content: flex-start;}

.title-sec .inner h1 span {font-size: var(--fs-38);font-weight: 700;color: var(--color-primary);}

/* 섹션 소제목 헤더: index.php, timetable.php */
.title-wrap {display: flex;align-items: center;justify-content: flex-start;gap: var(--space-30);margin-bottom: var(--space-30);}

.title-wrap h2 {color: var(--color-primary);font-size: var(--fs-30);font-weight: 400;}

.title-wrap p {font-size: var(--fs-14-4);font-weight: 400;color: var(--color-light-purple);}

.title-wrap p span {font-size: inherit;font-weight: inherit;color: inherit;}

/* 열차 리스트 공통 래퍼: index.php, timetable.php */
.train-wrap {
}

.train-list {
}

/* 아이콘 래퍼: index.php, timetable.php */
.icon {
}

.icon img {
}

/* 열차 종류 뱃지: index.php, timetable.php */
.badge {padding: 0.8rem 1.5rem;border-radius: 0.8rem;font-size: var(--fs-18);font-weight: 700;}

.badge-sm {
    
padding: 0.4rem 1.1rem;
    
font-size: var(--fs-13);
    
font-weight: 500;
    
width: fit-content;
}

/* FAQ 페이지 스타일은 css/faq.css로 이동 */

/* =========================
   header
========================= */
#header {
    width: 100%;
    min-width: 0;
    position: relative;
    z-index: 99999;
}

.header__inner {
    border-bottom: 0.1rem solid #F2F4F7;
    max-width: 120rem;
    width: 100%;
    margin: 0 auto;
    padding: 1.2rem var(--container-padding-x);
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

/* =========================
   logo
========================= */
.header-logo {
    flex: 0 0 auto;
    margin: 0;
}

.header-logo__link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.header-logo__image {
    width: 11.7rem;
    flex: 0 0 auto;
    object-fit: contain;
    display: block;
}

.header-mobile-actions {
    display: none;
}

.header-mobile-icon-btn {
    width: 3.6rem;
    height: 3.6rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.header-mobile-mypage-icon-btn {
    height: 2.6rem;
    
}
.header-mobile-mypage-icon-btn img {
    height: 100%
}

.header-mobile-menu-btn {
    flex-direction: column;
    gap: 0.4rem;
}

.header-mobile-menu-btn span {
    display: block;
    width: 2rem;
    height: 0.2rem;
    border-radius: 999px;
    background: #0D1C2D80;
}

/* =========================
   search
========================= */
.header-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 56rem;
    margin: 0 auto;
}

.header-search__field {
    position: relative;
    width: 100%;
    height: 4.2rem;
    border-radius: 0.8rem;
    background: #ebedf0;
    display: flex;
    align-items: center;
    padding: 0.6rem 1.6rem 0.6rem 4.8rem;
}

.header-search__submit {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-search__icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.header-search__input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: Pretendard;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--color-primary-50);
}

.header-search__input::placeholder {
    color: var(--color-primary-50);
    opacity: 1;
}

.header-search__field:focus-within {
    opacity: 0.8;
}

/* typing: placeholder가 사라진 상태 (값 입력됨) */
.header-search__field:focus-within .header-search__input:not(:placeholder-shown) {
    color: #0D1C2D;
}

.header-search-backdrop {
    display: none;
}

/* =========================
   login button
========================= */
.btn-login {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    color: #2f3947;
    min-height: 4rem;
}

.btn-login__icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.btn-login__icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.btn-login__text {
    font-family: Pretendard;
    font-weight: 600;
    font-size: 1.8rem;
    text-align: center;
    color: var(--color-primary)
}

/* =========================
   hover / focus
========================= */
.header-logo__link:focus-visible,
.btn-login:focus-visible,
.header-search__submit:focus-visible,
.header-search__input:focus-visible {
    outline: none;
}

.btn-login:hover {
    opacity: 0.8;
}

/* =========================
   nav
========================= */
#global-nav {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    border-bottom: 0.1rem solid #F2F4F7;
    /* padding: 0 var(--container-padding-x); */
    box-sizing: border-box;
}
#global-nav .global-nav-list {
    width: 100%;
    max-width: 84rem;
    /* margin: 0 auto; */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
#global-nav .global-nav-list::-webkit-scrollbar {
    display: none;
}
#global-nav .global-nav-list li {
    flex: 1;
    flex-shrink: 0;
    min-width: 0;
}
#global-nav .global-nav-list li a {
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position:relative;
    /* border-bottom: 0.16rem solid #0D1C2D29; */
    transition:  0.2s ease;
    font-family: Pretendard;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    color: rgba(13, 28, 45, 0.8);
    position: relative;
}
#global-nav .global-nav-list li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.1rem;
    background: #0D1C2D29
}
#global-nav .global-nav-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.16rem;
    background: #4568ff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}
#global-nav .global-nav-list li.is-active a,
#global-nav .global-nav-list li:hover a {
    font-weight: 700;
    border-color: var(--color-point);
    color: #4568FF;
}
#global-nav .global-nav-list li.is-active a::after {
    height: 0.16rem;
    background: #4568ff
}

#global-nav .global-nav-list li:hover a::before {
    transform: scaleX(1)
}

.mobile-nav-backdrop,
.mobile-nav-head,
.mobile-nav-home,
.mobile-nav-group-title,
.mobile-nav-quick-list {
    display: none;
}

.mobile-nav-panel,
.mobile-nav-body {
    display: block;
}

/* =========================
   responsive
========================= */
@media (max-width: 1024px) {
    .header__inner {
        padding-left: var(--container-padding-x-tablet);
        padding-right: var(--container-padding-x-tablet);
        gap: 1.6rem;
    }

    .header-search {
        max-width: none;
    }

    #global-nav {
        padding-left: var(--container-padding-x-tablet);
        padding-right: var(--container-padding-x-tablet);
    }
}

@media (max-width: 768px) {
    body.is-mobile-nav-open,
    body.is-mobile-search-open {
        overflow: hidden;
    }

    .header-search-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 99998;
        border: 0;
        background: rgba(13, 28, 45, 0.56);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    body.is-mobile-search-open #header {
        z-index: 100000;
        background: #ffffff;
    }

    body.is-mobile-search-open .header__inner {
        background: #ffffff;
    }

    body.is-mobile-search-open .header-search-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header__inner {
        min-height: 5.2rem;
        gap: 0.8rem;
        padding-left: var(--container-padding-x-mobile);
        padding-right: var(--container-padding-x-mobile);
        flex-wrap: wrap;
        justify-content: space-between;
        border-bottom: 0;
    }

    .header-logo {
        order: 1;
    }

    .header-logo__image {
        width: 8.6rem;
    }

    .header-mobile-actions {
        order: 2;
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
    }

    .header-search {
        display: none;
        order: 3;
        flex: 0 0 100%;
        max-width: none;
        width: 100%;
        margin: 0;
        padding-bottom: 1.2rem;
    }

    .header-search.is-mobile-open {
        display: block;
    }

    .header-search.is-mobile-open.is-mobile-focus .header-search__field {
        box-shadow: 0 0 0 0.2rem rgba(69, 104, 255, 0.18);
    }

    .header-search__field {
        height: 4rem;
        padding: 0 1.2rem 0 4.2rem;
    }

    .btn-login__text {
        display: none;
    }

    .btn-login {
        display: none;
    }

    #global-nav {
        position: fixed;
        inset: 0;
        z-index: 100001;
        max-width: none;
        margin: 0;
        padding: 0;
        border-bottom: 0;
        pointer-events: none;
        visibility: hidden;
    }

    #global-nav.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .mobile-nav-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        border: 0;
        background: rgba(13, 28, 45, 0.56);
        opacity: 0;
        transition: opacity 0.22s ease;
    }

    #global-nav.is-open .mobile-nav-backdrop {
        opacity: 1;
    }

    .mobile-nav-panel {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        width: min(31.2rem, 80vw);
        height: 100dvh;
        background: #fff;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.24s ease;
        box-shadow: -0.8rem 0 2rem rgba(13, 28, 45, 0.12);
    }

    #global-nav.is-open .mobile-nav-panel {
        transform: translateX(0);
    }

    /* 리사이즈 중에는 패널/백드롭 transition을 꺼 슬라이드 애니메이션 재생 방지 */
    body.is-resizing .mobile-nav-panel,
    body.is-resizing .mobile-nav-backdrop {
        transition: none !important;
    }

    .mobile-nav-head {
        min-height: 5.6rem;
        padding: 0 1.6rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 0.1rem solid #F2F4F7;
    }

    .mobile-nav-logo {
        display: inline-flex;
        align-items: center;
    }

    .mobile-nav-logo img {
        width: 8.6rem;
        height: auto;
        display: block;
    }

    .mobile-nav-close {
        width: 3.6rem;
        height: 3.6rem;
        position: relative;
        border: 0;
        background: transparent;
        border-radius: 0.8rem;
        cursor: pointer;
    }

    .mobile-nav-close span {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 1.8rem;
        height: 0.2rem;
        border-radius: 999px;
        background: rgba(13, 28, 45, 0.6);
    }

    .mobile-nav-close span:first-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-nav-close span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .mobile-nav-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
    }

    .mobile-nav-home {
        display: block;
        padding: 1.6rem;
        border-bottom: 0.1rem solid #F2F4F7;
        font-weight: 800;
        font-size: 2rem;
        color: #0D1C2DCC;
    }

    .mobile-nav-group-title {
        display: block;
        margin: 0;
        padding: 1.6rem 1.6rem 0.8rem;
        font-weight: 700;
        font-size: 1.6rem;
        color: #0D1C2DCC;
    }

    .mobile-nav-group-title--quick {
        border-top: 0.1rem solid #F2F4F7;
        margin-top: 0.8rem;
    }

    #global-nav .global-nav-list {
        display: block;
        width: 100%;
        max-width: none;
        overflow: visible;
    }

    #global-nav .global-nav-list li {
        display: block;
        flex: none;
        width: 100%;
    }

    #global-nav .global-nav-list .global-nav-home {
        display: none;
    }

    #global-nav .global-nav-list li a,
    .mobile-nav-quick-list a {
        display: block;
        padding: 1.3rem 1.6rem;
        font-size: 1.4rem;
        font-weight: 600;
        color: #0D1C2DCC;
        text-align: left;
        white-space: normal;
    }

    #global-nav .global-nav-list li a::after {
        display: none;
    }

    #global-nav .global-nav-list li.is-active a,
    .mobile-nav-quick-list li.is-active a,
    .mobile-nav-home.is-active {
        color: #4568FF;
        background: rgba(69, 104, 255, 0.06);
    }

    .mobile-nav-quick-list {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0 0 2rem;
    }

    .header-header--minimal .header-mobile-actions {
        display: none;
    }
}

/* =========================
   minimal header (login, join, terms, privacy)
========================= */
.header-header--minimal .header-search {
    display: none;
}

.header-header--minimal .btn-login {
    display: none;
}

.header-header--minimal .header__inner {
    border-bottom: none;
    justify-content: center;
}

/* =========================
   mobile back button (subsidy_view, guide_view, search, terms, privacy)
========================= */
.header-mobile-back {
    display: none;
}

@media (max-width: 768px) {
    .header-mobile-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        order: 0;
        flex-shrink: 0;
        width: 3.2rem;
        height: 3.2rem;
        text-decoration: none;
        color: #0D1C2D80;
    }

    .header-mobile-back .icon-arr {
        display: inline-flex;
        align-items: center;
        transform: rotateY(180deg);
    }

    .header-mobile-back .icon-arr img {
        width: 2rem;
        height: 2rem;
        object-fit: contain;
        display: block;
    }

    .header-header--minimal.header-header--has-back .header__inner {
        justify-content: flex-start;
    }
}

/* =========================
   modal
========================= */
.is-modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.6rem;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.modal[hidden] {
    display: none;
}

.modal__dim {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 36.1rem;
    border-radius: 1.6rem;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 0.8rem 2.4rem rgba(13, 28, 45, 0.12);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modal__body {
    width: 100%;
    padding: 1.6rem 2rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.modal__title {
    width: 100%;
    margin: 0;
    font-family: "Pretendard";
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.4;
    color: rgba(13, 28, 45, 0.8);
    text-align: left;
    word-break: keep-all;
}

.modal__desc {
    width: 100%;
    margin: 0;
    font-family: "Pretendard";
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.5;
    color: rgba(13, 28, 45, 0.5);
    word-break: keep-all;
}

.modal__actions {
    width: 100%;
    padding: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal__actions--single .modal-btn {
    width: 100%;
}

.modal__actions--double .modal-btn {
    flex: 1 1 0;
}

.modal-btn {
    min-height: 4.9rem;
    padding: 1.2rem 2.4rem;
    border: 0;
    border-radius: 1.2rem;
    font-family: "Pretendard";
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
}

.modal-btn--gray {
    background: rgba(13, 28, 45, 0.08);
    color: rgba(13, 28, 45, 0.8);
}

.modal-btn--primary {
    background: #4568ff;
    color: #ffffff;
}

.modal-btn--blue {
    background: #DAE1FF;
    color: #4568ff;
}

.modal-btn--red {
    background: #ff5358;
    color: #ffffff;
}

/* ----- 메인 홈: 비회원/회원 히어로 전환 ----- */
/* 비회원·맞춤 미완료: 마케팅 히어로(1)만 — 맞춤 미완료는 CTA만 마이페이지로 교체(JS) */
.home-main.is-guest .hero-con > li:nth-child(2),
.home-main.is-member-partial .hero-con > li:nth-child(2) {
    display: none;
}

.home-main.is-loged-in .hero-con > li:nth-child(1) {
    display: none;
}

/* 로그인 시에도 배너 섹션 / 바로 신청 섹션 노출 */

.search-inline-count {
    font-size: 0.85em;
    font-weight: 600;
    color: #0D1C2D80;
    display: block;
}
.js-search-total-inline {
    color: #0D1C2D80
}

.sbo-benefits-intro {
    margin-top: 0.6rem;
    font-size: 1.4rem;
    color: rgba(13, 28, 45, 0.72);
}

/* ----- 지원금 상세 ----- */
.subsidy-view-section {
    padding: 2.4rem 0 4rem;
}

.subsidy-view-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.subsidy-view-tabs a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(69, 104, 255, 0.1);
    color: #2a4acb;
    font-weight: 600;
    text-decoration: none;
}

.subsidy-view-article .total_subsidy_badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.subsidy-view-title {
    font-size: 2.4rem;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.subsidy-view-summary {
    font-size: 1.6rem;
    line-height: 1.55;
    color: rgba(13, 28, 45, 0.78);
    margin-bottom: 2rem;
}

.subsidy-view-meta {
    margin: 0 0 1.2rem;
}

.subsidy-view-meta > div {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
}

.subsidy-view-meta dt {
    font-weight: 700;
    min-width: 5rem;
}

.subsidy-view-meta dd {
    margin: 0;
}

.subsidy-view-user-type {
    font-size: 1.4rem;
    color: rgba(13, 28, 45, 0.65);
    margin-bottom: 2rem;
}

.subsidy-view-back a {
    color: #4568ff;
    font-weight: 600;
}

.subsidy-view-empty {
    padding: 2rem;
    background: rgba(13, 28, 45, 0.06);
    border-radius: 1rem;
    margin-bottom: 1.6rem;
}

.mypage-subsidy-section {
    margin-top: 2.4rem;
    padding-top: 2.4rem;
    /* border-top: 1px solid rgba(13, 28, 45, 0.08); */
}

.mypage-subsidy-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mypage-settings-link {
    font-size: 1.4rem;
    font-weight: 600;
    color: #4568ff;
    text-decoration: none;
}

.mypage-subsidy-hint {
    font-size: 1.4rem;
    color: rgba(13, 28, 45, 0.72);
    margin-bottom: 1rem;
}

/* =========================
   반응형
========================= */
@media (max-width: 768px) {
    .mb_br {
        display: block;
    }
    .inner {
        margin-top: 0;
}
    .modal-btn {
    padding: 1.2rem;
}
}

@media (max-width: 540px) {
    .sub-section {
        margin-top: 0;
    }
}

.ads_wrap {
    /* width: 100%; */
    /* min-height: 200px;
    background: rgba(255, 0, 255, 0.7); */
    margin: 2rem auto;
    /* display: none; */
}

/* <ins>은 기본값이 inline이라 너비가 0으로 측정되어 애드센스가 광고를 채우지 못하는 문제 방지 */
.ads_wrap .adsbygoogle {
    display: block;
}
