/* Jobs Plugin — Light Theme Overrides (warm brown palette) */
[data-bs-theme="light"] .jobs-card,
[data-bs-theme="light"] [style*="linear-gradient(180deg, #162033"] {
    background: #332218 !important;
    border-color: #6b4a30 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15) !important;
    color: #f0e0cc !important;
}

[data-bs-theme="light"] [style*="color: #f0f4ff"] {
    color: #f0e0cc !important;
}

[data-bs-theme="light"] [style*="color: #8899b3"] {
    color: #9a8468 !important;
}

[data-bs-theme="light"] [style*="color: #facc15"] {
    color: #c8860b !important;
}

[data-bs-theme="light"] [style*="background: #0f1923"] {
    background: #2a1e16 !important;
}

[data-bs-theme="light"] [style*="border: 2px solid #2a3a52"] {
    border-color: #6b4a30 !important;
}

[data-bs-theme="light"] [style*="color: #f0f4ff"][style*="background: #0f1923"] {
    color: #f0e0cc !important;
}

[data-bs-theme="light"] [style*="border: 4px solid #0f2240"] {
    border-color: #6b4a30 !important;
}

[data-bs-theme="light"] [style*="rgba(250,204,21,0.08)"] {
    background: rgba(200,134,11,0.08) !important;
    border-color: rgba(200,134,11,0.2) !important;
    color: #c8a87a !important;
}

[data-bs-theme="light"] [style*="rgba(250,204,21,0.03)"] {
    background: rgba(200,134,11,0.05) !important;
}

[data-bs-theme="light"] [style*="rgba(42,58,82"] {
    border-color: #6b4a30 !important;
}

[data-bs-theme="light"] [style*="text-shadow: 0 4px 12px rgba(0,0,0,0.5)"] {
    text-shadow: none !important;
}

[data-bs-theme="light"] [style*="rgba(250,204,21,0.15)"][style*="color: #4ade80"] {
    background: rgba(22,163,74,0.12) !important;
    color: #22c55e !important;
    border-color: rgba(22,163,74,0.35) !important;
}

[data-bs-theme="light"] [style*="rgba(239,68,68,0.15)"][style*="color: #ef4444"] {
    background: rgba(239,68,68,0.1) !important;
    color: #ef4444 !important;
    border-color: rgba(239,68,68,0.3) !important;
}

[data-bs-theme="light"] [style*="rgba(59,130,246,0.1)"][style*="border: 1px solid rgba(59,130,246,0.3)"] {
    background: rgba(200,134,11,0.08) !important;
    border-color: rgba(200,134,11,0.25) !important;
    color: #c8a87a !important;
}

[data-bs-theme="light"] [style*="rgba(239,68,68,0.1)"][style*="rgba(239,68,68,0.3)"] {
    background: rgba(239,68,68,0.08) !important;
    border-color: rgba(239,68,68,0.3) !important;
}

[data-bs-theme="light"] [style*="background: linear-gradient(135deg, #facc15"] {
    background: linear-gradient(135deg, #c8860b, #daa520) !important;
    border-color: rgba(200,134,11,0.4) !important;
    box-shadow: 0 4px 16px rgba(200,134,11,0.25) !important;
    color: #fffdf5 !important;
}

[data-bs-theme="light"] [style*="border: 2px solid #facc15"] {
    border-color: #c8860b !important;
    color: #c8860b !important;
}

[data-bs-theme="light"] [style*="onmouseover"][style*="#facc15"] {
    color: #c8860b !important;
}

[data-bs-theme="light"] [style*="onmouseover"][style*="#0f1923"] {
    color: #f0e0cc !important;
}

[data-bs-theme="light"] [style*="rgba(250,204,21,0.3)"][style*="box-shadow"] {
    box-shadow: 0 4px 16px rgba(200,134,11,0.25) !important;
}

[data-bs-theme="light"] [style*="inset 0 2px rgba(255,255,255,0.12)"] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15) !important;
}

[data-bs-theme="light"] [style*="0 6px #0a192f"] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15) !important;
}

[data-bs-theme="light"] [style*="accent-color: #facc15"] {
    accent-color: #c8860b !important;
}

[data-bs-theme="light"] [style*="color: #5a6a80"] {
    color: #9a8468 !important;
}

[data-bs-theme="light"] [style*="color: #ef4444"] {
    color: #ef4444 !important;
}

[data-bs-theme="light"] [style*="background: rgba(239,68,68,0.1)"] {
    background: rgba(239,68,68,0.08) !important;
}

/* Blue accent → gold accent */
[data-bs-theme="light"] [style*="rgba(59,130,246"] {
    background: rgba(200,134,11,0.1) !important;
    border-color: rgba(200,134,11,0.3) !important;
    color: #c8860b !important;
}

[data-bs-theme="light"] [style*="#60a5fa"] {
    color: #c8860b !important;
}

[data-bs-theme="light"] [style*="#3b82f6"] {
    color: #c8860b !important;
}

/* Animations */
@keyframes jbFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jbPuffIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

#job-positions .col-md-6,
#job-positions .col-lg-4,
[data-section="jobs"] .col-md-6,
[data-section="jobs"] .col-lg-4 {
  animation: jbPuffIn 0.45s cubic-bezier(0.22,1,0.36,1) both;
}
#job-positions .col-md-6:nth-child(1),
[data-section="jobs"] .col-md-6:nth-child(1) { animation-delay: 0.05s; }
#job-positions .col-md-6:nth-child(2),
[data-section="jobs"] .col-md-6:nth-child(2) { animation-delay: 0.1s; }
#job-positions .col-md-6:nth-child(3),
[data-section="jobs"] .col-md-6:nth-child(3) { animation-delay: 0.15s; }
#job-positions .col-md-6:nth-child(4),
[data-section="jobs"] .col-md-6:nth-child(4) { animation-delay: 0.2s; }
#job-positions .col-md-6:nth-child(5),
[data-section="jobs"] .col-md-6:nth-child(5) { animation-delay: 0.25s; }
#job-positions .col-md-6:nth-child(6),
[data-section="jobs"] .col-md-6:nth-child(6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  #job-positions .col-md-6,
  #job-positions .col-lg-4,
  [data-section="jobs"] .col-md-6,
  [data-section="jobs"] .col-lg-4 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
