.page-promotions {
    background-color: #F4F7FB; /* Background color */
    color: #1F2D3D; /* Text Main */
    padding-bottom: 40px; /* Add some bottom padding */
}

.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    background-color: #FFFFFF; /* Card BG, as a container for hero */
    border-radius: 8px;
    overflow: hidden; /* Ensure image corners are rounded */
    max-width: 1390px; /* Boxed layout */
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px 8px 0 0; /* Top corners rounded */
}

.page-promotions__hero-content {
    padding: 30px 20px;
    text-align: center;
    max-width: 900px;
    width: 100%; /* Ensure it doesn't collapse */
}

.page-promotions__main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.page-promotions__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main */
}

.page-promotions__hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.page-promotions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.page-promotions__btn--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
}

.page-promotions__btn--primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4); /* Glow color based shadow */
}

.page-promotions__btn--secondary {
    background-color: transparent;
    border: 2px solid #2F6BFF; /* Primary color as border */
    color: #2F6BFF; /* Primary color for text */
}

.page-promotions__btn--secondary:hover {
    background-color: #2F6BFF; /* Primary color on hover */
    color: #FFFFFF;
}

.page-promotions__section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 15px;
    padding-top: 20px;
}

.page-promotions__section-intro {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #1F2D3D; /* Text Main */
}

.page-promotions__latest-offers,
.page-promotions__all-offers,
.page-promotions__terms-conditions {
    max-width: 1390px; /* Boxed layout */
    margin: 0 auto 40px auto;
    padding: 20px;
}

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

.page-promotions__offer-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-promotions__offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__offer-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency, will be object-fit */
    object-fit: cover;
    display: block;
    /* Ensure image dimensions are at least 200x200px. */
}

.page-promotions__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-promotions__card-title .page-promotions__card-link {
    color: #000000; /* Custom Color_1776249996415 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title .page-promotions__card-link:hover {
    color: #2F6BFF; /* Primary color on hover */
}

.page-promotions__card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__btn--small {
    padding: 8px 18px;
    font-size: 0.9rem;
    align-self: flex-start; /* Align button to start */
}

.page-promotions__offer-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-promotions__list-item {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #D6E2FF; /* Border color */
    display: flex;
    flex-direction: column;
}

.page-promotions__list-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-promotions__list-title .page-promotions__list-link {
    color: #000000; /* Custom Color_1776249996415 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__list-title .page-promotions__list-link:hover {
    color: #2F6BFF; /* Primary color on hover */
}

.page-promotions__list-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}

.page-promotions__btn--text {
    background: none;
    border: none;
    color: #2F6BFF; /* Primary color */
    padding: 0;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.page-promotions__btn--text:hover {
    text-decoration: underline;
}

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

.page-promotions__terms-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #D6E2FF; /* Border color */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    position: relative;
    padding-left: 35px;
}

.page-promotions__terms-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 10px;
    top: 15px;
    font-size: 1.1rem;
}

.page-promotions__btn--outline {
    background-color: transparent;
    border: 2px solid #2F6BFF; /* Primary color as border */
    color: #2F6BFF; /* Primary color for text */
    margin: 0 auto; /* Center the button */
    display: block; /* Make it a block element to center */
    max-width: fit-content; /* Fit content width */
}

.page-promotions__btn--outline:hover {
    background-color: #2F6BFF; /* Primary color on hover */
    color: #FFFFFF;
}


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

    .page-promotions__hero-content {
        padding: 20px 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-promotions__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-promotions__hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-promotions__btn {
        width: 100%;
        max-width: 250px; /* Limit width for small screens */
        margin: 0 auto;
    }

    .page-promotions__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        padding-top: 15px;
        margin-bottom: 10px;
    }

    .page-promotions__section-intro {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .page-promotions__offer-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-promotions__offer-image {
        /* max-width: 100%; height: auto; is crucial for all images */
        max-width: 100%;
        height: auto;
        min-height: 200px; /* Ensure minimum height */
    }
    
    .page-promotions__offer-card {
        width: 100%; /* Ensure card takes full width */
    }

    .page-promotions__card-title {
        font-size: 1.15rem;
    }

    .page-promotions__card-description {
        font-size: 0.9rem;
    }

    .page-promotions__list-item {
        padding: 15px 20px;
    }

    .page-promotions__list-title {
        font-size: 1.1rem;
    }

    .page-promotions__list-description {
        font-size: 0.85rem;
    }

    .page-promotions__terms-item {
        font-size: 0.9rem;
        padding-left: 30px;
    }
    .page-promotions__terms-item::before {
        top: 13px;
    }

    /* Important: Ensure all content area images don't cause overflow */
    .page-promotions img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content area images maintain min-size and don't cause overflow */
.page-promotions img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
}

/* Specific rule for content images to ensure min size if not explicitly set */
.page-promotions__offer-image,
.page-promotions__hero-image {
    min-width: 200px;
    min-height: 200px;
}