/* ================================================================
   mobile.css  —  닥터송포유 리뉴얼 모바일 전용 스타일
   기준 디자인: 닥터송_메인랜딩시안_260422
   로드 순서: common.css → default.css → mobile.css  (마지막 로드)
   대상: max-width 767px (768px~는 default.css에서 처리)
   수정이력: 2026-06 CSS 구조 정리
     - 파일 내 @media 블록 3개 → 2개로 통합 (tail 별도 블록 제거)
     - !important 최소화 (#gnb display:none, .m-nav-btn display:flex만 유지)
     - default.css의 768px 블록과 중복되는 값 제거
   ================================================================ */

/* ════════════════════════════════════════
   767px 이하 — 모바일 전용
════════════════════════════════════════ */
@media (max-width: 992px) {

    /* ── 공통 변수 재정의 ── */
    :root {
        --sec-py:   56px;
        --inner-px: 16px;
    }

    /* ── 레이아웃 기초 ── */
    .container,
    .container-fluid,
    .container-lg { padding: 0 var(--inner-px);  background: none !important;}
    .inner        { padding: 0 var(--inner-px); }
    .section,
    .ds-section   { padding: var(--sec-py) 0; }
    
    /* ── 섹션 타이틀 ── */
    .sec-title          { padding-top: 32px; margin-bottom: 36px; }
    .sec-title::before  { height: 32px; top: -8px; }
    .sec-title h2       { font-size: 26px; }
    .sec-title p        { font-size: 14px; }
    
    /* ── 상단 유틸 바 숨김 ── */
    #top-btn { display: none; }
    
    /* ── h-updown 숨김 ── */
    #h-updown { display: none; }
    
    /* ── GNB 숨김 ── */
    #gnb { display: none; }
    
    /* ══════════════════════════════════════
       헤더 — 메인 / 서브 완전 통일
       ※ default.css에서 PC용으로 선언된
         - header-inner: height:80px, justify-content:space-between
         - header-col: flex:0 0 220px
         - m-nav-btn: flex 흐름 안에 위치 (top/right 없음)
       이 모두 아래에서 !important로 완전히 덮어씀
    ══════════════════════════════════════ */
    
    /* ── 헤더 컨테이너: 모든 케이스 fixed 통일 ── */
    #header,
    #index #header,
    .wrap:not(#index) #header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        z-index: 1000 !important;
        background: #fff !important;
        border-bottom: 1px solid var(--c-border) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
        box-sizing: border-box !important;
    }
    
    /* 메인(인덱스)만 반투명 배경 */
    #index #header {
        background: rgba(10,10,20,0.22) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }
    
    /* ── 헤더 이너: PC의 height:80px / space-between / max-width 완전 차단 ── */
    .header-inner {
        height: 52px !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }
    
    /* PC 전용 컬럼 요소 숨김 (헤더 너비를 밀어내는 원인) */
    .header-col,
    .header-col-right,
    .header-special-link { display: none !important; }
    
    /* ── 로고: 항상 수평·수직 중앙 ── */
    .header-logo {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        flex: none !important;
        margin: 0 !important;
    }
    .header-logo img {
        height: 26px !important;
        width: auto !important;
        display: block !important;
    }
    
    /* 메인: 흰색 로고 / 서브: 다크 로고 */
    #index .logo-default            { display: block !important; }
    #index .logo-dark               { display: none  !important; }
    .wrap:not(#index) .logo-default { display: none  !important; }
    .wrap:not(#index) .logo-dark    { display: block !important; }
    
    /* ── 햄버거 버튼: 위치·크기·색상 완전 고정 ──
       default.css @1024px에서 flex 흐름 안에 배치되는 것을
       !important로 끊고 absolute 우측 중앙으로 고정 */
    .m-nav-btn {
        display: flex !important;
        position: absolute !important;
        right: 16px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: auto !important;
        flex: none !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 22px !important;
        height: 17px !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer;
        z-index: 10;
    }
    .m-nav-btn span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        border-radius: 1px !important;
        transition: all 0.3s;
    }
    /* 메인: 흰색 / 서브: 진한 */
    #index .m-nav-btn span            { background: #fff !important; }
    .wrap:not(#index) .m-nav-btn span { background: #333 !important; }
    
    /* ── fixed 헤더 높이만큼 콘텐츠 여백 보정 ── */
    #index { padding-top: 0 !important; }
    .sub, #board, #content { padding-top: 52px !important; }
    
    /* ══════════════════════════════════════
       모바일 드로어 (#m-nav)
    ══════════════════════════════════════ */
    #m-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        z-index: 2000;
        visibility: hidden;
        transition: right 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.35s;
    }
    #m-nav.active { right: 0; visibility: visible; }
    
    .m-nav-inner {
        position: absolute;
        top: 0; right: 0;
        width: 84%; max-width: 300px;
        height: 100%;
        background: #fff;
        z-index: 2;
        display: flex;
        flex-direction: column;
        box-shadow: -4px 0 24px rgba(0,0,0,0.13);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .m-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 16px;
        border-bottom: 1px solid #eee;
        flex-shrink: 0;
    }
    .m-nav-logo img { height: 22px; width: auto; }
    .m-nav-close {
        background: none; border: none;
        font-size: 19px; color: #888;
        cursor: pointer; padding: 4px;
        transition: color var(--tr);
    }
    .m-nav-close:hover { color: #222; }
    
    .m-gnb { flex: 1; overflow-y: auto; }
    .m-gnb > ul { padding: 6px 0; }
    .m-gnb-item > a {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        font-size: 14.5px;
        font-weight: 500;
        color: #222;
        letter-spacing: -0.03em;
        border-bottom: 1px solid #f3f3f3;
        transition: color 0.2s, background 0.2s;
    }
    .m-gnb-item > a:hover { color: var(--c-navy); background: #f8f8f8; }
    
    .m-gnb-sub { background: #f8f8f8; }
    .m-gnb-sub li a {
        display: block;
        padding: 9px 16px 9px 28px;
        font-size: 13px;
        color: #666;
        border-bottom: 1px solid #eee;
        letter-spacing: -0.02em;
        transition: color 0.2s;
    }
    .m-gnb-sub li a::before { content: '·'; margin-right: 5px; opacity: 0.5; }
    .m-gnb-sub li a:hover { color: var(--c-navy); }
    
    .m-nav-footer {
        padding: 16px;
        border-top: 1px solid #eee;
        flex-shrink: 0;
    }
    .m-nav-sns { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    .m-nav-sns a { display: flex; align-items: center; opacity: 0.72; transition: opacity 0.2s; }
    .m-nav-sns a:hover { opacity: 1; }
    .m-nav-sns img { width: 24px; height: auto; }
    .m-nav-tel-label {
        display: block;
        font-size: 10px; color: #aaa;
        letter-spacing: 0.06em;
        margin-bottom: 3px;
        text-transform: uppercase;
    }
    .m-nav-tel-num {
        font-size: 18px; font-weight: 700;
        color: var(--c-navy); letter-spacing: -0.04em;
    }
    .m-nav-dim {
        position: absolute; inset: 0;
        background: rgba(0,0,0,0.44);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 1;
        opacity: 0;
        transition: opacity 0.35s;
    }
    #m-nav.active .m-nav-dim { opacity: 1; }
    
    /* ══════════════════════════════════════
       메인 비주얼
    ══════════════════════════════════════ */
    #m-visual { min-height: 50svh; }
    #visual-bg-img { object-position: 65% top; }
    
    .visual-content {
        min-height: 50svh;
        align-items: center;
        padding: 80px 16px 80px;
    }
    #m-visual .txt-box {
        max-width: 100%;
        text-align: center;
    }
    #m-visual .sub-title  { font-size: 16px; margin-bottom: 10px; }
    #m-visual .main-title { font-size: 42px; line-height: 1.18; }
    #m-visual .main-title span { font-size: 18px; margin-top: 6px; }
    #m-visual .desc {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.5;
        max-width: 100%;
    }
    .visual-btns { margin-top: 15px; }
    .apply-btn {
        min-width: 180px;
        height: 40px;
        font-size: 14px;
        padding: 0 22px;
    }
    
    /* 퀵탭 */
    .quick-tabs { width: 100%; max-width: 100%; left: 0; transform: none; }
    .quick-tabs ul { grid-template-columns: repeat(2, 1fr); }
    .quick-tabs a {
        height: 48px;
        font-size: 12px;
        letter-spacing: -0.04em;
        padding: 0 6px;
    }
    
    /* ══════════════════════════════════════
       메인 배너
    ══════════════════════════════════════ */
    .main-banner-wrap { overflow-x: auto; }
    
    /* ══════════════════════════════════════
       메인 바
    ══════════════════════════════════════ */
    #m-bar { padding: 0; }
    #m-bar .owl-stage,
    #m-bar .owl-stage-outer,
    #m-bar .owl-carousel { height: 64px; }
    #m-bar .owl-carousel .owl-item img { max-height: 64px; }
    #m-bar .bxpager .owl-prev,
    #m-bar .bxpager .owl-next { display: none; }
    
    /* ══════════════════════════════════════
       원장 인트로
    ══════════════════════════════════════ */
    #doctor-intro { padding: 56px 0 60px; }
    .doctor-intro-wrap {
        flex-direction: column;
        gap: 28px;
        padding: 0 16px;
    }
    .doctor-photo-box { border-radius: 6px; max-width: 100%; }
    .doctor-photo-box .vertical-text { font-size: 9px; top: 12px; right: 10px; }
    .quote-mark   { font-size: 44px; }
    .doctor-message { font-size: 22px; line-height: 1.5; margin-bottom: 20px; }
    .doctor-desc p  { font-size: 14px; line-height: 1.82; margin-bottom: 14px; }
    .doctor-sign    { font-size: 13px; margin-top: 20px; }
    .doctor-sns-row { flex-wrap: wrap; gap: 8px; margin-top: 22px; }
    .doctor-sns-row .btn-kakao { height: 40px; padding: 0 16px; font-size: 13px; }
    .doctor-sns-row .sns-icons a { width: 40px; height: 40px; font-size: 17px; }
    
    /* ══════════════════════════════════════
       Signature Surgery
    ══════════════════════════════════════ */
    /* ── Signature: 사진→텍스트→사진→텍스트 순서 고정 ── */
    .signature-layout {
        display: flex;
        flex-direction: column;
    }
    /* 각 row를 flex 컬럼으로 전환 */
    .signature-row {
        display: flex;
        flex-direction: column;
    }
    /* 기본 row: 사진 위 → 텍스트 아래 */
    .signature-row .signature-thumb { order: 1; }
    .signature-row .signature-text  { order: 2; }
    /* reverse row도 동일하게: 사진 위 → 텍스트 아래 */
    .signature-row.reverse .signature-thumb { order: 1; }
    .signature-row.reverse .signature-text  { order: 2; }
    
    .signature-thumb,
    .signature-text { min-height: auto; }
    .signature-thumb img { min-height: auto; aspect-ratio: 4/3; }
    .signature-text { padding: 32px 20px; }
    
    .signature-text h3        { font-size: 24px; margin-bottom: 12px; }
    .signature-text .sub-copy { font-size: 13.5px; line-height: 1.72; margin-bottom: 18px; }
    .signature-text ul         { gap: 8px; }
    .signature-text ul li      { font-size: 13px; }
    
    /* ══════════════════════════════════════
       Skin & Nutrition
    ══════════════════════════════════════ */
    .grid-4-col,
    .ds-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    #category .item p { font-size: 12px; bottom: 12px; }
    
    /* ══════════════════════════════════════
       브랜드 배너
    ══════════════════════════════════════ */
    .banner-inner { padding: 72px 20px; }
    #brand-banner .txt-box h3 { font-size: 26px; }
    #brand-banner .txt-box p  { font-size: 14px; margin-top: 16px; }
    
    /* ══════════════════════════════════════
       After Care Program
    ══════════════════════════════════════ */
    #after-care .inner { padding: 0 16px; }
    .after-care-wrap   { flex-direction: column; gap: 24px; margin-top: 28px; flex-direction: column-reverse;}
    .care-left  { max-width: 100%; min-height: auto; }
    .care-kicker { font-size: 10px; margin-bottom: 10px; }
    .care-title { font-size: 30px; text-align: left; margin-bottom: 12px; }
    .care-desc  { font-size: 14px; text-align: left; margin-bottom: 18px; }
    .care-detail-list li strong { font-size: 15px; }
    .care-detail-list span      { font-size: 12px; }
    .care-bottom-box { padding-top: 0px; display: flex; }
    .care-nav { justify-content: center; gap: 20px; }
    .care-count strong { font-size: 44px; }
    .care-count span   { font-size: 18px; }
    .care-right { width: 100%; }
    .care-image-box { min-height: 260px; border-radius: var(--r-sm); }
    .care-image-box img { height: 260px; min-height: 260px; }
    
    /* ══════════════════════════════════════
       Floor Guide
    ══════════════════════════════════════ */
    #philosophy { padding: var(--sec-py) 0; }
    .phi-list { padding: 0 16px; }
    .phi-item { height: 148px; margin-bottom: 10px; }
    .phi-item .overlay { padding: 18px; }
    .phi-item h3 { font-size: 22px; }
    .phi-item p  { font-size: 12px; margin-top: 4px; }
    .phi-desc p  { font-size: 13px; line-height: 1.9; }
    .phi-desc .highlight { padding: 14px 16px; font-size: 14px; }
    
    /* ══════════════════════════════════════
       연락처 지도
    ══════════════════════════════════════ */
    #contact-map { padding: 0; }
    .contact-map-wrap { flex-direction: column; }
    .map-area { height: 260px; order: 1; }
    .map-area img,
    .map-area iframe { height: 260px; }
    .contact-card-inner {
        position: relative;
        top: auto; left: auto;
        transform: none;
        pointer-events: auto;
        height: auto;
        order: 2;
        padding: 0;
    }
    .contact-info-card {
        position: relative;
        top: auto; left: auto;
        transform: none;
        width: 100%; max-width: 100%;
        box-shadow: none;
        padding: 36px 20px 40px;
        border-radius: 0;
    }
    .contact-tel { font-size: 36px; margin-bottom: 20px; }
    .contact-sns { flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
    .contact-sns .btn-kakao { height: 40px; padding: 0 16px; font-size: 13px; }
    .contact-sns .sns-icons a { width: 40px; height: 40px; font-size: 17px; }
    .contact-hours { width: 100%; }
    .contact-hours p { gap: 10px; font-size: 13.5px; margin-bottom: 8px; }
    .contact-hours strong { flex: 0 0 68px; }
    .contact-note { width: 100%; margin-top: 18px; }
    .contact-note li { font-size: 12px; }
    
    /* ══════════════════════════════════════
       공지사항
    ══════════════════════════════════════ */
    #m-notice .inner { padding: 0 16px; }
    #m-notice .sec-title h2 { font-size: 24px; }
    #m-notice ul li a    { font-size: 13.5px; }
    #m-notice ul li .date { font-size: 11px; }
    
    /* ══════════════════════════════════════
       유튜브 Swiper
    ══════════════════════════════════════ */
    #m-youtube .inner { padding: 0 16px; }
    #m-youtube .sec-title h2 { font-size: 22px; }
    .youtube-slider-wrap { padding: 0 40px; }
    .yt-nav { width: 36px; height: 36px; font-size: 14px; }
    .yt-prev { left: 4px; }
    .yt-next { right: 4px; }
    
    /* ══════════════════════════════════════
       서브 페이지
    ══════════════════════════════════════ */
    .snb a, .ssnb a { padding: 10px 14px; font-size: 13px; }
    
    /* 게시판 */
    .tbl_wrap th,
    .tbl_wrap td { padding: 8px 10px; font-size: 13px; }
    
    /* 폼 */
    .frm_wrap input[type=text],
    .frm_wrap input[type=email],
    .frm_wrap input[type=tel],
    .frm_wrap input[type=password],
    .frm_wrap textarea,
    .frm_wrap select { height: 42px; font-size: 14px; }

    /* 글쓰기 폼 테이블(.tbl_frm01) — PC용 th width:150px가 모바일에서도 남아
       입력칸이 좁게 눌리던 문제. 원본 사이트 모바일 기준으로 복구 */
    .tbl_frm01 caption { visibility: hidden; height: 0; }
    .tbl_frm01 th {
        width: 90px;
        padding: 10px;
        border: 1px solid #e9e9e9;
        border-left: 0;
        text-align: left;
    }
    .tbl_frm01 td {
        padding: 10px 5px;
        border-top: 1px solid #e9e9e9;
        border-bottom: 1px solid #e9e9e9;
        background: transparent;
    }
    .tbl_frm01 textarea,
    .tbl_frm01 .frm_input {
        padding: 6px;
        border: 1px solid #e4eaec;
        background: #f7f7f7;
        vertical-align: middle;
        line-height: 1.8em;
    }
    .tbl_frm01 textarea { width: 100%; height: 100px; }
    .tbl_frm01 fieldset { border: 0; }
    .tbl_frm01 .frm_file { display: block; margin-bottom: 5px; width: 100%; }
    .tbl_frm01 .frm_info { display: block; padding: 5px 0 0; color: #666; line-height: 1.3em; }
    .tbl_frm01 #phone .first { padding-right: 5px; }
    .tbl_frm01 #phone .last  { padding-left: 5px; }
    
    /* ══════════════════════════════════════
       그누보드 col 모바일 재정의
       col-xs-12 + col-sm/md/lg-* 조합: 모바일에서 항상 100%(1열)
       col-xs-6 + col-sm/md/lg-* 조합: 모바일에서 50% 유지(2열 갤러리 등)
       이전엔 .col-xs-6{float:none}과 .col-sm/md/lg-* 단독 선택자로 일괄
       100% 강제했는데, col-xs-6 기반 2열 갤러리(lifting_4020.php 등)까지
       1열로 깨뜨리는 부작용이 있어 조합 선택자로 교체 (2026-06)
    ══════════════════════════════════════ */
    .col-xs-12.col-sm-1,
    .col-xs-12.col-sm-2,
    .col-xs-12.col-sm-3,
    .col-xs-12.col-sm-4,
    .col-xs-12.col-sm-5,
    .col-xs-12.col-sm-6,
    .col-xs-12.col-sm-7,
    .col-xs-12.col-sm-8,
    .col-xs-12.col-sm-9,
    .col-xs-12.col-sm-10,
    .col-xs-12.col-sm-11,
    .col-xs-12.col-sm-12,
    .col-xs-12.col-sm-w5,
    .col-xs-12.col-md-1,
    .col-xs-12.col-md-2,
    .col-xs-12.col-md-3,
    .col-xs-12.col-md-4,
    .col-xs-12.col-md-5,
    .col-xs-12.col-md-6,
    .col-xs-12.col-md-7,
    .col-xs-12.col-md-8,
    .col-xs-12.col-md-9,
    .col-xs-12.col-md-10,
    .col-xs-12.col-md-11,
    .col-xs-12.col-md-12,
    .col-xs-12.col-md-w5,
    .col-xs-12.col-lg-1,
    .col-xs-12.col-lg-2,
    .col-xs-12.col-lg-3,
    .col-xs-12.col-lg-4,
    .col-xs-12.col-lg-5,
    .col-xs-12.col-lg-6,
    .col-xs-12.col-lg-7,
    .col-xs-12.col-lg-8,
    .col-xs-12.col-lg-9,
    .col-xs-12.col-lg-10,
    .col-xs-12.col-lg-11,
    .col-xs-12.col-lg-12,
    .col-xs-12.col-lg-w5
    {
        width: 100%;
        float: none;
    }

    .col-xs-6.col-sm-1,
    .col-xs-6.col-sm-2,
    .col-xs-6.col-sm-3,
    .col-xs-6.col-sm-4,
    .col-xs-6.col-sm-5,
    .col-xs-6.col-sm-6,
    .col-xs-6.col-sm-7,
    .col-xs-6.col-sm-8,
    .col-xs-6.col-sm-9,
    .col-xs-6.col-sm-10,
    .col-xs-6.col-sm-11,
    .col-xs-6.col-sm-12,
    .col-xs-6.col-sm-w5,
    .col-xs-6.col-md-1,
    .col-xs-6.col-md-2,
    .col-xs-6.col-md-3,
    .col-xs-6.col-md-4,
    .col-xs-6.col-md-5,
    .col-xs-6.col-md-6,
    .col-xs-6.col-md-7,
    .col-xs-6.col-md-8,
    .col-xs-6.col-md-9,
    .col-xs-6.col-md-10,
    .col-xs-6.col-md-11,
    .col-xs-6.col-md-12,
    .col-xs-6.col-md-w5,
    .col-xs-6.col-lg-1,
    .col-xs-6.col-lg-2,
    .col-xs-6.col-lg-3,
    .col-xs-6.col-lg-4,
    .col-xs-6.col-lg-5,
    .col-xs-6.col-lg-6,
    .col-xs-6.col-lg-7,
    .col-xs-6.col-lg-8,
    .col-xs-6.col-lg-9,
    .col-xs-6.col-lg-10,
    .col-xs-6.col-lg-11,
    .col-xs-6.col-lg-12,
    .col-xs-6.col-lg-w5
    {
        width: 50%;
        float: left;
    }

    /* 예약 게시판 — 예약날짜/예약시간 위젯이 모바일에서도 가로로 붙어
       시간 목록이 화면 밖으로 잘려나가는 문제 (write.php?bo_table=reserve) */
    .date_wrapper { display: block; width: 100%; }
    .date_l, .date_r {
        width: 100% !important;
        float: none !important;
        display: block;
    }

    /* ══════════════════════════════════════
       F-COMMUNITY (모바일)
    ══════════════════════════════════════ */
    #f-community { overflow-x: auto; }
    .f-icon-list { min-width: 480px; }
    .f-icon-list li a,
    .f-icon-list li span { padding: 14px 6px; }
    .f-icon-list li img { max-height: 48px; }
    
    /* ══════════════════════════════════════
       FOOTER (모바일)
    ══════════════════════════════════════ */
    /* 가로 스크롤 대신 2줄로 자연스럽게 떨어지도록 wrap 처리 (2026-06) */
    .footer-policy { overflow-x: visible; }
    .footer-policy-list {
        flex-wrap: wrap;
        white-space: normal;
        height: auto;
        row-gap: 8px;
        padding: 12px 0;
    }
    .footer-policy-list li { padding: 0 12px; }
    .footer-policy-list li a { font-size: 11px; }
    
    .footer-info { padding: 24px 0 28px; }
    .footer-info .container-lg { padding: 0 16px; }
    .footer-info-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-logo img { max-width: 140px; opacity: 0.65; }
    .footer-biz    { font-size: 11px; line-height: 1.8; }
    .footer-address { font-size: 11px; }
    .footer-copy    { font-size: 10px; }
    
    } /* end @media 767px */
    
    
    @media (max-width: 992px) {
        /* 모바일에서는 상단 util 오른쪽 영역 숨김 */
        .util-right {
            display: none !important;
        }
    
        /* util-bar가 header에 가려지는 경우 숨김 처리 */
        #util-bar {
            display: none !important;
        }
    
        /* 모바일 드로어 상단 회원 영역 */
        .m-nav-top {
            gap: 10px;
        }
    
        .m-nav-top .util-member {
            display: flex !important;
            align-items: center;
            gap: 5px;
            padding-left: 0;
            margin-right: auto;
            margin-left: 0px;
        }
    
        .m-nav-top .util-member a {
            font-size: 12px;
            color: #777;
            text-decoration: none;
            letter-spacing: -0.03em;
        }
    
        .m-nav-top .util-sep {
            font-size: 10px;
            color: #ddd;
        }
    }
    
    @media (max-width: 992px) {
        .m-lang-wrap {
            display: block;
            position: absolute;
            right: 52px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 20;
        }
    
        .m-lang-btn {
            width: 28px;
            height: 28px;
            border: 0;
            background: transparent;
            padding: 0;
            font-size: 18px;
            color: #333;
            cursor: pointer;
        }
    
        #index .m-lang-btn {
            color: #fff;
        }
    
        .m-lang-dropdown {
            display: none;
            position: absolute;
            top: 34px;
            right: -25px;
            min-width: 82px;
            background: #fff;
            border: 1px solid #eee;
            box-shadow: 0 6px 18px rgba(0,0,0,0.12);
            border-radius: 6px;
            overflow: hidden;
        }
    
        .m-lang-wrap.active .m-lang-dropdown {
            display: block;
        }
    
        .m-lang-dropdown a {
            display: block;
            padding: 9px 12px;
            font-size: 12px;
            color: #333;
            text-align: center;
            text-decoration: none;
            white-space: nowrap;
        }
    
        .m-lang-dropdown a + a {
            border-top: 1px solid #f0f0f0;
        }
    
        .main{
            display: none;
        }
    }
    
    .quick-sms {
        display: block !important;
        width: 425px;
        z-index: 9999;
    }
    
    .quick-sms-card {
        background: #e9f1f8;
        padding: 38px 27px 38px;
        box-sizing: border-box;
    }
    
    .sms-title {
        background: #063fc1;
        color: #fff;
        height: 44px;
        line-height: 44px;
        border-radius: 4px;
        text-align: center;
        font-size: 14px;
    }
    
    .sms-title strong {
        font-weight: 700;
    }

    .sms-map{
        display: none;
    }

    .sms-map-img img {
        display: block;
        width: 100%;
        height: auto;
    }
    
    .sms-phone-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
        margin-top: 4px;
    }
    
    .sms-input {
        width: 100%;
        height: 36px;
        border: 1px solid #cfcfcf;
        border-radius: 4px;
        background: #fff;
        padding: 0 12px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    .sms-agree {
        text-align: center;
        font-size: 13px;
        color: #333;
        margin-top: 8px;
    }
    
    .sms-agree a {
        color: #333;
        text-decoration: none;
    }
    
    .sms-button-real {
        display: none;
    }
    
    .sms-button {
        width: 275px;
        margin: 8px auto 0;
    }
    
    .sms-button input {
        display: block;
        width: 100%;
        height: 48px;
        border: 0;
        border-radius: 999px;
        background: #08aeea;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
    }
    
    .layer_popup_btn {
        text-align: center;
        font-size: 12px;
        color: #333;
        margin-top: 6px;
    }
    
    .layer_popup_btn a {
        color: #333;
        text-decoration: none;
    }
    
    @media (max-width: 992px) {
        #top-btn1 {
            display: none !important;
        }
    }
    
    /* ══════════════════════════════════════
       브랜드 배너 — 600px 이하: 배경 이미지 제거, 단색 처리
    ══════════════════════════════════════ */
    @media (max-width: 600px) {
        #brand-banner {
            background-image: none !important;
            background-color: #e5e0da !important;
        }
    }


