:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions-daily-weekly-rebate {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    color: var(--text-main);
    background-color: var(--background-color);
    padding-top: 10px; /* Small top padding for inner page, body handles header offset */
}

.page-promotions-daily-weekly-rebate__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-promotions-daily-weekly-rebate__hero-section {
    position: relative;
    padding-bottom: 40px; /* Space below content before next section */
    background-color: var(--deep-green); /* Use deep green for hero background */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page-promotions-daily-weekly-rebate__hero-image-container {
    width: 100%;
    max-height: 600px; /* Max height for hero image container */
    overflow: hidden;
}

.page-promotions-daily-weekly-rebate__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/9; /* Default aspect ratio for hero */
}

.page-promotions-daily-weekly-rebate__hero-content {
    padding: 30px 15px;
    max-width: 800px; /* Constrain text width */
    margin-top: 20px; /* Space between image and text */
}

.page-promotions-daily-weekly-rebate__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Responsive H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.page-promotions-daily-weekly-rebate__description {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions-daily-weekly-rebate__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions-daily-weekly-rebate__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

/* Section Titles */
.page-promotions-daily-weekly-rebate__section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-promotions-daily-weekly-rebate__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Benefits Section */
.page-promotions-daily-weekly-rebate__benefits-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.page-promotions-daily-weekly-rebate__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions-daily-weekly-rebate__benefit-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-weekly-rebate__benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(42, 209, 111, 0.3);
}

.page-promotions-daily-weekly-rebate__benefit-icon {
    width: 200px; /* Min size */
    height: auto;
    max-width: 100%;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 3/2; /* Example aspect ratio */
}

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

.page-promotions-daily-weekly-rebate__benefit-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Details Section */
.page-promotions-daily-weekly-rebate__details-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.page-promotions-daily-weekly-rebate__content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-promotions-daily-weekly-rebate__details-section--reverse .page-promotions-daily-weekly-rebate__content-block {
    flex-direction: column-reverse; /* For reverse layout on mobile first */
}

.page-promotions-daily-weekly-rebate__content-image {
    width: 100%;
    max-width: 500px; /* Max width for content images */
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    aspect-ratio: 4/3; /* Example aspect ratio */
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

.page-promotions-daily-weekly-rebate__text-content {
    flex: 1;
}

.page-promotions-daily-weekly-rebate__sub-title {
    font-size: 1.8rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-promotions-daily-weekly-rebate__paragraph {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-promotions-daily-weekly-rebate__list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-promotions-daily-weekly-rebate__list-item {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.page-promotions-daily-weekly-rebate__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.page-promotions-daily-weekly-rebate__read-more-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.page-promotions-daily-weekly-rebate__read-more-button:hover {
    background-color: var(--secondary-color);
}

/* FAQ Section */
.page-promotions-daily-weekly-rebate__faq-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.page-promotions-daily-weekly-rebate__faq-item {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions-daily-weekly-rebate__faq-question {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 600;
}

.page-promotions-daily-weekly-rebate__faq-answer {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    /* For JS to toggle display: none; */
}

.page-promotions-daily-weekly-rebate__support-link {
    display: block;
    text-align: center;
    margin-top: 40px;
    font-size: 1.1rem;
    color: var(--gold-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.page-promotions-daily-weekly-rebate__support-link:hover {
    color: var(--primary-color);
}

/* Bottom CTA Section */
.page-promotions-daily-weekly-rebate__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--deep-green);
}

.page-promotions-daily-weekly-rebate__cta-bottom-section .page-promotions-daily-weekly-rebate__section-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.page-promotions-daily-weekly-rebate__cta-bottom-section .page-promotions-daily-weekly-rebate__paragraph {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-main);
}

.page-promotions-daily-weekly-rebate__cta-button--large {
    padding: 18px 40px;
    font-size: 1.25rem;
}

/* Responsive Adjustments */
@media (min-width: 769px) {
    .page-promotions-daily-weekly-rebate__hero-section {
        padding-top: 60px; /* More padding for desktop hero */
        padding-bottom: 60px;
    }
    .page-promotions-daily-weekly-rebate__hero-content {
        margin-top: 30px;
    }
    .page-promotions-daily-weekly-rebate__main-title {
        font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    }

    .page-promotions-daily-weekly-rebate__content-block {
        flex-direction: row; /* Desktop layout */
        text-align: left;
    }

    .page-promotions-daily-weekly-rebate__details-section--reverse .page-promotions-daily-weekly-rebate__content-block {
        flex-direction: row-reverse; /* Desktop reverse layout */
    }

    .page-promotions-daily-weekly-rebate__text-content {
        padding-top: 20px; /* Align text better with image */
    }

    .page-promotions-daily-weekly-rebate__content-image {
        flex-shrink: 0; /* Prevent image from shrinking too much */
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-weekly-rebate {
        padding-top: 8px; /* Smallest top padding for mobile */
    }
    .page-promotions-daily-weekly-rebate__hero-image {
        max-height: 400px; /* Constrain hero image height on mobile */
    }
    .page-promotions-daily-weekly-rebate__hero-content {
        padding: 20px 15px;
    }
    .page-promotions-daily-weekly-rebate__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem); /* More aggressive clamp for mobile H1 */
    }
    .page-promotions-daily-weekly-rebate__description {
        font-size: clamp(0.95rem, 4vw, 1.05rem);
    }
    .page-promotions-daily-weekly-rebate__cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
    .page-promotions-daily-weekly-rebate__section-title {
        margin-top: 40px;
        margin-bottom: 30px;
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-promotions-daily-weekly-rebate__benefits-grid {
        grid-template-columns: 1fr; /* Single column on small mobile */
    }
    .page-promotions-daily-weekly-rebate__benefit-card {
        padding: 25px;
    }
    .page-promotions-daily-weekly-rebate__benefit-icon {
        width: 180px; /* Adjust icon size */
        margin-bottom: 15px;
    }
    .page-promotions-daily-weekly-rebate__sub-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .page-promotions-daily-weekly-rebate__paragraph {
        font-size: 0.95rem;
        text-align: justify;
    }
    .page-promotions-daily-weekly-rebate__list-item {
        font-size: 0.95rem;
    }
    .page-promotions-daily-weekly-rebate__read-more-button {
        width: fit-content;
        margin: 0 auto;
        display: block;
    }
    .page-promotions-daily-weekly-rebate__content-image {
        max-width: 100%;
        height: auto;
        max-height: 300px; /* Constrain image height for mobile */
    }
    .page-promotions-daily-weekly-rebate__faq-question {
        font-size: 1.1rem;
    }
    .page-promotions-daily-weekly-rebate__faq-answer {
        font-size: 0.95rem;
    }
    .page-promotions-daily-weekly-rebate__cta-bottom-section .page-promotions-daily-weekly-rebate__paragraph {
        padding: 0 10px;
    }
    .page-promotions-daily-weekly-rebate__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    /* Ensure content area images do not cause overflow */
    .page-promotions-daily-weekly-rebate__benefits-grid img,
    .page-promotions-daily-weekly-rebate__content-block img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-promotions-daily-weekly-rebate__main-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }
    .page-promotions-daily-weekly-rebate__section-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }
    .page-promotions-daily-weekly-rebate__sub-title {
        font-size: 1.3rem;
    }
    .page-promotions-daily-weekly-rebate__paragraph,
    .page-promotions-daily-weekly-rebate__list-item,
    .page-promotions-daily-weekly-rebate__faq-answer {
        text-align: left; /* Adjust text alignment for smaller screens */
    }
}