/* style/promotions.css */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F3F8FF; /* Text Main for general page content on dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #F3F8FF; /* Text Main */
    text-align: center;
}

.page-promotions__section-title--light {
    color: #F3F8FF; /* Text Main for light text on dark background */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
}

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

.page-promotions__hero-content {
    position: relative; /* Not absolute to overlay */
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    background-color: #10233F; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-top: -80px; /* Overlap slightly with image for visual effect */
    z-index: 1;
    border: 1px solid #244D84; /* Border */
}

.page-promotions__main-title {
    font-size: 48px;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.page-promotions__hero-description {
    font-size: 18px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
    color: #F3F8FF; /* Text Main */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-promotions__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold */
    margin-left: 20px;
}

.page-promotions__btn-secondary:hover {
    background: #F2C14E; /* Gold */
    color: #10233F; /* Card BG */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Promotions List */
.page-promotions__promo-list {
    padding: 80px 0;
    background-color: #08162B; /* Deep Navy */
}

.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__promo-card {
    background-color: #10233F; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    border: 1px solid #244D84; /* Border */
}

.page-promotions__promo-image-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
}

.page-promotions__promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-promotions__promo-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-title {
    font-size: 24px;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__promo-description {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 25px;
    flex-grow: 1;
}

/* CTA Section */
.page-promotions__cta-section {
    background-color: #113B7A; /* Main color */
    padding: 80px 20px;
}

.page-promotions__cta-section .page-promotions__section-title {
    color: #F3F8FF; /* Text Main */
    margin-bottom: 20px;
}

.page-promotions__text-block {
    font-size: 18px;
    color: #AFC4E8; /* Text Secondary */
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-promotions__btn-cta {
    min-width: 200px; /* Ensure buttons are not too small */
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #08162B; /* Deep Navy */
}

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

details.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #244D84; /* Border */
    overflow: hidden;
    background: #10233F; /* Card BG */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #F3F8FF; /* Text Main */
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
    background: #1B3357; /* Divider color for hover */
}
.page-promotions__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F3F8FF; /* Text Main */
}
.page-promotions__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 25px 25px;
    background: #08162B; /* Deep Navy */
    border-radius: 0 0 8px 8px;
    color: #AFC4E8; /* Text Secondary */
}
.page-promotions__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
}


/* General Image Responsiveness */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 42px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }
    .page-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    /* 1. Hero/first section */
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        margin-bottom: 20px;
    }
    .page-promotions__hero-image-wrapper {
        max-height: 300px;
    }
    .page-promotions__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
        border-radius: 8px;
    }
    .page-promotions__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* 2. Promotions List (single column for cards) */
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-promotions__promo-card {
        border-radius: 10px;
    }
    .page-promotions__promo-image-wrapper {
        height: 180px;
    }
    .page-promotions__promo-details {
        padding: 20px;
    }
    .page-promotions__promo-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-promotions__promo-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    /* 3. CTA Section */
    .page-promotions__cta-section {
        padding: 50px 15px;
    }
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px; /* Added padding for text block */
    }
    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Added padding for button container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .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__btn-secondary {
        margin-left: 0; /* Remove left margin for stacked buttons */
    }

    /* 4. General Images and Containers */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__container,
    .page-promotions__section,
    .page-promotions__promo-list,
    .page-promotions__cta-section,
    .page-promotions__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__section {
        padding: 40px 0;
    }

    /* 5. FAQ Section */
    .page-promotions__faq-section {
        padding: 50px 15px;
    }
    details.page-promotions__faq-item {
        border-radius: 6px;
    }
    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-qtext {
        font-size: 16px;
    }
    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 20px 20px;
    }
    .page-promotions__faq-answer p {
        font-size: 15px;
    }
}