/*
 * job-detail.css — 공고 상세 전용 스타일
 * ============================================================
 * 2026-09-09 Stage 3-1 에서 job-detail.html 인라인 <style> 1,348줄을 옮겼다.
 *
 * 🔴 여기 두지 않는 것 (다른 파일이 담당한다)
 *   · 헤더(.wjh-hdr) → css/site-header.css(2026-10-27 · ⚠️ 여기 css/home.css 였다)   · 푸터 → css/styles.css
 *   · 토큰(:root)    → css/jobs.css
 *   인라인에 있던 옛 헤더/푸터 규칙은 이 이동에서 전부 걷어냈다.
 *   남겨 두면 새 헤더(.wjh-hdr)가 옛 규칙을 물려받아 조용히 깨진다
 *   (PROJECT_GUIDE "새 헤더는 옛 헤더의 !important 규칙을 물려받는다" 참조).
 *
 * ⚠️ 이 파일을 고치면 job-detail.html 의 ?v= 를 함께 올린다.
 *    서비스워커가 .css 를 Cache First 로 잡으므로 ?v= 없이는 갱신이 안 간다.
 */

        
        /* 만료 배너
           🔴 350건 중 332건에 뜬다. 경고색을 쓰면 사이트 전체가 고장난 것처럼 보인다.
              만료 경과 중앙값이 148일이라 이건 경고가 아니라 기록이다.
              색은 css/jobs.css 의 --dday-closed-bg / --dday-closed-text 와 맞췄다. */
        .jd-expired {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            background: #eceff1;
            border: 1px solid #dde3e6;
            border-radius: 10px;
            padding: 14px 16px;
            margin-bottom: 20px;
        }
        .jd-expired__ico { font-size: 18px; line-height: 1.35; flex: none; }
        .jd-expired__title { font-weight: 600; font-size: 15px; color: #455a64; }
        .jd-expired__body { font-size: 13.5px; color: #78848c; margin-top: 2px; }
        /* 공고 목록 링크(2026-11-03 · 공고 상세 공개 전환) — 만료 배너 · 볼 수 없는 공고 안내(.jd-unavailable — 꼴은 만료 배너 그대로) */
        .jd-expired__link { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--brand); text-decoration: none; }
        .jd-expired__link:hover, .jd-expired__link:focus-visible { text-decoration: underline; }
        
        /* 공고 상세 페이지 스타일 - 개선된 버전 */
        .job-container {
            max-width: 1200px;
            margin: 100px auto 60px;
            padding: 0 20px;
        }
        
        /* 상단 히어로 섹션 */
        .job-hero {
            background: linear-gradient(135deg, #1e6091 0%, #2980b9 100%);
            color: white;
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }
        
        /* 급여 & 고용형태 강조 */
        .job-hero-highlight {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 20px 0;
        }
        
        .salary-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 18px;
            font-weight: 700;
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        }
        
        .salary-icon {
            font-size: 20px;
        }
        
        .job-hero-highlight .job-type-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.2);
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 600;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }
        
        .job-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            transform: rotate(45deg);
        }
        
        .job-hero-content {
            position: relative;
            z-index: 1;
        }
        
        .job-hero-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .company-logo-hero {
            width: 80px;
            height: 80px;
            background-color: white;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }
        
        .company-logo-hero img {
            width: 90%;
            height: 90%;
            object-fit: contain;
            border-radius: 12px;
        }
        
        .job-hero-info h1 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        
        .job-hero-company {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 18px;
            opacity: 0.95;
        }
        
        /* Stage 3-2: 히어로가 흰 카드가 되면서 흰색 반투명 배경이 안 보인다 */
        .company-verified-badge {
            background-color: var(--brand-tint);
            color: var(--brand);
            border: 1px solid var(--brand-tint-border);
            padding: 3px 9px;
            border-radius: 20px;
            font-size: 12px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        /* 🔴 히어로 기업명 링크 — companies 문서가 있을 때만 붙는다.
              링크가 걸린 기업명과 안 걸린 기업명이 한눈에 구분되어야 하므로
              밑줄 + 꺾쇠를 준다. 안 걸린 쪽은 장식이 전혀 없는 평범한 텍스트다.
              ✅ Stage 3-2 에서 히어로가 흰 카드가 되어 이 제약이 풀렸다.
                 이제 브랜드 색으로 구분한다(1-G ② 의 "색 대신 밑줄" 은 끝났다). */
        .jd-company-link {
            color: var(--brand);
            display: inline-flex;
            align-items: center;
            gap: 4px;
            text-decoration: none;
        }

        .jd-company-link:hover,
        .jd-company-link:focus-visible {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .jd-company-link__arrow {
            font-size: 0.85em;
            opacity: 0.85;
        }

        /* 회사 정보 카드의 명시적 진입점. 바로 위 "웹사이트 방문" 과 같은 모양을 따른다 */
        .jd-company-page {
            color: #1e6091;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
            text-decoration: none;
        }

        .jd-company-page:hover,
        .jd-company-page:focus-visible {
            text-decoration: underline;
        }
        
        .job-hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        
        .hero-meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            opacity: 0.95;
        }
        
        .hero-meta-item .icon {
            font-size: 20px;
        }
        
        /* 메인 컨텐츠 영역 */
        .job-content {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 30px;
        }
        
        /* 메인 섹션 카드 스타일 개선 */
        .content-card {
            background-color: #fff;
            border-radius: 16px;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
            padding: 30px;
            margin-bottom: 20px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .content-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
        }
        
        .card-title {
            font-size: 20px;
            color: #1e6091;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0f2f5;
            font-weight: 700;
        }
        
        /* 핵심 정보 카드 */
        .key-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .key-info-item {
            background-color: #f8f9fb;
            padding: 20px;
            border-radius: 12px;
            border: 1px solid #e8ecf1;
            transition: all 0.3s;
        }
        
        .key-info-item:hover {
            border-color: #1e6091;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(30, 96, 145, 0.1);
        }
        
        .key-info-label {
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .key-info-value {
            font-size: 18px;
            color: #333;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .key-info-value .icon {
            color: #1e6091;
            font-size: 22px;
        }
        
        /* 설명 섹션 스타일 개선 */
        .description-content {
            font-size: 16px;
            line-height: 1.8;
            color: #555;
        }
        
        .description-content ul {
            margin: 15px 0;
            padding-left: 25px;
        }
        
        .description-content li {
            margin-bottom: 10px;
            position: relative;
            padding-left: 10px;
        }
        
        .description-content li::before {
            content: '▸';
            position: absolute;
            left: -15px;
            color: #1e6091;
            font-weight: bold;
        }
        
        /* 사이드바 스타일 개선 */
        .sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }
        
        .sidebar-card {
            background-color: #fff;
            border-radius: 16px;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
            padding: 25px;
            margin-bottom: 20px;
        }
        
        .sidebar-title {
            font-size: 18px;
            color: #333;
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        /* CTA 버튼 스타일 개선 */
        .cta-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
        }
        
        .btn {
            padding: 14px 24px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-align: center;
        }
        
        .btn-primary {
            background-color: #1e6091;
            color: white;
            box-shadow: 0 4px 14px rgba(30, 96, 145, 0.25);
        }
        
        .btn-primary:hover {
            background-color: #174d77;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(30, 96, 145, 0.35);
        }
        
        .btn-secondary {
            background-color: transparent;
            border: 2px solid #e0e0e0;
            color: #666;
        }
        
        .btn-secondary:hover {
            border-color: #1e6091;
            color: #1e6091;
            background-color: #f8f9fb;
        }
        
        .btn-secondary.saved {
            border-color: #ffc045;
            color: #ffa500;
            background-color: #fff9e6;
        }
        
        /* 공고 정보 스타일 개선 */
        .job-info-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .job-info-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f0f2f5;
        }
        
        .job-info-item:last-child {
            border-bottom: none;
        }
        
        .job-info-label {
            color: #666;
            font-size: 14px;
        }
        
        .job-info-value {
            color: #333;
            font-weight: 600;
            font-size: 14px;
        }
        
        /* 연락처 정보 섹션 */
        .contact-section {
            background-color: #f8f9fb;
            padding: 20px;
            border-radius: 12px;
            margin-top: 20px;
        }
        
        .contact-info-grid {
            display: grid;
            gap: 15px;
        }
        
        .contact-info-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .contact-info-item .icon {
            color: #1e6091;
            font-size: 18px;
            width: 24px;
            text-align: center;
        }
        
        .contact-info-value {
            flex: 1;
            color: #333;
        }
        
        .contact-info-value a {
            color: #1e6091;
            text-decoration: none;
        }
        
        .contact-info-value a:hover {
            text-decoration: underline;
        }

        /* 로그아웃이면 연락처 대신(2026-11-03 · 공고 상세 공개 전환 — 화면에서만 가린다) */
        .jd-contact-login { margin: 0; font-size: 14px; line-height: 1.5; color: #555; }
        .jd-contact-login a { color: #1e6091; font-weight: 600; text-decoration: none; white-space: nowrap; }
        .jd-contact-login a:hover, .jd-contact-login a:focus-visible { text-decoration: underline; }
        
        /* 지원 방법 */
        .application-methods {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 10px;
        }
        
        .method-badge {
            background-color: #e3f2fd;
            color: #1e6091;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 14px;
        }
        
        /* 공유 버튼 스타일 개선 */
        .share-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        
        .share-btn {
            padding: 10px;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            background-color: #fff;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }
        
        .share-btn:hover {
            border-color: #1e6091;
            background-color: #f8f9fb;
        }
        
        /* 근무 환경 이미지 갤러리 */
        .workplace-images-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        
        .workplace-image-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            aspect-ratio: 4/3;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .workplace-image-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        
        .workplace-image-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* 이미지 라이트박스 모달 */
        .lightbox-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }
        
        .lightbox-modal.active {
            display: flex;
        }
        
        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }
        
        .lightbox-content img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
            border-radius: 8px;
        }
        
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: white;
            color: #333;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            transition: all 0.3s;
        }
        
        .lightbox-close:hover {
            background: #f0f0f0;
            transform: rotate(90deg);
        }
        
        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            color: #333;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            transition: all 0.3s;
        }
        
        .lightbox-nav:hover {
            background: #f0f0f0;
            transform: translateY(-50%) scale(1.1);
        }
        
        .lightbox-prev {
            left: 20px;
        }
        
        .lightbox-next {
            right: 20px;
        }
        
        .lightbox-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.9);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            color: #333;
        }
        
        /* 공유 버튼 */
        .share-buttons-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 15px;
        }
        
        .share-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            padding: 15px 10px;
            border: 2px solid #e9ecef;
            background: white;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            font-weight: 500;
        }
        
        .share-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .share-button.kakao:hover {
            border-color: #FEE500;
            background: #FEE500;
            color: #3C1E1E;
        }
        
        .share-button.facebook:hover {
            border-color: #1877f2;
            background: #1877f2;
            color: white;
        }
        
        .share-button.twitter:hover {
            border-color: #1DA1F2;
            background: #1DA1F2;
            color: white;
        }
        
        .share-button.link:hover {
            border-color: #1e6091;
            background: #1e6091;
            color: white;
        }
        
        .share-icon {
            font-size: 28px;
        }
        
        /* 회사 정보 카드 개선 */
        .company-info-card {
            background-color: #f8f9fb;
            border-radius: 12px;
            padding: 20px;
            margin-top: 15px;
        }
        
        .company-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 15px;
        }
        
        .company-stat {
            text-align: center;
        }
        
        .company-stat-value {
            font-size: 18px;
            font-weight: 700;
            color: #1e6091;
        }
        
        .company-stat-label {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }
        
        /* 유사 공고 스타일 개선 */
        .similar-job-card {
            padding: 20px;
            border: 1px solid #e8ecf1;
            border-radius: 12px;
            margin-bottom: 15px;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .similar-job-card:hover {
            border-color: #1e6091;
            box-shadow: 0 4px 12px rgba(30, 96, 145, 0.1);
        }
        
        .similar-job-card h4 {
            font-size: 16px;
            margin-bottom: 8px;
        }
        
        .similar-job-card h4 a {
            color: #333;
            text-decoration: none;
        }
        
        .similar-job-card h4 a:hover {
            color: #1e6091;
        }
        
        .similar-job-company {
            font-size: 14px;
            color: #666;
            margin-bottom: 10px;
        }
        
        .similar-job-meta {
            display: flex;
            gap: 15px;
            font-size: 13px;
            color: #999;
        }
        
        /* 알림 메시지 스타일 개선 */
        .alert {
            padding: 16px 20px;
            margin-bottom: 20px;
            border-radius: 12px;
            border: 1px solid;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .alert-success {
            background-color: #e6f7e9;
            color: #27ae60;
            border-color: #27ae60;
        }

        .alert-info {
            background-color: #e3f2fd;
            color: #2196f3;
            border-color: #2196f3;
        }

        .alert-warning {
            background-color: #fff3cd;
            color: #f39c12;
            border-color: #f39c12;
        }

        .alert-error {
            background-color: #ffebee;
            color: #e74c3c;
            border-color: #e74c3c;
        }
        
        /* 로딩 상태 개선 */
        .loading-indicator {
            display: none;
            text-align: center;
            padding: 60px 20px;
        }

        .loading-indicator .spinner {
            display: inline-block;
            width: 50px;
            height: 50px;
            border: 4px solid rgba(30, 96, 145, 0.1);
            border-radius: 50%;
            border-top-color: #1e6091;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Skeleton 로딩 개선 */
        @keyframes shimmer {
            0% { background-position: -1000px 0; }
            100% { background-position: 1000px 0; }
        }
        
        .loading-indicator.skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 1000px 100%;
            animation: shimmer 2s infinite;
            height: 400px;
            border-radius: 12px;
        }
        
        .loading-text {
            margin-top: 20px;
            color: #666;
            font-size: 16px;
        }
        
        /* 모바일 플로팅 액션 버튼 */
        .mobile-floating-actions {
            display: none;
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background-color: #fff;
            padding: 15px;
            border-radius: 16px;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
            z-index: 999;
        }
        
        .mobile-actions-content {
            display: flex;
            gap: 10px;
        }
        
        .mobile-actions-content .btn {
            flex: 1;
            padding: 12px;
            font-size: 14px;
        }@media (max-width: 992px) {
            .job-content {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                position: relative;
                top: 0;
            }
            
            .key-info-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }@media (max-width: 768px) {
            .job-container {
                margin-top: 80px;
                padding: 0 15px;
            }
            
            .job-hero {
                padding: 30px 20px;
                margin-bottom: 20px;
            }
            
            .job-hero-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .company-logo-hero {
                width: 60px;
                height: 60px;
            }
            
            .job-hero-info h1 {
                font-size: 22px;
            }
            
            .job-hero-company {
                font-size: 15px;
            }
            
            .job-hero-highlight {
                margin: 15px 0;
                gap: 10px;
            }
            
            .salary-badge {
                padding: 8px 16px;
                font-size: 16px;
            }
            
            .job-hero-highlight .job-type-badge {
                padding: 8px 14px;
                font-size: 14px;
            }
            
            .job-hero-meta {
                gap: 12px;
            }
            
            .hero-meta-item {
                font-size: 14px;
            }
            
            .content-card {
                padding: 20px;
                border-radius: 12px;
            }
            
            .card-title {
                font-size: 18px;
            }
            
            .key-info-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .key-info-item {
                padding: 15px;
            }
            
            .key-info-value {
                font-size: 16px;
            }
            
            .company-stats {
                grid-template-columns: repeat(2, 1fr);
            }
            
            /* 모바일 플로팅 버튼 표시 */
            .mobile-floating-actions {
                display: block;
            }
            
            /* 🔴 CTA 숨김 — 하단 고정 바가 그 역할을 한다.
               Stage 3-2 에서 #sidebar-actions 를 히어로 안으로 옮겼으므로
               .sidebar 하위 선택자로는 더 이상 잡히지 않는다. */
            .sidebar .cta-buttons,
            .jd-hero__acts {
                display: none;
            }
        }@media (max-width: 576px) {
            
            .job-hero {
                padding: 25px 15px;
            }
            
            .job-hero-info h1 {
                font-size: 20px;
            }
            
            #notification-container {
                flex-shrink: 0;
            }
            
            .share-buttons {
                grid-template-columns: 1fr;
            }
        }

        /* Font Awesome 대체 아이콘 */
        .icon {
            font-family: sans-serif;
            display: inline-block;
            width: 1em;
            text-align: center;
        }

/* ── Stage 3-1 신규 ───────────────────────────────────────────────
   본문 래퍼와 빵부스러기. company.html 의 .cmp / .cmp-crumb 와 같은 값을 쓴다. */
.jd {
  background: var(--page-bg);
  min-height: 100vh;
}

/* 옛 인라인 규칙의 margin-top:100px 대신 헤더 높이(62px)를 래퍼가 갖는다 */
.jd .job-container {
  margin: 0 auto;
  padding: 78px 20px 60px;
}

.jd-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-subtle);
}
.jd-crumb a {
  color: var(--text-subtle);
  text-decoration: none;
}
.jd-crumb a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.jd-crumb__sep { color: var(--border); }
.jd-crumb__now {
  color: var(--text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46ch;
}

@media (max-width: 576px) {
  .jd .job-container { padding: 70px 16px 40px; }
  .jd-crumb { font-size: 12px; margin-bottom: 14px; }
  .jd-crumb__now { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════
   Stage 3-2 — 히어로
   옛 .job-hero(파란 그라데이션)를 대체한다. 목업에 맞춘 흰 카드다.
   1-G ② 의 "히어로가 파란 배경이라 기업 링크를 색 대신 밑줄로 구분한다"
   는 제약이 여기서 풀린다 — 링크를 브랜드 색으로 되돌릴 수 있다.
   ══════════════════════════════════════════════════════════════════ */
.jd-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
}

/* 유료 배지 — 값이 없으면 [hidden] 으로 행째 사라진다 */
.jd-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.jd-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.jd-badge--urgent   { background: #fdecea; color: #b3261e; }
.jd-badge--verified { background: #fff4d6; color: #8a5a00; }
.jd-badge--site     { background: #eaf3fb; color: #1e6091; }   /* 현장 방문 확인(미결 234 · 2026-11-16) — 카드 --site-* 와 같은 색 */
.jd-badge--biz      { background: #eef7ef; color: #2d6a3a; }   /* 검증된 기업(미결 236 ② · 2026-11-18 밤) */
/* 현장 방문 확인 설명 줄(미결 234) — 배지 줄 바로 밑 · 작게 */
.jd-site-note {
  margin: -4px 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #4b5563;
}

.jd-hero__top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* 대표 이미지 한 자리 — 사진 / 로고 / 이니셜이 같은 자리를 쓴다.
   🔴 200x150 인 이유는 실측이다. DB 의 사진이 392x323 / 525x408 / 600x600
      뿐이라 1200px 전폭 커버로 쓰면 2~3배 확대가 된다. 이 크기면 축소다.
   🔲 큰 사진이 올라오기 시작하면 여기에 "가로 N px 이상이면 전폭 승격"
      규칙을 얹는다(임계값 미정). */
.jd-hero__media {
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  background: var(--logo-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jd-hero__media--photo { width: 200px; height: 150px; }
.jd-hero__media--logo  { width: 96px;  height: 96px; padding: 8px; }
.jd-hero__media--initial {
  width: 54px;
  height: 54px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .5px;
}
.jd-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jd-hero__media--logo img { object-fit: contain; }

/* 🔴 6️⃣-a ④ — 사진과 로고가 «둘 다» 있을 때 (2026-09-21 검수 지적)
   전에는 히어로가 `사진 || 로고` 라 **사진이 있으면 로고가 영영 안 떴다.**
   🔵 우선순위는 그대로 두고 로고를 «사진 위 작은 배지»로 얹는다.
   ⚠️ 실측 — `images.logo` 는 캐시 355건 중 **0건**이다. 데이터가 생기면 보인다. */
.jd-hero__media--photo { position: relative; }
.jd-hero__logomark {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.jd-hero__logomark img { width: 100%; height: 100%; object-fit: contain; display: block; }

.jd-hero__id { min-width: 0; flex: 1; }

.jd-hero__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 6px;
  word-break: keep-all;
}
/* 가져온 공고 꼬리표(2026-11-27 · 결정 1) — 회사 줄 위 옅은 한 줄 */
.jd-ext {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text-muted);
}
.jd-hero__company {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.jd-hero__loc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.jd-hero__loc-sep { color: var(--border); }
.jd-hero__maplink { color: var(--brand); text-decoration: none; }
.jd-hero__maplink:hover { text-decoration: underline; }

/* 메타 행 — 🔴 grid 가 아니라 flex 다.
   grid 로 두면 칸이 비었을 때 남은 칸이 늘어나 허전해 보인다. */
.jd-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  padding: 16px 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.jd-meta__k { font-size: 12px; color: var(--text-subtle); margin-bottom: 3px; }
.jd-meta__v { font-size: 15px; font-weight: 600; color: var(--text); }
.jd-meta__sub { font-size: 12px; color: var(--text-subtle); margin-top: 2px; }

/* 태그 칩 — 0개면 [hidden] 으로 행째 사라진다 */
.jd-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.jd-chip {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--tag-bg);
  color: var(--tag-text);
}
.jd-chip--wh       { background: var(--brand-tint); color: var(--brand); }
.jd-chip--sponsor  { background: #efe9fb; color: #5b3fa8; }
.jd-chip--beginner { background: var(--new-bg); color: var(--new-text); }

/* 🔴 .cta-buttons 는 옛 사이드바용이라 flex-direction:column 이다.
   같은 요소에 두 클래스가 붙으므로 여기서 row 를 명시하지 않으면 세로로 쌓인다. */
.jd-hero__acts {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 0;
}
.jd-hero__acts .btn { flex: 1; }
.jd-hero__acts .btn-secondary { flex: 0 0 auto; padding-left: 18px; padding-right: 18px; }

/* 만료 — 배너는 카드 밖에 두고, 카드는 톤을 낮춰 배너와 연결한다 */
.jd-hero.is-expired { opacity: .92; }
.jd-hero.is-expired .jd-hero__title { color: var(--text-muted); }

@media (max-width: 768px) {
  .jd-hero { padding: 16px; border-radius: 10px; }
  .jd-hero__top { gap: 12px; }
  .jd-hero__title { font-size: 19px; }
  .jd-hero__meta { gap: 12px 24px; padding: 14px 0; margin-top: 14px; }
}

/* 모바일은 사진을 전폭으로. 375px 는 원본(392px)보다 좁아 확대가 아니라 축소다. */
@media (max-width: 576px) {
  .jd-hero__top { flex-direction: column; }
  .jd-hero__media--photo { width: 100%; height: 160px; }
  .jd-hero__media--logo { width: 64px; height: 64px; }
  /* 🔵 사진이 전폭이 되어도 배지는 같은 자리(오른쪽 아래)에 조금 작게 */
  .jd-hero__logomark { width: 34px; height: 34px; }
  .jd-hero__title { font-size: 18px; }
  .jd-hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }
  .jd-meta__v { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════════
   Stage 3-C — 공통 렌더 토대
   renderFactList / renderPerkGrid 가 만드는 마크업의 짝이다.
   섹션 12개가 전부 이 두 벌만 쓴다.
   ══════════════════════════════════════════════════════════════════ */

/* 라벨-값 목록 — 🔴 괘선을 쓰지 않는다.
   .jd-cond 는 행마다 border-bottom 이 있어 **행이 1개만 남으면 어색하다**.
   정렬만 남기면 1행이든 11행이든 같은 모양이 된다.
   ✅ 3C-5 에서 .jd-cond 를 걷어내고 근무 조건도 이 클래스로 갈아탔다. */
.jd-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px 24px;
  margin: 0;
}
.jd-facts__row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}
.jd-facts__k {
  flex: 0 0 104px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-subtle);
  margin: 0;
}
.jd-facts__v {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  word-break: break-word;
}
/* 조건부 상세 — 값 아래 작은 글씨. 없으면 이 줄 자체가 없다 */
.jd-facts__cond {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-subtle);
  margin-top: 2px;
}

/* 공유 버튼 마크 — 🔴 **공식 로고가 아니다.** 브랜드 컬러를 맞춘 단색 심볼이다.
   공식 SVG 경로를 기억으로 재현하면 미묘하게 틀리고, 틀린 로고는 문자 'F'·'X'
   보다 나쁘다. 나중에 공식 에셋으로 갈아끼울 수 있게 마크업은 한곳에 모아 두었다.
   ⚠️ 단색이라 서로 비슷해 보이지 않게 **브랜드 컬러를 각자 다르게** 준다 —
      X 검정 / Facebook 파랑 / LinkedIn 짙은 파랑 / LINE 초록. 형태도 다르다. */
.share-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  flex: none;
}
.share-mark--x    { background: #000000; }
.share-mark--fb   { background: #1877F2; font-size: 17px; }
.share-mark--li   { background: #0A66C2; font-size: 12px; }
.share-mark--line { background: #06C755; }
.share-mark--plain { background: var(--tag-bg); color: var(--text-subtle); }

/* 6개가 2열 3행으로 들어간다. 레일 폭(320px)에서 한 칸이 약 140px 다 */
.share-button { font-size: 12.5px; }

/* 채용 절차 — 가로 단계 표시.
   🔴 flex-wrap 이 필수다. 6단계가 넘어가면 1280px 본문(750px)에서도 좁아진다.
      줄바꿈되면 화살표가 줄 끝에 남지 않도록 화살표를 li 안에 넣지 않는다 —
      ::after 로 붙여 마지막 항목에서만 뺀다. */
.jd-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jd-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text);
}
.jd-step__n {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.jd-step:not(:last-child)::after {
  content: '→';
  color: var(--border);
  margin-left: 4px;
}

/* 같은 회사의 다른 공고 — 레일. 카드 안 링크 목록이다 */
.jd-sc {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.jd-sc:first-child { border-top: none; padding-top: 0; }
.jd-sc:hover .jd-sc__t,
.jd-sc:focus-visible .jd-sc__t { text-decoration: underline; }
.jd-sc__t { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.45; }
.jd-sc__m { display: block; font-size: 12px; color: var(--text-subtle); margin-top: 2px; }

/* 신고 버튼 — 자리만. FLAGS 가 false 인 동안 카드째 접힌다 */
.jd-report-btn {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-subtle);
  font-size: 13px;
  cursor: pointer;
}
.jd-report-btn:hover { border-color: var(--dday-urgent); color: var(--dday-urgent); }

/* 우대 사항 — 🔴 자격 요건과 시각적으로 갈라야 한다.
   둘 다 텍스트 불릿 카드라 연달아 놓으면 "필수"와 "있으면 좋은 것"의
   경계가 흐려진다. 제목만으로는 부족하다 — 스크롤하며 읽는 사람은
   제목을 건너뛴다. 연한 브랜드 톤 블록으로 감싸 한눈에 갈라 놓는다. */
.jd-pref {
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-border);
  border-radius: 10px;
  padding: 14px 18px;
}
.jd-pref ul { margin: 0; padding-left: 20px; }
.jd-pref li { font-size: 14.5px; line-height: 1.75; color: var(--text); }
.jd-pref p  { font-size: 14.5px; line-height: 1.75; color: var(--text); margin: 0; }

/* 복지 아이콘 그리드 — 열 수는 JS 가 --jd-perk-cols 로 준다.
   🔴 grid 가 **행 단위로 높이를 맞춘다.** 조건 텍스트가 있는 칸과 없는 칸이
      같은 행에서 어긋나지 않는 이유가 이것이다. 칸 안은 flex-column 이라
      아이콘·이름·조건이 위에서부터 쌓이고 남는 아래가 빈다. */
.jd-perks {
  display: grid;
  grid-template-columns: repeat(var(--jd-perk-cols, 4), minmax(0, 1fr));
  gap: 8px;
}
.jd-perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-height: 74px;
  padding: 12px 9px;
  border-radius: 10px;
  background: var(--tag-bg);
}
.jd-perk__ic { font-size: 17px; line-height: 1; }
.jd-perk__nm { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.35; }
.jd-perk__cd { font-size: 11px; color: var(--text-subtle); line-height: 1.4; word-break: break-word; }

/* 그리드 아래 자유 텍스트(benefits.{ko,en,ja}) — "기타" perk 를 만들지 않고
   같은 카드에 붙인다. 그리드가 없으면 구분선도 없다. */
.jd-perks + .jd-freetext {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.jd-freetext { font-size: 14px; line-height: 1.7; color: var(--text); margin: 0; }
.jd-freetext p  { margin: 0; white-space: pre-line; }
.jd-freetext ul { margin: 0; padding-left: 20px; }
.jd-freetext li { line-height: 1.75; }

@media (max-width: 576px) {
  /* 모바일은 항목 수와 무관하게 3열 — 4열은 375px 에서 글자가 두 자씩 끊긴다 */
  .jd-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jd-facts { grid-template-columns: 1fr; gap: 9px 0; }
  .jd-facts__k { flex-basis: 92px; font-size: 12.5px; }
  .jd-facts__v { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════════
   Stage 3-C 마감 — 모바일 여백 · 캐러셀 · 인쇄
   ══════════════════════════════════════════════════════════════════ */

/* 🔴 모바일 여백만 줄인다. 데스크톱은 건드리지 않는다.
   375px 실측에서 카드 하나가 padding 30px×2 + margin 20px = 80px 를
   내용과 별개로 쓴다. 섹션이 12개면 그것만 960px 다.
   → padding 18px · margin 14px 로 카드당 44px 를 아낀다. */
@media (max-width: 576px) {
  .content-card { padding: 18px 16px; margin-bottom: 14px; border-radius: 12px; }
  .sidebar-card { padding: 18px 16px; margin-bottom: 14px; }
  .card-title   { font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; }
}

/* 유사 일자리 — 모바일에서 가로 스크롤 캐러셀.
   🔴 세로로 쌓으면 3장이 856px 다(375px 실측). 가로로 눕히면 한 장 높이로 끝난다.
   ⚠️ 가로 스크롤은 **이 컨테이너 안**에서만 일어난다. 페이지 본문이 옆으로
      밀리면 안 되므로 부모에 min-width:0 을 준다(grid 자식의 기본 min-width
      는 auto 라, 넣지 않으면 컨테이너가 내용 폭만큼 부풀어 페이지를 밀어낸다). */
.jd-similar { min-width: 0; }
@media (max-width: 576px) {
  .jd-similar .job-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 0 -16px;          /* 카드 패딩 밖으로 흘려 "더 있다" 를 보여준다 */
    padding-left: 16px;
    padding-right: 16px;
  }
  .jd-similar .job-list > * { scroll-snap-align: start; min-width: 0; }
}

/* ══ 인쇄 ══════════════════════════════════════════════════════════
   구직자가 면접 갈 때 출력하거나 PDF 로 저장한다.
   🔴 남기는 것: 히어로 + 본문 12섹션. 나머지는 종이에서 쓸모가 없다.
   ⚠️ 지도 iframe 은 인쇄하면 빈 상자나 깨진 박스가 된다 → 숨기고
      주소 표만 남긴다(주소는 표에 그대로 있다). */
@media print {
  .wjh-hdr,
  footer,
  .jd-crumb,
  .sidebar,
  .jd-cta,
  .jd-similar,
  .jd-hero__acts,
  .mobile-floating-actions,
  .jd-place__map,
  .jd-place__ext,
  .jd-map-link,
  #loading-indicator,
  #lightbox-modal        { display: none !important; }

  body            { background: #fff; }
  .job-container  { margin: 0; padding: 0; max-width: none; }
  .job-content    { display: block; }
  .job-main       { width: auto; }

  .jd-hero,
  .content-card {
    box-shadow: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 10px;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .content-card:hover { transform: none; box-shadow: none; }
  .card-title { font-size: 15px; margin-bottom: 10px; padding-bottom: 6px; }

  /* 링크 뒤에 URL 을 붙이지 않는다 — 본문이 지저분해진다 */
  a[href]::after { content: none !important; }
  a { color: inherit; text-decoration: none; }

  /* 만료 배너는 남긴다. 종이에 남는 정보 중 가장 중요한 축이다 */
  .jd-expired { border: 1px solid #999; }
}

/* 🔴 파일 끝에 둔다 — 앞쪽 @media(768px) 의 .jd-hero__acts 숨김이
   뒤에 오는 .jd-hero__acts{display:flex} 에 밀린다(같은 특이도, 나중이 이김).
   모바일에서는 하단 고정 바(.mobile-floating-actions)가 CTA 를 맡는다.
   숨기지 않으면 버튼 두 개가 375px 를 넘어 문서 폭이 늘어나고,
   position:fixed 인 헤더까지 따라 늘어나 가로 스크롤이 생긴다(실측 64px). */
@media (max-width: 768px) {
  .jd-hero__acts { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   Stage 3-3 — 본문 섹션
   옛 "핵심 정보" 그리드(.key-info-grid)를 없앴다. 급여·고용형태·경력·
   근무위치가 히어로와 그대로 겹쳤기 때문이다. 남은 항목은 근무 조건
   정의 목록으로 흡수했고, 하위 항목은 값 유무로 각자 접힌다.
   ══════════════════════════════════════════════════════════════════ */
/* .jd-cond 는 3C-5 에서 .jd-facts 로 갈아타며 제거했다(괘선 없는 dt-dd) */

/* 근무 위치 — 3-C 에서 레일에서 본문 2번으로 옮겼다.
   🔴 주소 표(좌) + 지도(우) 2열. 세로로 쌓으면 390px, 2열이면 240px 다.
      업무 내용(135px) 바로 다음에 오므로 세로면 주객이 전도된다.
   ⚠️ 900px 미만에서는 1열로 풀린다 — 그 폭에서 2열이면 지도가 너무 좁다. */
.jd-place {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.jd-place__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* 🔴 align-items:flex-start 를 부모에 주면 안 된다 — 표까지 내용 폭으로 줄어들어
   .jd-facts 의 auto-fit 이 1열로 계산된다. 링크만 개별로 왼쪽에 붙인다. */
.jd-place__info > .jd-place__ext { align-self: flex-start; }
@media (min-width: 900px) {
  .jd-place { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 20px; }
  /* 지도가 접히면 표가 전폭을 쓴다 — 빈 오른쪽 칸을 남기지 않는다(가짜 좌표 128건) */
  .jd-place--nomap { grid-template-columns: 1fr; }
}
.jd-place__map {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

@media (max-width: 576px) {
}

/* ══════════════════════════════════════════════════════════════════
   Stage 3-4 — 우측 레일 (기업 정보 / 근무 위치 / 지원 정보)
   본문에 있던 세 카드를 레일로 옮겼다. 각 카드는 값이 없으면 통째로
   접히고, 하위 항목도 각자 접힌다.
   ══════════════════════════════════════════════════════════════════ */
.jd-cmp__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.jd-cmp__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex: none;
  overflow: hidden;
  background: var(--logo-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jd-cmp__logo img { width: 100%; height: 100%; object-fit: contain; }
.jd-cmp__logo--initial {
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.jd-cmp__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
  word-break: break-word;
}
.jd-cmp__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.jd-cmp__facts { margin: 0; }
.jd-cmp__fact {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.jd-cmp__fact dt { flex: 0 0 74px; font-size: 12.5px; color: var(--text-subtle); margin: 0; }
.jd-cmp__fact dd { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text); margin: 0; }

.jd-cmp__links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.jd-cmp__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--brand);
  text-decoration: none;
}
.jd-cmp__link:hover { text-decoration: underline; }

/* 지원 정보 */
.jd-apply__block { margin-bottom: 16px; }
.jd-apply__block:last-child { margin-bottom: 0; }
.jd-apply__h {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-subtle);
  margin: 0 0 8px;
}
.jd-apply__block p { font-size: 13.5px; line-height: 1.65; color: var(--text); margin: 0; }

/* 레일 안에서는 지도가 작다 — 본문 폭(1200px)이 아니라 320px 칸이다 */

/* ══════════════════════════════════════════════════════════════════
   Stage 3-5 — 하단 CTA · 비슷한 일자리
   비슷한 일자리를 .job-content **밖으로** 뺐다. 안에 두면 .job-main 의
   마지막 카드라 모바일에서 우측 레일 전체가 그 아래로 내려간다 —
   지원 방법이 화면 맨 아래로 밀렸다.
   ══════════════════════════════════════════════════════════════════ */
.jd-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-border);
  border-radius: 12px;
  padding: 22px 26px;
  margin-top: 24px;
}
.jd-cta__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 4px;
}
.jd-cta__body { font-size: 14px; color: var(--text-muted); margin: 0; }
.jd-cta__btn {
  flex: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-end) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.jd-cta__btn:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-end) 100%);
}

.jd-similar { margin-top: 28px; }
.jd-similar__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
}

@media (max-width: 768px) {
  .jd-cta { padding: 18px; gap: 14px; }
  .jd-cta__title { font-size: 15px; }
  .jd-cta__btn { width: 100%; padding: 13px 20px; }
  /* 하단 고정 바(.mobile-floating-actions)에 가리지 않도록 여백을 준다 */
  .jd-similar { margin-bottom: 96px; }
}

/* ══════════════════════════════════════════════════════════════════
   Stage 3-6 — 지도 iframe
   Maps JS API 를 걷어내고 embed iframe 으로 바꿨다(company.html 과 같다).
   JS API 는 로드 자체가 과금 단위라, 지도를 접는 126건에서도 비용이 났다.
   ══════════════════════════════════════════════════════════════════ */
.jd-place__map { padding: 0; border: none; height: auto; }
.jd-place__frame {
  display: block;
  width: 100%;
  /* 3-C: 200 → 180px. 2열로 눕히면서 표 높이(약 130px)와 균형을 맞춘다 */
  height: 180px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.jd-place__ext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--brand);
  text-decoration: none;
}
.jd-place__ext:hover { text-decoration: underline; }

@media (max-width: 576px) {
  /* 3-C: 모바일은 지도가 본문 위쪽으로 올라오므로 더 줄인다(220 → 150px).
     섹션 전체가 387 → 약 300px 이 되어 스크롤 부담이 오히려 준다 */
  .jd-place__frame { height: 150px; }
}

/* 원문 안내 한 줄 — 지금 보는 언어가 아닌 원문을 보고 있다는 표시(7️⃣-b A안 ② · 2026-10-18).
   기업 페이지 .cmp-origin(css/company.css)과 같은 꼴 — 이 쪽은 company.css 를 안 실어 따로 둔다. */
.jd-origin {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f4f6f8;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-subtle);
}
.jd-origin__ico { flex: none; }

/* 🔴 [hidden] 은 UA 스타일시트의 display:none 인데 특이도가 0,0,1 이라
   .jd-cmp__link{display:inline-flex} 같은 클래스 규칙에 진다.
   이 페이지는 접기를 hidden 속성으로 하므로 반드시 복원한다.
   실측: company-website / company-page-link / jd-badges 가 hidden=true 인데
   display:flex 로 화면에 그대로 보였다(Stage 3-2 의 배지 행도 같은 상태였다 —
   배지 자체는 span 이라 숨겨져 빈 행만 남아 눈에 띄지 않았다).
   ⚠️ 파일 끝에 둔다. 앞에 두면 뒤에 오는 규칙에 다시 밀린다. */
[hidden] { display: none !important; }

/* 공고 신고 창(미결 236 ① 13-8 · 2026-11-18 · js/job-report.js) — 화면 가운데 · 휴대폰 375 에서 아래쪽 꽉 차게 */
.jrep { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.jrep__dim { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.jrep__box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); color: var(--text); border-radius: 14px; padding: 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, .2); }
.jrep__title { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.jrep__set { border: 0; margin: 0; padding: 0; }
.jrep__set legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.jrep__opt { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; font-size: 14px; cursor: pointer; }
.jrep__opt input { margin-top: 3px; flex: none; }
.jrep__label { display: block; margin: 10px 0 4px; font-size: 13px; font-weight: 600; }
.jrep__text { width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font: inherit; resize: vertical; }
.jrep__msg { margin: 10px 0 0; font-size: 13.5px; }
.jrep__msg--ok { color: var(--new-text); }
.jrep__msg--warn { color: var(--dday-urgent); }
.jrep__actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 14px; }
.jrep__btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.jrep__btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.jrep__btn[disabled] { opacity: .55; cursor: not-allowed; }
@media (max-width: 600px) { .jrep { align-items: flex-end; padding: 0; } .jrep__box { max-width: none; border-radius: 14px 14px 0 0; } .jrep__actions .jrep__btn { flex: 1 1 auto; } }
