@charset "utf-8";
/* ============================================================
   뉴스 스피치 모바일 현대적 디자인 시스템 (Mobile Modern News CSS)
   최신 트렌드: 클린 카드, 2열 그리드, 캡슐 속보 티커, 랭킹 뱃지
   ============================================================ */

/* ── 폰트 및 모바일 컨테이너 기본 최적화 ── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

body {
    background-color: #f7f9fa !important;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif !important;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#wrapper {
    background: transparent !important;
}

#container {
    padding: 10px 14px 30px !important;
    max-width: 640px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 터치 하이라이트 최적화 */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ── 공통 섹션 헤더 (Section Title UI) ── */
.mob-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 12px;
    padding: 0 2px;
}

.mob-sec-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

.mob-sec-title a {
    color: inherit;
    text-decoration: none;
}

.mob-sec-accent {
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    border-radius: 4px;
}

.mob-sec-accent.mob-accent-fire {
    width: auto;
    height: auto;
    background: none;
    color: #ef4444;
    font-size: 18px;
}

.mob-sec-more {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: color 0.15s ease;
}

.mob-sec-more:hover, .mob-sec-more:active {
    color: #2563eb;
}

.mob-sec-tag {
    font-size: 12px;
    color: #ef4444;
    font-weight: 700;
    background: #fee2e2;
    padding: 3px 8px;
    border-radius: 999px;
}

/* ── 1. 실시간 속보 티커 (mob_ticker) ── */
.mob-ticker-wrap {
    margin: 8px 0 16px;
}

.mob-ticker-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border-radius: 999px;
    height: 42px;
    padding: 0 12px;
    gap: 10px;
    overflow: hidden;
}

.mob-ticker-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    flex-shrink: 0;
    letter-spacing: -0.2px;
}

.mob-pulse-dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: mobPulse 1.4s infinite;
}

@keyframes mobPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}

.mob-ticker-track {
    flex: 1;
    height: 38px;
    overflow: hidden;
    position: relative;
}

.mob-ticker-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mob-ticker-item {
    height: 38px;
    display: flex;
    align-items: center;
}

.mob-ticker-link {
    text-decoration: none;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.mob-tk-cat {
    color: #2563eb;
    margin-right: 4px;
    font-weight: 700;
}

.mob-ticker-arrow {
    color: #94a3b8;
    font-size: 13px;
    flex-shrink: 0;
}

/* ── 2. 메인 탑 헤드라인 (mob_hero) ── */
.mob-hero-section {
    margin-bottom: 20px;
}

.mob-hero-lead-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    margin-bottom: 10px;
    transition: transform 0.15s ease;
}

.mob-hero-lead-card:active {
    transform: scale(0.99);
}

.mob-hero-lead-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mob-hero-thumb-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 비율 */
    overflow: hidden;
    background: #e2e8f0;
}

.mob-hero-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mob-hero-badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.mob-badge-primary {
    background: rgba(37, 99, 235, 0.92);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: -0.2px;
}

.mob-hero-content {
    padding: 14px 16px 16px;
}

