/* style/promotions.css */
/* Base styles for the promotions page */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    padding-top: 10px; /* Small top padding for visual separation */
    overflow: hidden;
    gap: 20px;
}

.page-promotions__hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    object-fit: cover;
    margin-top: 20px;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    font-weight: bold;
    color: #57E38D; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #2E7A4E; /* Border */
}

.page-promotions__btn-secondary:hover {
    background-color: #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 4px 15px rgba(46, 122, 78, 0.4);
}

/* General Section Styling */
.page-promotions__section-title {
    font-size: clamp(1.6em, 3vw, 2.4em);
    color: #57E38D; /* Glow */
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
    font-weight: bold;
}

.page-promotions__sub-title {
    font-size: clamp(1.2em, 2.5vw, 1.8em);
    color: #F2FFF6; /* Text Main */
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-promotions__text-block {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.page-promotions__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #A7D9B8; /* Text Secondary */
}

.page-promotions__list-item strong {
    color: #F2FFF6; /* Text Main */
}

.page-promotions__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #57E38D; /* Glow */
    font-weight: bold;
}

.page-promotions__numbered-list {
    list-style: none;
    padding: 0;
    counter-reset: section-counter;
    margin: 0 0 20px 0;
}

.page-promotions__numbered-list .page-promotions__list-item {
    padding-left: 35px;
}

.page-promotions__numbered-list .page-promotions__list-item::before {
    counter-increment: section-counter;
    content: counter(section-counter) ".";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #57E38D; /* Glow */
}

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

.page-promotions__promo-card {
    background-color: #11271B; /* Card B G */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__card-image {
    width: 100%;
    height: auto;
    max-height: 225px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__card-title {
    font-size: 1.4em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-description {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-list {
    margin-top: 15px;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 30px;
}

.page-promotions__faq-item {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-promotions__faq-question:hover {
    background-color: #13994A;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    font-size: 1.1em;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    background-color: #11271B; /* Card B G */
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95em;
    border-top: 1px solid #1E3A2A; /* Divider */
}

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

/* CTA Section */
.page-promotions__cta-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    overflow: hidden;
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #2E7A4E;
}

.page-promotions__cta-content {
    max-width: 800px;
    z-index: 1;
    padding-bottom: 30px;
}

.page-promotions__cta-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    object-fit: cover;
    margin-top: 30px;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 15px;
        padding-top: 10px !important;
    }

    .page-promotions__main-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }

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

    .page-promotions__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-promotions__sub-title {
        font-size: clamp(1.1em, 4vw, 1.5em);
        margin-top: 30px;
        margin-bottom: 10px;
    }

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

    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-card {
        padding: 20px;
    }

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

    .page-promotions__card-description {
        font-size: 0.9em;
    }

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

    .page-promotions__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    /* Image responsive styles */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__hero-section,
    .page-promotions__intro-section,
    .page-promotions__types-section,
    .page-promotions__how-to-get-section,
    .page-promotions__tips-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section,
    .page-promotions__promo-card {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-promotions__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-image {
        border-radius: 0;
    }
    .page-promotions__cta-section {
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions__cta-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__cta-image {
        border-radius: 0;
    }

    /* Button responsive styles */
    .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;
        margin-bottom: 10px;
    }

    .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;
        display: flex;
        flex-direction: column;
    }
}

/* For details tag on summary */
.page-promotions__faq-item summary {
    list-style: none;
}
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}