:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --max-content-width: 1200px;
    --section-padding-y: 40px;
}

/* Base styles for the page content */
.page-promotions {
    background-color: var(--background-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container for content sections */
.page-promotions__container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 15px; /* Ensure some padding on smaller screens */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding to respect header offset handled by body */
    padding-bottom: var(--section-padding-y);
    background-color: var(--primary-color); /* Fallback background for hero */
    text-align: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 30px auto 0 auto;
    padding: 0 15px;
    color: var(--card-bg); /* White text on hero */
}

.page-promotions__main-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--card-bg);
}

.page-promotions__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--card-bg);
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

/* Section Titles */
.page-promotions__section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-top: var(--section-padding-y);
    margin-bottom: 30px;
    color: var(--text-black);
}

/* Text Content */
.page-promotions__text-content {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Grid */
.page-promotions__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: var(--section-padding-y);
}

.page-promotions__promotion-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border-color);
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 10px var(--glow-color);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    object-position: center;
    display: block;
    border-bottom: 1px solid var(--border-color);
    min-width: 200px; /* Minimum width for content images */
    min-height: 200px; /* Minimum height for content images */
}

.page-promotions__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 15px 10px 15px;
    color: var(--text-black);
}

.page-promotions__card-description {
    font-size: 0.95rem;
    padding: 0 15px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-promotions__card-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--card-bg);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-promotions__card-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 8px var(--glow-color);
}

/* View all buttons */
.page-promotions__view-all-button,
.page-promotions__view-terms-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--card-bg);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: var(--section-padding-y);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__view-all-button:hover,
.page-promotions__view-terms-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25), 0 0 12px var(--glow-color);
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: var(--section-padding-y);
}

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.page-promotions__faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions__faq-answer {
    font-size: 1rem;
    color: var(--text-main);
}

/* Global image rules for content area, overriding potential smaller defaults */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensure no filter is applied */
    filter: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 849px) {
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }

    .page-promotions__section-title {
        font-size: clamp(1.3rem, 6vw, 2rem);
    }

    .page-promotions__hero-content {
        margin-top: 20px;
    }

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-promotions__card-image {
        height: 200px; /* Adjust height for smaller screens */
    }
}

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

@media (max-width: 549px) {
    .page-promotions__hero-section {
        padding-top: 8px;
        padding-bottom: 30px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.3rem, 8vw, 2rem);
    }
    .page-promotions__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-promotions__text-content {
        font-size: 0.95rem;
    }
    .page-promotions__card-grid {
        gap: 20px;
    }
    .page-promotions__promotion-card {
        min-width: unset; /* Allow cards to shrink on very small screens */
    }
    .page-promotions__card-title {
        font-size: 1.15rem;
        margin: 15px 10px 8px 10px;
    }
    .page-promotions__card-description {
        font-size: 0.9rem;
        padding: 0 10px;
        margin-bottom: 15px;
    }
    .page-promotions__card-button {
        padding: 8px 15px;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .page-promotions__faq-item {
        padding: 15px 20px;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
    }
    .page-promotions__faq-answer {
        font-size: 0.9rem;
    }
    .page-promotions__view-all-button,
    .page-promotions__view-terms-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
}