.mob-hero-title {
    margin: 0 0 8px;
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.38;
    color: #0f172a;
    letter-spacing: -0.4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mob-hero-desc {
    margin: 0 0 10px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mob-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
}

/* 서브 리스트 */
.mob-hero-sublist {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 4px 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.mob-hero-subitem {
    border-bottom: 1px solid #f1f5f9;
}

.mob-hero-subitem:last-child {
    border-bottom: none;
}

.mob-hero-sublink {
    display: flex;
    align-items: center;
    padding: 11px 0;
    text-decoration: none;
    color: #1e293b;
    gap: 8px;
}

.mob-badge-sub {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.mob-sub-title {
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #334155;
}

.mob-sub-date {
    font-size: 11.5px;
    color: #94a3b8;
    flex-shrink: 0;
}

/* ── 3. 2열 그리드 카드 (mob_card2) ── */
.mob-card2-section {
    margin-bottom: 24px;
}

.mob-card2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mob-c2-item {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease;
}

.mob-c2-item:active {
    transform: scale(0.98);
}

.mob-c2-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mob-c2-thumb-box {
    position: relative;
    width: 100%;
    padding-top: 62.5%; /* 16:10 */
    overflow: hidden;
    background: #e2e8f0;
}

.mob-c2-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mob-c2-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.mob-c2-body {
    padding: 10px 11px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.mob-c2-title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.38;
    color: #1e293b;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 37px;
}

.mob-c2-meta {
    margin-top: 8px;
    font-size: 11px;
    color: #94a3b8;
}

/* ── 4. 리스트형 웹진 피드 (mob_webzine) ── */
.mob-webzine-section {
    margin-bottom: 24px;
}

.mob-webzine-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mob-wz-item {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 13px 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: transform 0.15s ease;
}

.mob-wz-item:active {
    transform: scale(0.99);
}

.mob-wz-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.mob-wz-info {
    flex: 1;
    min-width: 0;
}

.mob-wz-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 3px;
}

.mob-wz-title {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.38;
    color: #0f172a;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mob-wz-desc {
    margin: 0 0 6px;
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mob-wz-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #94a3b8;
}

.mob-wz-comment {
    color: #2563eb;
    font-weight: 600;
}

.mob-wz-thumb-box {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.mob-wz-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── 5. 실시간 랭킹 / 많이 본 뉴스 (mob_rank) ── */
.mob-rank-section {
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 16px 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.mob-rank-section .mob-sec-head {
    margin: 0 0 14px;
}

.mob-rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mob-rk-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.mob-rk-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mob-rk-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.mob-rk-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
    line-height: 1;
}

.mob-rk-num.top-rank-1 {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.mob-rk-num.top-rank-2 {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.mob-rk-num.top-rank-3 {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
}

.mob-rk-num.normal-rank {
    background: #f1f5f9;
    color: #64748b;
}

.mob-rk-body {
    flex: 1;
    min-width: 0;
}

.mob-rk-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.38;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mob-rk-meta {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #94a3b8;
}

.mob-rk-cat {
    color: #64748b;
    font-weight: 600;
}

.mob-rk-hit {
    color: #f59e0b;
    font-weight: 600;
}

/* ── 6. 비주얼 / 동영상 섹션 (mob_visual) ── */
.mob-visual-section {
    margin-bottom: 24px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-radius: 18px;
    padding: 18px 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.mob-visual-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mob-visual-title {
    margin: 0;
    font-size: 17.5px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 7px;
}

.mob-visual-title a {
    color: #ffffff;
    text-decoration: none;
}

.mob-visual-icon {
    color: #ef4444;
    font-size: 19px;
}

.mob-visual-more {
    font-size: 12.5px;
    color: #94a3b8;
    text-decoration: none;
}

.mob-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mob-vs-item {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mob-vs-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mob-vs-thumb-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}

.mob-vs-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.mob-vs-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: rgba(239, 68, 68, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    padding-left: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.mob-vs-tag {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.mob-vs-title {
    margin: 8px 9px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 배너 영역 최적화 ── */
.mob-banner-wrap {
    margin: 18px 0;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.mob-banner-wrap img {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 12px;
}

.mob-banner-wrap .default_bn ul {
    padding: 0;
    margin: 0;
}

/* ── 빈 목록 안내 ── */
.mob-empty-msg {
    grid-column: span 2;
    text-align: center;
    padding: 24px 0;
    font-size: 13px;
    color: #94a3b8;
}


/* ── 상단 가로 스크롤 카테고리 탭 (GNB) 모던 개선 ── */
#gnc {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
    padding: 0 !important;
}

.gnb_menu {
    padding: 0 12px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
}

.gnb_menu::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari */
}

.gnb_menu ul.swiper-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gnb_menu li.swiper-slide {
    display: inline-block !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

.gnb_menu a {
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    line-height: 44px !important;
    padding: 0 10px !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s ease !important;
    letter-spacing: -0.3px !important;
}

.gnb_menu a:hover,
.gnb_menu li.active a,
.gnb_menu .gnb_sl {
    color: #2563eb !important;
    border-bottom-color: #2563eb !important;
}

/* 좌우 화살표 아이콘 정리 */
#swipe_gnb_menu > div[style*="position: absolute"] {
    display: none !important;
}


/* ============================================================
   모던 모바일 헤더, 왼쪽 3선 햄버거 드로어, 검색 레이어, 서브 탑바
   ============================================================ */

/* ── 1. 헤더 바 (#hd, #hd_wrapper) ── */
#hd {
    background: #ffffff !important;
    position: relative !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#hd_wrapper {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 12px !important;
    background: #ffffff !important;
    position: relative !important;
}

.hd_icon_btn {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: #1e293b !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.hd_icon_btn:active {
    background: #f1f5f9 !important;
}

#logo {
    padding: 0 !important;
    height: auto !important;
    background: transparent !important;
    text-align: center !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#logo img {
    max-height: 38px !important;
    width: auto !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

/* ── 2. 배경 딤 레이어 (#gnb_dim) ── */
#gnb_dim {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
}

#gnb_dim.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.drawer_opened {
    overflow: hidden !important;
}

/* ── 3. 왼쪽 3선 슬라이드인 사이드 드로어 (#gnb) ── */
#gnb.hd_drawer {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 82% !important;
    max-width: 320px !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1) !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15) !important;
    overflow-y: auto !important;
    padding: 0 !important;
}

#gnb.hd_drawer.open {
    transform: translateX(0) !important;
}

/* 드로어 상단 브랜드 & 닫기 */
.drawer_header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
}

