/* ─── v4 카드 (새 디자인) ─── */
.v4-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: stretch;
}
.v4-grid > .v4-card {
    justify-content: space-between;
}
@media (max-width: 768px) {
    .v4-grid { grid-template-columns: 1fr; background: #F8FAFC; padding: 10px; border-radius: 10px; }
}
.v4-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    border-left: 2px solid #93C5FD;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.v4-card:hover {
    border-color: #93C5FD;
    border-left-color: #3B82F6;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    transform: translateY(-1px);
}
.v4-card--parsed { border-left-color: #CBD5E1; }
.v4-card--parsed:hover { border-left-color: #94A3B8; }
.v4-card--premium { border: 1.5px solid rgba(59,130,246,.35); background: linear-gradient(135deg, #F8FBFF 0%, #EFF6FF 100%); box-shadow: 0 2px 8px rgba(59,130,246,.1); border-left: 2px solid #3B82F6; }
.v4-card--premium:hover { border-color: #3B82F6; box-shadow: 0 4px 16px rgba(59,130,246,.18); }
.v4-card--recruited { position: relative; overflow: hidden; }
.v4-card--recruited::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.62); z-index: 1; pointer-events: none; border-radius: inherit; }
[data-theme="dark"] .v4-card--recruited::before { background: rgba(15,23,42,0.6); }
.v4-card--recruited::after { content: '구인완료'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #10B981; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0.08em; padding: 8px 22px; border-radius: 30px; z-index: 2; pointer-events: none; white-space: nowrap; box-shadow: 0 2px 12px rgba(16,185,129,0.35); }
.v4-card__header { display: flex; align-items: center; gap: 4px; }
.v4-stats { margin-left: auto; display: flex; gap: 6px; font-size: 10px; color: #CBD5E1; }
.v4-stats span { display: flex; align-items: center; gap: 2px; }
.v4-badge-trade { display: inline-flex; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; background: #EFF6FF; color: #2563EB; }
.v4-badge-direct { display: inline-flex; padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 700; background: #F0FDF4; color: #16A34A; }
.v4-card__title { font-size: 14.5px; font-weight: 700; color: #1E293B; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v4-title--short { display: none; }
.v4-info-row { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #64748B; }
.v4-info-row i { font-size: 10px; color: #94A3B8; }
.v4-conditions { font-size: 12.5px; color: #6B7280; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.v4-card__wage { padding-top: 6px; border-top: 1px solid #F1F5F9; }
.v4-wage-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.v4-wage-amount { font-size: 16px; font-weight: 800; color: #2563EB; letter-spacing: -0.3px; }
.v4-wage-unit { font-size: 12px; font-weight: 500; color: #94A3B8; }
.v4-wage-sub { font-size: 11px; color: #94A3B8; }
.v4-wage-sub strong { color: #64748B; font-weight: 600; }
.v4-company { font-size: 12px; color: #94A3B8; }
.v4-apply-btn { display: block; width: 100%; text-align: center; font-size: 13px; font-weight: 700; color: #3B82F6; padding: 8px 0; border: 1px solid #3B82F6; border-radius: 6px; background: none; cursor: pointer; margin-top: 2px; }
.v4-apply-btn:hover { background: #EFF6FF; }
.v4-card .priority-wrap { position: relative; z-index: 3; }
.tp3-new-badge { font-size: 10px; font-weight: 700; color: #2563EB; background: #EFF6FF; padding: 1px 6px; border-radius: 3px; }

/* 버튼 - 카드 우하단 absolute */
.v4-btn-row {
    position: absolute; right: 14px; bottom: 16px;
    display: flex; gap: 4px; align-items: center;
}
.v4-card--parsed .v4-btn-row { bottom: 4px; }
.v4-apply-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 5px 14px; font-size: 12px; font-weight: 700;
    color: #fff; background: #3B82F6; border: none; border-radius: 18px; cursor: pointer;
}
.v4-apply-btn:hover { background: #2563EB; }
/* 단가/업체 영역 버튼 겹침 방지 */
.v4-card__wage { padding-right: 110px; }
.v4-share-wrap { position: relative; flex-shrink: 0; }
.v4-share-btn {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #E2E8F0; border-radius: 50%;
    background: #fff; color: #94A3B8; font-size: 11px;
    cursor: pointer; transition: all 0.15s;
}
.v4-share-btn:hover { border-color: #3B82F6; color: #3B82F6; }
.v4-share-pop {
    position: absolute; bottom: calc(100% + 6px); right: 0;
    background: #fff; border: 1px solid #E2E8F0; border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12); padding: 4px;
    z-index: 100; min-width: 130px;
}
.v4-share-pop__btn {
    display: flex; align-items: center; gap: 6px;
    width: 100%; padding: 8px 12px; border: none; background: none;
    font-size: 13px; font-weight: 600; color: #475569;
    cursor: pointer; border-radius: 6px; text-decoration: none;
    white-space: nowrap;
}
.v4-share-pop__btn:hover { background: #F1F5F9; }
.v4-share-pop__btn--kakao { color: #3C1E1E; background: #FEE500; }
.v4-share-pop__btn--kakao:hover { background: #FADA0A; }
.v4-share-pop__btn--sms { color: #2563EB; }
.v4-share-pop__btn--sms:hover { background: #EFF6FF; }
