/* ===============================
   PREMIUM JOB SINGLE – STABLE UI
   (UPDATED APPLY BOX COLORS)
=============================== */

body {
    background: #f4f6fb;
}

/* MAIN CONTAINER */
.rr-job-single {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 16px;
    font-family: Inter, system-ui, sans-serif;
    color: #0f172a;
}

/* HEADER */
.rr-job-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    margin-bottom: 32px;
}

.rr-job-logo img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
}

.rr-job-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.rr-job-company {
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
}

.rr-job-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rr-job-chips span {
    background: #eef2ff;
    color: #3730a3;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

/* LAYOUT */
.rr-job-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 360px;
    gap: 28px;
    align-items: start;
}

/* LEFT COLUMN */
.rr-job-left {
    min-width: 0;
}

/* CONTENT */
.rr-job-content {
    background: #fff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15,23,42,.08);
    line-height: 1.75;
}

/* RIGHT COLUMN */
.rr-job-right {
    width: 360px;
    max-width: 360px;
    flex-shrink: 0;
}

/* SIDEBAR */
.rr-job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===============================
   APPLY BOX – CLEAN & TRUSTED
=============================== */

.rr-job-apply-box {
    background: #f8fafc;              /* light neutral */
    color: #0f172a;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    margin-bottom: 4px;
}

/* APPLY BUTTON – PRIMARY CTA */
.rr-apply-now-inline {
    display: block;
    width: 100%;
    background: #2563eb;              /* trust blue */
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px;
    text-align: center;
    border-radius: 14px;
    text-decoration: none;
    margin-bottom: 14px;
}

.rr-apply-now-inline:hover {
    background: #1d4ed8;
}

/* ===============================
   SIDEBAR – SIMILAR JOBS
=============================== */

.rr-similar-jobs {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    margin-top: 0;
}

.rr-similar-jobs h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #020617;
    padding-top: 2px;
}

/* Individual job item */
.rr-similar-job {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: background .2s ease;
}

.rr-similar-job:hover {
    background: #f8fafc;
}

/* Thumbnail */
.rr-similar-job img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

/* Job title */
.rr-similar-job span,
.rr-similar-job div {
    font-size: 14.5px;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.35;
}

/* ===============================
   JOB CONTENT – TYPOGRAPHY
=============================== */

.rr-job-content {
    font-size: 16.5px;
    line-height: 1.75;
    color: #1f2937;
}

.rr-job-content p {
    margin-bottom: 16px;
}

.rr-job-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
    color: #020617;
}

.rr-job-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 10px;
    color: #020617;
}

.rr-job-content strong,
.rr-job-content b {
    font-weight: 600;
    color: #0f172a;
}

.rr-job-content ul {
    padding-left: 18px;
    margin-bottom: 18px;
}

.rr-job-content li {
    margin-bottom: 8px;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 1024px) {
    .rr-job-layout {
        grid-template-columns: 1fr;
    }

    .rr-job-right {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .rr-job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rr-job-title {
        font-size: 24px;
    }

    .rr-job-logo img {
        width: 72px;
        height: 72px;
    }
}
