/* style/payment-methods.css */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
}

.page-payment-methods__dark-bg {
    background-color: #26A9E0;
    color: #ffffff; /* White text for brand color background */
}

.page-payment-methods__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for white background */
}

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
}

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

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    border-radius: 8px;
}

.page-payment-methods__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.page-payment-methods__hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-payment-methods__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

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

.page-payment-methods__btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.page-payment-methods__section {
    padding: 40px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-payment-methods__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-payment-methods__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: inherit; /* Inherit color from parent section */
}

.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);
    min-width: 200px;
    min-height: 200px;
}

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

.page-payment-methods__card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.page-payment-methods__card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
}

.page-payment-methods__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-payment-methods__list-item {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333333;
}

.page-payment-methods__list-item strong {
    color: #26A9E0;
}

.page-payment-methods__limit-list {
    list-style: disc;
    padding-left: 25px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: inherit;
}

.page-payment-methods__limit-list .page-payment-methods__list-item {
    background: none;
    border-left: none;
    padding: 5px 0;
    margin-bottom: 5px;
    border-radius: 0;
}

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

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

.page-payment-methods__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-payment-methods__faq-item summary:hover {
    background-color: #eef7ff;
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 25px;
    text-align: center;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    content: '−';
}

.page-payment-methods__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
}

.page-payment-methods__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-payment-methods__contact-list .page-payment-methods__list-item {
    background-color: #eef7ff;
    border-left: 5px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05rem;
    color: #333333;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-section {
        padding: 40px 15px;
    }
    .page-payment-methods__hero-content {
        padding: 15px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-payment-methods__hero-description {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    }
    .page-payment-methods__section {
        padding: 30px 15px;
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
    .page-payment-methods__methods-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-payment-methods__hero-section {
        padding: 10px 15px;
    }
    .page-payment-methods__hero-image-wrapper {
        max-height: 300px;
    }
    .page-payment-methods__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-payment-methods__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-payment-methods__hero-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods a[class*="button"],
    .page-payment-methods a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-payment-methods__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-payment-methods__text-block,
    .page-payment-methods__card-description,
    .page-payment-methods__list-item,
    .page-payment-methods__faq-item summary,
    .page-payment-methods__faq-answer {
        font-size: 0.95rem;
    }
    .page-payment-methods__faq-item summary {
        padding: 15px;
    }
    .page-payment-methods__faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-section {
        padding: 10px 10px;
    }
    .page-payment-methods__hero-content {
        padding: 10px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    .page-payment-methods__container {
        padding: 0 10px;
    }
}