.page-promotions-daily-rebate-rules {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for the page, assuming dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-promotions-daily-rebate-rules__hero-section {
    position: relative;
    padding: 100px 20px 60px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #26A9E0; /* Brand primary color for hero background */
    color: #ffffff;
}

.page-promotions-daily-rebate-rules__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2; /* Slightly transparent to let background color show */
}

.page-promotions-daily-rebate-rules__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions-daily-rebate-rules__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-rebate-rules__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-promotions-daily-rebate-rules__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Sections */
.page-promotions-daily-rebate-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions-daily-rebate-rules__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit;
}

.page-promotions-daily-rebate-rules__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Background colors for sections */
.page-promotions-daily-rebate-rules__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 80px 0;
}

.page-promotions-daily-rebate-rules__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

/* Card Grid */
.page-promotions-daily-rebate-rules__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-rebate-rules__card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-rebate-rules__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions-daily-rebate-rules__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-promotions-daily-rebate-rules__card-text {
    font-size: 1em;
    line-height: 1.7;
}

/* Images within content */
.page-promotions-daily-rebate-rules__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Lists */
.page-promotions-daily-rebate-rules__ordered-list,
.page-promotions-daily-rebate-rules__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    font-size: 1.1em;
    line-height: 1.8;
    color: inherit;
}

.page-promotions-daily-rebate-rules__ordered-list li,
.page-promotions-daily-rebate-rules__unordered-list li {
    margin-bottom: 15px;
}

.page-promotions-daily-rebate-rules__list-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 5px;
}

/* Buttons */
.page-promotions-daily-rebate-rules__btn-primary,
.page-promotions-daily-rebate-rules__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-promotions-daily-rebate-rules__btn-primary {
    background-color: #EA7C07;
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-promotions-daily-rebate-rules__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
    transform: translateY(-2px);
}

.page-promotions-daily-rebate-rules__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-promotions-daily-rebate-rules__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
    transform: translateY(-2px);
}

/* CTA Section */
.page-promotions-daily-rebate-rules__cta-section .page-promotions-daily-rebate-rules__section-title {
    margin-bottom: 20px;
}
.page-promotions-daily-rebate-rules__cta-section .page-promotions-daily-rebate-rules__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 40px;
}
.page-promotions-daily-rebate-rules__cta-section .page-promotions-daily-rebate-rules__cta-buttons {
    margin-top: 30px;
}

/* FAQ Section */
.page-promotions-daily-rebate-rules__faq-list {
    margin-top: 40px;
}

.page-promotions-daily-rebate-rules__faq-item {
    background-color: #f9f9f9;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions-daily-rebate-rules__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-promotions-daily-rebate-rules__faq-question:hover {
    background-color: #f0f0f0;
}

.page-promotions-daily-rebate-rules__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em;
}

.page-promotions-daily-rebate-rules__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-promotions-daily-rebate-rules__faq-item.active .page-promotions-daily-rebate-rules__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-daily-rebate-rules__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #ffffff;
    color: #555555;
}

.page-promotions-daily-rebate-rules__faq-item.active .page-promotions-daily-rebate-rules__faq-answer {
    max-height: 1000px !important;
    padding: 20px 25px;
}

.page-promotions-daily-rebate-rules__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-daily-rebate-rules__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-daily-rebate-rules__section-title {
        font-size: 2em;
    }
    .page-promotions-daily-rebate-rules__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-rebate-rules__hero-section {
        padding: 80px 15px 40px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions-daily-rebate-rules__hero-title {
        font-size: 2.2em;
    }
    .page-promotions-daily-rebate-rules__hero-description {
        font-size: 1em;
    }
    .page-promotions-daily-rebate-rules__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-promotions-daily-rebate-rules__btn-primary,
    .page-promotions-daily-rebate-rules__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-promotions-daily-rebate-rules__dark-bg,
    .page-promotions-daily-rebate-rules__light-bg {
        padding: 60px 0;
    }
    .page-promotions-daily-rebate-rules__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions-daily-rebate-rules__text-block {
        font-size: 1em;
    }
    .page-promotions-daily-rebate-rules__container {
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-promotions-daily-rebate-rules img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 30px auto !important;
    }
    
    .page-promotions-daily-rebate-rules__section,
    .page-promotions-daily-rebate-rules__card,
    .page-promotions-daily-rebate-rules__container,
    .page-promotions-daily-rebate-rules__cta-buttons {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .page-promotions-daily-rebate-rules__video-section {
      padding-top: var(--header-offset, 120px) !important;
    }

    /* FAQ responsiveness */
    .page-promotions-daily-rebate-rules__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-promotions-daily-rebate-rules__faq-answer {
        padding: 0 20px;
    }
    .page-promotions-daily-rebate-rules__faq-item.active .page-promotions-daily-rebate-rules__faq-answer {
        padding: 15px 20px;
    }
}