.page-payment-methods {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D); /* Default text color, ensuring contrast */
    background-color: var(--background, #F4F7FB); /* Overall page background */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-payment-methods__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--primary-color, #2F6BFF); /* Use primary blue for hero background */
    color: #FFFFFF; /* White text on blue background */
    position: relative;
    overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* To match requested image size */
    margin-bottom: 20px; /* Space between image and content */
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-payment-methods__hero-content {
    max-width: 900px;
    z-index: 1; /* Ensure content is above any background elements if present */
}

.page-payment-methods__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF; /* White text for H1 on blue background */
}

.page-payment-methods__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0EFFF; /* Lighter white for description */
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-payment-methods__cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-payment-methods__cta-button--centered {
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-payment-methods__section {
    padding: 60px 0;
}

.page-payment-methods__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main, #1F2D3D);
}

.page-payment-methods__introduction .page-payment-methods__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--custom-color-1776249996415, #000000); /* Use black for main body text */
}

.page-payment-methods__methods-list {
    background-color: var(--card-bg, #FFFFFF); /* White background for methods list */
    padding: 60px 0;
}

.page-payment-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-payment-methods__method-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border, #D6E2FF);
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__method-icon {
    width: 100%; /* Ensure card images are large, not icons */
    max-width: 400px; /* Match width attribute in HTML */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-payment-methods__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main, #1F2D3D);
}

.page-payment-methods__card-description {
    font-size: 1em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 20px;
}

.page-payment-methods__card-link {
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-payment-methods__card-link:hover {
    color: var(--secondary-color, #6FA3FF);
    text-decoration: underline;
}

.page-payment-methods__how-to {
    background-color: var(--background, #F4F7FB); /* Light background for how-to */
}

.page-payment-methods__steps-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__step {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color, #2F6BFF);
}

.page-payment-methods__step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main, #1F2D3D);
}

.page-payment-methods__step-description {
    font-size: 0.95em;
    color: var(--custom-color-1776249996415, #000000);
}

.page-payment-methods__step-description a {
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
}

.page-payment-methods__step-description a:hover {
    text-decoration: underline;
}

.page-payment-methods__security-support {
    background-color: var(--primary-color, #2F6BFF); /* Primary blue for security section */
    color: #FFFFFF;
}

.page-payment-methods__security-support .page-payment-methods__section-title {
    color: #FFFFFF; /* White title on blue background */
}

.page-payment-methods__security-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-payment-methods__security-image {
    flex: 1 1 400px; /* Allows image to grow/shrink */
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-payment-methods__security-text {
    flex: 2 1 450px; /* Allows text to grow/shrink */
}

.page-payment-methods__security-text .page-payment-methods__text {
    color: #E0EFFF; /* Lighter white for text */
    margin-bottom: 15px;
    text-align: left; /* Align text left in this section */
}

.page-payment-methods__security-text a {
    color: var(--glow, #A5C4FF); /* Use glow color for links in this section */
    text-decoration: underline;
    font-weight: bold;
}

.page-payment-methods__security-text a:hover {
    color: #FFFFFF;
}

.page-payment-methods__faq {
    background-color: var(--background, #F4F7FB); /* Light background for FAQ */
}

.page-payment-methods__faq-item {
    background-color: #FFFFFF;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border, #D6E2FF);
}

.page-payment-methods__faq-question {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main, #1F2D3D);
}

.page-payment-methods__faq-answer {
    font-size: 1em;
    color: var(--custom-color-1776249996415, #000000);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-payment-methods__container {
        padding: 15px;
    }

    .page-payment-methods__hero-section {
        padding: 30px 15px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }

    .page-payment-methods__hero-description {
        font-size: clamp(0.9em, 2vw, 1.1em);
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }

    .page-payment-methods__security-content {
        flex-direction: column;
        text-align: center;
    }

    .page-payment-methods__security-image {
        max-width: 100%;
    }

    .page-payment-methods__security-text .page-payment-methods__text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        padding-top: 5px;
    }

    .page-payment-methods__hero-section {
        padding: 20px 10px;
    }

    .page-payment-methods__hero-image {
        max-width: 100%;
        height: auto;
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.6em, 6vw, 2em);
    }

    .page-payment-methods__hero-description {
        font-size: clamp(0.85em, 2.5vw, 1em);
    }

    .page-payment-methods__section {
        padding: 40px 0;
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
        margin-bottom: 30px;
    }

    .page-payment-methods__grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .page-payment-methods__method-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    .page-payment-methods__steps-wrapper {
        grid-template-columns: 1fr;
    }

    /* Important: Mobile content area image overflow prevention */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-payment-methods__card-title {
        font-size: 1.3em;
    }

    .page-payment-methods__faq-question {
        font-size: 1.1em;
    }
}