/* ==========================================================================
   RIKKEI JOB - STYLESHEET
   Max-width: 1480px, Responsive, Modern clean UI
   ========================================================================== */

.job-detail-section {
    width: 100%;
    background-color: #ffffff;
    color: #1e293b;
    box-sizing: border-box;
}

.job-detail-container {
    max-width: 1480px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ---------------- Tiêu đề mục chung với icon tam giác đỏ ---------------- */
.job-sec-block {
    margin-bottom: 48px;
}

.job-sec-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.job-red-triangle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-red-triangle svg {
    display: block;
    width: 18px;
    height: 22px;
}

.job-sec-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

/* ---------------- 1. TỔNG QUAN ---------------- */
.job-overview-desc {
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
    margin: 0;
    max-width: 100%;
}

/* ---------------- 2. DÀNH CHO AI (3 THẺ) ---------------- */
.job-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.job-audience-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-audience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.job-audience-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.job-audience-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* ---------------- 3. VẤN ĐỀ CẦN GIẢI QUYẾT (BẢNG) ---------------- */
.job-problem-table {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.job-table-head {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    padding: 16px 28px;
}

.job-col-head {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.job-table-row {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    padding: 20px 28px;
    border-bottom: 1px solid #f1f5f9;
    align-items: start;
    transition: background-color 0.2s ease;
}

.job-table-row:last-child {
    border-bottom: none;
}

.job-table-row:hover {
    background-color: #f8fafc;
}

.job-cell-problem {
    font-size: 15px;
    font-weight: 400;
    color: #334155;
    line-height: 1.6;
    padding-right: 28px;
}

.job-cell-solution {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.6;
}

/* ---------------- RESPONSIVE BREAKPOINTS ---------------- */
@media (max-width: 1024px) {
    .job-audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .job-table-head,
    .job-table-row {
        padding: 16px 20px;
    }
}

@media (max-width: 768px) {
    .job-audience-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .job-sec-title {
        font-size: 20px;
    }

    .job-overview-desc {
        font-size: 15px;
    }

    .job-table-head {
        display: none; /* Ẩn header bảng trên màn hình nhỏ để xếp dạng card/dòng */
    }

    .job-table-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    .job-cell-problem {
        padding-right: 0;
        color: #64748b;
        font-size: 14px;
    }

    .job-cell-solution {
        font-size: 14.5px;
    }
}

@media (max-width: 600px) {
    .job-detail-container {
        padding: 0 16px;
    }

    .job-sec-block {
        margin-bottom: 36px;
    }
}

