/* style/index-latest-promotions.css */
.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
}

/* Hero Section */
.page-index-latest-promotions__hero-section {
    position: relative;
    padding: 100px 20px;
    background-color: #017439; /* Primary color for hero background */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-index-latest-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

.page-index-latest-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-index-latest-promotions__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Highlight for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__lead-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-latest-promotions__btn-primary,
.page-index-latest-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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-latest-promotions__btn-primary {
    background-color: #C30808; /* Login/Register color */
    color: #FFFF00; /* Login/Register font color */
    border: 2px solid #C30808;
}

.page-index-latest-promotions__btn-primary:hover {
    background-color: #e02a2a;
    color: #FFFFFF;
}

.page-index-latest-promotions__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-index-latest-promotions__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
}

/* General Section Styles */
.page-index-latest-promotions__promotions-overview-section,
.page-index-latest-promotions__exclusive-offers-section,
.page-index-latest-promotions__how-to-claim-section,
.page-index-latest-promotions__why-choose-section,
.page-index-latest-promotions__faq-section,
.page-index-latest-promotions__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
    background-color: #1a1a1a; /* Darker background for content sections */
    color: #ffffff;
}

.page-index-latest-promotions__promotions-overview-section {
    background-color: #121212; /* Match body background for consistency */
}

.page-index-latest-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #017439; /* Primary brand color for headings */
}

.page-index-latest-promotions__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

/* Promotion Grid */
.page-index-latest-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-latest-promotions__promo-card {
    background-color: #2a2a2a; /* Slightly lighter dark for cards */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.page-index-latest-promotions__promo-card:hover {
    transform: translateY(-5px);
}

.page-index-latest-promotions__promo-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-index-latest-promotions__promo-card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-index-latest-promotions__promo-card-title a {
    color: #FFFF00;
    text-decoration: none;
}

.page-index-latest-promotions__promo-card-title a:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__promo-card-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-index-latest-promotions__promo-card-button {
    display: inline-block;
    background-color: #017439;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-latest-promotions__promo-card-button:hover {
    background-color: #02944b;
}

/* Exclusive Offers List */
.page-index-latest-promotions__offer-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-latest-promotions__offer-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    box-sizing: border-box;
}

.page-index-latest-promotions__offer-item-title {
    font-size: 1.4em;
    color: #FFFF00;
    margin-bottom: 10px;
}

.page-index-latest-promotions__offer-item-description {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.page-index-latest-promotions__link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-index-latest-promotions__link:hover {
    text-decoration: underline;
}

/* How to Claim Section */
.page-index-latest-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-index-latest-promotions__step-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-index-latest-promotions__step-title {
    font-size: 1.3em;
    color: #FFFF00;
    margin-bottom: 10px;
}

.page-index-latest-promotions__step-description {
    color: #e0e0e0;
}

.page-index-latest-promotions__guide-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin: 40px auto 0 auto;
    display: block;
}

/* Why Choose Section */
.page-index-latest-promotions__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-latest-promotions__advantage-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    box-sizing: border-box;
}

.page-index-latest-promotions__advantage-title {
    font-size: 1.4em;
    color: #FFFF00;
    margin-bottom: 10px;
}

.page-index-latest-promotions__advantage-description {
    color: #e0e0e0;
}

/* FAQ Section */
.page-index-latest-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-index-latest-promotions__faq-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.page-index-latest-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00;
    cursor: pointer;
    background-color: #017439;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-index-latest-promotions__faq-question:hover {
    background-color: #02944b;
}

.page-index-latest-promotions__faq-qtext {
    flex-grow: 1;
}

.page-index-latest-promotions__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFFFFF;
}

.page-index-latest-promotions__faq-item[open] .page-index-latest-promotions__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-index-latest-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: #e0e0e0;
    background-color: #2a2a2a;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    line-height: 1.7;
}

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

.page-index-latest-promotions__faq-item summary {
    list-style: none;
}

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

/* Call to Action Bottom Section */
.page-index-latest-promotions__cta-bottom-section {
    background-color: #017439;
    padding: 80px 0;
    color: #FFFFFF;
}

.page-index-latest-promotions__cta-bottom-section .page-index-latest-promotions__section-title {
    color: #FFFF00;
}

.page-index-latest-promotions__cta-bottom-section .page-index-latest-promotions__text-block {
    color: #FFFFFF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-index-latest-promotions__main-title {
        font-size: 3em;
    }

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

@media (max-width: 768px) {
    .page-index-latest-promotions__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-index-latest-promotions__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-index-latest-promotions__lead-text {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

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

    .page-index-latest-promotions__btn-primary,
    .page-index-latest-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-index-latest-promotions__promotions-overview-section,
    .page-index-latest-promotions__exclusive-offers-section,
    .page-index-latest-promotions__how-to-claim-section,
    .page-index-latest-promotions__why-choose-section,
    .page-index-latest-promotions__faq-section,
    .page-index-latest-promotions__cta-bottom-section {
        padding: 40px 0;
    }

    .page-index-latest-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-index-latest-promotions__text-block {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-index-latest-promotions__promo-grid,
    .page-index-latest-promotions__offer-list,
    .page-index-latest-promotions__steps-list,
    .page-index-latest-promotions__advantage-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-index-latest-promotions__promo-card,
    .page-index-latest-promotions__offer-item,
    .page-index-latest-promotions__step-item,
    .page-index-latest-promotions__advantage-item {
        padding: 20px;
    }

    .page-index-latest-promotions__promo-card-image {
        height: 200px;
    }

    .page-index-latest-promotions__guide-image {
        margin: 30px auto 0 auto;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-index-latest-promotions__faq-list {
        padding: 0 15px;
    }

    .page-index-latest-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-index-latest-promotions__container,
    .page-index-latest-promotions__promo-grid,
    .page-index-latest-promotions__offer-list,
    .page-index-latest-promotions__steps-list,
    .page-index-latest-promotions__advantage-list,
    .page-index-latest-promotions__faq-list,
    .page-index-latest-promotions__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}