@charset "utf-8";
/* 프로N잡러 휴대폰 화면 다듬기 pjmobile v1.0.0
 * 다른 기능의 CSS 를 고치지 않고 위에 덮어씀. 'html body' 를 앞에 붙여 나중에 읽히는 CSS 보다도 우선.
 * 되돌리기: extend/pjmobile.extend.php 를 지우면 이 파일을 읽지 않음 */

/* =====================================================================
 * 1. 탭·분류 줄: 옆으로 밀지 않고 여러 줄로 (모든 화면 폭)
 * ===================================================================*/
html body .pjp-tabs, html body .pjp-cats,
html body .pjlt-tb-tabs,
html body .pjlec-nav, html body .pjmk-nav,
html body .pjsm-mnav-in,
html body .pjm-bar-btns,
html body .pjgr-tabs-list,
html body .psi-cats, html body .pdc-cats,
html body .pcb-kinds, html body .prj-kinds {flex-wrap:wrap !important;overflow-x:visible !important}

/* 밑줄 탭(강좌 분류·내 강의실·지갑·배너광고 메뉴) */
html body .pjlec-tabs, html body .pjlec-tabs2,
html body .pjbn-unav ul {flex-wrap:wrap !important;overflow-x:visible !important}
html body .pjw-tabs {overflow-x:visible !important}
html body .pjw-tabs-in {flex-wrap:wrap;min-width:0 !important}

/* 이윰 게시판 분류 탭·마이페이지 탭 (끌어서 넘기던 줄) */
html body .tab-scroll-category #tab-category,
html body .tab-scroll-page-category #tab-page-category {height:auto !important;overflow:visible !important}
html body .tab-scroll-category #tab-category .category-list,
html body .tab-scroll-page-category #tab-page-category .page-category-list {display:flex !important;flex-wrap:wrap;width:auto !important;transform:none !important}
html body .tab-scroll-category #tab-category .category-list span.fake-span,
html body .tab-scroll-page-category #tab-page-category .page-category-list span.fake-span,
html body .tab-scroll-category .scrollbar, html body .tab-scroll-page-category .scrollbar,
html body .tab-scroll-category .controls, html body .tab-scroll-page-category .controls {display:none !important}
html body .tab-scroll-category, html body .tab-scroll-page-category {padding-bottom:1px}

/* 오른쪽 회원 상자의 마이페이지 바로가기 줄 (◀ ▶ 로 넘기던 줄) */
html body .ol-after .scroll-tabs {height:auto;overflow:visible}
html body .ol-after .scroll-tabs .scroll_tabs_container {height:auto !important;overflow:visible !important;margin-bottom:0;padding:8px 6px}
html body .ol-after .scroll-tabs .scroll_tabs_container div.scroll_tab_inner {position:static !important;display:flex !important;flex-wrap:wrap;justify-content:center;gap:2px 0;height:auto !important;overflow:visible !important;white-space:normal !important}
html body .ol-after .scroll-tabs .scroll_tabs_container div.scroll_tab_inner span {line-height:28px !important;padding:0 7px !important}
html body .ol-after .scroll-tabs .scroll_tabs_container div.scroll_tab_inner span a {font-size:.8125rem}
html body .ol-after .scroll-tabs .scroll_tabs_container .scroll_tab_left_button,
html body .ol-after .scroll-tabs .scroll_tabs_container .scroll_tab_right_button,
html body .ol-after .scroll-tabs .scroll_tabs_container .scroll_tab_left_finisher,
html body .ol-after .scroll-tabs .scroll_tabs_container .scroll_tab_right_finisher {display:none !important}

