
    /* ── PAGE HERO ── */
    .page-hero {
      position: relative;
      min-height: 220px;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      background: var(--primary-dark);
    }
    .page-hero-bg {
      position: absolute;
      inset: 0;
      background: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1920&q=80") center/cover no-repeat;
      opacity: 0.18;
    }
    .page-hero::before, .page-hero::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      background: rgba(255,255,255,0.04);
      pointer-events: none;
    }
    .page-hero::before { width: 500px; height: 500px; top: -200px; right: -80px; }
    .page-hero::after  { width: 300px; height: 300px; bottom: -120px; left: 5%; }

    .hero-inner {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 60px 24px 48px;
    }
    .breadcrumb-nav {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: rgba(255,255,255,0.6);
      margin-bottom: 18px;
    }
    .breadcrumb-nav a { color: rgba(255,255,255,0.6); transition: color 0.25s; }
    .breadcrumb-nav a:hover { color: #fff; }
    .breadcrumb-nav i { font-size: 10px; }
    .breadcrumb-nav span { color: #8fccfd; }

    .hero-title {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 700;
      color: #fff;
      margin-bottom: 16px;
    }
    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
    }
    .hero-meta-item {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 14px;
      color: rgba(255,255,255,0.75);
    }
    .hero-meta-item i { color: var(--accent); font-size: 15px; }

    /* ── CONTENT LAYOUT ── */
    .job-section { padding: 60px 0 100px; background: var(--bg-light); }
    .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

    .job-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 36px;
      align-items: start;
    }

    /* ── MAIN CONTENT ── */
    .job-main { display: flex; flex-direction: column; gap: 32px; }

    .content-card {
      background: var(--white);
      border-radius: var(--card-radius);
      padding: 40px 44px;
      box-shadow: 0 4px 24px rgba(21,101,192,0.07);
      border: 1px solid #e8f0fb;
    }

    .content-section-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--primary);
      display: inline-block;
      font-family: "Playfair Display", serif;
    }

    .content-body { margin-top: 20px; }
    .content-body p {
      font-size: 15px;
      line-height: 1.85;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .content-body p:last-child { margin-bottom: 0; }
    .content-body p a { color: var(--primary); font-weight: 600; }

    .content-body h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      margin: 28px 0 12px;
      font-family: "Playfair Display", serif;
    }

    .content-body ul {
      padding-left: 0;
      list-style: none;
      margin-bottom: 16px;
    }
    .content-body ul li {
      font-size: 15px;
      line-height: 1.75;
      color: var(--text-muted);
      margin-bottom: 10px;
      padding-left: 26px;
      position: relative;
    }
    .content-body ul li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 9px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--primary);
      flex-shrink: 0;
    }

    /* Apply CTA card */
    .apply-card {
      background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 50%, var(--primary) 100%);
      border-radius: var(--card-radius);
      padding: 36px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
      position: relative;
      overflow: hidden;
    }
    .apply-card::before {
      content: "";
      position: absolute;
      width: 300px; height: 300px;
      border-radius: 50%;
      background: rgba(255,255,255,0.04);
      top: -120px; right: -60px;
    }
    .apply-card-text { position: relative; z-index: 1; }
    .apply-card-text h3 { font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
    .apply-card-text p { font-size: 14px; color: rgba(255,255,255,0.75); }
    .btn-apply-main {
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: #fff;
      color: var(--primary);
      padding: 14px 34px;
      border-radius: 50px;
      font-size: 15px;
      font-weight: 700;
      font-family: "DM Sans", sans-serif;
      border: 2px solid #fff;
      cursor: pointer;
      transition: all 0.3s;
      white-space: nowrap;
    }
    .btn-apply-main:hover { background: transparent; color: #fff; }

    /* ── SIDEBAR ── */
    .job-sidebar {
      position: sticky;
      top: 24px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .details-card {
      background: var(--white);
      border-radius: var(--card-radius);
      box-shadow: 0 4px 24px rgba(21,101,192,0.08);
      border: 1px solid #e8f0fb;
    }
    .details-card-head {
      background: var(--bg-section);
      padding: 18px 24px;
      border-bottom: 1px solid #dce8f5;
    }
    .details-card-head h4 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text);
      margin: 0;
      font-family: "Playfair Display", serif;
    }

    .detail-item {
      padding: 18px 24px;
      border-bottom: 1px solid #eef4fb;
      transition: background 0.2s;
    }
    .detail-item:last-child { border-bottom: none; }
    .detail-item:hover { background: var(--bg-section); }

    .detail-icon-row { display: flex; align-items: flex-start; gap: 14px; }
    .detail-icon-box {
      width: 40px; height: 40px;
      border-radius: 10px;
      background: var(--bg-section);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      color: var(--primary);
      flex-shrink: 0;
      margin-top: 2px;
      transition: background 0.3s, color 0.3s;
    }
    .detail-item:hover .detail-icon-box { background: var(--primary); color: #fff; }

    .detail-label {
      font-size: 11px; font-weight: 700; color: var(--text-muted);
      letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px;
    }
    .detail-value { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.55; }
    .detail-value a {
      color: var(--primary); font-weight: 600; font-size: 13px;
      display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s;
    }
    .detail-value a:hover { gap: 8px; }
    .detail-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; font-weight: 400; }

    /* Tooltip */
    .info-tooltip-wrap {
      position: relative; display: inline-flex; align-items: center; margin-left: 6px;
    }
    .info-tooltip-icon {
      display: inline-flex; align-items: center; justify-content: center;
      width: 16px; height: 16px; border-radius: 50%;
      background: var(--bg-section); color: var(--primary);
      font-size: 11px; cursor: help; border: 1px solid #cfe1f4;
    }
    .info-tooltip-box {
      position: absolute; bottom: calc(100% + 8px); left: 50%;
      transform: translateX(-50%) translateY(4px);
      background: var(--text); color: #fff; font-size: 12px; font-weight: 500;
      line-height: 1.4; padding: 8px 12px; border-radius: 8px;
      white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease;
      z-index: 20; box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    }
    .info-tooltip-box::after {
      content: ""; position: absolute; top: 100%; left: 50%;
      transform: translateX(-50%); border: 5px solid transparent;
      border-top-color: var(--text);
    }
    .info-tooltip-wrap:hover .info-tooltip-box,
    .info-tooltip-wrap:focus-within .info-tooltip-box {
      opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
    }

    /* Sidebar apply button */
    .btn-apply-sidebar {
      display: flex; align-items: center; justify-content: center;
      gap: 9px; background: var(--primary); color: #fff;
      padding: 15px 24px; border-radius: 50px; font-size: 15px;
      font-weight: 700; font-family: "DM Sans", sans-serif;
      border: 2px solid var(--primary); cursor: pointer;
      transition: all 0.3s; margin: 18px 24px; width: calc(100% - 48px);
    }
    .btn-apply-sidebar:hover { background: transparent; color: var(--primary); }

    /* Back link */
    .back-link {
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--text-muted); font-size: 14px; font-weight: 600;
      margin-bottom: 28px; transition: color 0.25s, gap 0.25s;
    }
    .back-link:hover { color: var(--primary); gap: 12px; }
    .back-link i { transition: transform 0.25s; }
    .back-link:hover i { transform: translateX(-4px); }

    /* Related jobs */
    .related-section { padding: 0 0 80px; background: var(--bg-light); }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
    .related-card {
      background: var(--white); border-radius: 14px; padding: 22px 20px 18px;
      border: 1.5px solid #e0ecf8; box-shadow: 0 4px 16px rgba(21,101,192,0.06);
      display: flex; flex-direction: column;
      transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s;
      cursor: pointer; text-decoration: none; color: inherit; position: relative; overflow: hidden;
    }
    .related-card::after {
      content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
    }
    .related-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(21,101,192,0.13); border-color: var(--primary); }
    .related-card:hover::after { transform: scaleX(1); }
    .related-employer { font-size: 11.5px; color: var(--text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
    .related-title { font-family: "Playfair Display", serif; font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.35; transition: color 0.3s; }
    .related-card:hover .related-title { color: var(--primary); }
    .related-location { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
    .related-location i { color: var(--primary); font-size: 12px; }
    .related-salary { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
    .related-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #eef4fb; padding-top: 12px; }
    .related-date { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
    .related-arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-section); border: 1.5px solid #d0e4f5; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 14px; transition: all 0.3s; }
    .related-card:hover .related-arrow { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.12) translateX(2px); }

    .section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text); line-height: 1.2; }
    .section-label { font-size: 11px; letter-spacing: 4px; font-weight: 600; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; display: block; }

    /* ── APPLY MODAL ── */
    .apply-modal-overlay {
      display: none; position: fixed; inset: 0;
      background: rgba(15,30,55,0.55); z-index: 1000;
      align-items: center; justify-content: center; padding: 20px;
      backdrop-filter: blur(2px);
    }
    .apply-modal-overlay.is-open { display: flex; }
    .apply-modal {
      background: var(--white); width: 100%; max-width: 520px;
      max-height: 90vh; overflow-y: auto; border-radius: var(--card-radius);
      box-shadow: 0 20px 60px rgba(0,0,0,0.25); position: relative;
      animation: applyModalIn 0.25s ease;
    }
    @keyframes applyModalIn {
      from { opacity: 0; transform: translateY(16px) scale(0.98); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }
    .apply-modal-head {
      background: var(--bg-section); padding: 22px 28px;
      border-bottom: 1px solid #dce8f5;
      display: flex; align-items: center; justify-content: space-between;
      border-radius: var(--card-radius) var(--card-radius) 0 0;
    }
    .apply-modal-head h3 {
      font-size: 1.15rem; font-weight: 700; color: var(--text);
      font-family: "Playfair Display", serif; margin: 0;
    }
    .apply-modal-close {
      width: 34px; height: 34px; border-radius: 50%; border: 1px solid #dce8f5;
      background: #fff; color: var(--text-muted); font-size: 16px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all 0.25s;
    }
    .apply-modal-close:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
    .apply-modal-body { padding: 28px; }

    .form-group { margin-bottom: 18px; }
    .form-group:last-child { margin-bottom: 0; }
    .form-label {
      display: flex; align-items: center; font-size: 12.5px; font-weight: 700;
      color: var(--text); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 7px;
    }
    .form-label .req { color: #d64545; margin-left: 3px; }
    .form-control {
      width: 100%; padding: 12px 14px; border-radius: 10px;
      border: 1.5px solid #dce8f5; background: var(--bg-section);
      color: var(--text); font-size: 14px; font-family: "DM Sans", sans-serif;
      transition: border-color 0.2s, background 0.2s; box-sizing: border-box;
    }
    .form-control:focus { outline: none; border-color: var(--primary); background: #fff; }
    .form-control[readonly] { color: var(--text-muted); cursor: not-allowed; }
    .form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
    .form-error { font-size: 12px; color: #d64545; margin-top: 5px; display: none; }
    .form-error.is-visible { display: block; }

    .apply-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
    .btn-modal-submit {
      display: flex; align-items: center; justify-content: center;
      gap: 9px; background: var(--primary); color: #fff;
      padding: 14px 24px; border-radius: 50px; font-size: 15px;
      font-weight: 700; font-family: "DM Sans", sans-serif;
      border: 2px solid var(--primary); cursor: pointer; width: 100%; transition: all 0.3s;
    }
    .btn-modal-submit:hover:not(:disabled) { background: transparent; color: var(--primary); }
    .btn-modal-submit:disabled { opacity: 0.65; cursor: not-allowed; }
    .apply-modal-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 4px; }

    /* Success state */
    .apply-success {
      display: none; flex-direction: column; align-items: center;
      text-align: center; padding: 40px 28px;
    }
    .apply-success.is-visible { display: flex; }
    .apply-success-icon {
      width: 70px; height: 70px; border-radius: 50%;
      background: #e6f4ea; display: flex; align-items: center; justify-content: center;
      font-size: 32px; color: #2e7d32; margin-bottom: 20px;
    }
    .apply-success h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 10px; font-family: "Playfair Display", serif; }
    .apply-success p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

    /* Spinner */
    .spinner {
      display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4);
      border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .job-layout { grid-template-columns: 1fr; }
      .job-sidebar { position: static; order: 2; }
      .job-main { order: 1; }
      .related-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .content-card { padding: 24px 18px; }
      .apply-card { padding: 26px 22px; flex-direction: column; }
      .related-grid { grid-template-columns: 1fr; }
      .job-section { padding: 36px 0 60px; }
      .apply-modal-body { padding: 22px 20px; }
    }
