/**
 * Seaplast Career Page Drag & Drop Sections CSS
 * Styles for Career Hero, Why Work With Us, Open Positions Job Board, & Resume CTA Banner
 *
 * @package Seaplast
 */

/* -------------------------------------------------------------
 * COMMON CAREER CONTAINER & TYPOGRAPHY
 * ------------------------------------------------------------- */
.sp-career-section {
    width: 100%;
    padding: 50px 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a2533;
}

.sp-career-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -------------------------------------------------------------
 * 1. CAREER HERO WIDGET
 * ------------------------------------------------------------- */
.sp-career-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #031427 0%, #08294a 50%, #005a6b 100%);
    border-radius: 20px;
    padding: 60px 50px;
    color: #ffffff;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 16px 40px rgba(3, 20, 39, 0.25);
}

@media (max-width: 991px) {
    .sp-career-hero-banner {
        grid-template-columns: 1fr;
        padding: 40px 24px;
    }
}

.sp-career-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.sp-career-hero-title span.highlight-teal {
    color: #00D2FF;
}

.sp-career-hero-sub {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 540px;
}

.sp-career-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

@media (max-width: 480px) {
    .sp-career-highlights-grid {
        grid-template-columns: 1fr;
    }
}

.sp-career-highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-career-highlight-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #00D2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-career-highlight-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
}

.sp-career-hero-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.sp-career-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------------------------------------------------------------
 * 2. WHY WORK WITH US WIDGET
 * ------------------------------------------------------------- */
.sp-why-work-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .sp-why-work-wrapper {
        grid-template-columns: 1fr;
    }
}

.sp-why-work-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0c1e35;
    margin: 0 0 16px 0;
}

.sp-why-work-info p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.sp-why-work-cards-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 576px) {
    .sp-why-work-cards-box {
        grid-template-columns: 1fr;
    }
}

.sp-why-card {
    text-align: center;
    padding: 12px;
}

.sp-why-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: #00768C;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-why-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0c1e35;
    margin: 0 0 8px 0;
}

.sp-why-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* -------------------------------------------------------------
 * 3. OPEN POSITIONS JOB BOARD WIDGET
 * ------------------------------------------------------------- */
.sp-positions-header {
    text-align: center;
    margin-bottom: 36px;
}

.sp-positions-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0c1e35;
    margin: 0 0 8px 0;
    position: relative;
    display: inline-block;
}

.sp-positions-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: #00768C;
    border-radius: 2px;
    margin: 8px auto 0;
}

.sp-positions-sub {
    font-size: 0.95rem;
    color: #64748b;
}

.sp-filter-bar {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 140px;
    gap: 16px;
    margin-bottom: 30px;
}

@media (max-width: 850px) {
    .sp-filter-bar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .sp-filter-bar {
        grid-template-columns: 1fr;
    }
}

.sp-filter-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.sp-filter-btn {
    background: #00768C;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    transition: background 0.2s ease;
}

.sp-filter-btn:hover {
    background: #005a6b;
}

.sp-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-job-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
    display: grid;
    grid-template-columns: 48px 1.2fr 1fr 1fr 140px;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

@media (max-width: 991px) {
    .sp-job-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.sp-job-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #00768C;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-job-title-box h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0c1e35;
    margin: 0 0 4px 0;
}

.sp-job-location {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-job-meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.sp-job-meta-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.sp-btn-apply {
    background: transparent;
    color: #00768C;
    border: 1.5px solid #00768C;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.sp-btn-apply:hover {
    background: #00768C;
    color: #ffffff;
}

.sp-jobs-footer-cta {
    text-align: center;
    margin-top: 30px;
}

/* -------------------------------------------------------------
 * 4. CAREER RESUME BANNER WIDGET
 * ------------------------------------------------------------- */
.sp-career-resume-banner {
    background: linear-gradient(135deg, #02162e 0%, #004d5a 100%);
    border-radius: 20px;
    padding: 48px 40px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 12px 36px rgba(2, 22, 46, 0.3);
}

@media (max-width: 850px) {
    .sp-career-resume-banner {
        grid-template-columns: 1fr;
    }
}

.sp-resume-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.sp-resume-sub {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
}

.sp-resume-usps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-resume-usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sp-resume-usp-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 210, 255, 0.15);
    color: #00D2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-resume-usp-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f1f5f9;
}
