/* style/promotions-terms-conditions.css */

/* Base styles for the page content */
.page-promotions-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for the main content area if no specific section background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Apply offset to the main content area */
}

.page-promotions-terms-conditions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    min-height: 500px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for text readability */
    color: #ffffff;
    box-sizing: border-box;
}

.page-promotions-terms-conditions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-promotions-terms-conditions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for text readability, not color change */
}

.page-promotions-terms-conditions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly darker background for content on image */
    border-radius: 8px;
}

.page-promotions-terms-conditions__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-promotions-terms-conditions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Content Area Styling */
.page-promotions-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-promotions-terms-conditions__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #017439; /* Brand primary color for titles */
    font-weight: bold;
}

.page-promotions-terms-conditions__section-title--light {
    color: #ffffff;
}

.page-promotions-terms-conditions__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333; /* Dark text for light backgrounds */
}

.page-promotions-terms-conditions__paragraph--light {
    color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-promotions-terms-conditions__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333; /* Dark text for light backgrounds */
}

.page-promotions-terms-conditions__list--light {
    color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-promotions-terms-conditions__list li {
    margin-bottom: 10px;
}

.page-promotions-terms-conditions__link {
    color: #017439; /* Brand primary color for links */
    text-decoration: underline;
}

.page-promotions-terms-conditions__link--light {
    color: #FFFF00; /* Yellow for links on dark background */
}

/* Card Styling */
.page-promotions-terms-conditions__card {
    background-color: #ffffff; /* White background for cards */
    color: #333333; /* Dark text for white cards */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.page-promotions-terms-conditions__card:hover {
    transform: translateY(-5px);
}

.page-promotions-terms-conditions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Brand primary color for card titles */
    font-weight: bold;
}

.page-promotions-terms-conditions__card--dark {
    background-color: rgba(1, 116, 57, 0.8); /* Darker background for cards in dark sections */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-terms-conditions__card-title--light {
    color: #FFFF00; /* Yellow for card titles on dark cards */
}

/* Background variations */
.page-promotions-terms-conditions__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-promotions-terms-conditions__dark-bg {
    background-color: #017439; /* Brand primary color as background */
    color: #ffffff;
}

/* Call to Action (CTA) Section */
.page-promotions-terms-conditions__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
    box-sizing: border-box;
}

.page-promotions-terms-conditions__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-promotions-terms-conditions__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-terms-conditions__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Button Styling */
.page-promotions-terms-conditions__cta-button,
.page-promotions-terms-conditions__btn-primary,
.page-promotions-terms-conditions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-promotions-terms-conditions__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-promotions-terms-conditions__btn-primary:hover {
    background-color: #a30606;
    transform: translateY(-3px);
}

.page-promotions-terms-conditions__btn-secondary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-promotions-terms-conditions__btn-secondary:hover {
    background-color: #005f2e;
    transform: translateY(-3px);
}

/* FAQ Section */
.page-promotions-terms-conditions__faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-promotions-terms-conditions__faq-container {
    margin-top: 30px;
}

.page-promotions-terms-conditions__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions-terms-conditions__faq-question:hover {
    background-color: #f0f0f0;
}

.page-promotions-terms-conditions__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #017439; /* Brand primary color for FAQ questions */
}

.page-promotions-terms-conditions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-promotions-terms-conditions__faq-item.active .page-promotions-terms-conditions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-terms-conditions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding for collapsed state */
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: #333333;
}

.page-promotions-terms-conditions__faq-item.active .page-promotions-terms-conditions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px;
}

.page-promotions-terms-conditions__faq-answer p {
    margin-bottom: 0;
}

/* Ensure content area images are not smaller than 200px */
.page-promotions-terms-conditions img:not(.page-promotions-terms-conditions__hero-image) {
    min-width: 200px;
    min-height: 200px;
    filter: none; /* Ensure no color filters */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .page-promotions-terms-conditions {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

    .page-promotions-terms-conditions__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }

    .page-promotions-terms-conditions__main-title {
        font-size: 2em;
    }

    .page-promotions-terms-conditions__hero-description {
        font-size: 1em;
    }

    .page-promotions-terms-conditions__content-area {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-terms-conditions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-promotions-terms-conditions__paragraph,
    .page-promotions-terms-conditions__list {
        font-size: 1em;
    }

    .page-promotions-terms-conditions__card {
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-promotions-terms-conditions__card-title {
        font-size: 1.3em;
    }

    .page-promotions-terms-conditions__cta-section {
        padding: 60px 15px;
    }

    .page-promotions-terms-conditions__cta-title {
        font-size: 2em;
    }

    .page-promotions-terms-conditions__cta-description {
        font-size: 1em;
    }

    .page-promotions-terms-conditions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-terms-conditions__cta-button,
    .page-promotions-terms-conditions__btn-primary,
    .page-promotions-terms-conditions__btn-secondary {
        width: 100% !important; /* Full width buttons */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-promotions-terms-conditions__faq-section {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-terms-conditions__faq-question {
        padding: 15px;
    }

    .page-promotions-terms-conditions__faq-title {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-promotions-terms-conditions img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-promotions-terms-conditions__hero-image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
    
    .page-promotions-terms-conditions__section,
    .page-promotions-terms-conditions__card,
    .page-promotions-terms-conditions__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    
    /* Videos responsiveness - no videos in this page, but general rules are included */
    .page-promotions-terms-conditions video,
    .page-promotions-terms-conditions__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-promotions-terms-conditions__video-section,
    .page-promotions-terms-conditions__video-container,
    .page-promotions-terms-conditions__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
}