/* ----- 휴대폰: 칸을 작게 해서 한눈에 ----- */
@media (max-width:767px) {
    /* 첫 화면 '메뉴별 인기 게시글' 메뉴 탭: 4칸씩 */
    html body .pjp-tabs {display:grid !important;grid-template-columns:repeat(auto-fill, minmax(80px, 1fr));gap:6px}
    html body .pjp-tabs .pjp-tab {height:32px;line-height:30px;padding:0 4px;font-size:.8125rem;text-align:center;overflow:hidden;text-overflow:ellipsis}
    html body .pjp-cats {gap:5px;padding:8px 10px}
    html body .pjp-cats .pjp-cat {height:28px;line-height:26px;padding:0 10px}

    /* 첫 화면 커뮤니티·협업·자료 최신글 탭 */
    html body .pjlt-tb-tabs {gap:6px;padding-bottom:0}
    html body .pjlt-tb-tabs .pjlt-tab {height:30px;line-height:28px;padding:0 12px;font-size:.8125rem}

    /* 강좌·장터 메뉴, 소모임 메뉴, 지도·프로필 거르기 단추, 업종 그룹, 분류 칩 */
    html body .pjlec-nav, html body .pjmk-nav {gap:6px;margin-left:0;margin-right:0;padding:0}
    html body .pjlec-nav a, html body .pjmk-nav a {padding:6px 11px;font-size:.8125rem}
    html body .pjsm-mnav-in {gap:5px;padding-bottom:0}
    html body .pjsm-mnav a {padding:6px 10px}
    html body .pjm-bar-btns {width:100% !important;margin:0 !important;padding:0 !important;gap:6px}
    html body .pjgr-tabs-list {padding:0 !important;gap:5px}
    html body .pjgr-tabs-list a {padding:4px 10px}
    html body .psi-cats, html body .pdc-cats {gap:6px;margin-left:0 !important;margin-right:0 !important;padding:2px 0 4px !important;-webkit-mask-image:none !important;mask-image:none !important}
    html body .psi-cats a, html body .pdc-cats a {min-height:34px;padding:0 11px;font-size:13px}
    html body .pcb-kinds, html body .prj-kinds {gap:6px;padding:2px 0 4px}
    html body .pcb-kinds button, html body .prj-kinds button {height:36px;padding:0 11px;gap:5px;font-size:13px}

    /* 밑줄 탭은 3칸 격자로 (줄마다 밑줄) */
    html body .pjlec-tabs, html body .pjlec-tabs2, html body .pjbn-unav ul, html body .pjw-tabs-in {display:grid !important;grid-template-columns:repeat(auto-fill, minmax(104px, 1fr));gap:0}
    html body .pjlec-tabs, html body .pjlec-tabs2, html body .pjbn-unav, html body .pjw-tabs {border-bottom:0}
    html body .pjlec-tabs a, html body .pjlec-tabs2 a, html body .pjbn-unav a, html body .pjw-tabs a {display:flex;align-items:center;justify-content:center;gap:4px;margin:0;padding:9px 4px 8px;text-align:center;white-space:nowrap;font-size:.8125rem;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}
    html body .pjlec-tabs a.on, html body .pjlec-tabs2 a.on, html body .pjbn-unav a.on, html body .pjw-tabs a.on {box-shadow:none}
    html body .pjw-tabs-sep {display:none}
    html body.dark-mode .pjlec-tabs a, html body.dark-mode .pjlec-tabs2 a, html body.dark-mode .pjbn-unav a, html body.dark-mode .pjw-tabs a {box-shadow:inset 0 -1px 0 rgba(255,255,255,.12)}

    /* 이윰 글쓰기 체크 칸 줄이 오른쪽으로 30px 삐져나가던 것 */
    html body .eyoom-form .inline-group {margin-right:0}

    /* 게시판 분류 탭 */
    html body .tab-scroll-category #tab-category .category-list span,
    html body .tab-scroll-page-category #tab-page-category .page-category-list span {padding:0 11px}
    html body .tab-scroll-category #tab-category .category-list span a,
    html body .tab-scroll-page-category #tab-page-category .page-category-list span a {height:36px;font-size:.875rem}

    /* 글쓰기 단계 표시: 한 줄에 다 넣고 번호 위·이름 아래 */
    html body .pjm-steps, html body .pdc-wsteps {display:grid !important;grid-auto-flow:column;grid-auto-columns:minmax(0, 1fr);gap:2px;overflow:visible !important}
    html body .pjm-steps li, html body .pdc-wsteps li {min-width:0}
    html body .pjm-steps a, html body .pdc-wsteps a {flex-direction:column;gap:4px;height:100%;min-height:0;padding:8px 1px 9px;font-size:11.5px;line-height:1.25;white-space:normal;word-break:keep-all;text-align:center}
    html body .pdc-wsteps {padding:4px}
    html body .pdc-wsteps a {padding:6px 1px;border-radius:9px}
}

/* =====================================================================
 * 2. 휴대폰 푸터 접기 (pjmobile.js 가 footer 에 pjmo-fold 를 붙였을 때만)
 * ===================================================================*/
