.page-affiliate-program {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Inherit from body or set explicitly if needed */
}

/* Common Section Styles */
.page-affiliate-program__section {
    padding: 60px 20px;
    text-align: center;
}

.page-affiliate-program__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-affiliate-program__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-affiliate-program__content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-affiliate-program__section-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff; /* Default for dark background */
}

.page-affiliate-program__light-bg .page-affiliate-program__section-title {
    color: #017439; /* Brand primary for light background */
}

.page-affiliate-program__section-description,
.page-affiliate-program__text-block {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-affiliate-program__light-bg .page-affiliate-program__text-block {
    color: #333333;
}

/* Hero Section */
.page-affiliate-program__hero-section {
    position: relative;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-affiliate-program__hero-content {
    z-index: 1;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-affiliate-program__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-affiliate-program__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #ffffff;
}

.page-affiliate-program__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-affiliate-program__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-affiliate-program__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtly blend with background color */
}