/* Mobile container (PC에서도 가운데 500px 폭으로 표시) */
#mo_wrap .header__inner { justify-content: center; }
#mo_wrap .mo_container { max-width: 500px; margin: 0 auto; box-shadow: 0 4px 20px rgb(0, 0, 0, 0.08); }
#mo_wrap #header { max-width: 500px; height: 56px; border-bottom: 1px solid #DDD; }

/* 공지사항 */
.notice__inner {
    padding-top: 56px;
    padding-bottom: 100px;
    width: 100%;
    min-height: calc(100dvh - 389px);
}

.notice__list .notice__item {
    display: inline-block;
    width: 100%;
    height: auto;
    padding: 20px;
    border-bottom: 1px solid #F1F1F5;
}

.notice__item .notice_title {
    margin-bottom: 4px;
}

.notice__item .notice_title h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    line-height: 24px;
    color: #111;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.notice__item .notice_title h3.fix {
    position: relative;
    padding-left: 26px;
}

.notice__item .notice_title h3.fix:before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url(../images/icon/icon_fix.svg) no-repeat center center / contain;
}

.notice__item .notice_cnts p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #505050;
}

.notice__item .notice_date {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #999;
    margin-top: 6px;
}

/* 상세페이지 */
.dtl__inner {
    padding-top: 56px;
    padding-bottom: 100px;
    width: 100%;
    min-height: calc(100dvh - 389px);
}

.dtl__title {
    padding: 12px 20px;
    border-bottom: 1px solid #F1F1F5;
}

.dtl__title h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin-bottom: 8px;
}

.dtl__title p.date {
    font-size: 14px;
    font-weight: 500;
    color: #999;
}

.dtl__cnts {
    padding: 20px 20px;
    font-size: 14px;
    line-height: 1.3;
}

/* 이벤트 */
.event__inner {
    padding-top: 56px;
    padding-bottom: 100px;
    width: 100%;
    min-height: calc(100dvh - 389px);
}

.event__list .event__item {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: auto;
    padding: 16px 20px;
    border-bottom: 1px solid #F1F1F5;
}

.event__item .thum {
    display: inline-block;
    width: 80px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.event__item .thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event__item .event_desc {
    display: flex;
    align-items: center;
    flex: 1;
}

.event__item .event_desc h3.title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    height: 38px;
}

.event__item .event_desc .event_info {
    flex: 1;
}

.event__item .event_info p.period {
    font-size: 13px;
    line-height: 1.3;
    color: #9999;
    font-weight: 500;
    margin-top: 5px;
}

.event__item .event_desc .event_badge {
    flex-shrink: 0;
}

.event_badge {
    display: inline-block;
    width: auto;
    height: 22px;
    line-height: 22px;
    border-radius: 800px;
    background-color: #F2F2F2;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #505050;
}

.event_badge span.ing {
    color: #4570AF;
}

.dtl_event_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq__inner {
    padding-top: 56px;
    padding-bottom: 100px;
    width: 100%;
    min-height: calc(100dvh - 389px);
}

.form_search {
    padding: 8px 20px;
}

.search_box {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 100%;
    height: 40px;
    border-radius: 800px;
    padding: 0 12px;
    background-color: #F2F2F2;
}

.search_box .btn_search {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../images/icon/icon_search.svg) no-repeat center center / contain;
}

.search_box input {
    background-color: transparent;
    flex: 1;
    height: 100%;
    border: none;
    font-size: 14px;
    outline: none;
    font-weight: 400;
}

.search_box input::placeholder {
    color: #898989;
}

.faq__filter {
    padding: 12px 0;
    border-bottom: 1px solid #F1F1F5;
}

.filterSwiper .swiper-wrapper {
    margin-left: 20px;
}

.filterSwiper .swiper-slide {
    width: auto !important;
}

.filterSwiper .btn_filter {
    height: 30px;
    padding: 0 16px;
    background-color: #F2F2F2;
    border-radius: 800px;
    font-size: 12px;
    font-weight: 600;
    color: #898989;
}

.filterSwiper .btn_filter.active {
    background-color: #FFF3F0;
    color: #FD6F23;
}

