/* Affiliate program page (affiliate-program.php). Loaded after centfx.css.
   Same surfaces and type as the Rewards page: home card colours, DM Sans / Inter, silver headings, aqua green accents. */

.af-page {
    --af-panel: #f5f6f9;
    --af-panel-2: #eef1f5;
    --af-line: rgba(15, 23, 42, 0.08);
    --af-line-2: rgba(15, 23, 42, 0.14);
    --af-head: #0b1f4b;
    --af-text: #475569;
    --af-muted: #64748b;
    --af-faint: #94a3b8;
    --af-window: #fff;
    --af-inner: #f1f5f9;
    --af-accent: #0d9488;
    --af-green: #0d9488;
    --af-green-bg: rgba(45, 212, 191, 0.16);
}
[data-bs-theme="dark"] .af-page {
    --af-panel: #141619;
    --af-panel-2: #1a1d21;
    --af-line: rgba(255, 255, 255, 0.08);
    --af-line-2: rgba(255, 255, 255, 0.14);
    --af-head: #fff;
    --af-text: #b9c4d2;
    --af-muted: #94a3b8;
    --af-faint: #64748b;
    --af-window: #1a1d21;
    --af-inner: #23272c;
    --af-accent: #2dd4bf;
    --af-green: #2dd4bf;
    --af-green-bg: rgba(45, 212, 191, 0.14);
}

/* ───────── Shared ───────── */
.af-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    background: var(--af-panel);
    border: 1px solid var(--af-line);
}
@media (min-width: 992px) {
    .af-card {
        padding: 2.5rem;
    }
}
/* phones: slimmer side padding so the text and inner cards get more width */
@media (max-width: 575.98px) {
    .af-card {
        padding: 1.5rem 1rem;
    }
}
.af-section {
    margin-top: var(--cfx-gap);
}
.af-head {
    margin-bottom: 2rem;
}
.af-small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--af-muted);
}
.af-lead {
    max-width: 540px;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--af-text);
}
.af-lead b {
    font-weight: 600;
    color: var(--af-head);
}

/* ───────── 01 · Hero ───────── */
.af-hero {
    background: linear-gradient(180deg, var(--af-panel-2) 0%, var(--af-panel) 70%);
}
.af-title {
    font-size: clamp(2.3rem, 1.2rem + 3vw, 3.6rem);
    line-height: 1.06;
    margin-bottom: 1.5rem;
}

/* sample dashboard window (home .pom-window) */
.af-window {
    overflow: hidden;
    border-radius: 1rem;
    background: var(--af-window);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}
