/* style/resources-58k-bonus-terms-and-conditions.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-resources-58k-bonus-terms-and-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text for dark body background */
}

.page-resources-58k-bonus-terms-and-conditions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources-58k-bonus-terms-and-conditions__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-resources-58k-bonus-terms-and-conditions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-resources-58k-bonus-terms-and-conditions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for better text contrast */
}

.page-resources-58k-bonus-terms-and-conditions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-58k-bonus-terms-and-conditions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-58k-bonus-terms-and-conditions__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-58k-bonus-terms-and-conditions__btn-register,
.page-resources-58k-bonus-terms-and-conditions__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-58k-bonus-terms-and-conditions__btn-register {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-color);
}

.page-resources-58k-bonus-terms-and-conditions__btn-register:hover {
    background-color: darken(var(--register-color), 10%);
    transform: translateY(-2px);
}

.page-resources-58k-bonus-terms-and-conditions__btn-login {
    background-color: var(--login-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--login-color);
}

.page-resources-58k-bonus-terms-and-conditions__btn-login:hover {
    background-color: darken(var(--login-color), 10%);
    transform: translateY(-2px);
}

.page-resources-58k-bonus-terms-and-conditions__section {
    padding: 60px 0;
}

.page-resources-58k-bonus-terms-and-conditions__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-58k-bonus-terms-and-conditions__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-58k-bonus-terms-and-conditions__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit;
}

.page-resources-58k-bonus-terms-and-conditions__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: inherit;
}

.page-resources-58k-bonus-terms-and-conditions__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: inherit;
}

.page-resources-58k-bonus-terms-and-conditions__highlight {
    font-weight: bold;
    color: inherit; /* Inherit color to ensure contrast */
}

.page-resources-58k-bonus-terms-and-conditions__list,
.page-resources-58k-bonus-terms-and-conditions__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: inherit;
}

.page-resources-58k-bonus-terms-and-conditions__ordered-list {
    list-style-type: decimal;
}

.page-resources-58k-bonus-terms-and-conditions__list-item {
    margin-bottom: 10px;
    color: inherit;
}

.page-resources-58k-bonus-terms-and-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-resources-58k-bonus-terms-and-conditions__inline-link {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-58k-bonus-terms-and-conditions__inline-link:hover {
    color: var(--text-light);
}

/* Adjust inline links for light background sections */
.page-resources-58k-bonus-terms-and-conditions__light-bg .page-resources-58k-bonus-terms-and-conditions__inline-link {
    color: var(--primary-color);
}

.page-resources-58k-bonus-terms-and-conditions__light-bg .page-resources-58k-bonus-terms-and-conditions__inline-link:hover {
    color: darken(var(--primary-color), 10%);
}

/* FAQ Section */
.page-resources-58k-bonus-terms-and-conditions__faq-section {
    padding: 60px 0;
}

.page-resources-58k-bonus-terms-and-conditions__faq-list {
    margin-top: 40px;
}

.page-resources-58k-bonus-terms-and-conditions__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-58k-bonus-terms-and-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
    color: var(--text-dark);
}

.page-resources-58k-bonus-terms-and-conditions__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-58k-bonus-terms-and-conditions__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
}

.page-resources-58k-bonus-terms-and-conditions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-resources-58k-bonus-terms-and-conditions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-resources-58k-bonus-terms-and-conditions__faq-answer p {
    padding-bottom: 20px; /* Adjust padding for content inside answer */
    margin: 0;
    color: inherit;
}

.page-resources-58k-bonus-terms-and-conditions__faq-item.active .page-resources-58k-bonus-terms-and-conditions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important;
}

.page-resources-58k-bonus-terms-and-conditions__faq-item.active .page-resources-58k-bonus-terms-and-conditions__faq-toggle {
    transform: rotate(45deg);
}

/* Contact Section */
.page-resources-58k-bonus-terms-and-conditions__contact-section {
    padding: 60px 0;
}

.page-resources-58k-bonus-terms-and-conditions__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: center;
}

.page-resources-58k-bonus-terms-and-conditions__contact-item {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-light);
}

.page-resources-58k-bonus-terms-and-conditions__contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-58k-bonus-terms-and-conditions__contact-item a:hover {
    color: var(--text-light);
}

/* CTA Banner */
.page-resources-58k-bonus-terms-and-conditions__cta-banner {
    padding: 80px 0;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-58k-bonus-terms-and-conditions__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-resources-58k-bonus-terms-and-conditions__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-58k-bonus-terms-and-conditions__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-58k-bonus-terms-and-conditions__hero-title {
        font-size: 2.8em;
    }
    .page-resources-58k-bonus-terms-and-conditions__section-title {
        font-size: 2em;
    }
    .page-resources-58k-bonus-terms-and-conditions__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources-58k-bonus-terms-and-conditions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-58k-bonus-terms-and-conditions__hero-section {
        padding: 60px 0;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-58k-bonus-terms-and-conditions__hero-title {
        font-size: 2em;
    }
    .page-resources-58k-bonus-terms-and-conditions__hero-description {
        font-size: 1em;
    }
    .page-resources-58k-bonus-terms-and-conditions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-58k-bonus-terms-and-conditions__btn-register,
    .page-resources-58k-bonus-terms-and-conditions__btn-login,
    .page-resources-58k-bonus-terms-and-conditions a[class*="button"],
    .page-resources-58k-bonus-terms-and-conditions 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-resources-58k-bonus-terms-and-conditions__section {
        padding: 40px 0;
    }
    .page-resources-58k-bonus-terms-and-conditions__section-title {
        font-size: 1.8em;
    }
    .page-resources-58k-bonus-terms-and-conditions__sub-title {
        font-size: 1.5em;
    }
    .page-resources-58k-bonus-terms-and-conditions__text-block,
    .page-resources-58k-bonus-terms-and-conditions__list-item {
        font-size: 1em;
    }
    .page-resources-58k-bonus-terms-and-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-resources-58k-bonus-terms-and-conditions__section,
    .page-resources-58k-bonus-terms-and-conditions__card,
    .page-resources-58k-bonus-terms-and-conditions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-resources-58k-bonus-terms-and-conditions__hero-image-wrapper {
        filter: brightness(0.4); /* Further darken for mobile */
    }
    .page-resources-58k-bonus-terms-and-conditions__contact-list {
        text-align: left;
        padding-left: 20px;
    }
    .page-resources-58k-bonus-terms-and-conditions__faq-item.active .page-resources-58k-bonus-terms-and-conditions__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-resources-58k-bonus-terms-and-conditions__hero-title {
        font-size: 1.8em;
    }
    .page-resources-58k-bonus-terms-and-conditions__section-title {
        font-size: 1.5em;
    }
    .page-resources-58k-bonus-terms-and-conditions__cta-title {
        font-size: 1.8em;
    }
}

/* Ensure no image filter is applied */
.page-resources-58k-bonus-terms-and-conditions img {
    filter: none; /* Remove any potential filter */
}