.page-promotions-cashback-rules-explanation {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-promotions-cashback-rules-explanation__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--card-bg);
    overflow: hidden;
}

.page-promotions-cashback-rules-explanation__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions-cashback-rules-explanation__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no filter changes image color */
    border-radius: 8px;
}

.page-promotions-cashback-rules-explanation__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 30px 20px 0;
    color: var(--text-main);
}

.page-promotions-cashback-rules-explanation__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-promotions-cashback-rules-explanation__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* CTA Buttons */
.page-promotions-cashback-rules-explanation__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 15px;
}

.page-promotions-cashback-rules-explanation__btn-primary,
.page-promotions-cashback-rules-explanation__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions-cashback-rules-explanation__btn-primary {
    background: var(--button);
    color: var(--text-main);
    border: 2px solid transparent;
}

.page-promotions-cashback-rules-explanation__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-promotions-cashback-rules-explanation__btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
}

.page-promotions-cashback-rules-explanation__btn-secondary:hover {
    background: var(--deep-green);
    color: var(--text-main);
}

/* Content Area */
.page-promotions-cashback-rules-explanation__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background);
    color: var(--text-main);
}

.page-promotions-cashback-rules-explanation__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--gold);
    margin-bottom: 25px;
    text-align: center;
    padding-top: 20px;
}

.page-promotions-cashback-rules-explanation__section-intro p,
.page-promotions-cashback-rules-explanation__section-details p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-promotions-cashback-rules-explanation__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
    filter: none;
}

.page-promotions-cashback-rules-explanation__image-inline {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    object-fit: cover;
    filter: none;
}

.page-promotions-cashback-rules-explanation__list,
.page-promotions-cashback-rules-explanation__numbered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-promotions-cashback-rules-explanation__numbered-list {
    list-style-type: decimal;
}

.page-promotions-cashback-rules-explanation__list-title {
    color: var(--text-main);
    font-size: 1.3em;
    margin-top: 15px;
    margin-bottom: 5px;
}

.page-promotions-cashback-rules-explanation__list li,
.page-promotions-cashback-rules-explanation__numbered-list li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-promotions-cashback-rules-explanation__sub-list {
    list-style-type: circle;
    margin-left: 20px;
    margin-top: 10px;
    color: var(--text-secondary);
}

.page-promotions-cashback-rules-explanation__dark-section {
    background-color: var(--deep-green);
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 12px;
    color: var(--text-main);
}

.page-promotions-cashback-rules-explanation__dark-section .page-promotions-cashback-rules-explanation__section-title {
    color: var(--gold);
}

.page-promotions-cashback-rules-explanation__dark-section p,
.page-promotions-cashback-rules-explanation__dark-section li {
    color: var(--text-secondary);
}

.page-promotions-cashback-rules-explanation__numbered-list--dark li {
    color: var(--text-secondary);
}

/* FAQ Section */
.page-promotions-cashback-rules-explanation__faq-section {
    padding: 40px 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-top: 40px;
}

.page-promotions-cashback-rules-explanation__faq-list {
    margin-top: 30px;
}

.page-promotions-cashback-rules-explanation__faq-item {
    background-color: var(--background);
    border: 1px solid var(--divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-promotions-cashback-rules-explanation__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green);
    color: var(--text-main);
    transition: background-color 0.3s ease;
}

.page-promotions-cashback-rules-explanation__faq-question:hover {
    background-color: var(--glow);
    color: #000000; /* Darker text on lighter hover background for contrast */
}

.page-promotions-cashback-rules-explanation__faq-qtext {
    flex-grow: 1;
    color: inherit;
}

.page-promotions-cashback-rules-explanation__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: inherit;
}

/* For details tag, hide default marker */
.page-promotions-cashback-rules-explanation__faq-item summary {
    list-style: none;
}
.page-promotions-cashback-rules-explanation__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-promotions-cashback-rules-explanation__faq-answer {
    padding: 15px 25px;
    background-color: var(--background);
    color: var(--text-secondary);
    border-top: 1px solid var(--divider);
}

/* Call to Action Section */
.page-promotions-cashback-rules-explanation__call-to-action-section {
    text-align: center;
    padding: 50px 20px;
    margin-top: 40px;
    background-color: var(--card-bg);
    border-radius: 12px;
    color: var(--text-main);
}

.page-promotions-cashback-rules-explanation__call-to-action-section .page-promotions-cashback-rules-explanation__section-title {
    margin-bottom: 20px;
    color: var(--gold);
}

.page-promotions-cashback-rules-explanation__call-to-action-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions-cashback-rules-explanation__hero-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions-cashback-rules-explanation {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions-cashback-rules-explanation__hero-section {
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-cashback-rules-explanation__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions-cashback-rules-explanation__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-promotions-cashback-rules-explanation__description {
        font-size: 1em;
    }

    .page-promotions-cashback-rules-explanation__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-cashback-rules-explanation__btn-primary,
    .page-promotions-cashback-rules-explanation__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-cashback-rules-explanation__content-area,
    .page-promotions-cashback-rules-explanation__dark-section,
    .page-promotions-cashback-rules-explanation__faq-section,
    .page-promotions-cashback-rules-explanation__call-to-action-section {
        padding: 25px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-cashback-rules-explanation__image-full,
    .page-promotions-cashback-rules-explanation__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-promotions-cashback-rules-explanation__faq-question {
        padding: 15px 20px;
    }

    .page-promotions-cashback-rules-explanation__faq-answer {
        padding: 10px 20px;
    }

    /* Video section not present, but keeping responsive rules for consistency */
    .page-promotions-cashback-rules-explanation__video-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-cashback-rules-explanation__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions-cashback-rules-explanation video,
    .page-promotions-cashback-rules-explanation__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}