/* style/support.css */

/* Base styles for the support page */
.page-support {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    background-color: #26A9E0; /* Brand primary color for hero background */
    color: #ffffff;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for hero image */
}

.page-support__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-support__main-title {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-support__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-support__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-support__btn-primary {
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-support__btn-primary:hover {
    background-color: #d46b00;
    border-color: #d46b00;
}

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

.page-support__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0; /* Brand primary color */
}

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

.page-support__dark-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-support__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-support__dark-text {
    color: #333333;
}

.page-support__section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
    font-weight: bold;
    color: inherit;
}

.page-support__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-support__grid-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__light-bg .page-support__grid-item {
    background-color: #f8f8f8;
    color: #333333;
}

.page-support__image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Recommended content image size */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-support__image--small {
    max-width: 400px;
    height: auto;
}

.page-support__item-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: inherit;
}

.page-support__grid-item p {
    margin-bottom: 20px;
    font-size: 1em;
    color: inherit;
}

.page-support__read-more {
    display: inline-block;
    background-color: #EA7C07;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-support__read-more:hover {
    background-color: #d46b00;
}

.page-support__light-bg .page-support__read-more {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-support__light-bg .page-support__read-more:hover {
    background-color: #1e87b7;
}

.page-support__link {
    color: #EA7C07;
    text-decoration: underline;
}

.page-support__link:hover {
    color: #d46b00;
}

/* FAQ Section */
.page-support__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-support__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-support__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1em;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

.page-support__faq-answer {
    padding: 15px 25px 25px 25px;
    font-size: 1em;
    color: #f0f0f0;
}

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

/* Call to Action Section */
.page-support__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-support__cta-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.page-support__cta-container .page-support__cta-buttons {
    margin-top: 0;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
    padding: 60px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-support__responsible-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.page-support__responsible-content .page-support__image {
    border: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-content {
        padding: 15px;
    }
    .page-support__main-title {
        font-size: 2.5em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-bottom: 40px;
    }

    .page-support__main-title {
        font-size: 1.8em;
    }

    .page-support__intro-text {
        font-size: 1em;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        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-support__section {
        padding: 40px 0;
    }

    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-support__grid-item {
        padding: 20px;
    }

    .page-support__item-title {
        font-size: 1.3em;
    }

    .page-support__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-support__faq-answer {
        padding: 15px 20px;
    }

    .page-support__cta-section {
        padding: 60px 0;
    }

    .page-support__cta-title {
        font-size: 1.8em;
    }

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

    .page-support__responsible-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-support__image--small {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: 1.5em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__cta-title {
        font-size: 1.5em;
    }
}