/* style/latest-promotions-weekly-cashback.css */

:root {
    --page-primary-color: #007bff;
    --page-secondary-color: #ffc107;
    --page-text-color: #333;
    --page-light-text-color: #f8f9fa;
    --page-background-light: #f8f9fa;
    --page-background-dark: #343a40;
    --page-border-color: #dee2e6;
}

.page-latest-promotions-weekly-cashback {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-text-color);
    background-color: var(--page-background-light);
}

.page-latest-promotions-weekly-cashback__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-latest-promotions-weekly-cashback__hero {
    background: linear-gradient(135deg, var(--page-primary-color) 0%, #0056b3 100%); /* Darker blue for contrast */
    color: var(--page-light-text-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-latest-promotions-weekly-cashback__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-latest-promotions-weekly-cashback__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-latest-promotions-weekly-cashback__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.page-latest-promotions-weekly-cashback__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-latest-promotions-weekly-cashback__btn--primary {
    background-color: var(--page-secondary-color);
    color: var(--page-text-color);
}

.page-latest-promotions-weekly-cashback__btn--primary:hover {
    background-color: #e0a800; /* Darker secondary for hover */
    transform: translateY(-3px);
}

.page-latest-promotions-weekly-cashback__btn--secondary {
    background-color: var(--page-primary-color);
    color: var(--page-light-text-color);
    border: 2px solid var(--page-light-text-color);
}

.page-latest-promotions-weekly-cashback__btn--secondary:hover {
    background-color: #0056b3; /* Darker primary for hover */
    transform: translateY(-3px);
}

.page-latest-promotions-weekly-cashback__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}

.page-latest-promotions-weekly-cashback__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-latest-promotions-weekly-cashback__section {
    padding: 60px 0;
    position: relative;
}

.page-latest-promotions-weekly-cashback__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-latest-promotions-weekly-cashback__section-title {
    font-size: 2.5em;
    color: var(--page-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-latest-promotions-weekly-cashback__section-title .highlight {
    color: var(--page-secondary-color);
}

.page-latest-promotions-weekly-cashback__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-latest-promotions-weekly-cashback__text a {
    color: var(--page-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-latest-promotions-weekly-cashback__text a:hover {
    text-decoration: underline;
}

.page-latest-promotions-weekly-cashback__text .keyword {
    font-weight: bold;
    color: var(--page-primary-color);
}

.page-latest-promotions-weekly-cashback__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.page-latest-promotions-weekly-cashback__section--intro .page-latest-promotions-weekly-cashback__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.page-latest-promotions-weekly-cashback__section--intro .page-latest-promotions-weekly-cashback__container > *:not(img) {
    flex: 1;
    min-width: 300px;
}

.page-latest-promotions-weekly-cashback__image--right {
    flex: 0 0 400px;
    margin-left: auto;
    margin-right: 0;
}

.page-latest-promotions-weekly-cashback__image--full-width {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.page-latest-promotions-weekly-cashback__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-latest-promotions-weekly-cashback__list li {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 5px solid var(--page-secondary-color);
}

.page-latest-promotions-weekly-cashback__icon {
    font-size: 1.8em;
    color: var(--page-primary-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.page-latest-promotions-weekly-cashback__list li p {
    margin: 0;
    font-size: 1em;
    color: var(--page-text-color);
}

.page-latest-promotions-weekly-cashback__list li p strong {
    color: var(--page-primary-color);
    font-size: 1.1em;
}

.page-latest-promotions-weekly-cashback__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-latest-promotions-weekly-cashback__grid-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--page-primary-color);
}

.page-latest-promotions-weekly-cashback__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-latest-promotions-weekly-cashback__grid-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-latest-promotions-weekly-cashback__grid-item h3 {
    color: var(--page-primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-latest-promotions-weekly-cashback__grid-item p {
    font-size: 0.95em;
    color: #555;
}

.page-latest-promotions-weekly-cashback__note {
    background-color: #fff3cd; /* Light yellow, good contrast with dark text */
    color: #856404; /* Dark brown for text */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ffeeba;
    margin-top: 40px;
    text-align: center;
}

.page-latest-promotions-weekly-cashback__note p {
    margin: 0;
    font-size: 1.1em;
}

.page-latest-promotions-weekly-cashback__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-latest-promotions-weekly-cashback__step {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.page-latest-promotions-weekly-cashback__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-secondary-color);
    color: var(--page-text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--page-primary-color);
}

.page-latest-promotions-weekly-cashback__step h3 {
    color: var(--page-primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-latest-promotions-weekly-cashback__step p {
    font-size: 0.95em;
    color: #555;
}

.page-latest-promotions-weekly-cashback__faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-latest-promotions-weekly-cashback__faq-question {
    padding: 20px;
    margin: 0;
    font-size: 1.2em;
    color: var(--page-primary-color);
    cursor: pointer;
    background-color: #e9f7ff; /* Light blue background for question */
    border-bottom: 1px solid var(--page-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-latest-promotions-weekly-cashback__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-latest-promotions-weekly-cashback__faq-question.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-latest-promotions-weekly-cashback__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fcfdff;
}

.page-latest-promotions-weekly-cashback__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding: 20px;
}

.page-latest-promotions-weekly-cashback__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #555;
}

.page-latest-promotions-weekly-cashback__section--cta {
    background: linear-gradient(90deg, #0056b3 0%, var(--page-primary-color) 100%);
    color: var(--page-light-text-color);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-latest-promotions-weekly-cashback__cta-content {
    position: relative;
    z-index: 2;
}

.page-latest-promotions-weekly-cashback__section--cta .page-latest-promotions-weekly-cashback__section-title {
    color: var(--page-light-text-color);
    font-size: 3em;
}

.page-latest-promotions-weekly-cashback__section--cta .page-latest-promotions-weekly-cashback__text {
    color: var(--page-light-text-color);
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-latest-promotions-weekly-cashback__section--cta .page-latest-promotions-weekly-cashback__text a {
    color: var(--page-secondary-color);
}

.page-latest-promotions-weekly-cashback__cta-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-latest-promotions-weekly-cashback__hero-title {
        font-size: 2.8em;
    }
    .page-latest-promotions-weekly-cashback__hero-subtitle {
        font-size: 1.1em;
    }
    .page-latest-promotions-weekly-cashback__section-title {
        font-size: 2em;
    }
    .page-latest-promotions-weekly-cashback__section--intro .page-latest-promotions-weekly-cashback__container {
        flex-direction: column;
        text-align: center;
    }
    .page-latest-promotions-weekly-cashback__image--right {
        flex: none;
        margin-left: auto;
        margin-right: auto;
    }
    .page-latest-promotions-weekly-cashback__list {
        grid-template-columns: 1fr;
    }
    .page-latest-promotions-weekly-cashback__grid {
        grid-template-columns: 1fr;
    }
    .page-latest-promotions-weekly-cashback__steps {
        grid-template-columns: 1fr;
    }
    .page-latest-promotions-weekly-cashback__section--cta .page-latest-promotions-weekly-cashback__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-latest-promotions-weekly-cashback__hero {
        padding: 60px 0;
    }
    .page-latest-promotions-weekly-cashback__hero-title {
        font-size: 2.2em;
    }
    .page-latest-promotions-weekly-cashback__section {
        padding: 40px 0;
    }
    .page-latest-promotions-weekly-cashback__section-title {
        font-size: 1.8em;
    }
    .page-latest-promotions-weekly-cashback__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-latest-promotions-weekly-cashback__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-latest-promotions-weekly-cashback__hero-title {
        font-size: 1.8em;
    }
    .page-latest-promotions-weekly-cashback__hero-subtitle {
        font-size: 1em;
    }
    .page-latest-promotions-weekly-cashback__section-title {
        font-size: 1.5em;
    }
    .page-latest-promotions-weekly-cashback__btn {
        width: 100%;
        box-sizing: border-box;
    }
    .page-latest-promotions-weekly-cashback__grid-item h3 {
        font-size: 1.3em;
    }
    .page-latest-promotions-weekly-cashback__step h3 {
        font-size: 1.2em;
    }
}