.page-support {
    background-color: #FFFFFF; /* Default background for the main content area */
    color: #333333; /* Default text color for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #017439; /* Main brand color for hero background */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9; /* For a wide hero image */
    max-width: 100%;
    margin-bottom: 20px;
}

.page-support__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-support__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-support__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-button {
    display: inline-block;
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.page-support__cta-button:hover {
    background-color: #a00606;
}

/* Section Titles */
.page-support__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #017439; /* Main brand color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: 700;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.page-support__method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__method-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-support__card-icon {
    width: 200px; /* Min size 200px */
    height: 150px; /* Maintain aspect ratio */
    max-width: 100%;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-support__card-title {
    font-size: 1.5rem;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-support__card-description {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 20px;
}

.page-support__card-button {
    display: inline-block;
    background-color: #017439;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__card-button:hover {
    background-color: #005a2e;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 20px;
    background-color: #F0F0F0;
}

.page-support__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-support__faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
    font-size: 1.3rem;
    color: #017439;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-support__faq-answer {
    font-size: 1rem;
    color: #555555;
}

.page-support__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

.page-support__faq-answer a:hover {
    color: #005a2e;
}

/* Resources Section */
.page-support__resources-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.page-support__resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__resource-card {
    display: block; /* Make the whole card clickable */
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-support__resource-card .page-support__card-title {
    font-size: 1.4rem;
    color: #017439;
    margin-bottom: 15px;
}

.page-support__resource-card .page-support__card-description {
    font-size: 0.95rem;
    color: #555555;
}

/* CTA Promo Section */
.page-support__cta-promo {
    background-color: #017439;
    padding: 60px 20px;
    color: #FFFFFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-support__cta-content {
    max-width: 700px;
}

.page-support__cta-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-support__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.page-support__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__button--register {
    background-color: #C30808;
    color: #FFFF00;
}

.page-support__button--register:hover {
    background-color: #a00606;
}

.page-support__button--login {
    background-color: #C30808;
    color: #FFFF00;
}

.page-support__button--login:hover {
    background-color: #a00606;
}

.page-support__cta-image {
    width: 600px; /* Display width */
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-support__main-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .page-support__hero-description,
    .page-support__cta-description {
        font-size: 1rem;
    }

    .page-support__section-title {
        padding-top: 40px;
        margin-bottom: 30px;
    }

    .page-support__method-grid,
    .page-support__resource-grid {
        grid-template-columns: 1fr;
    }

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

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__button {
        width: 100%;
        max-width: 300px; /* Limit button width on small screens */
    }

    /* Ensure all images are responsive */
    .page-support img {
        max-width: 100%;
        height: auto;
        min-width: unset; /* Allow images to shrink below 200px on mobile to prevent overflow */
        min-height: unset; /* Allow images to shrink below 200px on mobile to prevent overflow */
        object-fit: cover; 
    }
    .page-support__card-icon {
        width: 120px; /* Adjust size for mobile if needed, still > 100px */
        height: 100px;
        object-fit: contain;
    }
}

@media (max-width: 549px) {
    .page-support__hero-section {
        padding-bottom: 30px;
    }
    .page-support__main-title {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
    }
    .page-support__cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
    .page-support__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }
    .page-support__method-card,
    .page-support__faq-item,
    .page-support__resource-card {
        padding: 20px;
    }
    .page-support__card-title,
    .page-support__faq-question {
        font-size: 1.3rem;
    }
    .page-support__cta-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-support__button {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* Desktop specific min-size for content images to ensure they are not tiny by default */
.page-support__method-card img,
.page-support__cta-promo img {
    min-width: 200px; /* Minimum width for content images on desktop */
    min- /* Minimum height for content images on desktop, adjusted for aspect ratio */
    object-fit: cover;
}
.page-support__card-icon {
    min-width: 200px; /* Ensure icon is not tiny on desktop */
    min-height: 150px;
    object-fit: contain;
}