[data-bs-theme="dark"] .af-window {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.af-window-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    background: var(--af-inner);
}
.af-window-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.af-url {
    flex: 1;
    margin-left: 1rem;
    padding: 0.3rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    background: var(--af-window);
}
.af-window-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}
.af-link {
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    background: var(--af-inner);
}
.af-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.4rem;
}
.af-link-row code {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--af-head);
}
.af-link-row code b {
    color: var(--af-green);
}
.af-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: none;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--af-head);
    background: var(--af-window);
    border: 1px solid var(--af-line-2);
}
.af-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.af-kpis > div {
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--af-line);
}
.af-kpis strong {
    display: block;
    margin-top: 0.25rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--af-head);
}
.af-chart {
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    border: 1px solid var(--af-line);
}
/* sample line chart: smooth teal line over a soft fill, faint guide lines, a glowing dot on the latest month */
.af-trend {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--af-green);
    background: var(--af-green-bg);
}
.af-line {
    position: relative;
    height: 90px;
}
.af-line svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.af-line-grid {
    fill: none;
    stroke: var(--af-line);
    stroke-width: 1;
    stroke-dasharray: 3 4;
    vector-effect: non-scaling-stroke;
}
/* on load the line draws itself left to right, then the fill fades in and the dot pops onto the latest month */
.af-line-area {
    fill: url(#af-line-fill);
    opacity: 0;
    animation: af-line-fade 0.8s ease 1.5s forwards;
}
.af-line-stroke {
    fill: none;
    stroke: var(--af-green);
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: af-line-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
}
.af-line-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--af-green);
    box-shadow: 0 0 0 4px var(--af-green-bg), 0 0 14px rgba(45, 212, 191, 0.6);
    transform: scale(0);
    animation: af-line-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 2.1s forwards;
}
/* a soft ring keeps pulsing out of the latest point */
.af-line-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--af-green);
    opacity: 0;
    animation: af-line-pulse 2.2s ease-out 2.6s infinite;
}
@keyframes af-line-draw {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes af-line-fade {
    to {
        opacity: 1;
    }
}
@keyframes af-line-pop {
    to {
        transform: scale(1);
    }
}
@keyframes af-line-pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(2.6);
        opacity: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .af-line-area,
    .af-line-stroke,
    .af-line-dot,
    .af-line-dot::after {
        animation: none;
    }
    .af-line-area {
        opacity: 1;
    }
    .af-line-stroke {
        stroke-dashoffset: 0;
    }
    .af-line-dot {
        transform: none;
    }
}
.af-line-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-size: 0.68rem;
    color: var(--af-muted);
}
/* the chart and the recent referrals side by side, stacked on phones */
.af-split .af-chart .af-small {
    white-space: nowrap;
}
.af-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0.75rem;
}
@media (max-width: 767.98px) {
    .af-split {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* sample recent referrals: compact two-line rows */
.af-refs {
    display: grid;
    align-content: start;
    gap: 0.4rem;
}
/* phones: the chart alone, the sample referrals list is hidden */
@media (max-width: 767.98px) {
    .af-refs {
        display: none;
    }
}
.af-ref {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid var(--af-line);
}
.af-ref-who {
    min-width: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--af-head);
}
.af-ref-who small {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--af-muted);
}
.af-ref-amt {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--af-head);
}
.af-ref-status {
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 700;
}
.af-ref-status.is-held {
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
}
.af-ref-status.is-available {
    color: var(--af-green);
    background: var(--af-green-bg);
}
.af-ref-status.is-paid {
    color: var(--af-muted);
    background: var(--af-line);
}
[data-bs-theme="dark"] .af-ref-status.is-held {
    color: #fbbf24;
}
.af-payout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--af-muted);
}
.af-payout i {
    margin-right: 0.4rem;
    vertical-align: -2px;
}
.af-payout b {
    color: var(--af-head);
}
.af-paid {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--af-green);
    background: var(--af-green-bg);
}
.af-note {
    margin: 0.75rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--af-faint);
}
@media (max-width: 575.98px) {
    .af-kpis {
        gap: 0.5rem;
    }
    .af-kpis > div {
        padding: 0.75rem;
    }
    .af-kpis strong {
        font-size: 1.05rem;
    }
    .af-link-row code {
        font-size: 0.8rem;
    }
    .af-window-body {
        padding: 1rem;
    }
}

/* ───────── 02 · The deal ───────── */
/* ───────── 02 · Commission tiers: a ladder of rising steps ───────── */
/* same plain panel as the hero card */
.af-ladder {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, var(--af-panel-2) 0%, var(--af-panel) 70%);
    border: 1px solid var(--af-line);
}
/* a faint dot grid and a soft teal glow behind the top tier, fading out before the terrain */
.af-ladder::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 86% 16%, rgba(45, 212, 191, 0.16), rgba(45, 212, 191, 0) 38%),
        radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1.3px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 80%);
    mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 80%);
}
[data-bs-theme="dark"] .af-ladder::before {
    background:
        radial-gradient(circle at 86% 16%, rgba(45, 212, 191, 0.1), rgba(45, 212, 191, 0) 38%),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.3px) 0 0 / 22px 22px;
}
@media (min-width: 992px) {
    .af-ladder {
        padding: 2.25rem;
    }
}
.af-ladder-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}
.af-ladder-title {
    margin: 0;
    font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
    color: var(--af-head);
}
.af-ladder-sub {
    max-width: 560px;
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--af-text);
}
.af-ladder-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* rules + facts: on phones and tablets they flow under the title, each with a small label */
.af-ladder-info {
    display: grid;
    gap: 1rem;
    width: 100%;
}
.af-ladder-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--af-muted);
}
/* key facts: a small row of figure + caption; beside the stacked pills on wide screens */
.af-ladder-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    width: 100%;
    margin: 0;
}
.af-ladder-facts > div {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}
.af-ladder-facts dt {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--af-green);
}
.af-ladder-facts dd {
    margin: 0;
    font-size: 0.82rem;
    color: var(--af-muted);
}
.af-ladder-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--af-head);
    background: rgba(226, 232, 240, 0.85);
}
[data-bs-theme="dark"] .af-ladder-pills span {
    background: rgba(255, 255, 255, 0.08);
}
.af-ladder-pills i {
    font-size: 1.05rem;
    color: var(--af-green);
}

