.page-promotions {
    background-color: var(--background-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    overflow: hidden; /* Ensure image doesn't overflow */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for image wrapper */
    margin-bottom: 20px; /* Space between image and content */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

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

.page-promotions__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 15px;
    /* No fixed font-size, rely on browser default and responsive scaling */
}

.page-promotions__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main-color, #1F2D3D);
}

.page-promotions__hero-cta {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    min-width: 200px; /* Ensure button minimum size */
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Center the button */
}

.page-promotions__hero-cta:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

/* Promotions List Section */
.page-promotions__list-section {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.page-promotions__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text-main-color, #1F2D3D);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

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

.page-promotions__promotion-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-promotions__promotion-card-image-wrapper {
    width: 100%;
    height: 220px; /* Fixed height for consistent image size */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-promotions__promotion-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-promotions__promotion-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-promotions__promotion-card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-promotions__promotion-card-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__promotion-card-date {
    font-size: 0.85em;
    color: var(--text-main-color, #1F2D3D);
    opacity: 0.7;
    margin-bottom: 20px;
}

.page-promotions__promotion-card-cta {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s ease;
    min-width: 120px; /* Ensure button minimum size */
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-promotions__promotion-card-cta:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

/* Terms and Conditions Section */
.page-promotions__terms-section {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.page-promotions__terms-intro {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-main-color, #1F2D3D);
    text-align: center;
    margin-bottom: 30px;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-promotions__terms-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main-color, #1F2D3D);
}

.page-promotions__terms-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color, #2F6BFF);
    font-weight: bold;
}

.page-promotions__terms-cta-wrapper {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-promotions__terms-cta {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    min-width: 200px; /* Ensure button minimum size */
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-promotions__terms-cta:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-promotions__terms-cta--secondary {
    background: none;
    border: 2px solid var(--border-color, #D6E2FF);
    color: var(--text-main-color, #1F2D3D);
}

.page-promotions__terms-cta--secondary:hover {
    background-color: var(--border-color, #D6E2FF);
    color: var(--text-main-color, #1F2D3D);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 5px;
        margin-bottom: 30px;
    }

    .page-promotions__main-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-promotions__hero-cta {
        padding: 10px 25px;
        font-size: 0.95em;
    }

    .page-promotions__list-section,
    .page-promotions__terms-section {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

    .page-promotions__promotion-card-image-wrapper {
        height: 180px; /* Adjust height for mobile */
    }

    .page-promotions__promotion-card-image {
        max-width: 100%;
        height: auto; /* Important for mobile image sizing */
    }

    .page-promotions__promotion-card-title {
        font-size: 1.2em;
    }

    .page-promotions__promotion-card-description {
        font-size: 0.9em;
    }

    .page-promotions__terms-intro {
        font-size: 1em;
    }

    .page-promotions__terms-item {
        font-size: 0.9em;
        padding-left: 25px;
    }

    .page-promotions__terms-cta-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__terms-cta {
        width: 100%;
        max-width: 300px; /* Constrain button width on small screens */
        margin: 0 auto;
    }
}

/* Ensure content images are not too small on mobile */
@media (max-width: 768px) {
    .page-promotions img {
        max-width: 100%;
        height: auto;
    }
    /* Specific override for card images if needed, but the general rule should cover it */
    .page-promotions__promotion-card-image {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure no content images are smaller than 200px */
.page-promotions img:not(.page-promotions__hero-image) {
    min-width: 200px;
    min-height: 200px;
    /* This ensures that any image within the content area that is not the hero image
       still adheres to the minimum size requirement. The actual display size is
       controlled by width/height attributes and object-fit. */
}