/* style/blog-latest-promotions.css */

:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --page-bg: #F4F7FB;
    --text-main: #1F2D3D;
    --text-dark: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-blog-latest-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background: var(--page-bg);
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

/* Hero Section */
.page-blog-latest-promotions__hero-section {
    position: relative;
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--primary-color);
}

.page-blog-latest-promotions__hero-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog-latest-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog-latest-promotions__hero-content {
    position: relative;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    z-index: 1;
}

.page-blog-latest-promotions__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-blog-latest-promotions__subtitle {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-blog-latest-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-latest-promotions__cta-button--primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-blog-latest-promotions__cta-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

/* General Container */
.page-blog-latest-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Titles and Descriptions */
.page-blog-latest-promotions__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.page-blog-latest-promotions__section-description {
    font-size: 1.05em;
    color: var(--text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Promotions Overview Section */
.page-blog-latest-promotions__promotions-overview-section {
    padding: 60px 0;
    margin-top: -50px;
    background: var(--page-bg);
}

.page-blog-latest-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-blog-latest-promotions__promo-card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-latest-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

.page-blog-latest-promotions__promo-card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin: 0 20px 15px;
    font-weight: 600;
}

.page-blog-latest-promotions__promo-card-text {
    font-size: 0.95em;
    color: var(--text-main);
    margin: 0 20px 25px;
}

.page-blog-latest-promotions__cta-button--secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    font-size: 1em;
    font-weight: 600;
}

.page-blog-latest-promotions__cta-button--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* How to Claim Section */
.page-blog-latest-promotions__how-to-claim-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--page-bg) 0%, #E0E8F5 100%);
}

.page-blog-latest-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 60px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
}

.page-blog-latest-promotions__step-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-blog-latest-promotions__step-number {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.page-blog-latest-promotions__step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-blog-latest-promotions__step-text {
    font-size: 1em;
    color: var(--text-main);
}

.page-blog-latest-promotions__cta-button--full-width {
    display: block;
    width: 100%;
    margin-top: 60px;
    text-align: center;
}

/* FAQ Section */
.page-blog-latest-promotions__faq-section {
    padding: 80px 0;
    background: var(--card-bg);
}

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

details.page-blog-latest-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: #fff;
}
details.page-blog-latest-promotions__faq-item summary.page-blog-latest-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
}
details.page-blog-latest-promotions__faq-item summary.page-blog-latest-promotions__faq-question::-webkit-details-marker {
    display: none;
}
details.page-blog-latest-promotions__faq-item summary.page-blog-latest-promotions__faq-question:hover {
    background: #f5f5f5;
}
.page-blog-latest-promotions__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
.page-blog-latest-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-blog-latest-promotions__faq-item .page-blog-latest-promotions__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
}
.page-blog-latest-promotions__faq-answer p {
    margin: 0;
    padding-top: 10px;
    color: var(--text-main);
}


/* Final CTA Section */
.page-blog-latest-promotions__final-cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: #ffffff;
    text-align: center;
}

.page-blog-latest-promotions__final-cta-section .page-blog-latest-promotions__section-title {
    color: #ffffff;
}

.page-blog-latest-promotions__final-cta-section .page-blog-latest-promotions__section-description {
    color: #f0f0f0;
    margin-bottom: 50px;
}

.page-blog-latest-promotions__cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 20px;
}

.page-blog-latest-promotions__final-cta-section .page-blog-latest-promotions__cta-button--primary {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: none;
}

.page-blog-latest-promotions__final-cta-section .page-blog-latest-promotions__cta-button--primary:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

.page-blog-latest-promotions__final-cta-section .page-blog-latest-promotions__cta-button--secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-blog-latest-promotions__final-cta-section .page-blog-latest-promotions__cta-button--secondary:hover {
    background: #ffffff;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-latest-promotions__main-title {
        font-size: 2.8em;
    }
    .page-blog-latest-promotions__section-title {
        font-size: 2em;
    }
    .page-blog-latest-promotions__promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-blog-latest-promotions__steps-list {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    /* General Mobile Adaptations */
    .page-blog-latest-promotions {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 10px !important;
    }

    /* Images and Containers */
    .page-blog-latest-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog-latest-promotions__container,
    .page-blog-latest-promotions__hero-section,
    .page-blog-latest-promotions__promotions-overview-section,
    .page-blog-latest-promotions__how-to-claim-section,
    .page-blog-latest-promotions__faq-section,
    .page-blog-latest-promotions__final-cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .page-blog-latest-promotions__hero-content {
        padding: 30px 15px;
        transform: translateY(-30px);
    }
    .page-blog-latest-promotions__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }
    .page-blog-latest-promotions__subtitle {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-blog-latest-promotions__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-blog-latest-promotions__cta-button--full-width {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Section Titles and Descriptions */
    .page-blog-latest-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-blog-latest-promotions__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Promotions Grid */
    .page-blog-latest-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-blog-latest-promotions__promo-card-image {
        height: 200px;
    }
    .page-blog-latest-promotions__promo-card-title {
        font-size: 1.2em;
        margin: 0 15px 10px;
    }
    .page-blog-latest-promotions__promo-card-text {
        font-size: 0.9em;
        margin: 0 15px 20px;
    }
    .page-blog-latest-promotions__cta-button--secondary {
        padding: 8px 20px;
        font-size: 0.9em;
    }

    /* How to Claim Section */
    .page-blog-latest-promotions__steps-list {
        gap: 20px;
        margin-top: 40px;
    }
    .page-blog-latest-promotions__step-item {
        padding: 20px;
    }
    .page-blog-latest-promotions__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    .page-blog-latest-promotions__step-title {
        font-size: 1.3em;
    }
    .page-blog-latest-promotions__step-text {
        font-size: 0.95em;
    }
    .page-blog-latest-promotions__cta-button--full-width {
        margin-top: 40px;
    }

    /* FAQ Section */
    details.page-blog-latest-promotions__faq-item summary.page-blog-latest-promotions__faq-question { padding: 15px; }
    .page-blog-latest-promotions__faq-qtext { font-size: 15px; }
    .page-blog-latest-promotions__faq-toggle { font-size: 20px; margin-left: 10px; width: 24px; }
    details.page-blog-latest-promotions__faq-item .page-blog-latest-promotions__faq-answer { padding: 0 15px 15px; }

    /* Final CTA Section */
    .page-blog-latest-promotions__cta-buttons-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}