.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Explicitly define for clarity, though shared might set it */
}

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

.page-payment-methods__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding for hero section */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f0f8ff; /* Light background for hero */
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px;
}

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

.page-payment-methods__hero-content {
    max-width: 800px;
    margin-top: 20px;
}

.page-payment-methods__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: #26A9E0;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-payment-methods__description {
    font-size: 1.15rem;
    color: #555555;
    margin-bottom: 30px;
}

.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for mobile wrapping */
    max-width: 100%;
    box-sizing: border-box;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-payment-methods__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-payment-methods__btn-primary:hover {
    background-color: #1f8ec7;
    border-color: #1f8ec7;
}

.page-payment-methods__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #e0f2ff;
    color: #1f8ec7;
    border-color: #1f8ec7;
}

.page-payment-methods__section-title {
    font-size: 2.2rem;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-payment-methods__text-block {
    font-size: 1.1rem;
    color: #555555;
    text-align: justify;
    margin-bottom: 25px;
}

.page-payment-methods__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__overview-section,
.page-payment-methods__methods-detail-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__tips-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 60px 0;
}

.page-payment-methods__light-bg {
    background-color: #f9f9f9;
    color: #333333;
}

.page-payment-methods__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}
.page-payment-methods__dark-bg .page-payment-methods__section-title,
.page-payment-methods__dark-bg .page-payment-methods__text-block,
.page-payment-methods__dark-bg .page-payment-methods__step-title,
.page-payment-methods__dark-bg .page-payment-methods__step-description {
    color: #ffffff; /* Ensure white text on dark background */
}
.page-payment-methods__dark-bg .page-payment-methods__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}
.page-payment-methods__dark-bg .page-payment-methods__btn-secondary:hover {
    background-color: #e0f2ff;
    color: #1f8ec7;
    border-color: #e0f2ff;
}

.page-payment-methods__method-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.page-payment-methods__card-title {
    font-size: 1.6rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__card-image {
    width: 100%;
    max-width: 400px; /* Constrain card image width */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 6px;
}

.page-payment-methods__card-description {
    font-size: 1rem;
    color: #555555;
    text-align: justify;
}

.page-payment-methods__steps-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

.page-payment-methods__step-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-left: 5px solid #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-payment-methods__step-title {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-payment-methods__step-description {
    font-size: 1rem;
    color: #f0f0f0;
}

.page-payment-methods__security-features {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.page-payment-methods__feature-item {
    background-color: #e0f2ff;
    color: #26A9E0;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__tips-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-payment-methods__tip-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
}

.page-payment-methods__tip-title {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-payment-methods__tip-description {
    font-size: 1rem;
    color: #555555;
    text-align: justify;
}

.page-payment-methods__faq-list {
    max-width: 800px;
    margin: 30px auto;
}

.page-payment-methods__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: #e0f2ff;
    color: #26A9E0;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
    background-color: #e0f2ff;
    color: #26A9E0;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

/* Hide default details marker */
.page-payment-methods__faq-item summary {
    list-style: none;
}
.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-payment-methods__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    color: #555555;
    text-align: justify;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-payment-methods__container {
        padding: 0 15px;
    }

    .page-payment-methods__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-payment-methods__description {
        font-size: 1rem;
    }

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-payment-methods__cta-buttons a {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-payment-methods__text-block {
        font-size: 1rem;
    }

    .page-payment-methods__overview-section,
    .page-payment-methods__methods-detail-section,
    .page-payment-methods__withdrawal-section,
    .page-payment-methods__security-section,
    .page-payment-methods__tips-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }

    .page-payment-methods__method-card,
    .page-payment-methods__tip-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-payment-methods__card-title {
        font-size: 1.4rem;
    }

    .page-payment-methods__step-title {
        font-size: 1.2rem;
    }

    .page-payment-methods__security-features,
    .page-payment-methods__tips-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-payment-methods__faq-answer {
        padding: 10px 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__container,
    .page-payment-methods__method-card,
    .page-payment-methods__tip-item,
    .page-payment-methods__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding added to container, not individual elements unless necessary */
    }
}