.page-promotions {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-highlight: #FFFF00;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
}

.page-promotions__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-promotions__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

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

.page-promotions__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-promotions__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: var(--button-register);
    color: var(--button-text-highlight);
    border: 2px solid var(--button-register);
}

.page-promotions__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-promotions__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__current-promotions-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__why-choose-section .page-promotions__section-title,
.page-promotions__cta-section .page-promotions__section-title {
    color: var(--primary-color);
}

.page-promotions__types-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
    color: var(--text-light);
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.page-promotions__current-promotions-section .page-promotions__section-description,
.page-promotions__how-to-claim-section .page-promotions__section-description,
.page-promotions__why-choose-section .page-promotions__section-description,
.page-promotions__cta-section .page-promotions__section-description {
    color: var(--text-dark);
}

.page-promotions__types-section .page-promotions__section-description,
.page-promotions__terms-section .page-promotions__section-description,
.page-promotions__faq-section .page-promotions__section-description {
    color: var(--text-light);
}

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

.page-promotions__promotion-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
    color: var(--text-dark);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-promotions__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0 15px;
}

.page-promotions__promotion-card .page-promotions__btn-primary,
.page-promotions__promotion-card .page-promotions__btn-secondary {
    width: calc(100% - 30px);
    margin: 0 15px;
    font-size: 0.9em;
    padding: 12px 20px;
}

.page-promotions__types-section {
    padding: 60px 0;
}

.page-promotions__type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-promotions__type-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    color: var(--text-light);
}

.page-promotions__type-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--button-text-highlight);
}

.page-promotions__type-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-promotions__how-to-claim-section {
    padding: 60px 0;
}

.page-promotions__claim-steps {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-promotions__step-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
}

.page-promotions__step-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 1.1em;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-promotions__terms-section {
    padding: 60px 0;
}

.page-promotions__terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-promotions__terms-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    color: var(--text-light);
}

.page-promotions__terms-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--button-text-highlight);
}

.page-promotions__terms-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-promotions__why-choose-section {
    padding: 60px 0;
}

.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__benefit-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    color: var(--text-dark);
}

.page-promotions__benefit-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions__benefit-text {
    font-size: 1em;
}

.page-promotions__faq-section {
    padding: 60px 0;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-light);
}

.page-promotions__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: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
    color: var(--text-light);
}

.page-promotions__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-answer p {
    margin: 0;
}

/* Details element specific styling for toggle */
.page-promotions__faq-item > summary {
    list-style: none;
}

.page-promotions__faq-item > summary::-webkit-details-marker {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.5em;
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__type-grid,
    .page-promotions__terms-grid,
    .page-promotions__promotion-grid,
    .page-promotions__benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-promotions__hero-section {
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-promotions__hero-title {
        font-size: 2em;
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }

    .page-promotions__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-promotions__promotion-grid,
    .page-promotions__type-grid,
    .page-promotions__terms-grid,
    .page-promotions__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__card-image {
        height: 180px;
    }

    .page-promotions__card-title {
        font-size: 1.3em;
    }

    .page-promotions__step-title {
        font-size: 1.5em;
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 15px 20px;
    }

    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promotion-card,
    .page-promotions__type-item,
    .page-promotions__terms-item,
    .page-promotions__benefit-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        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__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }

    .page-promotions__section-title {
        font-size: 1.6em;
    }

    .page-promotions__card-title {
        font-size: 1.2em;
    }

    .page-promotions__step-title {
        font-size: 1.3em;
    }
}