@charset "utf-8";

/* ================================================================
 * sign114 구인구직 최신글 위젯 (hh.latest.sign114job)
 * hh.latest.requit 디자인 기반 · sign114-rc-card 스타일 내재화
 * ================================================================ */

/* 래퍼 */
.s114job-widget {}
.s114job-wrap {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}
.s114job-wrap dd {
    position: relative;
}
.s114job-wrap dd:last-child {
    margin-bottom: 0;
}

/* 카드 */
.s114job-card {
    display: block;
    position: relative;
    background-color: #f6f9fe;
    border: 1px solid #e7edf6;
    border-radius: 12px;
    padding: 20px 20px 52px;
    min-height: 140px;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
}
.s114job-card:hover {
    border-color: #c0d0ef;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

/* NEW 배지 */
.s114job-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
}
.s114job-badge--new {
    background: #e8f0fe;
    color: #2563eb;
}

/* 업체명 / 닉네임 */
.s114job-card__company {
    font-size: 13px;
    color: #777;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 제목 */
.s114job-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
    min-height: 44px;
}

/* 지역 (하단 고정) */
.s114job-card__loc {
    position: absolute;
    left: 20px;
    bottom: 52px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 12px;
    font-weight: 500;
}
.s114job-card__loc svg {
    flex: 0 0 auto;
    display: block;
}
.s114job-card__loc span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

/* 급여 / 고용형태 (카드 하단) */
.s114job-card__salary {
    position: absolute;
    left: 20px;
    bottom: 18px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* 고용형태 타입 뱃지 */
.s114job-type {
    font-size: 11px;
    font-weight: 700;
    background: transparent;
    padding: 2px 0;
    white-space: nowrap;
}

/* 급여 유형 (시급·월급 등) */
.s114job-stype {
    font-size: 11px;
    color: #555;
    background: #eee;
    border-radius: 20px;
    padding: 2px 8px;
    white-space: nowrap;
}

/* 급여 금액 */
.s114job-amount {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

/* 지역 있을 때 급여 내려가도록 여백 조정 */
.s114job-card:has(.s114job-card__loc) {
    padding-bottom: 76px;
}
.s114job-card:has(.s114job-card__loc) .s114job-card__salary {
    bottom: 18px;
}
.s114job-card:has(.s114job-card__loc) .s114job-card__loc {
    bottom: 42px;
}

/* ── Swiper 슬라이드 패딩 ── */
.s114job-wrap .swiper-slide {
    height: auto;
}

/* ── 모바일 반응형 ── */
@media (max-width: 767px) {
    .s114job-card {
        padding: 16px 16px 56px;
        min-height: 120px;
    }
    .s114job-card__title {
        font-size: 15px;
        min-height: 40px;
    }
    .s114job-card__loc {
        left: 16px;
        bottom: 42px;
    }
    .s114job-card__salary {
        left: 16px;
        bottom: 14px;
    }
    .s114job-card:has(.s114job-card__loc) .s114job-card__loc {
        bottom: 40px;
    }
    .s114job-card:has(.s114job-card__loc) .s114job-card__salary {
        bottom: 14px;
    }
    .add_module_wrap { display: none; }
}
