/* Affiliate partner page. Uses the site navy, gold, Inter and Fraunces. */

.aff-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    padding: 108px 0 36px;
    color: #fff;
    overflow: hidden;
    background: #0a1628;
}

.aff-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.aff-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.18) 0%, rgba(10, 22, 40, 0.12) 42%, rgba(10, 22, 40, 0.72) 100%);
}

.aff-hero h1,
.aff-hero .lp-sub,
.aff-hero .lp-crumbs,
.aff-hero .aff-kicker {
    text-shadow: 0 1px 2px rgba(10, 22, 40, 0.45);
}

.aff-btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #c9a227;
    color: #0a1628;
    font-weight: 700;
    text-decoration: none;
}

.aff-btn-apply:hover {
    background: #dbb84a;
    color: #0a1628;
}

.lp-section p.aff-commission-line {
    margin: 0;
    padding: 22px 20px;
    border-radius: 16px;
    background: #0a1628;
    color: #fff;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.35;
}

.aff-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.aff-kicker {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 10px;
    border: 1px solid rgba(201, 162, 39, 0.7);
    border-radius: 999px;
    color: #f6e7b4;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aff-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.7rem, 6vw, 3.1rem);
    font-weight: 560;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.aff-hero .lp-sub {
    max-width: 40rem;
    color: rgba(255, 255, 255, 0.92);
}

.aff-photo-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.aff-anywhere {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.aff-anywhere-grid {
    display: grid;
    gap: 20px;
    align-items: center;
}

.aff-globe {
    justify-self: center;
}

.aff-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.aff-regions li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: 0.92rem;
}

.aff-note {
    color: #64748b;
    font-size: 0.85rem;
}

.aff-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.aff-card {
    margin: 0;
    padding: 16px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.aff-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: #0a1628;
    color: #f6e7b4;
}

.aff-card h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.aff-card p {
    margin: 0;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.4;
}

.aff-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aff-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
}

.aff-step-rail {
    grid-row: 1 / span 2;
}

.aff-step h3,
.aff-step p {
    grid-column: 2;
    min-width: 0;
}

.aff-step-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aff-step-num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0a1628;
    color: #f6e7b4;
    font-weight: 700;
}

.aff-step-rail::after {
    content: "";
    width: 2px;
    flex: 1;
    min-height: 18px;
    background: #e2e8f0;
}

.aff-step:last-child .aff-step-rail::after {
    display: none;
}

.aff-step h3 {
    margin: 8px 0 4px;
    font-size: 1.05rem;
}

.aff-step p {
    margin: 0 0 18px;
    color: #475569;
}

.aff-guarantee {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 4px solid #c9a227;
    background: #fffbeb;
    color: #78350f;
}

.aff-support {
    display: grid;
    gap: 16px;
    align-items: center;
}

.aff-support img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
}

.aff-support ul {
    margin: 0;
    padding-left: 18px;
}

.aff-support li {
    margin: 0 0 8px;
}

.aff-apply-bar {
    display: none;
}

@media (max-width: 767px) {
    .aff-apply-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        z-index: 30;
        left: 12px;
        right: 84px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 999px;
        background: #c9a227;
        color: #0a1628;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 8px 24px rgba(10, 22, 40, 0.25);
    }

    .aff-sticky-space {
        height: 72px;
    }
}

@media (min-width: 768px) {
    .aff-hero {
        min-height: 640px;
        align-items: center;
        padding: 140px 0 72px;
    }

    .aff-anywhere-grid,
    .aff-support {
        grid-template-columns: 1.2fr 0.8fr;
    }

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

    .aff-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .aff-step {
        display: block;
    }

    .aff-step-rail {
        flex-direction: row;
        align-items: center;
        margin-bottom: 10px;
    }

    .aff-step-rail::after {
        width: auto;
        height: 2px;
        min-height: 0;
        flex: 1;
        margin-left: 8px;
    }
}

#apply .form-input,
#apply input,
#apply select,
#apply textarea,
#apply .form-label,
#apply .lp-help,
#apply .lp-chip,
#apply .lp-consent,
#apply .lp-file-btn,
#apply .lp-file-name,
#apply .btn {
    font-size: 16px;
}

.aff-pick {
    position: relative;
    min-width: 0;
}

.lp-form-card select.aff-native {
    position: absolute;
    width: 1px;
    min-height: 0;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.aff-pick-input {
    text-overflow: ellipsis;
}

.aff-pick-list {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    max-height: 240px;
    margin: 0;
    padding: 4px 0;
    overflow-x: hidden;
    overflow-y: auto;
    list-style: none;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.aff-pick-list li {
    padding: 10px 12px;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aff-phone .aff-pick-list {
    width: min(320px, calc(100vw - 40px));
    right: auto;
}

.aff-pick-list li[role="option"] {
    cursor: pointer;
}

.aff-pick-list li.is-active,
.aff-pick-list li[role="option"]:hover {
    background: #fffbeb;
}

.aff-pick-empty {
    color: #64748b;
}

.aff-phone {
    display: grid;
    grid-template-columns: minmax(7.5rem, 42%) minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}

.aff-phone > * {
    min-width: 0;
}

/* Additional global programme sections on /affiliate-partner */

.aff-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 16px 0 18px;
    padding: 0;
    list-style: none;
}

.aff-points li {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #c9a227;
    border-radius: 16px;
    background: #fff;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lp-section .aff-points li + li {
    margin-top: 0;
}

.aff-points-steps {
    counter-reset: aff-protect;
}

.aff-points-steps li {
    position: relative;
    padding-left: 56px;
}

.aff-points-steps li::before {
    counter-increment: aff-protect;
    content: counter(aff-protect);
    position: absolute;
    left: 12px;
    top: 12px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0a1628;
    color: #f6e7b4;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.aff-points-caution li {
    border-left-color: #b45309;
    background: #fffbeb;
}

.lp-section.aff-vision {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    border-bottom: 0;
}

.lp-section.aff-vision h2,
.lp-section.aff-vision p {
    color: #fff;
}

.lp-section.aff-vision p {
    color: rgba(255, 255, 255, 0.9);
}

.aff-vision-line {
    margin: 0 0 16px;
    color: #f6e7b4;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 560;
    line-height: 1.35;
}

.lp-section.aff-vision .aff-vision-line {
    color: #f6e7b4;
}

.aff-vision-join {
    margin: 8px 0 22px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.lp-section.aff-vision .aff-vision-join {
    color: #fff;
}

.aff-vision .aff-btn-apply {
    margin-top: 4px;
}

@media (min-width: 768px) {
    .aff-points {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .aff-points-steps {
        grid-template-columns: 1fr 1fr;
    }
}
