body {
    background-color: #0d0d0d;
    color: #f5f5f5;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset); /* Ensure this is set in shared.css or body */
}

.page-payment-methods__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0 40px;
    position: relative;
    overflow: hidden;
    background-color: #000000;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__main-title {
    color: #FFFFFF;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__intro-text {
    color: #e5e5e5;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.page-payment-methods__cta-button--primary {
    background-color: #FCBC45;
    color: #000000;
}

.page-payment-methods__cta-button--primary:hover {
    background-color: #e0a53c;
}

.page-payment-methods__cta-button--secondary {
    background-color: #FCBC45;
    color: #000000;
}

.page-payment-methods__cta-button--secondary:hover {
    background-color: #e0a53c;
}

.page-payment-methods__cta-button--large {
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #FCBC45;
    color: #000000;
    margin-top: 30px;
}

.page-payment-methods__cta-button--large:hover {
    background-color: #e0a53c;
}

.page-payment-methods__cta-button--tertiary {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #FCBC45;
}

.page-payment-methods__cta-button--tertiary:hover {
    background-color: #1a1a1a;
    border-color: #e0a53c;
}

.page-payment-methods__cta-button--link {
    background: none;
    color: #FCBC45;
    border: 2px solid #FCBC45;
    padding: 10px 20px;
    min-width: unset;
}

.page-payment-methods__cta-button--link:hover {
    color: #e0a53c;
    border-color: #e0a53c;
    background-color: rgba(252, 188, 69, 0.1);
}

.page-payment-methods__methods-overview,
.page-payment-methods__guide-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1a1a1a;
    border-radius: 10px;
    margin-bottom: 40px;
}

.page-payment-methods__section-title {
    color: #FCBC45;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.page-payment-methods__section-description {
    text-align: center;
    color: #e5e5e5;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__method-card {
    background-color: #000000;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__method-logo {
    width: 200px; /* Adjusted to meet minimum size, maintain aspect ratio */
    height: auto;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-payment-methods__card-title {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.page-payment-methods__card-description {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-payment-methods__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.page-payment-methods__step-card {
    background-color: #000000;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-payment-methods__step-title {
    color: #FCBC45;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.page-payment-methods__step-description {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-payment-methods__step-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    border-bottom: 1px solid #FCBC45;
    padding-bottom: 2px;
}

.page-payment-methods__step-link:hover {
    color: #FCBC45;
}

.page-payment-methods__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.page-payment-methods__feature-item {
    background-color: #000000;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__feature-icon {
    width: 200px; /* Adjusted to meet minimum size */
    height: auto;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 5px;
}

.page-payment-methods__feature-title {
    color: #FFFFFF;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.page-payment-methods__feature-text {
    color: #cccccc;
    font-size: 0.9rem;
}

.page-payment-methods__faq-item {
    background-color: #000000;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__faq-question {
    color: #FCBC45;
    font-size: 1.2rem;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-payment-methods__faq-answer {
    color: #e5e5e5;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 10px 15px 30px;
    }

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

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

    .page-payment-methods__cta-button {
        width: 100%;
        box-sizing: border-box;
    }

    .page-payment-methods__section-title {
        font-size: 1.8rem;
    }

    .page-payment-methods__methods-overview,
    .page-payment-methods__guide-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section {
        padding: 40px 15px;
    }

    .page-payment-methods__method-cards,
    .page-payment-methods__guide-steps,
    .page-payment-methods__security-features {
        grid-template-columns: 1fr;
    }

    .page-payment-methods__method-logo,
    .page-payment-methods__feature-icon {
        max-width: 150px; /* Adjust for smaller screens but keep >200px display size */
        width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum display width */
        min-height: 200px; /* Enforce minimum display height */
        object-fit: contain;
    }

    .page-payment-methods__hero-image {
        min-width: 200px;
        min-height: 200px;
    }

    /* Content area image size constraint for mobile */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
    }
}