/* style/payment-methods.css */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--secondary-color, #FFFFFF); /* Ensure light background for main content */
    padding-top: var(--header-offset, 120px); /* Fixed header offset, desktop default */
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: var(--primary-color, #017439); /* Dark background for hero */
    color: #ffffff; /* Light text for dark hero background */
    overflow: hidden;
}

.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-payment-methods__hero-content {
    max-width: 800px;
    margin-bottom: 30px;
}

.page-payment-methods__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-payment-methods__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

/* General Section Styling */
.page-payment-methods__section {
    padding: 60px 20px;
}

.page-payment-methods__light-bg {
    background-color: var(--secondary-color, #FFFFFF);
    color: #333333;
}

.page-payment-methods__dark-bg {
    background-color: var(--primary-color, #017439);
    color: #ffffff;
}

.page-payment-methods__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from section background */
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-payment-methods__keyword {
    font-weight: bold;
    color: inherit; /* Inherit color */
}

.page-payment-methods__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Card Grid */
.page-payment-methods__grid-3-cols,
.page-payment-methods__grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-payment-methods__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color, #017439);
}