.page-promotions {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --button-register-color: #C30808;
    --button-login-color: #C30808;
    --text-login-register-color: #FFFF00;
    background-color: var(--secondary-color); /* Default background white as per rule */
    color: #333333; /* Default text color for white background, ensuring contrast */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per rule */
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/5; /* Adjust as needed for visual impact on desktop */
}

.page-promotions__hero-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-promotions__main-title {
    font-size: clamp(2rem, 5vw, 3rem); /* H1 font size with clamp for responsiveness */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-promotions__hero-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-cta {
    display: inline-block;
    background-color: var(--button-register-color); /* Using register color for CTA */
    color: var(--text-login-register-color); /* Using login/register font color */
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    min-height: 44px; /* Ensure touch target size */
    min-width: 100px;
}

.page-promotions__hero-cta:hover {
    background-color: #e00; /* Darker red on hover */
}

.page-promotions__list-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--secondary-color);
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.page-promotions__promotion-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

.page-promotions__card-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__card-content {
    padding: 20px;
}

.page-promotions__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-promotions__card-description {
    font-size: 1rem;
    color: #555; /* Ensuring good contrast on white background */
    margin-bottom: 20px;
}

.page-promotions__card-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    min-height: 44px; /* Ensure touch target size */
    min-width: 80px;
}

.page-promotions__card-cta:hover {
    background-color: #00502a; /* Darker green on hover */
}

.page-promotions__cta-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 50px 20px;
    text-align: center;
}

.page-promotions__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-promotions__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.page-promotions__cta-button {
    display: inline-block;
    background-color: var(--button-register-color); /* Using register color for CTA */
    color: var(--text-login-register-color); /* Using login/register font color */
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    min-height: 44px; /* Ensure touch target size */
    min-width: 150px;
}

.page-promotions__cta-button:hover {
    background-color: #e00; /* Darker red on hover */
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-promotions__hero-image {
        aspect-ratio: 4/3; /* Mobile hero image aspect ratio */
    }
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: 2rem;
    }
    .page-promotions__hero-description {
        font-size: 1rem;
    }
    .page-promotions__hero-cta {
        padding: 10px 25px;
        font-size: 1rem;
    }
    .page-promotions__list-section {
        padding: 30px 15px;
    }
    .page-promotions__section-title {
        font-size: 2rem;
    }
    .page-promotions__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-promotions__card-image {
        min-width: 200px;
        min-height: 200px;
    }
    .page-promotions__cta-section {
        padding: 40px 15px;
    }
    .page-promotions__cta-title {
        font-size: 2rem;
    }
    .page-promotions__cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-promotions img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 549px) {
    .page-promotions__promotions-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
    .page-promotions__hero-image {
        aspect-ratio: 4/3;
    }
    .page-promotions__hero-content {
        padding: 10px;
    }
    .page-promotions__main-title {
        font-size: 1.8rem;
    }
    .page-promotions__hero-description {
        font-size: 0.95rem;
    }
    .page-promotions__section-title {
        font-size: 1.8rem;
    }
    .page-promotions__card-title {
        font-size: 1.2rem;
    }
    .page-promotions__card-description {
        font-size: 0.9rem;
    }
    .page-promotions__cta-title {
        font-size: 1.8rem;
    }
    .page-promotions__cta-button {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

/* Enforce minimum image size for content area images */
.page-promotions img:not(.shared-header img, .shared-footer img, .page-promotions__card-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Explicitly ensure card images also meet the minimum size */
.page-promotions__card-image {
    min-width: 200px;
    min-height: 200px;
}