.page-partners {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding-bottom: 40px; /* General padding for the bottom of the page */
    background-color: #0A0A0A; /* Main background color */
    color: #FFF6D6; /* Main text color */
}

.page-partners__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    padding-bottom: 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.page-partners__image-wrapper {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
}

.page-partners__hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    object-fit: cover;
    object-position: center;
    filter: none; /* Ensure no filters are applied */
}

.page-partners__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-partners__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* H1 clamp font size */
    font-weight: 700;
    line-height: 1.2;
    color: #F2C14E; /* Highlight color for title */
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4); /* Glow color shadow */
}

.page-partners__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6; /* Main text color */
}

.page-partners__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-partners__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B; /* Glow on hover */
}

.page-partners__section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem); /* H2 clamp font size */
    font-weight: 600;
    color: #F2C14E; /* Highlight color for titles */
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

.page-partners__benefits-section,
.page-partners__how-to-join-section,
.page-partners__contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #0A0A0A; /* Ensure consistent background */
}

.page-partners__benefits-grid,
.page-partners__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-partners__benefit-card,
.page-partners__step-card {
    background-color: #111111; /* Card BG color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #3A2A12; /* Border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-partners__benefit-card:hover,
.page-partners__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 211, 107, 0.5); /* Glow on hover */
}

.page-partners__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #F2C14E; /* Highlight color */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-partners__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color */
}

.page-partners__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #F2C14E; /* Accent color */
    color: #111111; /* Dark text for contrast */
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-partners__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
    filter: none; /* Ensure no filters are applied */
    max-width: 800px; /* Constraint for content images */
    min-width: 200px; /* Minimum size constraint */
    min-height: 200px; /* Minimum height constraint */
}

.page-partners__contact-text {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6; /* Main text color */
}

.page-partners__cta-button--secondary {
    background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Slightly different gradient or solid for secondary */
    color: #111111;
}

.page-partners__cta-button--secondary:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-partners {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-partners__hero-section,
    .page-partners__benefits-section,
    .page-partners__how-to-join-section,
    .page-partners__contact-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-partners__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .page-partners__description {
        font-size: 1rem;
    }

    .page-partners__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-partners__section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-partners__benefits-grid,
    .page-partners__steps-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
        gap: 20px;
    }

    .page-partners__content-image,
    .page-partners__hero-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }

    .page-partners__content-image {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 549px) {
    .page-partners__main-title {
        text-align: center; /* Center align title on small screens */
    }
    .page-partners__description {
        text-align: center; /* Center align description on small screens */
    }
    .page-partners__cta-button {
        width: 100%;
        max-width: 300px; /* Limit width for full-width buttons */
    }
}

/* Ensure all images maintain minimum size and responsiveness */
.page-partners img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Global minimum width for content images */
    min-height: 200px; /* Global minimum height for content images */
    filter: none; /* Ensure no filters are applied globally */
}

/* Specific override for hero image aspect ratio to be more general */
.page-partners__hero-image {
    aspect-ratio: 16 / 9; /* Default aspect ratio */
}