/* Opportunities pages: Internationalization (ILAI) and APEL.C. UPTM brand: navy, blue, red accent. */
.opp-body {
    --opp-navy: #0d2456;
    --opp-navy-deep: #03112d;
    --opp-blue: #174aa6;
    --opp-blue-soft: #eaf1ff;
    --opp-red: #d91f2d;
    --opp-ink: #071633;
    --opp-muted: #5d6d84;
    --opp-line: rgba(13, 36, 86, 0.12);
}

.opp-page {
    padding-bottom: clamp(56px, 7vw, 110px);
}

.opp-wrap {
    width: min(1180px, 100%);
    margin-inline: auto;
}

/* ---------- Hero ---------- */
.opp-hero {
    padding: clamp(18px, 2.4vw, 32px) 0 0;
}

.opp-hero-inner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(30px, 4.6vw, 64px) clamp(24px, 4.6vw, 72px) clamp(34px, 4.8vw, 68px);
    border: 1px solid rgba(77, 128, 207, 0.36);
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 8% 90%, rgba(23, 83, 184, 0.36), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(42, 112, 232, 0.3), transparent 36%),
        linear-gradient(116deg, #03112d 0%, #06204d 46%, #0b3478 100%);
    box-shadow: 0 34px 80px -56px rgba(3, 22, 57, 0.8);
}

.opp-hero-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 50%, transparent 95%);
}

.opp-hero-inner::after {
    content: "";
    position: absolute;
    right: clamp(-90px, -6vw, -40px);
    bottom: clamp(-120px, -9vw, -60px);
    z-index: -1;
    width: clamp(220px, 28vw, 380px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.025), 0 0 0 82px rgba(255, 255, 255, 0.018);
}

/* Hero with a picture: the photo sits on the right and fades into the blue, so the title stays easy to read. */
.opp-hero-photo {
    position: absolute;
    inset: 0 0 0 34%;
    z-index: -1;
    background-image: var(--opp-hero-image);
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 26%, #000 62%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 26%, #000 62%);
}

.opp-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 17, 45, 0.55) 0%, rgba(6, 32, 77, 0.2) 55%, rgba(6, 32, 77, 0.35) 100%),
        linear-gradient(180deg, rgba(3, 17, 45, 0.1), rgba(3, 17, 45, 0.5));
}

.opp-hero-inner--photo {
    min-height: clamp(300px, 30vw, 400px);
}

.opp-hero-inner--photo::after {
    display: none; /* the decorative circle is not needed when there is a photo */
}

.opp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.opp-breadcrumb a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.opp-breadcrumb a:hover {
    text-decoration: underline;
}

