.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Matches body background var(--auxiliary-color) */
}

.page-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #017439; /* Brand color for hero section */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-promotions__hero-content {
    padding: 40px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__main-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    max-width: 600px; /* Constrain H1 width */
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-promotions__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-promotions__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #017439;
}

.page-promotions__section-title--white {
    color: #ffffff;
}

.page-promotions__section-description {
    font-size: 17px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-promotions__section-description--white {
    color: #f0f0f0;
}

.page-promotions__grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Card text color for white background */
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #017439; /* Brand color for card title */
}

.page-promotions__card-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

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

.page-promotions__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

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

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

.page-promotions__benefits-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__benefits-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-promotions__benefits-text {
    font-size: 16px;
    color: #f0f0f0;
}

/* FAQ Section Styles */
.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333; /* FAQ text color */
}
details.page-promotions__faq-item summary.page-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;
}
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: #f5f5f5;
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #017439; /* FAQ question text color */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}
.page-promotions__faq-answer p {
    margin: 0;
    color: #555555; /* FAQ answer text color */
}


/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 38px;
    }

    .page-promotions__intro-text {
        font-size: 17px;
    }

    .page-promotions__section-title {
        font-size: 32px;
    }

    .page-promotions__section-description {
        font-size: 16px;
    }

    .page-promotions__card-title {
        font-size: 20px;
    }

    .page-promotions__card-text {
        font-size: 15px;
    }

    .page-promotions__benefits-title {
        font-size: 22px;
    }

    .page-promotions__benefits-text {
        font-size: 15px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* 1. Hero Section */
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-promotions__hero-content {
        padding: 30px 15px 40px;
    }

    .page-promotions__main-title {
        font-size: 30px;
        margin-bottom: 15px;
        max-width: 100%;
        padding: 0 10px; /* Add some padding to prevent text from touching edges */
    }

    .page-promotions__intro-text {
        font-size: 15px;
        margin-bottom: 25px;
        max-width: 100%;
        padding: 0 10px;
    }

    /* 2. Promo Duo (Grid Cards) */
    .page-promotions__grid-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-promotions__section {
        padding: 40px 0;
    }

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

    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .page-promotions__section-description {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-promotions__card {
        margin: 0 10px; /* Add margin to cards to prevent touching edges */
    }

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

    .page-promotions__card-content {
        padding: 20px;
    }

    .page-promotions__card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .page-promotions__card-text {
        font-size: 14px;
        margin-bottom: 15px;
    }

    /* 3. Generic Images and Containers */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__hero-image-wrapper {
        max-height: 400px;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 4. Buttons and Button Containers */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    /* Benefits List */
    .page-promotions__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-promotions__benefits-item {
        padding: 25px;
    }

    .page-promotions__benefits-title {
        font-size: 20px;
    }

    .page-promotions__benefits-text {
        font-size: 14px;
    }

    /* 5. Inner Page FAQ */
    details.page-promotions__faq-item summary.page-promotions__faq-question { 
        padding: 15px; 
    }
    .page-promotions__faq-qtext { 
        font-size: 15px; 
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }
    .page-promotions__faq-answer p {
        font-size: 14px;
    }
    .page-promotions__faq-list {
        margin: 30px auto 0;
        padding: 0 10px;
    }

    .page-promotions__cta-section {
        padding: 40px 0;
    }
}