:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --background-color: #FFFFFF; /* Page background, sections can have darker */
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --register-login-font-color: #FFFF00;
    --dark-bg-color: #100224; /* From WOW88 style guide */
    --gradient-gold-orange: linear-gradient(to right, #ff9500, #ff5e3a);
    --gradient-blue-pill: linear-gradient(to right, #83a1f2, #688cec);
}

.page-support {
    background-color: var(--dark-bg-color); /* Main background color for the page */
    color: var(--text-color-light);
    padding-top: 10px; /* Small top padding for the first section */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

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

/* Hero Section */
.page-support__hero-section {
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Adjust as needed for hero image */
    margin-bottom: 20px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-support__hero-content {
    max-width: 800px;
}

.page-support__hero-title {
    font-size: clamp(2rem, 4vw, 3rem); /* Clamp for H1 as per instructions */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--secondary-color); /* White text fallback */
    background: var(--gradient-gold-orange); /* Gold-orange gradient for H1 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-support__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-support__hero-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--register-button-color); /* Using register color for CTA */
    color: var(--register-login-font-color); /* Using register/login font color */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    min-width: 180px;
}

.page-support__hero-button:hover {
    background-color: #a30606; /* Slightly darker red */
    opacity: 0.9;
}

/* Section Titles */
.page-support__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--secondary-color); /* White text fallback */
    background: var(--gradient-gold-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-support__section-intro {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: var(--dark-bg-color);
}

.page-support__faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-support__faq-item {
    background-color: #1c0a2e; /* Slightly lighter dark background for cards */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color); /* Green for questions */
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-support__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.page-support__faq-question.is-active::after {
    transform: rotate(45deg);
}

.page-support__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-color);
    display: block; /* Always block for transition */
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.page-support__faq-answer.is-active {
    max-height: 200px; /* Max height to allow transition */
    /* display: block; is already set above */
}

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

.page-support__faq-link {
    display: inline-block;
    color: var(--register-login-font-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    transition: text-decoration 0.3s ease;
}

.page-support__faq-link:hover {
    text-decoration: underline;
}

.page-support__faq-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Guides Section */
.page-support__guides-section {
    padding: 60px 0;
    background-color: #0c021a; /* Another dark background variation */
}

.page-support__guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-support__guide-card {
    background-color: #1c0a2e;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__guide-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency on desktop */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-support__guide-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color); /* Green for titles */
}

.page-support__guide-card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--secondary-color);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-support__guide-card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.page-support__guide-card-button:hover {
    background-color: #005c2e; /* Slightly darker green */
    opacity: 0.9;
}

/* Contact Section */
.page-support__contact-section {
    padding: 60px 0;
    background-color: var(--dark-bg-color);
}

.page-support__contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.page-support__contact-image {
    flex: 1 1 400px;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-support__contact-info {
    flex: 1 1 400px;
    max-width: 50%;
}

.page-support__contact-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-support__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-support__contact-list-item {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--secondary-color);
    position: relative;
    padding-left: 25px;
}

.page-support__contact-list-item::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.page-support__contact-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--register-button-color);
    color: var(--register-login-font-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    min-width: 180px;
}

.page-support__contact-button:hover {
    background-color: #a30606; /* Slightly darker red */
    opacity: 0.9;
}

/* CTA Section */
.page-support__cta-section {
    padding: 80px 0;
    background-color: #0c021a;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-support__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--secondary-color); /* White text fallback */
    background: var(--gradient-gold-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-support__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--secondary-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-support__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 150px;
}

.page-support__cta-button--register {
    background-color: var(--register-button-color);
    color: var(--register-login-font-color);
}

.page-support__cta-button--register:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-support__cta-button--login {
    background-color: var(--login-button-color);
    color: var(--register-login-font-color);
}

.page-support__cta-button--login:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-support__cta-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-support__hero-title,
    .page-support__section-title,
    .page-support__cta-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .page-support__faq-grid,
    .page-support__guides-grid {
        grid-template-columns: 1fr;
    }

    .page-support__contact-content {
        flex-direction: column;
    }

    .page-support__contact-image,
    .page-support__contact-info {
        max-width: 100%;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-support__cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Ensure images are responsive and not too small */
    .page-support img {
        max-width: 100%;
        height: auto;
        display: block;
        min-width: 200px; /* Enforce min size for content images */
        min-height: 200px; /* Enforce min size for content images */
    }

    .page-support__guide-card-image {
        height: auto; /* Allow height to adjust for mobile */
        max-height: 250px; /* Cap height to prevent overly tall images */
    }
}

@media (max-width: 549px) {
    .page-support__container {
        padding: 15px;
    }

    .page-support__hero-title,
    .page-support__section-title,
    .page-support__cta-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-support__hero-description,
    .page-support__section-intro,
    .page-support__cta-description {
        font-size: 0.95rem;
    }

    .page-support__hero-button,
    .page-support__contact-button,
    .page-support__guide-card-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .page-support__faq-question {
        font-size: 1.1rem;
    }

    .page-support__faq-answer {
        font-size: 0.9rem;
    }

    /* Ensure images are responsive and not too small */
    .page-support img {
        max-width: 100%;
        height: auto;
        display: block;
        min-width: 200px; /* Enforce min size for content images */
        min-height: 200px; /* Enforce min size for content images */
    }
}

/* Ensure all img within .page-support are at least 200px */
.page-support img {
    filter: none; /* Prohibit CSS filter */
}

/* Ensure content area images CSS dimensions are not less than 200px */
.page-support__hero-image,
.page-support__faq-image,
.page-support__guide-card-image,
.page-support__contact-image,
.page-support__cta-image {
    min-width: 200px;
    min-height: 200px;
    /* For responsive behavior, max-width: 100% and height: auto are usually set in media queries */
    /* Ensure no specific width/height declarations here that would override and make them smaller */
}