/* Opportunities page (opportunities.php) */
.opp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.opp-count { margin: 0; color: #475569; font-size: 1rem; }
.opp-count strong { color: #0E5A2A; font-size: 1.3rem; }
.opp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opp-chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid #DDE5E0; background: #fff; font: inherit; font-weight: 600; font-size: .86rem; color: #334155; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.opp-chip:hover { border-color: #9FCDB0; }
.opp-chip.is-on { background: #15803D; border-color: #15803D; color: #fff; }
.opp-chip:focus-visible { outline: 3px solid rgba(22, 163, 74, .35); outline-offset: 2px; }

.opp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.opp { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px; background: #fff; border: 1px solid #E3EAE5; border-radius: 20px; box-shadow: 0 1px 2px rgba(11, 74, 34, .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.opp:hover { border-color: #BBDCC7; box-shadow: 0 18px 36px -26px rgba(11, 74, 34, .5); transform: translateY(-2px); }
.opp:target { border-color: #F5A01A; box-shadow: 0 0 0 3px rgba(245, 160, 26, .25); }
.opp[hidden] { display: none; }
.opp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.opp-type, .opp-left { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.opp-type { color: #15803D; }
.opp-type .ico, .opp-left .ico, .opp-meta .ico { width: 15px; height: 15px; flex: none; }
.opp-scholarship, .opp-bursary { color: #B45309; }
.opp-volunteer { color: #0F766E; }
.opp-internship { color: #1D4ED8; }
.opp-training { color: #7C3AED; }
.opp-tender { color: #475569; }
.opp-left { color: #64748B; text-transform: none; letter-spacing: 0; font-size: .82rem; }
.opp-left.soon { color: #B91C1C; }
.opp h3 { margin: 2px 0 0; font-size: 1.18rem; line-height: 1.3; }
.opp-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; color: #475569; font-size: .9rem; }
.opp-meta li { display: flex; align-items: flex-start; gap: 8px; }
.opp-meta .ico { margin-top: 3px; color: #15803D; }
.opp-sum { margin: 4px 0 0; color: #334155; font-size: .95rem; line-height: 1.6; }
.opp-more { border-top: 1px solid #EDF2EE; padding-top: 10px; }
.opp-more summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: #0E5A2A; }
.opp-more h4 { margin: 12px 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.opp-more p { margin: 0; font-size: .92rem; line-height: 1.6; color: #334155; }
.opp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.opp.is-closed { background: #FAFCFB; }
.opp.is-closed h3, .opp.is-closed .opp-sum { color: #64748B; }
.opp.is-closed .opp-type { color: #64748B; }
.opp-none { margin: 18px 0 0; color: #64748B; }

.opp-empty { max-width: 640px; margin: 0 auto; padding: 44px 28px; text-align: center; background: #fff; border: 1px dashed #C9D6CE; border-radius: 24px; }
.opp-empty > .ico { width: 40px; height: 40px; padding: 12px; box-sizing: content-box; border-radius: 18px; background: #ECFDF3; color: #15803D; }
.opp-empty h2 { margin: 14px 0 8px; font-size: 1.5rem; }
.opp-empty p { margin: 0 auto 20px; max-width: 480px; color: #475569; }
.opp-empty .btn-row { justify-content: center; }

.opp-safe { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: #FFFBEB; border: 1px solid #FCD34D; border-radius: 20px; }
.opp-safe > .ico { flex: none; width: 24px; height: 24px; padding: 10px; box-sizing: content-box; border-radius: 14px; background: #FEF3C7; color: #B45309; }
.opp-safe h2 { margin: 0 0 4px; font-size: 1.1rem; }
.opp-safe p { margin: 0; color: #57534E; font-size: .95rem; }
@media (max-width: 520px) { .opp { padding: 18px; } .opp-safe { flex-direction: column; gap: 12px; } }