.drawer_logo_txt {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
}

.drawer_close_btn {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    color: #64748b !important;
    cursor: pointer !important;
}

/* 드로어 사용자 카드 (외부 로그인) */
.drawer_user_card {
    padding: 14px 16px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.drawer_user_card #ol_before {
    display: flex !important;
    gap: 8px !important;
}

.drawer_user_card #ol_before h2 {
    display: none !important;
}

.drawer_user_card #ol_before .btn_b01 {
    flex: 1 !important;
    height: 38px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3) !important;
}

.drawer_user_card #ol_before .btn_b02 {
    flex: 1 !important;
    height: 38px !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.drawer_user_card #ol_after_hd {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
}

.drawer_user_card #ol_after_hd strong {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.drawer_user_card #ol_after_logout {
    font-size: 12px !important;
    color: #ef4444 !important;
    background: #fee2e2 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.drawer_user_card #ol_after_private {
    display: flex !important;
    justify-content: space-around !important;
    padding: 8px 0 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border-top: 1px solid #e2e8f0 !important;
}

.drawer_user_card #ol_after_private li a {
    font-size: 12px !important;
    color: #64748b !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.drawer_user_card #ol_after_private li strong {
    color: #2563eb !important;
}

/* 드로어 메뉴 목록 */
.drawer_nav {
    flex: 1 !important;
    padding: 8px 0 !important;
}

.drawer_nav #gnb_1dul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
}

.gnb_1dli {
    border-bottom: 1px solid #f1f5f9 !important;
}

.gnb_1d_row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.gnb_1da {
    display: block !important;
    flex: 1 !important;
    padding: 13px 18px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    letter-spacing: -0.2px !important;
}

.btn_gnb_op {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
    padding: 0 !important;
}

.btn_gnb_op.btn_gnb_cl i {
    transform: rotate(180deg) !important;
    color: #2563eb !important;
}

.gnb_2dul {
    display: none !important;
    list-style: none !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    background: #f8fafc !important;
    border-top: 1px solid #edf2f7 !important;
}

.gnb_2dli {
    border: none !important;
}

.gnb_2da {
    display: block !important;
    padding: 10px 18px 10px 32px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-decoration: none !important;
    position: relative !important;
}

.gnb_2da::before {
    content: "·" !important;
    position: absolute !important;
    left: 22px !important;
    font-size: 16px !important;
    color: #94a3b8 !important;
}

/* 드로어 하단 퀵링크 (2열 그리드) */
.drawer_footer_links {
    padding: 14px 16px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

#hd_nb {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

.hd_nb_item {
    width: auto !important;
    float: none !important;
}

.hd_nb_item a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 9px 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-decoration: none !important;
}

.hd_nb_item a i {
    color: #2563eb !important;
    font-size: 13px !important;
}

/* ── 4. 상단 슬라이드 검색창 (#user_menu) ── */
#user_menu.search_drawer {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15) !important;
    z-index: 99995 !important;
    transform: translateY(-100%) !important;
    transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1) !important;
    padding: 14px 16px 16px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    height: auto !important;
    overflow: visible !important;
}

#user_menu.search_drawer.open {
    transform: translateY(0) !important;
}

.search_drawer_inner {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.search_form {
    flex: 1 !important;
}

.search_input_wrap {
    display: flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border-radius: 999px !important;
    padding: 4px 6px 4px 14px !important;
    border: 1px solid #e2e8f0 !important;
}

.search_icon {
    color: #94a3b8 !important;
    font-size: 14px !important;
    margin-right: 6px !important;
}

#sch_stx {
    flex: 1 !important;
    height: 34px !important;
    background: transparent !important;
    border: none !important;
    font-size: 14px !important;
    color: #0f172a !important;
    outline: none !important;
    margin: 0 !important;
    width: auto !important;
}

#sch_submit {
    height: 32px !important;
    padding: 0 14px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    position: static !important;
    width: auto !important;
}

.search_close_btn {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    color: #64748b !important;
    cursor: pointer !important;
    position: static !important;
}

.search_extra {
    margin-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#text_size {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #f1f5f9 !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    height: auto !important;
    margin: 0 !important;
}

