.afp-portal,.afp-article{--afp-dark:#102C25;--afp-green:#166447;--afp-gold:#F4C76A;--afp-border:#DCE6DF;--afp-muted:#42574b;color:#24372d;line-height:1.65}.afp-single{max-width:1180px;margin:0 auto;padding:28px 20px 54px;width:100%}.afp-crumb{font-size:14px;color:#42574b;margin:0 0 20px}.afp-crumb a,.afp-link,.afp-section-head a{color:#166447;font-weight:650;text-decoration:underline;text-underline-offset:3px}.afp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.afp-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #DCE6DF;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px rgba(16,44,37,.04);transition:box-shadow .18s ease}.afp-card:hover{box-shadow:0 5px 20px rgba(16,44,37,.12)}.afp-cover{display:block;aspect-ratio:16/9;background:#102C25;overflow:hidden}.afp-cover img{display:block;width:100%;height:100%;object-fit:cover}.afp-cover-fallback{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;color:#F4C76A;font-size:22px;font-weight:750;letter-spacing:.02em}.afp-cover-fallback span{font-size:12px;color:#e1ece5;letter-spacing:0}.afp-card-body{display:flex;flex-direction:column;gap:7px;padding:17px;flex:1}.afp-label{color:#166447;font-size:12px;font-weight:750;letter-spacing:.03em;text-transform:uppercase;display:inline-block;align-self:flex-start}.afp-card h3{font-size:19px;line-height:1.35;margin:0;overflow-wrap:anywhere}.afp-card h3 a{color:#102C25;text-decoration:none}.afp-card h3 a:hover{text-decoration:underline}.afp-card p{margin:0;font-size:14px}.afp-employer{font-weight:650}.afp-muted,.afp-date{color:#42574b;font-size:14px}.afp-date{font-weight:650}.afp-summary{color:#34483f}.afp-link{margin-top:auto;padding-top:10px;font-size:14px}.afp-section{margin:32px 0}.afp-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.afp-section-head h2{margin:0;color:#102C25;border-left:4px solid #F4C76A;padding-left:12px;font-size:clamp(23px,3vw,30px)}.afp-empty,.afp-apply{border:1px solid #DCE6DF;background:#F5F7F5;border-radius:12px;padding:22px;margin:12px 0 24px}.afp-empty p,.afp-apply p{margin:8px 0 12px}.afp-empty h2,.afp-apply h2{color:#102C25;font-size:24px;margin:0 0 8px}.afp-filters{display:grid;grid-template-columns:minmax(160px,2fr) repeat(2,minmax(130px,1fr)) auto;align-items:end;gap:12px;border:1px solid #DCE6DF;background:#F5F7F5;padding:18px;border-radius:12px;margin:18px 0}.afp-filters label{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:650;color:#102C25}.afp-filters input,.afp-filters select{width:100%;min-height:44px;background:#fff;border:1px solid #b9cbbf;border-radius:7px;padding:8px;color:#102C25}.afp-btn,.afp-portal a.afp-btn{display:inline-block;background:#166447;color:#fff!important;border:0;border-radius:7px;padding:12px 20px;font-size:15px;font-weight:700;text-decoration:none!important;line-height:1.4;min-height:44px;text-align:center}.afp-btn:hover,.afp-portal a.afp-btn:hover{background:#102C25}.afp-portal :focus-visible,.afp-article :focus-visible{outline:3px solid #b17b15;outline-offset:3px}.afp-archive-hero{background:#102C25;border-radius:14px;color:#E1ECE5;padding:clamp(24px,4vw,44px);margin-bottom:24px}.afp-archive-hero h1{color:#fff;margin:8px 0 12px;font-size:clamp(30px,5vw,46px)}.afp-archive-hero .afp-label{color:#F4C76A}.afp-archive-hero p{margin:0;max-width:780px}.afp-pagination ul{display:flex;gap:8px;flex-wrap:wrap;list-style:none;margin:24px 0;padding:0}.afp-pagination .page-numbers{display:inline-block;padding:8px 12px}.afp-pagination .current{background:#166447;color:#fff;border-radius:6px}.afp-single-image img{width:100%;max-height:460px;object-fit:cover;border-radius:12px;margin-bottom:20px}.afp-job-native{background:#fff;border:1px solid #DCE6DF;border-radius:12px;padding:clamp(16px,3vw,30px);overflow-wrap:anywhere}.afp-job-native .job-post{margin:0 auto;width:100%;max-width:100%}.afp-job-native .job-side .job-content-wrap{background:#F5F7F5;border:1px solid #DCE6DF;border-radius:10px;padding:16px}.afp-job-native h1,.afp-job-native h2,.afp-job-native h3,.afp-job-native .position_title{color:#102C25}.afp-job-native .position_title{font-size:clamp(28px,4vw,42px);line-height:1.2;font-weight:750}.afp-job-native h2{font-size:24px;line-height:1.35;margin:20px 0 10px}.afp-job-native .jp-apply-button,.afp-job-native .primary-style{background:#166447!important;color:#fff!important;border-radius:7px!important}.afp-disclaimer{border-top:1px solid #DCE6DF;padding-top:16px;margin-top:24px}.afp-article{max-width:820px;margin:0 auto;font-size:17px}.afp-article-meta{border-bottom:1px solid #DCE6DF;padding-bottom:12px;margin:0 0 24px;font-size:14px;color:#42574b}.afp-article h2{font-size:clamp(23px,3vw,30px);line-height:1.35;color:#102C25;border-left:4px solid #F4C76A;padding-left:12px;margin:32px 0 15px}.afp-article h3{color:#166447;font-size:21px;margin:26px 0 12px}.afp-article p{margin-bottom:1.15em}.afp-article img{max-width:100%;height:auto;border-radius:8px}.afp-article blockquote{border-left:4px solid #166447;background:#F5F7F5;padding:16px 20px}.afp-article table{width:100%;border-collapse:collapse}.afp-article th,.afp-article td{padding:12px;border:1px solid #DCE6DF;vertical-align:top}.afp-article th{background:#102C25;color:#fff}.afp-article .wp-block-table{overflow-x:auto}.afp-article a{color:#166447;text-underline-offset:3px}.afp-article .wp-block-button__link{background:#166447;color:#fff}.afp-article ul,.afp-article ol{padding-left:1.4em}.afp-article li{margin-bottom:6px}@media(max-width:900px){.afp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.afp-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.afp-grid,.afp-filters{grid-template-columns:1fr}.afp-single{padding:18px 14px 36px}.afp-job-native{padding:16px}.afp-job-native .job-side,.afp-job-native .job-content{width:100%!important;max-width:100%;float:none!important}.afp-card-body{padding:16px}}@media(prefers-reduced-motion:reduce){.afp-card{transition:none}}

/* Africanship WhatsApp community links */
.afp-whatsapp{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,1fr);align-items:center;gap:26px;background:#102C25;color:#E1ECE5;border:1px solid #166447;border-radius:14px;padding:clamp(20px,3.5vw,34px);margin:28px 0;box-sizing:border-box}.afp-wa-kicker{color:#F4C76A;letter-spacing:.09em;font-size:12px;font-weight:750}.afp-whatsapp .afp-wa-copy h2{font-size:clamp(24px,3vw,32px);line-height:1.2;color:#fff;margin:8px 0 12px;border:0;padding:0}.afp-whatsapp .afp-wa-copy p{color:#E1ECE5;font-size:15px;line-height:1.65;margin:0}.afp-wa-actions{display:flex;flex-direction:column;gap:10px;min-width:0}.afp-whatsapp .afp-wa-actions a{display:flex;align-items:center;justify-content:center;gap:10px;text-decoration:none!important;font-size:15px;font-weight:700;line-height:1.4;border-radius:7px;padding:12px 14px;min-height:46px;text-align:center;box-sizing:border-box}.afp-whatsapp a.afp-wa-channel{background:#25D366;border:1px solid #25D366;color:#102C25!important}.afp-whatsapp a.afp-wa-group{background:transparent;border:1px solid #F4C76A;color:#F4C76A!important}.afp-whatsapp a.afp-wa-channel:hover{background:#62e38e}.afp-whatsapp a.afp-wa-group:hover{background:#25483b}.afp-whatsapp a:focus-visible{outline:3px solid #fff;outline-offset:3px}.afp-wa-actions svg{flex-shrink:0}.afp-wa-actions small{color:#D5E6DA;font-size:12px;line-height:1.45}.afp-article+.afp-whatsapp{max-width:820px;margin:28px auto}@media(max-width:700px){.afp-whatsapp{grid-template-columns:1fr;gap:17px}.afp-wa-actions a{width:100%}}


/* Single opportunity redesign: header, summary grid and readable native content. */
.afp-job-v2{max-width:1100px;padding:24px 24px 56px}
.afp-job-v2 .afp-crumb{margin-bottom:18px;font-size:13px}
.afp-job-head{background:#fff;border:1px solid #dce6df;border-radius:16px;overflow:hidden;padding:clamp(22px,4vw,38px);border-top:5px solid #166447;box-shadow:0 5px 22px rgba(16,44,37,.06);margin-bottom:24px}
.afp-job-kicker{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-bottom:14px;font-size:13px;font-weight:650;color:#42574b}
.afp-job-kicker>span:first-child{background:#e8f2ec;color:#166447;padding:5px 11px;border-radius:6px;letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:750}
.afp-job-head h1{color:#102c25;font-size:clamp(28px,4.3vw,43px);font-weight:750;line-height:1.2;letter-spacing:-.025em;margin:0 0 26px;overflow-wrap:anywhere}
.afp-job-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:1px;background:#dce6df;border-radius:11px;overflow:hidden;margin:0!important}
.afp-job-fact{display:flex;align-items:flex-start;gap:12px;background:#f7faf8;padding:17px;min-width:0}
.afp-fact-icon{flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#e3efe8;color:#166447}
.afp-fact-icon svg{display:block;max-width:100%;height:21px}
.afp-fact-text{min-width:0;flex:1}
.afp-job-facts dt{font-size:12px;font-weight:650;line-height:1.4;color:#42574b;margin:0 0 5px}
.afp-job-facts dd{font-size:15px;font-weight:700;line-height:1.45;color:#102c25;margin:0;overflow-wrap:anywhere}
.afp-job-deadline{background:#fffaed}
.afp-job-deadline .afp-fact-icon{background:#f7e7b8;color:#79530c}
.afp-job-deadline dd{color:#66460a}
.afp-job-v2 .afp-job-native{padding:clamp(18px,3.3vw,32px);border-radius:16px;box-shadow:0 4px 18px rgba(16,44,37,.04);font-size:16px;line-height:1.75}
.afp-job-v2 .afp-job-native .job-post,.afp-job-v2 .afp-job-native .job-content,.afp-job-v2 .afp-job-native .job-side{display:block!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0;margin-inline:0!important;box-sizing:border-box}
.afp-job-v2 .afp-job-native .job-side .job-content-wrap{padding:0;background:transparent;border:0;border-radius:0}
.afp-job-v2 .afp-job-native .job-side:empty,.afp-job-v2 .afp-job-native .job-side .job-content-wrap:empty{display:none!important}
/* Display fallback for the fields already rendered in the job summary. */
.afp-job-v2 .afp-job-native :is(h1,.position_title,.position_employment_type,.position_employment_duration,.position_industry,.position_job_location,.position_date_posted,.position_valid_through){display:none!important}
.afp-job-v2 .afp-job-native img,.afp-job-v2 .afp-job-fallback-image img{max-width:100%;height:auto;border-radius:10px;object-fit:contain}
.afp-job-v2 .afp-job-native :is(.wp-post-image,.attachment-post-thumbnail){display:block;width:100%;height:auto;max-height:none;margin:0 auto 24px}
.afp-job-v2 .afp-job-native h2{font-size:clamp(22px,3vw,28px);line-height:1.35;margin:32px 0 14px;padding-left:13px;border-left:4px solid #f4c76a;font-weight:750;color:#102c25}
.afp-job-v2 .afp-job-native h3{font-size:20px;line-height:1.4;color:#166447;margin:24px 0 12px;font-weight:700}
.afp-job-v2 .afp-job-native p{margin:0 0 16px}
.afp-job-v2 .afp-job-native :is(ul,ol){padding-left:1.4em;margin:12px 0 20px}
.afp-job-v2 .afp-job-native li{padding-left:2px;margin:0 0 7px}
.afp-job-v2 .afp-job-native a:not(.primary-style):not(.jp-apply-button){color:#166447;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.afp-job-v2 .afp-job-native table{width:100%;border-collapse:separate!important;border-spacing:0;margin:14px 0 22px;table-layout:auto;font-size:14px;border:1px solid #dce6df;border-radius:9px;overflow:hidden;line-height:1.55}
.afp-job-v2 .afp-job-native :is(th,td){padding:12px 14px;border:0;border-bottom:1px solid #dce6df;vertical-align:top;text-align:left}
.afp-job-v2 .afp-job-native thead th{background:#102c25;color:#fff;font-weight:650}
.afp-job-v2 .afp-job-native tbody th{color:#102c25;font-weight:700}
.afp-job-v2 .afp-job-native tbody tr:nth-child(even){background:#f4f8f5}
.afp-job-v2 .afp-job-native tbody tr:last-child>*{border-bottom:0}
.afp-job-v2 .afp-job-native tr>*:last-child{text-align:center}
.afp-job-v2 .afp-job-apply{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #dce6df;border-left:5px solid #166447;border-radius:12px;padding:25px;margin-top:26px}
.afp-job-v2 .afp-job-apply p{margin:4px 0 0;color:#42574b}
.afp-job-v2 .afp-job-apply .afp-btn{flex:0 1 auto;max-width:100%;white-space:normal}
@media(max-width:820px){.afp-job-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.afp-job-v2 .afp-job-apply{align-items:stretch;flex-direction:column}.afp-job-v2 .afp-job-native table{min-width:540px}.afp-job-v2 .afp-job-native{overflow-x:auto}}
@media(max-width:480px){.afp-job-v2{padding:16px 12px 36px}.afp-job-head{padding:18px 14px;margin-bottom:16px}.afp-job-head h1{font-size:28px;margin-bottom:19px}.afp-job-facts{grid-template-columns:1fr}.afp-job-fact{padding:12px;gap:10px}.afp-job-facts dd{font-size:14px}.afp-job-v2 .afp-job-native{padding:16px 14px}.afp-job-v2 .afp-job-native :is(th,td){padding:10px}.afp-job-v2 .afp-job-apply{padding:20px}}

/* Uncropped single-opportunity featured image: preserve uploaded aspect ratio. */
.afp-job-v2 .afp-job-full-image{display:block;width:100%;height:auto;max-height:none;margin:0 0 24px;padding:0;overflow:visible;aspect-ratio:auto;background:transparent}
.afp-job-v2 .afp-job-full-image img.afp-job-original-image{display:block;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center;border-radius:10px;margin:0!important}


/* Keep all table cells and final rows visible on single opportunity pages. */
.afp-job-v2 .afp-job-native .job-content,
.afp-job-v2 .afp-job-native .job-content-wrap{min-width:0;max-width:100%;box-sizing:border-box}
.afp-job-v2 .afp-job-native div[style*="overflow-x"]{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto!important;overflow-y:visible;box-sizing:border-box;-webkit-overflow-scrolling:touch;margin:14px 0 22px;padding:0 0 4px}
.afp-job-v2 .afp-job-native div[style*="overflow-x"]>table{margin:0}
.afp-job-v2 .afp-job-native table{width:100%!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0;overflow:visible!important;box-sizing:border-box}
.afp-job-v2 .afp-job-native table :is(th,td){box-sizing:border-box;white-space:normal;overflow-wrap:break-word;word-break:normal;vertical-align:top}
.afp-job-v2 .afp-job-native table thead th:last-child{border-top-right-radius:8px}
.afp-job-v2 .afp-job-native table thead th:first-child{border-top-left-radius:8px}
.afp-job-v2 .afp-job-native table tbody tr:last-child>:first-child{border-bottom-left-radius:8px}
.afp-job-v2 .afp-job-native table tbody tr:last-child>:last-child{border-bottom-right-radius:8px}
.afp-job-v2 .afp-job-native table tbody tr:last-child>*{border-bottom:0;padding-bottom:14px}
.afp-job-v2 .afp-job-native table:has(>thead>tr>th:nth-child(3):last-child) :is(th,td):last-child{width:90px;min-width:90px;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-align:center;padding-inline:12px}
.afp-job-v2 .afp-job-native table:has(>thead>tr>th:nth-child(3):last-child) :is(th,td):first-child{width:31%}
@media(max-width:820px){.afp-job-v2 .afp-job-native div[style*="overflow-x"]>table{min-width:560px!important;max-width:none!important}.afp-job-v2 .afp-job-native table:has(>thead>tr>th:nth-child(3):last-child) :is(th,td):last-child{width:84px;min-width:84px;padding-inline:10px}}
