/* ── Career Showcase Frontend ── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

.cs-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Nunito', sans-serif;
    padding: 10px 0 20px;
}

/* ── Viewport & Track ── */
.cs-slider-viewport {
    overflow: hidden;
    flex: 1;
}

.cs-slider-track {
    display: flex;
    gap: 22px;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

/* ── Arrow Buttons ── */
.cs-slider-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    padding: 0;
}
.cs-slider-arrow:hover { border-color: #1a56db; color: #1a56db; background: #eff6ff; }
.cs-slider-arrow:disabled { opacity: .35; cursor: default; pointer-events: none; }

/* ── Card ── */
.cs-card {
    flex: 0 0 calc(33.333% - 15px);
    min-width: 280px;
    max-width: 360px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,.09);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ── Card Image ── */
.cs-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #c8d6e5;
}
.cs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .4s ease;
}
.cs-card:hover .cs-card-image img { transform: scale(1.04); }
.cs-card-image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a56db22, #c8e60022);
}

/* ── Badge ── */
.cs-status-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3px;
    line-height: 1;
}
.cs-status-growing {
    background: #c8e600;
    color: #1a1a00;
}
.cs-status-stable {
    background: #38bdf8;
    color: #082f49;
}

/* ── Card Body ── */
.cs-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cs-career-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a56db;
    margin: 0 0 4px;
    line-height: 1.3;
}
.cs-career-desc {
    font-size: 13px;
    color: #4b5563;
    margin: 0 0 14px;
    line-height: 1.5;
}

/* ── Subjects ── */
.cs-subjects-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 6px;
}
.cs-subjects-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.cs-tag {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.cs-tag-core {
    background: #1a56db;
    color: #fff;
}
.cs-tag-rec {
    background: #6b7280;
    color: #fff;
}

/* ── Salary ── */
.cs-salary-wrap {
    margin-top: auto;
    padding-top: 14px;
    border-top: 2px solid #c8e600;
}
.cs-salary-label {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 3px;
}
.cs-salary-value {
    font-size: 15px;
    font-weight: 800;
    color: #c8a000;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .cs-card { flex: 0 0 calc(50% - 11px); }
}
@media (max-width: 600px) {
    .cs-card { flex: 0 0 calc(100% - 0px); min-width: 0; max-width: 100%; }
    .cs-slider-arrow { width: 34px; height: 34px; font-size: 18px; }
}