/* ════════════════════════════════════════════════════════════════
   아래부터 파일 끝까지 — 서브페이지 레거시 CSS
   미디어쿼리 없이 들어가 있어서 PC 폭에서도 항상 적용되던 문제를
   막기 위해 max-width:992px 안에 감쌈 (2026-06)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {

/* -------------------------------------------------------------------------------- ★닥터송포유 (Sub:Layout) ---------------------------------------- */
/* 서브네비 */
#snb{display:none}
/* sub_mobile.css와 동일한 사유로 PC pill 버튼 속성(border, border-radius, margin,
   inline-block) 명시적 초기화 — 안 그러면 default.css의 .snb pill 스타일이 모바일에 남음 */
.snb {margin: 0; text-align: left;}
.snb li{display:block; list-style-type:none;}
.snb li a{display:block;width:100%;padding:10px 0;margin:0;border:none;border-radius:0;border-bottom:1px solid #eaeaea;text-align:center;font-size:0.9em;}
.snb li.on a{background:#f0f0f0; font-weight:400; color:inherit;}
.snb li.on:first-child{width:100%;}
.snb li.on:first-child a{background:#006bef;font-size:1.2em;font-weight:700;color:#fff;border-bottom:none;}
.snb li:last-child a {border-bottom:0;}

.ssnb{}
.ssnb li{display: inline-block;width:49%;border-bottom:1px solid #ccc;}
.ssnb li a{display: block;padding:10px;text-align: center;margin:0;border-radius:0;}
.ssnb li.on a{font-weight:bold;color:#00b0ef;background:transparent;border-bottom:none;}

#sub .container {max-width:980px; margin:0 auto;  background: none !important; }
#sub #bo_gall {max-width:940px; width:97%; margin:15px auto;}

#svisual .sv-location, #svisual .sv-sm{display: none;}

/* 병원소개 */
#s-a010 .a010-0 {background:url('../img/sub/a010_0_bg.png') no-repeat center; background-size:cover;}
#s-a010 .a010-0 .txt {padding:40px 20px;}
#s-a010 .a0-img img {width:70%; margin:0 auto;}
#s-a010 .a0-txt {padding:20px;}
#s-a010 .a0-txt .tit {font-size:2em; font-family: 'Noto Serif KR', serif; color:#000; font-weight:300; letter-spacing:-2px; text-align:center;}
#s-a010 .a0-txt .dr {padding:15px 0; font-size:0.9em; letter-spacing:20px; color:#c1c1c1; font-weight:500; text-align:center;}
#s-a010 .a0-txt .txt {padding:0 15px; font-size:1.1em; color:#000; letter-spacing:-0.5px; line-height:1.8em;}


/* 의료진소개 */
#s-a020 .tit {font-size:2em; font-family: 'Noto Serif KR', serif; color:#000; font-weight:300; letter-spacing:-2px; font-weight:bold;}
#s-a020 .sm {font-size:60%;}
#s-a020 .dr {padding:15px 0; font-size:0.9em; letter-spacing:20px; color:#c1c1c1; font-weight:500;}
#s-a020 .txt {padding:25px;}
#s-a020 .container-md {max-width:940px; width:95%; margin:0 auto;}

/* 진료시간 */
#s-a030 .a030-1 {padding:3em 0;background:#fafafa;}
#s-a030 .a030-con {padding:40px 0 20px 0; width:320px; margin:0 auto;}
#s-a030 .a030-con .num-info {font-size:2em; font-family: 'Noto Serif KR', serif; font-weight:bold; color:#000;}
#s-a030 .a030-con .num-info .sm {font-size:60%; font-family: 'Noto Sans KR', sans-serif; color:#404040; letter-spacing:-1px; vertical-align:middle;}
#s-a030 .a030-con .time-info {padding:20px 0;}
#s-a030 .a030-con .kakao-info a:before {content:url('../img/sub/s_kakao.png'); margin-right:10px; vertical-align:middle;}
#s-a030 .a030-con .kakao-info a {display:block; padding:10px 5px 5px 5px; font-size:1.6em; font-family: 'Noto Serif KR', serif; font-weight:bold; background:#fff200; color:#3a2020; text-align:center; border-radius:5px;}
#s-a030 .a030-con .kakao-info .sm {margin-right:10px; font-size:60%; font-family: 'Noto Sans KR', sans-serif; letter-spacing:5px; vertical-align:middle;}
#s-a030 .dlist {font-size:1.1em; line-height:2.5em; color:#000; }
#s-a030 .dlist dt {float:left; margin-right:15px; width:100px; letter-spacing:-1px; background:#00b0ef; color:#ffff; text-align:center;}
#s-a030 .dlist dd {font-weight:bold;}

/*리스트 스타일*/
.slist {font-size:1.1em; line-height:2.3em; color:#000; }
.dot-list li:before {padding:0 10px 0 0; content:'●'; font-size:10px; color:#00b0ef; vertical-align:bottom; }

#sub .mb_drop_mn {display:none;}

@media (min-width:630px){
#s-a010 .a0-txt {padding:60px 20px;}
}
/* -------------------------------------------------------------------------------- ★닥터송포유 (Sub:Basic Setting) ---------------------------------------- */
#s-title{margin:10px 0;padding:10px 0;border:5px solid #ebeceb;text-align:center;}

/*서브비쥬얼*/
#svisual {background:url('../img/sub/sv_bg.png') no-repeat center #eef5fe;}
#svisual .sv-txt {padding:40px 15px 20px 15px; text-align:center;  width: 100%;}
#svisual .sv-point {font-size:1.2em; color:#000; font-weight:200; letter-spacing:-1px;}
#svisual .sv-tit {font-size:2.5em; color:#006bef; font-weight:600; letter-spacing:-2px;}

.scon {padding:30px 0;}
.scon h2 {font-size:2em; margin-bottom:15px; color:#000; font-weight:300; letter-spacing:-2px;}
.scon h3 {font-size:1.6em; font-weight:300;}
.scon p {font-size:1.1em; color:#000; line-height:30px; font-weight:200;}

.circle-num {padding:5px 12px; margin-right:3px; border-radius:30px; font-size:70%; font-weight:bold;}

/*리스트 스타일*/
.slist {font-size:1.1em; line-height:27px; color:#000;}
.dot-list li:before {padding:0 10px 0 0; content:'●'; font-size:10px; color:#00b0ef; vertical-align:bottom; }
.checklist span {color:#00b0ef; padding-right:10px;}
.checklist li {padding:10px 20px; margin-bottom:10px; box-sizing:border-box; border:3px solid #ececec; border-radius:3px;}

.dot-line {width:100%; height:1px; border:1px dotted #dedede;}
.mmt-2 {margin-top:15px;}

.contents{}

.list_01{padding:0 10px;}
.list_01 li{background:#fff;border-radius:3px;margin:10px 0;padding:10px 15px;border-bottom:1px solid #ccc;}


.btn_top li {display:inline-block;}

/*sms*/
#map-sms {padding:15px 0; background:#f0f0f0;}
#map-sms textarea {display:none;}
#map-sms .sms-m-tit {padding:10px; border-radius:5px; background:#0034b0; color:#fff; text-align:center; font-size:1em; letter-spacing:-0.5px;}
#map-sms .sms-con .agree {padding:5px 0; text-align:center; font-size:1em; letter-spacing:-0.5px;}
#map-sms .sms-button {display:block;  border-radius:50px; background:#00afef; color:#fff; text-align:center; font-size:1.1em; letter-spacing:-1px; border:1px solid #00a5e1;margin: 0 auto !important;}
#map-sms .sms-button input {display: block;width: 100%;padding:10px;background:none; border:none;text-align: center;}
#map-sms .layer_popup_btn {display:none;}

.fvisual {padding:20px 0 0 0; background:url('../img/sub/foot_point_bg.png') no-repeat center; background-size:cover;}
.ld-btn {display:none;} 
#facelift {background:#09bbfe;}

.sillicon-btn a{margin-top:20px; font-size:1rem; padding:.4em 1em; border-radius:30px;}


.md-tit {margin:20px 0; color:#000; font-size:0.9em; letter-spacing:10px;}
#bna{padding-top:40px; padding-bottom:40px; }
#bna .cont{}
#bna .cont .lt{max-width: 600px; margin: 0 auto;}
#bna .cont .lt li.ld_lastest_li_bna{margin-bottom:20px; width:100%; background:transparent;}
#bna .cont .lt li.ld_lastest_li_bna a{display:block}
#bna .cont .lt li.ld_lastest_li_bna a .img{position:relative; overflow:hidden; width:100%; background:#000;}
#bna .cont .lt li.ld_lastest_li_bna a .img .ld_lastest_bna_sp{margin:0;}
#bna .cont .lt li.ld_lastest_li_bna a .img img{float:left; width:50%;}
#bna .cont .lt li.ld_lastest_li_bna a span.ld_lastest_subject{display:block;  padding:.5em; background:#ededed;
font-size:1em; line-height:1em; font-weight:600; color:#111;}

#youtube{padding-top:40px; padding-bottom:40px; }
#youtube .youtube-search{max-width:70%; margin:20px auto;}
#youtube .cont .box{overflow:hidden; position:relative; padding-bottom:56.25%; height:0; margin-bottom:40px;  max-width:100%; text-align:center}
#youtube .cont .box iframe{position:absolute; left:0; top:0; width:100%; height:100%;}



/* 유튜브 섹션 추가 */
#m-youtube {overflow:hidden; padding:60px 0 40px; background: #ebfbff}
#m-youtube .container{padding:0 8%;}
#m-youtube .sub-tit{margin-bottom:30px; text-align: center;}
#m-youtube .sub-tit h3{font-size:2rem;}
#m-youtube .sub-tit h3 .dot {position:relative;}
#m-youtube .sub-tit h3 .dot::before {content:''; position:absolute; left:0; right:0; top:-14px; margin:0 auto;
display:block; width:7px; height:7px; border-radius:50%; background:#00a3ef;}
#m-youtube .sub-tit a {display:block; max-width:280px; margin:20px auto}
#m-youtube .sub-tit a img{display:block; width:100%;}

#m-youtube .cont .pager {overflow:hidden;}
#m-youtube .cont .pager div{display:block;}
#m-youtube .cont .pager div.prev{float:left}
#m-youtube .cont .pager div.next{float:right}
#m-youtube .cont .pager div a {display:inline-block; width:38px; height:38px; line-height:46px; border-radius: 50%;
background:#c2e6ef; text-align:center; transition: all .2s;}

#m-youtube .cont img.bubble {display:none}
#m-youtube .cont .bx-viewport{overflow: visible!important}
#m-youtube .cont .slider{}
#m-youtube .cont .slider .box {}
#m-youtube .cont .slider .box .embed-youtube{overflow:hidden; position:relative;
height:0; padding-bottom:56.2%; max-width: 100%; text-align:center}
#m-youtube .cont .slider .box .embed-youtube{position:relative;}
#m-youtube .cont .slider .box iframe{position:absolute; left:0; top:0; width:100%; height:100%;}



/* 유튜브 섹션 추가 */
#m-youtube {overflow:hidden; padding:60px 0 40px; background: #ebfbff}
#m-youtube .container{padding:0 8%;}
#m-youtube .sub-tit{margin-bottom:30px; text-align: center;}
#m-youtube .sub-tit h3{font-size:2rem;}
#m-youtube .sub-tit h3 .dot {position:relative;}
#m-youtube .sub-tit h3 .dot::before {content:''; position:absolute; left:0; right:0; top:-14px; margin:0 auto;
display:block; width:7px; height:7px; border-radius:50%; background:#00a3ef;}
#m-youtube .sub-tit a {display:block; max-width:280px; margin:20px auto}
#m-youtube .sub-tit a img{display:block; width:100%;}

#m-youtube .cont .pager {overflow:hidden;}
#m-youtube .cont .pager div{display:block;}
#m-youtube .cont .pager div.prev{float:left}
#m-youtube .cont .pager div.next{float:right}
#m-youtube .cont .pager div a {display:inline-block; width:38px; height:38px; line-height:46px; border-radius: 50%;
background:#c2e6ef; text-align:center; transition: all .2s;}

#m-youtube .cont img.bubble {display:none}
#m-youtube .cont .bx-viewport{overflow: visible!important}
#m-youtube .cont .slider{}
#m-youtube .cont .slider .box {}
#m-youtube .cont .slider .box .embed-youtube{overflow:hidden; position:relative;
height:0; padding-bottom:56.2%; max-width: 100%; text-align:center}
#m-youtube .cont .slider .box .embed-youtube{position:relative;}
#m-youtube .cont .slider .box iframe{position:absolute; left:0; top:0; width:100%; height:100%;}
} /* end @media (max-width: 992px) — 서브페이지 레거시 CSS */
