/* payment-methods.css */
.page-payment-methods {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-payment-methods__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per rule */
    padding-bottom: 20px;
    display: flex;
    flex-direction: column; /* Enforce image-above-text */
    align-items: center;
    text-align: center;
    max-width: 1390px; /* Boxed layout */
    margin: 0 auto;
}

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

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

.page-payment-methods__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-payment-methods__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem); /* H1 clamp font-size */
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-payment-methods__hero-description {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

.page-payment-methods__hero-button,
.page-payment-methods__contact-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-payment-methods__hero-button:hover,
.page-payment-methods__contact-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slightly altered gradient for hover */
}

.page-payment-methods__section {
    padding: 40px 20px;
    max-width: 1390px;
    margin: 0 auto 30px auto;
    background-color: #FFFFFF; /* Card BG for sections */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* H2 clamp font-size */
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 20px;
}

.page-payment-methods__section-description {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-payment-methods__method-card {
    background-color: #F4F7FB; /* Background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
}

.page-payment-methods__method-icon {
    width: 100%; /* Must be large, not small icons */
    height: auto;
    max-width: 250px; /* Constrain for display, but original is large */
    margin-bottom: 20px;
    object-fit: contain;
    min-height: 200px; /* Enforce minimum size */
    min-width: 200px; /* Enforce minimum size */
}

.page-payment-methods__method-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 10px;
}

.page-payment-methods__method-text {
    font-size: 0.95rem;
    color: #1F2D3D; /* Text Main */
}

.page-payment-methods__guide-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-payment-methods__guide-container--reverse {
    flex-direction: row-reverse;
}

.page-payment-methods__guide-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 200px; /* Enforce minimum size */
    min-width: 200px; /* Enforce minimum size */
}

.page-payment-methods__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.page-payment-methods__guide-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.page-payment-methods__guide-step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #2F6BFF; /* Primary color */
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-payment-methods__guide-step-text {
    color: #1F2D3D; /* Text Main */
    font-size: 1rem;
    margin: 0;
}

.page-payment-methods__guide-step-text strong {
    color: #000000; /* Custom Color_1776249996415 */
}

.page-payment-methods__guide-step-text a {
    color: #2F6BFF; /* Primary color */
    text-decoration: none;
    font-weight: 600;
}

.page-payment-methods__guide-step-text a:hover {
    text-decoration: underline;
}

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

.page-payment-methods__security-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 200px; /* Enforce minimum size */
    min-width: 200px; /* Enforce minimum size */
}

.page-payment-methods__security-text-block {
    flex: 1;
    color: #1F2D3D; /* Text Main */
    font-size: 1rem;
}

.page-payment-methods__security-text-block p {
    margin-bottom: 20px;
}

.page-payment-methods__faq-list {
    margin-top: 30px;
}

.page-payment-methods__faq-item {
    background-color: #F4F7FB; /* Background */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-payment-methods__faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 10px;
    cursor: pointer; /* Implies it could be an accordion */
}

.page-payment-methods__faq-answer {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__guide-container,
    .page-payment-methods__guide-container--reverse,
    .page-payment-methods__security-content {
        flex-direction: column;
        text-align: center;
    }

    .page-payment-methods__guide-image,
    .page-payment-methods__security-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .page-payment-methods__guide-list {
        width: 100%;
    }

    .page-payment-methods__guide-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

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

    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__hero-image {
        border-radius: 0; /* Full width on mobile */
    }

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

    .page-payment-methods__guide-image,
    .page-payment-methods__security-image {
        max-width: 100%;
        height: auto;
    }

    /* Enforce image max-width for mobile to prevent overflow */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-button,
    .page-payment-methods__contact-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .page-payment-methods__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
}