.ts_label {
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 600 !important;
    margin-right: 2px !important;
}

#text_size button {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    border: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    background: transparent !important;
    color: #475569 !important;
    margin: 0 !important;
    cursor: pointer !important;
}

#text_size button.select {
    background: #ffffff !important;
    color: #2563eb !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
}

/* ── 5. 서브 페이지 상단 타이틀 바 (#sub_header_bar) ── */
#sub_header_bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 995 !important;
    height: 50px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 12px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03) !important;
}

.sub_back_btn, .sub_home_btn {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: background 0.15s ease !important;
}

.sub_back_btn:active, .sub_home_btn:active {
    background: #f1f5f9 !important;
}

#container_title {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center !important;
    flex: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.3px !important;
}


/* ── 스크랩 버튼 모던 캡슐 정돈 (글자 세로 깨짐 방지) ── */
#bo_v_share.mob_v_scrap_wrap,
.mob_v_scrap_wrap {
    display: block !important;
    position: static !important;
    text-align: center !important;
    margin: 16px 0 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#bo_v_share::before,
#bo_v_share::after {
    display: none !important;
}

.mob_scrap_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 38px !important;
    padding: 0 18px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    color: #475569 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.15s ease !important;
}

.mob_scrap_btn:hover,
.mob_scrap_btn:active {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #2563eb !important;
}

.mob_scrap_btn i {
    font-size: 14px !important;
    color: #2563eb !important;
}


/* ── 본문(bo_v_con) 내 고정폭 테이블 & 이미지 모바일 화면 초과 완벽 방지 ── */
#bo_v,
#bo_v_atc,
#bo_v_con {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#bo_v_con table,
#bo_v_atc table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
    margin: 10px 0 !important;
}

#bo_v_con td,
#bo_v_atc td,
#bo_v_con th {
    max-width: 100% !important;
    width: auto !important;
    word-break: break-all !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

#bo_v_con figure,
#bo_v_atc figure {
    max-width: 100% !important;
    width: 100% !important;
    margin: 10px 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: transparent !important;
}

#bo_v_con img,
#bo_v_atc img,
#bo_v_img img,
.view_image img,
.photo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 10px auto !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
}

/* ── 게시판 승인 버튼 (모던 파랑색 배지) ── */
.confirm_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 7px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    border-radius: 5px !important;
    vertical-align: middle !important;
    margin: 0 4px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    letter-spacing: -0.2px !important;
}

.confirm_btn.confirm_after,
.confirm_after {
    background-color: #2563eb !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: 1px solid #1d4ed8 !important;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25) !important;
}

.confirm_btn.confirm_befor,
.confirm_befor {
    background-color: #64748b !important;
    background: #64748b !important;
    color: #ffffff !important;
    border: 1px solid #64748b !important;
}

/* ===== 모바일 전용 운영자 글쓰기 버튼 (반드시 모바일 화면에서만 표시) ===== */
.m_op_write_fab,
.m_hd_write_btn,
.drawer_op_write_btn,
.drawer_op_write_wrap {
    display: none;
}

@media (max-width: 768px) {
    /* 우측 하단 플로팅 글쓰기 버튼 (FAB) */
    .m_op_write_fab {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: fixed;
        bottom: 24px;
        right: 18px;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: #ffffff !important;
        padding: 12px 18px;
        border-radius: 30px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none !important;
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
        z-index: 9999;
        transition: transform .15s ease, box-shadow .15s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .m_op_write_fab:active {
        transform: scale(0.95);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    }
    .m_op_write_fab i {
        font-size: 15px;
    }
    /* 상단 헤더 바 연필 아이콘 버튼 */
    .m_hd_write_btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        color: #2563eb !important;
        font-size: 18px !important;
        width: 38px;
        height: 38px;
        text-decoration: none !important;
    }
    /* 햄버거 드로어 내부 버튼 */
    .drawer_op_write_wrap {
        display: block !important;
    }
    .drawer_op_write_btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #2563eb !important;
        color: #ffffff !important;
        padding: 11px 14px !important;
        border-radius: 6px !important;
        font-weight: 700 !important;
        font-size: 13.5px !important;
        text-decoration: none !important;
        box-shadow: 0 2px 5px rgba(37, 99, 235, 0.25) !important;
    }
}

@media (min-width: 769px) {
    /* PC 데스크톱 화면에서는 완전히 숨김 */
    .m_op_write_fab,
    .m_hd_write_btn,
    .drawer_op_write_btn,
    .drawer_op_write_wrap {
        display: none !important;
        visibility: hidden !important;
    }
}