.opp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #ff7d86;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.opp-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.opp-hero h1 {
    margin: 0;
    max-width: 900px;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(34px, 4.6vw, 62px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.opp-hero-lede {
    margin: 18px 0 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.6;
}

.opp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.opp-tags span {
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.opp-status {
    display: inline-block;
    margin-top: 24px;
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--opp-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---------- Sections ---------- */
.opp-section {
    margin-top: clamp(40px, 5vw, 76px);
}

.opp-heading {
    margin: 0 0 clamp(18px, 2vw, 28px);
}

.opp-heading .opp-eyebrow {
    color: var(--opp-red);
}

.opp-heading h2 {
    margin: 0;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.opp-heading p {
    margin: 12px 0 0;
    max-width: 760px;
    color: var(--opp-muted);
    font-size: 16px;
    line-height: 1.7;
}

.opp-heading--center {
    text-align: center;
}

.opp-heading--center .opp-eyebrow {
    justify-content: center;
}

.opp-heading--center h2,
.opp-heading--center p {
    margin-inline: auto;
}

.opp-card {
    border: 1px solid var(--opp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 46px -38px rgba(13, 36, 86, 0.5);
}

.opp-prose p {
    margin: 0 0 16px;
    color: var(--opp-muted);
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.opp-prose p:last-child {
    margin-bottom: 0;
}

/* Text from the rich editor: lists, headings, quotes and links look the same wherever it is used. */
.opp-prose ul,
.opp-prose ol,
.opp-rich ul,
.opp-rich ol {
    margin: 0 0 16px;
    padding-left: 24px;
    line-height: 1.8;
}

.opp-prose h3,
.opp-rich h3 {
    margin: 22px 0 10px;
    font-family: Manrope, Inter, sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.opp-prose h4,
.opp-rich h4 {
    margin: 18px 0 8px;
    font-family: Manrope, Inter, sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.opp-prose h3,
.opp-prose h4 {
    color: var(--opp-navy);
}

.opp-prose blockquote,
.opp-rich blockquote {
    margin: 0 0 16px;
    padding: 4px 0 4px 18px;
    border-left: 4px solid var(--opp-red);
    font-style: italic;
}

.opp-prose a {
    color: var(--opp-blue);
    font-weight: 700;
    text-decoration: underline;
}

.opp-rich a {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
}

div.opp-rich p {
    margin: 0 0 12px;
}

.opp-rich > :last-child {
    margin-bottom: 0;
}

/* ---------- Who we are ---------- */
.opp-who {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.opp-who h2 {
    margin: 0 0 18px;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.opp-quote {
    margin: 0 0 22px;
    padding: 4px 0 4px 20px;
    border-left: 4px solid var(--opp-red);
    color: var(--opp-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.5;
}

.opp-logo {
    justify-self: center;
    width: min(100%, 360px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 50%;
    background: linear-gradient(150deg, #0d2456, #174aa6);
    box-shadow: 0 0 0 2px var(--opp-line), 0 34px 70px -44px rgba(13, 36, 86, 0.7);
    color: #fff;
}

.opp-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.opp-logo span {
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(54px, 7vw, 92px);
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* ---------- Vision / mission ---------- */
.opp-vm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 26px);
}

.opp-vm article {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--opp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 46px -38px rgba(13, 36, 86, 0.5);
}

.opp-vm article:first-child {
    border-color: transparent;
    background: linear-gradient(150deg, #0d2456, #174aa6);
    color: #fff;
}

.opp-vm h3 {
    margin: 0 0 12px;
    font-family: Manrope, Inter, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--opp-red);
}

.opp-vm article:first-child h3 {
    color: #ff9aa1;
}

.opp-vm p {
    margin: 0;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(18px, 1.6vw, 23px);
    font-weight: 700;
    line-height: 1.5;
}

/* ---------- Numbered cards (collaborate, what we do) ---------- */
.opp-grid {
    display: grid;
    gap: clamp(14px, 1.8vw, 24px);
}

.opp-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.opp-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.opp-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opp-grid--top {
    align-items: start;
}

.opp-point {
    position: relative;
    padding: 26px 24px 28px;
}

.opp-point-number {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--opp-navy), var(--opp-blue));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.opp-point p {
    margin: 0;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.opp-band {
    padding: clamp(28px, 4vw, 52px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.12), transparent 40%),
        linear-gradient(135deg, #0d2456, #174aa6);
    color: #fff;
}

.opp-band .opp-heading h2 {
    color: #fff;
}

.opp-band .opp-heading .opp-eyebrow {
    color: #ff9aa1;
}

.opp-band .opp-point {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.opp-band .opp-point p {
    color: #fff;
}

.opp-band .opp-point-number {
    background: #fff;
    color: var(--opp-navy);
}

/* ---------- Values / services / sectors: chips ---------- */
.opp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.opp-chips--center {
    justify-content: center;
}

.opp-chip {
    padding: 11px 22px;
    border: 1px solid rgba(23, 74, 166, 0.2);
    border-radius: 999px;
    background: var(--opp-blue-soft);
    color: var(--opp-navy);
    font-size: 14px;
    font-weight: 700;
}

.opp-chip--value {
    padding: 16px 34px;
    border-color: transparent;
    background: linear-gradient(135deg, var(--opp-navy), var(--opp-blue));
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ---------- Team ---------- */
.opp-person {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 24px;
}

.opp-avatar {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #dce8f7, #f5f9ff);
    box-shadow: 0 16px 30px -22px rgba(12, 30, 70, 0.62);
    color: var(--opp-blue);
    font-size: 24px;
    font-weight: 800;
}

.opp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.opp-person h3 {
    margin: 0;
    color: var(--opp-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
}

.opp-person .opp-role {
    margin: 4px 0 0;
    color: var(--opp-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.opp-person .opp-org {
    margin: 6px 0 0;
    color: var(--opp-muted);
    font-size: 14px;
    line-height: 1.45;
}

.opp-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(23, 74, 166, 0.18);
    border-radius: 999px;
    background: #f4f8ff;
    color: #0b3478;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
    transition: background-color .2s ease, color .2s ease;
}

.opp-mail:hover,
.opp-mail:focus-visible {
    background: var(--opp-navy);
    color: #fff;
}

/* ---------- Partners ---------- */
.opp-sub {
    margin: clamp(26px, 3vw, 40px) 0 16px;
    color: var(--opp-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
}

.opp-sub::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 1em;
    margin-right: 12px;
    vertical-align: -0.15em;
    border-radius: 4px;
    background: var(--opp-red);
}

.opp-why {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.opp-why::before {
    content: "";
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--opp-red);
    box-shadow: 0 0 0 5px rgba(217, 31, 45, 0.14);
}

.opp-why p {
    margin: 0;
    color: var(--opp-ink);
    font-weight: 700;
    line-height: 1.4;
}

.opp-country {
    padding: 20px 22px;
}

.opp-country h4 {
    margin: 0;
    color: var(--opp-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.opp-country ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--opp-muted);
    font-size: 14px;
    line-height: 1.6;
}

.opp-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.opp-list li {
    position: relative;
    padding: 14px 18px 14px 44px;
    border: 1px solid var(--opp-line);
    border-radius: 16px;
    background: #fff;
    color: var(--opp-ink);
    font-weight: 600;
    line-height: 1.5;
}

.opp-list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 21px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--opp-blue);
}

/* ---------- APEL.C ---------- */
.opp-apel-top {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: clamp(14px, 1.6vw, 22px);
    align-items: stretch;
}

.opp-apel-visual {
    min-height: 300px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
        linear-gradient(150deg, #0d2456, #174aa6 70%, #2b61c7);
    position: relative;
}

.opp-apel-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opp-apel-visual::after {
    content: "APEL";
    position: absolute;
    inset: auto 24px 18px auto;
    color: rgba(255, 255, 255, 0.18);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(60px, 8vw, 110px);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

.opp-apel-visual--photo::after {
    display: none;
}

.opp-apel-what {
    padding: clamp(26px, 3vw, 44px);
    border-radius: 24px;
    background: linear-gradient(135deg, #0d2456, #174aa6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.opp-apel-what h2 {
    margin: 0 0 14px;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 800;
}

.opp-apel-what p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.8;
}

.opp-apel-earn {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
    gap: clamp(14px, 1.6vw, 22px);
    align-items: stretch;
}

.opp-earn-card {
    padding: clamp(26px, 3vw, 40px);
    border-radius: 24px;
    background: linear-gradient(135deg, #b3121f, #d91f2d);
    color: #fff;
}

.opp-earn-card h2 {
    margin: 0 0 12px;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
}

.opp-earn-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.94);
}

.opp-earn-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 140px;
    padding: 20px;
    border: 2px solid var(--opp-navy);
    border-radius: 24px;
    background: #fff;
    color: var(--opp-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 22px 46px -38px rgba(13, 36, 86, 0.6);
    transition: transform .22s ease, background-color .22s ease, color .22s ease;
}

.opp-earn-button:hover,
.opp-earn-button:focus-visible {
    transform: translateY(-3px);
    background: var(--opp-navy);
    color: #fff;
}

.opp-earn-button svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.opp-info {
    padding: clamp(24px, 3vw, 40px);
}

.opp-info h2 {
    margin: 0 0 14px;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.opp-detail-box {
    padding: clamp(24px, 3vw, 36px);
    border-radius: 24px;
    border-left: 6px solid var(--opp-red);
    background: var(--opp-blue-soft);
}

.opp-detail-box h2 {
    margin: 0 0 10px;
    color: var(--opp-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
}

.opp-detail-box p {
    margin: 0;
    color: var(--opp-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

/* Tabs */
.opp-tabs {
    overflow: hidden;
}

.opp-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
    border-bottom: 1px solid var(--opp-line);
    background: #f5f8fd;
}

.opp-tab {
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--opp-blue);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.opp-tab:hover {
    background: #e7effb;
}

.opp-tab[aria-selected="true"] {
    background: var(--opp-navy);
    color: #fff;
}

.opp-panel {
    padding: clamp(24px, 3vw, 40px);
}

.opp-panel[hidden] {
    display: none;
}

.opp-panel h3 {
    margin: 0 0 16px;
    color: var(--opp-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
}

.opp-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.opp-panel li {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 14px 18px 14px 44px;
    border: 1px solid var(--opp-line);
    border-radius: 16px;
    background: #fff;
    color: var(--opp-ink);
    font-weight: 600;
    line-height: 1.5;
}

.opp-panel li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 21px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--opp-blue);
}

.opp-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--opp-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .2s ease;
}

.opp-download:hover,
.opp-download:focus-visible {
    background: var(--opp-blue);
}

.opp-soon {
    color: #8a92a6;
    font-size: 12.5px;
    font-weight: 700;
}

.opp-contact {
    padding: clamp(24px, 3vw, 40px);
    border-radius: 24px;
    background: linear-gradient(135deg, #1b2538, #2a3550);
    color: #fff;
}

.opp-contact h2 {
    margin: 0 0 10px;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
}

.opp-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
}

.opp-contact a {
    color: #fff;
    font-weight: 800;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .opp-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .opp-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .opp-who,
    .opp-apel-top,
    .opp-apel-earn {
        grid-template-columns: minmax(0, 1fr);
    }

    .opp-apel-visual {
        min-height: 220px;
    }
}

@media (max-width: 720px) {
    /* On a phone the picture is the whole background, under a stronger blue. */
    .opp-hero-photo {
        inset: 0;
        -webkit-mask-image: none;
        mask-image: none;
        opacity: 0.55;
    }

    .opp-vm,
    .opp-grid--2,
    .opp-grid--3,
    .opp-grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .opp-person {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .opp-prose p {
        text-align: left;
    }

    .opp-tablist {
        flex-direction: column;
    }

    .opp-tab {
        text-align: left;
    }

    .opp-chip--value {
        padding: 14px 26px;
    }
}

/* ---------- APEL.C page ---------- */
.apel-page {
    display: grid;
    gap: clamp(28px, 3.6vw, 56px);
    padding-top: clamp(22px, 3vw, 40px);
}

.apel-page .opp-section {
    margin: 0;
}

.apel-label {
    margin: 0 0 10px;
    color: var(--opp-red);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.apel-page h2 {
    margin: 0;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

/* Key facts */
.apel-facts {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1.2fr;
    gap: clamp(12px, 1.6vw, 22px);
}

.apel-fact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(18px, 2vw, 26px);
    border: 1px solid var(--opp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 44px -38px rgba(13, 36, 86, 0.55);
}

.apel-fact i {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: var(--opp-blue-soft);
    color: var(--opp-blue);
}

.apel-fact i svg,
.apel-files i svg,
.apel-list i svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.apel-fact strong {
    display: block;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.apel-fact span {
    display: block;
    margin-top: 3px;
    color: var(--opp-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.apel-fact--big {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    border: 0;
    background: linear-gradient(140deg, var(--opp-navy), var(--opp-blue));
    color: #fff;
}

.apel-fact--big strong {
    color: #fff;
    font-size: clamp(46px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.apel-fact--big strong small {
    font-size: 0.5em;
    opacity: 0.85;
}

.apel-fact--big span {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

/* What is APEL */
.apel-what {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}

.apel-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(150deg, #0b2456 0%, var(--opp-navy) 50%, #1b52b8 100%);
    box-shadow: 0 40px 70px -48px rgba(13, 36, 86, 0.8);
}

.apel-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apel-wordmark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.92);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(64px, 9vw, 132px);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.apel-chip {
    position: absolute;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    animation: apelFloat 7s ease-in-out infinite;
}

.apel-chip--1 { top: 12%; left: 8%; }
.apel-chip--2 { top: 22%; right: 8%; animation-delay: -1.5s; }
.apel-chip--3 { bottom: 24%; left: 10%; animation-delay: -3s; }
.apel-chip--4 { bottom: 12%; right: 9%; animation-delay: -4.5s; }

@keyframes apelFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.apel-what-text .opp-rich {
    margin-top: 18px;
    color: var(--opp-muted);
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.8;
}

/* Earn credit */
.apel-earn-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 60px);
    overflow: hidden;
    padding: clamp(28px, 4vw, 56px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.16), transparent 44%),
        linear-gradient(135deg, #7a1420 0%, var(--opp-red) 100%);
    color: #fff;
}

.apel-earn-text {
    max-width: 680px;
}

.apel-earn-text h2 {
    color: #fff;
}

.apel-earn-text .opp-rich {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.75;
}

.apel-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 13px 24px;
    border-radius: 999px;
    background: #fff;
    color: var(--opp-navy);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apel-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.apel-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 32px -18px rgba(0, 0, 0, 0.5);
}

.apel-button:hover svg {
    transform: translateX(3px);
}

.apel-ring {
    flex: none;
    display: grid;
    place-content: center;
    justify-items: center;
    width: clamp(130px, 14vw, 190px);
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.apel-ring strong {
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(38px, 4.4vw, 60px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.apel-ring strong small {
    font-size: 0.5em;
}

.apel-ring span {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Steps */
.apel-section-head {
    margin-bottom: clamp(20px, 2.6vw, 34px);
    text-align: center;
}

.apel-steps ol {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 26px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.apel-steps ol::before {
    content: "";
    position: absolute;
    top: 25px;
    right: 12%;
    left: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--opp-blue), rgba(23, 74, 166, 0.12));
}

.apel-steps li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 0 6px;
    text-align: center;
}

.apel-step-no {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--opp-navy);
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 0 0 1px var(--opp-line), 0 16px 26px -14px rgba(13, 36, 86, 0.7);
}

.apel-steps h3 {
    margin: 4px 0 0;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.apel-steps p {
    margin: 0;
    max-width: 250px;
    color: var(--opp-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* About + details */
.apel-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(22px, 3.4vw, 52px);
    align-items: start;
}

.apel-about .opp-prose {
    margin-top: 16px;
    color: var(--opp-muted);
    font-size: clamp(15px, 1.1vw, 16.5px);
    line-height: 1.85;
}

.apel-side {
    display: grid;
    gap: clamp(14px, 1.6vw, 22px);
}

.apel-detail {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: clamp(20px, 2.2vw, 30px);
    border: 1px solid rgba(217, 31, 45, 0.22);
    border-radius: 26px;
    background: linear-gradient(135deg, #fff, #fff4f4);
}

.apel-detail-no {
    flex: none;
    color: var(--opp-red);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(44px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.apel-detail-no small {
    font-size: 0.5em;
}

.apel-detail h2 {
    font-size: clamp(19px, 1.7vw, 24px);
}

.apel-detail p {
    margin: 8px 0 0;
    color: var(--opp-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

/* Tabs */
.apel-tabs {
    padding: clamp(18px, 2vw, 28px);
    border: 1px solid var(--opp-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 26px 50px -42px rgba(13, 36, 86, 0.6);
}

.apel-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px;
    border-radius: 999px;
    background: #f1f4fa;
}

.apel-tab {
    flex: 1 1 auto;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--opp-muted);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.apel-tab:hover {
    color: var(--opp-navy);
}

.apel-tab[aria-selected="true"] {
    background: var(--opp-navy);
    color: #fff;
    box-shadow: 0 12px 22px -14px rgba(13, 36, 86, 0.8);
}

.apel-tab:focus-visible {
    outline: 2px solid var(--opp-blue);
    outline-offset: 2px;
}

.apel-panel h3 {
    margin: 0 0 14px;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.apel-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.apel-panel li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 16px;
    background: #f6f8fc;
    color: var(--opp-ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    transition: background 0.25s ease, transform 0.25s ease;
}

.apel-panel li:hover {
    background: var(--opp-blue-soft);
    transform: translateX(3px);
}

.apel-panel li i {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff;
    color: var(--opp-blue);
    box-shadow: 0 0 0 1px var(--opp-line);
}

.apel-panel li i svg {
    width: 17px;
    height: 17px;
}

.apel-panel li span:not(.apel-soon) {
    flex: 1;
}

.apel-soon,
.apel-download {
    flex: none;
    margin-left: auto;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.apel-soon {
    background: #fff3d6;
    color: #8a5a00;
}

.apel-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--opp-navy);
    color: #fff;
    text-decoration: none;
}

.apel-download svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.apel-soon-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--opp-muted);
    font-size: 14px;
}

.apel-soon-note svg {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #8a5a00;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Contact */
.apel-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    padding: clamp(26px, 3.4vw, 48px);
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.14), transparent 44%),
        linear-gradient(135deg, #0b2456, var(--opp-blue));
    color: #fff;
}

.apel-contact h2 {
    color: #fff;
}

.apel-contact p {
    margin: 10px 0 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15.5px;
    line-height: 1.7;
}

.apel-contact p a {
    color: #fff;
    font-weight: 800;
}

.apel-button--white {
    margin-top: 0;
}

@media (max-width: 960px) {
    .apel-facts {
        grid-template-columns: 1fr;
    }

    .apel-what,
    .apel-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .apel-visual {
        aspect-ratio: 4 / 3;
    }

    .apel-steps ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 26px;
    }

    .apel-steps ol::before {
        display: none;
    }

    .apel-earn-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .apel-steps ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .apel-detail {
        flex-direction: column;
        align-items: flex-start;
    }

    .apel-panel li {
        flex-wrap: wrap;
    }

    .apel-soon,
    .apel-download {
        margin-left: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .apel-chip {
        animation: none;
    }
}


/* APEL.C fixes */
.apel-page .apel-label {
    max-width: none;
}

.apel-tablist {
    border-radius: 22px;
}

.apel-tab {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
}

/* APEL.C: "What is APEL?" smaller and centred on wide screens */
.apel-what {
    grid-template-columns: minmax(0, 440px) minmax(0, 640px);
    justify-content: center;
    gap: clamp(28px, 4.5vw, 72px);
}

.apel-visual {
    aspect-ratio: 5 / 4;
    max-height: 380px;
    border-radius: 30px;
}

.apel-wordmark {
    font-size: clamp(56px, 6.4vw, 92px);
}

.apel-what-text {
    padding-right: 8px;
}

@media (max-width: 960px) {
    .apel-what {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
    }

    .apel-visual {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }
}

/* APEL.C: the number of cards / steps follows the CMS */
@media (min-width: 961px) {
    .apel-facts {
        grid-template-columns: minmax(0, 0.8fr) repeat(var(--apel-cards, 2), minmax(0, 1.2fr));
    }

    .apel-steps ol {
        grid-template-columns: repeat(var(--apel-steps, 4), minmax(0, 1fr));
    }
}

/* ---------- ILAI: key niche areas, partners accordion, achievement ---------- */
.opp-niche {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
}

.opp-niche a,
.opp-photos a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: var(--opp-blue-soft);
    box-shadow: 0 22px 44px -38px rgba(13, 36, 86, 0.55);
}

.opp-niche img,
.opp-photos img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.opp-niche a {
    aspect-ratio: 16 / 9;
}

.opp-niche a:hover img,
.opp-photos a:hover img {
    transform: scale(1.05);
}

/* Industry sectors: each one opens to show its partners */
.opp-acc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px clamp(14px, 1.8vw, 24px);
    align-items: start;
}

.opp-acc {
    overflow: hidden;
    border: 1px solid var(--opp-line);
    border-radius: 18px;
    background: #fff;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.opp-acc[open],
.opp-acc:hover {
    border-color: rgba(23, 74, 166, 0.3);
    box-shadow: 0 20px 38px -32px rgba(13, 36, 86, 0.6);
}

.opp-acc summary,
.opp-acc--plain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    color: var(--opp-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.opp-acc--plain {
    cursor: default;
}

.opp-acc summary::-webkit-details-marker {
    display: none;
}

.opp-acc summary em {
    flex: none;
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--opp-blue-soft);
    color: var(--opp-blue);
    font-size: 12.5px;
    font-style: normal;
    font-weight: 800;
}

.opp-acc summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-left: 4px;
    border-right: 2px solid var(--opp-blue);
    border-bottom: 2px solid var(--opp-blue);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.opp-acc[open] summary::after {
    transform: rotate(-135deg);
}

.opp-acc summary span {
    flex: 1;
}

.opp-acc ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 20px 18px 38px;
    color: var(--opp-muted);
    font-size: 14.5px;
    line-height: 1.5;
}

.opp-acc li::marker {
    color: var(--opp-red);
}

/* Achievement */
.opp-stats {
    display: grid;
    grid-template-columns: repeat(var(--opp-stats, 3), minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
}

.opp-stat {
    padding: clamp(22px, 2.4vw, 34px);
    border-radius: 26px;
    background: linear-gradient(140deg, var(--opp-navy), var(--opp-blue));
    color: #fff;
    text-align: center;
    box-shadow: 0 30px 50px -38px rgba(13, 36, 86, 0.8);
}

.opp-stat strong {
    display: block;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(40px, 4.4vw, 62px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.opp-stat h3 {
    margin: 12px 0 0;
    font-family: Manrope, Inter, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.opp-stat p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
}

.opp-quotes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
    margin-top: clamp(18px, 2.4vw, 32px);
}

.opp-quote-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-areas: "photo quote" "photo name";
    gap: 10px 22px;
    align-content: start;
    margin: 0;
    padding: clamp(20px, 2.2vw, 30px);
    border: 1px solid var(--opp-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 46px -38px rgba(13, 36, 86, 0.55);
}

.opp-quote-card img {
    grid-area: photo;
    width: 120px;
    height: 150px;
    border-radius: 18px;
    object-fit: cover;
    object-position: center top;
}

.opp-quote-card:not(:has(img)) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "quote" "name";
}

.opp-quote-card blockquote {
    grid-area: quote;
    margin: 0;
    color: var(--opp-ink);
    font-size: 14.5px;
    line-height: 1.75;
}

.opp-quote-card figcaption {
    grid-area: name;
    align-self: end;
}

.opp-quote-card figcaption strong {
    display: block;
    color: var(--opp-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.opp-quote-card figcaption span {
    display: block;
    margin-top: 2px;
    color: var(--opp-muted);
    font-size: 13px;
    line-height: 1.5;
}

.opp-photos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 18px);
}

.opp-photos a {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
}

.opp-photos--tall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.opp-photos--tall a {
    aspect-ratio: 4 / 5;
}

.opp-photos--tall img {
    object-position: top center;
}

@media (max-width: 960px) {
    .opp-acc-list,
    .opp-quotes {
        grid-template-columns: minmax(0, 1fr);
    }

    .opp-photos,
    .opp-photos--tall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .opp-niche {
        grid-template-columns: minmax(0, 1fr);
    }

    .opp-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .opp-quote-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px 14px;
    }

    .opp-quote-card img {
        width: 88px;
        height: 110px;
    }

    .opp-photos,
    .opp-photos--tall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