.faq__list .faq__item {
    border-bottom: 1px solid #F1F1F5;
}

.faq__item .faq_question {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    position: relative;
}

.faq__item .faq_question::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 20px;
    transition: 0.35s;
    transform: translateY(-50%);
    cursor: pointer;
    background: url(../images/icon/icon_faq_arrow.svg) no-repeat center center / contain;
}

.faq__item .faq_question.active::after {
    transform: translateY(-50%) scaleY(-1);
}

.faq__item .faq_answer {
    padding: 8px 20px 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #505050;
    display: none;
}

.faq__item .faq_answer img {
    max-width: 100%;
    object-fit: contain;
}

.term__inner .page__header {
    margin-bottom: 20px;
}

.term__inner .page__header h2 {
    font-size: 18px;
    font-weight: 700;
}

.term__inner .page__header p {
    text-align: right;
    font-size: 12px;
}

.content__box {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.content__box h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    line-height: 1.6;
    margin-bottom: 8px;
}

.content__box ul {
    margin-top: 8px;
}

.content__box ul li {
    list-style: disc;
    margin-left: 16px;
}

.content__box ul.decimal li {
    list-style: decimal;
}

.content__box ul.depth_2 {
    margin-top: 4px;
    margin-bottom: 4px;
}

.content__box ul.none li {
    list-style: none;
    margin-left: 0;
}

@media screen and (max-width:768px) {
    .page__header h2 {
        font-size: 28px;
    }

    .page__header p {
        font-size: 14px;
    }

    .form_contact {
        margin-top: 32px;
    }

    .input_contact {
        margin-bottom: 12px;
    }
}

/* ===== board 페이지 footer (mo_wrap 500px 컨테이너 안) ===== */
#mo_wrap #footer { padding: 30px 20px; font-size: 14px; }
#mo_wrap #footer .footer_area { text-align: center; }
#mo_wrap #footer .footer_area ul.footer_link_in {
  display: inline-flex; gap: 0;
  padding: 0 0 16px;
  margin: 0 auto;
  list-style: none;
  color: #495057;
}
#mo_wrap #footer .footer_area ul.footer_link_in li {
  padding: 0 10px; font-weight: 700;
  border-right: 1px solid #ddd;
}
#mo_wrap #footer .footer_area ul.footer_link_in li:last-child { border-right: 0; }
#mo_wrap #footer .footer_area ul.footer_link_in a { color: #495057; }
#mo_wrap #footer .footer_area address {
  font-style: normal; color: #6e757d;
  font-size: 12px; line-height: 1.7;
}
#mo_wrap #footer .footer_area address p { margin: 0; }
#mo_wrap #footer .footer_area address .tit { color: #343a40; font-weight: 700; margin-bottom: 4px; }
#mo_wrap #footer .footer_area address .mail a { color: #6e757d; text-decoration: underline; }
#mo_wrap #footer .footer_area address .copy { font-weight: 700; color: #343a40; margin-top: 12px; font-size: 11px; }
#mo_wrap #footer .footer__icons {
  margin-top: 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
}
#mo_wrap #footer .footer__icons .icon {
  display: inline-block;
  width: 30px; height: 30px;
  border-radius: 50%; overflow: hidden;
  border: 1px solid #ddd;
}
#mo_wrap #footer .footer__icons .icon img {
  width: 100%; height: 100%; object-fit: contain;
}

/* ============================================================
   서브 페이지 모바일 헤더 (event/faq/notice 등) — 페이지 제목 보이게
   ============================================================ */
header.mo_header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  z-index: 100;
}
header.mo_header .header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 56px;
}
header.mo_header h1 {
  width: auto !important;
  height: auto !important;
  background: none !important;
  font-family: 'pretendard', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1A1A1A !important;
  text-indent: 0 !important;
  line-height: 1.2;
  margin: 0;
}
header.mo_header .btn_mo_back {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
header.mo_header .btn_mo_back::before {
  content: '';
  display: block;
  width: 11px;
  height: 11px;
  margin: 14px auto;
  border-left: 2px solid #1A1A1A;
  border-bottom: 2px solid #1A1A1A;
  transform: rotate(45deg);
}
