/* style/resources-tg777-login-faq.css */

.page-resources-tg777-login-faq {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

/* Fixed Header Offset for main content */
.page-resources-tg777-login-faq__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply offset to the first section */
    background-color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-tg777-login-faq__hero-container {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-resources-tg777-login-faq__hero-title {
    font-size: 3em;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-tg777-login-faq__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 30px;
}

.page-resources-tg777-login-faq__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-tg777-login-faq__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are large enough */
    text-align: center;
}

.page-resources-tg777-login-faq__button--register {
    background-color: #000000; /* Main color for register */
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-resources-tg777-login-faq__button--register:hover {
    background-color: #333333;
    color: #FFFFFF;
}

.page-resources-tg777-login-faq__button--login {
    background-color: #FCBC45; /* Login specific color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-tg777-login-faq__button--login:hover {
    background-color: #FFD700;
    color: #000000;
}

.page-resources-tg777-login-faq__hero-image {
    margin-top: 40px;
    width: 100%;
    max-width: 1200px;
}

.page-resources-tg777-login-faq__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-resources-tg777-login-faq__content-area {
    max-width: 800px; /* Constrain content width for readability */
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
}

.page-resources-tg777-login-faq__back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-resources-tg777-login-faq__back-link:hover {
    color: #FCBC45;
}

.page-resources-tg777-login-faq__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
}

.page-resources-tg777-login-faq__intro-paragraph {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: justify;
}

.page-resources-tg777-login-faq__faq-category {
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.page-resources-tg777-login-faq__faq-category:last-of-type {
    border-bottom: none;
}

.page-resources-tg777-login-faq__category-title {
    font-size: 2em;
    color: #000000;
    margin-bottom: 25px;
    border-left: 5px solid #FCBC45;
    padding-left: 15px;
}

.page-resources-tg777-login-faq__faq-item {
    margin-bottom: 30px;
}

.page-resources-tg777-login-faq__question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources-tg777-login-faq__answer {
    font-size: 1.1em;
    color: #333333;
    padding-left: 20px;
    border-left: 2px solid #eee;
}

.page-resources-tg777-login-faq__answer a {
    color: #000000;
    text-decoration: underline;
}

.page-resources-tg777-login-faq__answer a:hover {
    color: #FCBC45;
}

.page-resources-tg777-login-faq__faq-image {
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.page-resources-tg777-login-faq__faq-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-resources-tg777-login-faq__call-to-action {
    background-color: #000000;
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
}

.page-resources-tg777-login-faq__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-resources-tg777-login-faq__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-resources-tg777-login-faq__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-tg777-login-faq__hero-title {
        font-size: 2.2em;
    }

    .page-resources-tg777-login-faq__hero-description,
    .page-resources-tg777-login-faq__intro-paragraph,
    .page-resources-tg777-login-faq__answer {
        font-size: 1em;
    }

    .page-resources-tg777-login-faq__section-title {
        font-size: 2em;
    }

    .page-resources-tg777-login-faq__category-title {
        font-size: 1.6em;
    }

    .page-resources-tg777-login-faq__question {
        font-size: 1.1em;
    }

    .page-resources-tg777-login-faq__button {
        padding: 12px 25px;
        font-size: 1em;
        min-width: unset;
        width: 100%;
    }

    .page-resources-tg777-login-faq__hero-actions,
    .page-resources-tg777-login-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-tg777-login-faq__call-to-action {
        padding: 40px 15px;
    }

    .page-resources-tg777-login-faq__cta-title {
        font-size: 2em;
    }
    
    /* Prevent images from overflowing on mobile */
    .page-resources-tg777-login-faq img {
        max-width: 100%;
        height: auto;
    }
    .page-resources-tg777-login-faq__content-area {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Ensure all content area images are at least 200px wide/high */
.page-resources-tg777-login-faq img {
    min-width: 200px;
    min-height: 200px;
}

/* Ensure no filter is used on images */
.page-resources-tg777-login-faq img {
    filter: none; /* Explicitly disable any potential filter */
}