.pjmo-fold-btn, .pjmo-fl-all {display:none}
@media (max-width:767px) {
    html body footer.pjmo-fold .footer-cont-wrap.pj-fwrap .footer-cont-box:nth-child(2) {display:block;padding-top:6px;padding-bottom:0}
    html body footer.pjmo-fold .pj-fmap {display:block;margin-top:0;padding-top:0;border-top:0}
    html body footer.pjmo-fold .pj-fnav-job, html body footer.pjmo-fold .pj-fmap-col {border-bottom:1px solid rgba(0,0,0,.09)}
    html body footer.pjmo-fold .pj-fnav-job .comm005-fnc-title h2, html body footer.pjmo-fold .pj-fmap .pj-fmap-col h2 {margin:0 !important}
    html body footer.pjmo-fold .pjmo-h {display:none}
    html body footer.pjmo-fold .pjmo-fold-btn {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:50px;margin:0;padding:0 2px;border:0;background:none;color:#000;font:inherit;font-size:1rem;font-weight:700;text-align:left;cursor:pointer}
    html body footer.pjmo-fold .pjmo-fold-btn::after {content:"";flex:none;width:8px;height:8px;margin:-4px 6px 0 0;border-right:2px solid #8a8f98;border-bottom:2px solid #8a8f98;transform:rotate(45deg);transition:transform .2s}
    html body footer.pjmo-fold .pjmo-open .pjmo-fold-btn::after {margin-top:4px;transform:rotate(-135deg)}
    html body footer.pjmo-fold .pjmo-fold-btn:focus-visible {outline:2px solid #2f6fed;outline-offset:-2px}
    html body footer.pjmo-fold .pj-fnav-job .comm005-fnc, html body footer.pjmo-fold .pj-fmap-col ul {display:none}
    html body footer.pjmo-fold .pj-fnav-job.pjmo-open .comm005-fnc {display:block;padding:0 0 14px}
    html body footer.pjmo-fold .pj-fmap-col.pjmo-open ul {display:block;column-count:2;column-gap:16px;padding:0 0 12px}
    html body footer.pjmo-fold .pj-fmap-col.pjmo-open li {break-inside:avoid;margin:0;padding:4px 0}
    html body footer.pjmo-fold .pj-fmap-col.pjmo-open li.pj-fmap-sep {margin-top:0}
    html body footer.pjmo-fold .pjmo-fl-all {display:list-item}
    html body footer.pjmo-fold .pjmo-fl-all a {font-weight:700}
    html body.dark-mode footer.pjmo-fold .pjmo-fold-btn {color:#c9d1d9}
    html body.dark-mode footer.pjmo-fold .pj-fnav-job, html body.dark-mode footer.pjmo-fold .pj-fmap-col {border-color:rgba(255,255,255,.1)}

    /* 아래 사업자 정보: 줄 앞에 '|' 가 남지 않게 칸 사이를 띄움 */
    html body .pjf-links {gap:2px 14px}
    html body .pjf-links .pjf-dot {display:none}
    html body .pjf-line {gap:3px 12px}
    html body .pjf-it {padding:0}
    html body .pjf-it + .pjf-it::before {display:none}
}

/* =====================================================================
 * 3. AI 상담 단추
 * ===================================================================*/
html body .pjch-fab .pjch-fab-tx {max-width:0;opacity:0;overflow:hidden;transition:max-width .3s ease, opacity .2s ease, margin .3s ease}
html body .pjch-fab.pjmo-peek .pjch-fab-tx {max-width:90px;opacity:1}
/* 첫 방문 안내 상자가 떠 있는 동안은 숨김 (상자 뒤에 반쯤 가려 보이지 않게) */
html body:has(.pjg-welcome.is-in) .pjch-fab {opacity:0 !important;pointer-events:none}
@media (min-width:768px) {
    /* PC: 오른쪽 아래 동그란 단추 (맨 위로 단추 바로 위, 같은 세로줄). 마우스를 올리면 이름이 나옴 */
    html body .pjch-fab {right:9px;bottom:66px;height:48px;padding:0 6px;gap:0}
    html body .pjch-fab:hover .pjch-fab-tx, html body .pjch-fab:focus-visible .pjch-fab-tx {max-width:90px;opacity:1}
    html body .pjch-fab:hover .pjch-fab-tx, html body .pjch-fab:focus-visible .pjch-fab-tx, html body .pjch-fab.pjmo-peek .pjch-fab-tx {margin:0 11px 0 8px}
}
@media (max-width:767px) {
    /* 휴대폰: 오른쪽 가장자리에 붙은 작은 손잡이 (화면 안쪽을 덜 가림) */
    html body .pjch-fab {right:0;bottom:76px;height:44px;padding:0 6px 0 5px;gap:0;border-radius:22px 0 0 22px}
    html body .pjch-fab .pjch-fab-ic {width:34px;height:34px;font-size:18px}
    html body .pjch-fab:hover {transform:none}
    html body .pjch-fab.pjmo-peek .pjch-fab-tx {margin:0 8px 0 7px}
    html body .pjch-fab .pjch-fab-dot {top:1px;right:auto;left:30px}
}
@media (prefers-reduced-motion:reduce) {
    html body .pjch-fab .pjch-fab-tx {transition:none}
}

/* =====================================================================
 * 4. 휴대폰 상단 띠: 글이 길면 두 줄로 (잘리지 않게)
 * ===================================================================*/
@media (max-width:576px) {
    html body .comm005-tb .comm005-tb-item .comm005-tb-title {display:flex;align-items:center;justify-content:center;min-height:50px;padding:0 14px}
    html body .comm005-tb .comm005-tb-item .comm005-tb-title h5 {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;word-break:keep-all;font-size:.875rem;line-height:1.3}
    html body .comm005-tb .comm005-tb-item .comm005-tb-title h5 .m-l-10 {margin-left:6px !important}
}