/* the steps (shared parts) */
.af-ladder-steps {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}
.af-ladder-tier {
    align-self: flex-start;
    justify-self: start;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--af-green);
    background: var(--af-green-bg);
}
/* the rate: metal text at the original tier-card size */
.af-deal-figure {
    margin: 1rem 0 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(3rem, 2rem + 2.5vw, 4.25rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
}
.af-ladder-steps b {
    font-weight: 600;
    color: var(--af-head);
}
.af-ladder-pay {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: var(--af-text);
}
.af-ladder-pay i {
    color: var(--af-green);
}
.af-ladder-bar {
    display: block;
}

/* phones and tablets: slim rows, the rate on the left, sales and payouts on the right,
   and a bar underneath that grows longer from tier 1 to tier 5 */
@media (max-width: 1199.98px) {
    .af-ladder-head {
        margin-bottom: 0.75rem;
    }
    .af-ladder-pills {
        gap: 0.4rem;
    }
    .af-ladder-pills span {
        padding: 0.3rem 0.7rem;
        font-size: 0.78rem;
    }
    .af-ladder-steps li {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "tier tier"
            "fig  sales"
            "fig  pay"
            "bar  bar";
        column-gap: 1.25rem;
        align-items: end;
        padding: 1.1rem 0;
        border-bottom: 1px solid var(--af-line);
    }
    .af-ladder-steps li:last-child {
        padding-bottom: 0.25rem;
        border-bottom: 0;
    }
    .af-ladder-tier {
        grid-area: tier;
        margin-bottom: 0.6rem;
    }
    .af-ladder-steps .af-deal-figure {
        grid-area: fig;
        margin: 0;
    }
    .af-ladder-steps b {
        grid-area: sales;
        justify-self: end;
        text-align: right;
        font-size: 0.95rem;
    }
    .af-ladder-pay {
        grid-area: pay;
        justify-self: end;
        margin-top: 0.15rem;
        font-size: 0.85rem;
    }
    .af-ladder-bar {
        grid-area: bar;
        width: calc(var(--step) * 20%);
        height: 6px;
        margin-top: 0.85rem;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(45, 212, 191, 0.35), #2dd4bf);
    }
    .af-ladder-steps li.is-top .af-ladder-bar {
        box-shadow: 0 0 14px rgba(45, 212, 191, 0.55);
    }
}

/* 3D terrain illustration under the tiers (assets/js/terrain.js), wide screens only; teal shades from quiet to busy */
.af-terrain {
    display: none;
    --terrain-0: #e2e8f0;
    --terrain-1: #99f6e4;
    --terrain-2: #5eead4;
    --terrain-3: #2dd4bf;
    --terrain-4: #0d9488;
}
[data-bs-theme="dark"] .af-terrain {
    --terrain-0: #23272e;
    --terrain-1: #134e4a;
    --terrain-2: #0f766e;
    --terrain-3: #14b8a6;
    --terrain-4: #5eead4;
}
.af-terrain canvas {
    display: block;
    width: 100%;
    height: 100%;
}
/* decorative only: touching or hovering the blocks does nothing */
.af-terrain {
    pointer-events: none;
}
/* phones and tablets: a small row of candles in the bottom-right corner of the card, under the last tier */
@media (max-width: 1199.98px) {
    .af-terrain {
        display: block;
        aspect-ratio: 3.4 / 1;
        margin: 0.75rem -1.5rem -1.5rem;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .af-terrain {
        margin: 1.5rem -2.25rem -2.25rem;
    }
}
/* desktop: five tier columns in a row, with the terrain underneath rising from tier 1 to tier 5 */
@media (min-width: 1200px) {
    .af-ladder-steps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
    }
    /* no grid gap, so each column centre sits exactly over its point on the graph */
    /* each tier sits one step higher than the one before, like a staircase that follows the line below */
    .af-ladder-steps li {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: calc((5 - var(--step)) * 1.5rem) 0.5rem 0;
        text-align: center;
    }
    .af-ladder-tier {
        align-self: center;
    }
    .af-ladder-bar {
        display: none;
    }
    /* edge to edge: out past the card padding to its left, right and bottom sides (the card clips it) */
    /* pulled up into the empty space under the tiers; the tier text stays above it */
    .af-terrain {
        position: relative;
        z-index: 0;
        display: block;
        height: 345px;
        margin: -4rem -2.25rem -2.25rem;
    }
    .af-ladder-steps {
        position: relative;
        z-index: 1;
    }
    /* the rules and facts panel moves into the empty bottom-left corner: two columns, a thin divider,
       each fact level with its pill */
    .af-ladder-info {
        position: absolute;
        z-index: 2;
        left: 2.25rem;
        bottom: 2.75rem;
        display: grid;
        grid-template-columns: auto auto;
        gap: 0 1.5rem;
        width: auto;
        padding: 1.1rem 1.35rem;
        border-radius: 1.1rem;
        border: 1px solid var(--af-line);
        background: rgba(255, 255, 255, 0.55);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
    [data-bs-theme="dark"] .af-ladder-info {
        background: rgba(255, 255, 255, 0.03);
    }
    .af-ladder-info > div + div {
        padding-left: 1.5rem;
        border-left: 1px solid var(--af-line);
    }
    .af-ladder-pills,
    .af-ladder-facts {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .af-ladder-facts > div {
        min-height: 2.1rem;
        align-items: center;
    }
}

/* ───────── 03 · How it works ───────── */
.af-steps-card {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}
.af-steps-card h3 {
    color: var(--af-head);
}
.af-steps-card p {
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
    color: var(--af-text);
}

/* ───────── 04 · Why partner with us ───────── */
.af-why h2 {
    max-width: 560px;
}
.af-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0b1020;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.af-chip i {
    color: var(--af-green);
    font-size: 1.15rem;
}
[data-bs-theme="dark"] .af-chip {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}
[data-bs-theme="dark"] .af-chip i {
    color: var(--af-green);
}
/* checklist pills, like the home "About" card */
.af-list {
    display: grid;
    gap: 0.75rem;
}
.af-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: var(--af-window);
    border: 1px solid var(--af-line);
}
.af-list i {
    flex: none;
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--af-green);
    background: var(--af-green-bg);
}
.af-list b {
    display: block;
    font-weight: 600;
    color: var(--af-head);
}
.af-list span {
    font-size: 0.875rem;
    color: var(--af-muted);
}
@media (max-width: 575.98px) {
    .af-list li {
        gap: 0.75rem;
        padding: 0.85rem 0.9rem;
    }
}

/* ───────── Aqua green instead of the site's blue on this page ───────── */
/* top-of-page glow (replaces the blue .cfx-inner::before glow) */
.af-main::before {
    background: radial-gradient(
            circle at 96% 0%,
            rgba(45, 212, 191, 0.26) 0,
            rgba(45, 212, 191, 0.1) 14%,
            rgba(45, 212, 191, 0) 30%
        ),
        radial-gradient(ellipse 40% 50% at 0% 10%, rgba(13, 148, 136, 0.12), rgba(13, 148, 136, 0) 70%),
        radial-gradient(ellipse 30% 40% at 45% 0%, rgba(45, 212, 191, 0.08), rgba(45, 212, 191, 0) 70%),
        linear-gradient(180deg, #f0fdfa 0%, rgba(240, 253, 250, 0) 100%);
}
[data-bs-theme="dark"] .af-main::before {
    background: radial-gradient(
            circle at 96% 0%,
            rgba(45, 212, 191, 0.32) 0,
            rgba(45, 212, 191, 0.12) 14%,
            rgba(45, 212, 191, 0) 30%
        ),
        radial-gradient(ellipse 40% 50% at 0% 10%, rgba(13, 148, 136, 0.22), rgba(13, 148, 136, 0) 70%),
        radial-gradient(ellipse 30% 40% at 45% 0%, rgba(45, 212, 191, 0.1), rgba(45, 212, 191, 0) 70%),
        linear-gradient(180deg, #08161a 0%, rgba(8, 22, 26, 0) 100%);
}
/* breadcrumb */
.af-main .breadcrumb-item.active,
.af-main .breadcrumb-item a:hover {
    color: #0d9488;
}
[data-bs-theme="dark"] .af-main .breadcrumb-item.active,
[data-bs-theme="dark"] .af-main .breadcrumb-item a:hover {
    color: #2dd4bf;
}
/* links, notices and hints that use the shared page accent (pages.css) */
.af-page.pg {
    --pg-accent: #0d9488;
    --pg-accent-bg: rgba(45, 212, 191, 0.12);
    --si-link-color-rgb: 13, 148, 136;
    --si-link-hover-color-rgb: 15, 118, 110;
}
[data-bs-theme="dark"] .af-page.pg {
    --pg-accent: #2dd4bf;
    --pg-accent-bg: rgba(45, 212, 191, 0.12);
    --si-link-color-rgb: 45, 212, 191;
    --si-link-hover-color-rgb: 94, 234, 212;
}
