:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --card-bg-color: #D32F2F;
    --background-color: #B71C1C;
    --text-main-color: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --header-offset: 122px; /* Placeholder, actual value from shared.css */
}

.page-support {
    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

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

.page-support__hero-section {
    position: relative;
    background-color: var(--deep-red-color);
    padding-bottom: 30px; /* Space below hero content */
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limit hero image height */
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 16/9; /* Default aspect ratio */
}

.page-support__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px; /* Space between image and text */
}

.page-support__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjust clamp values for H1 */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-support__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

.page-support__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--deep-red-color);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-support__section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--gold-color);
    text-align: center;
    margin: 60px 0 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-support__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
}

.page-support__faq-section,
.page-support__contact-info-section,
.page-support__additional-resources-section {
    padding: 40px 0;
    background-color: var(--secondary-color); /* Use a slightly different background for sections */
    margin-bottom: 20px;
}

.page-support__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.page-support__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.page-support__faq-item:hover {
    transform: translateY(-3px);
}

.page-support__faq-question {
    font-size: 1.25rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__faq-answer {
    font-size: 1rem;
    color: var(--text-main-color);
}

.page-support__contact-description,
.page-support__resources-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.page-support__contact-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-support__contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-support__contact-label {
    font-weight: bold;
    color: var(--gold-color);
    font-size: 1.05rem;
}

.page-support__contact-link {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.page-support__contact-link:hover {
    color: var(--text-main-color);
    text-decoration: underline;
}

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

.page-support__resource-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-support__card-title {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__card-text {
    font-size: 0.95rem;
    color: var(--text-main-color);
}

.page-support__content-image {
    display: block;
    margin: 40px auto;
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}


/* Responsive Adjustments */
@media (max-width: 849px) {
    .page-support__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }
    .page-support__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }
    .page-support__hero-image {
        max-height: 400px;
    }
    .page-support__resource-cards {
        grid-template-columns: 1fr; /* Single column for smaller tablets */
    }
    .page-support__content-image {
        max-width: 100%;
    }
}

@media (max-width: 549px) {
    .page-support__hero-content {
        padding: 15px;
    }
    .page-support__main-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    .page-support__hero-description {
        font-size: 1rem;
    }
    .page-support__cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .page-support__section-title {
        margin: 40px 0 25px;
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }
    .page-support__faq-item,
    .page-support__contact-item,
    .page-support__resource-card {
        padding: 15px;
    }
    .page-support__faq-question {
        font-size: 1.1rem;
    }
    .page-support__contact-list {
        margin: 20px auto;
    }
    .page-support__contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .page-support__contact-label {
        font-size: 1rem;
    }
    .page-support__contact-link {
        font-size: 0.95rem;
    }
    .page-support__content-image {
        min-width: 200px;
        min-height: 200px;
        max-width: 100%; /* Ensure content images are responsive */
        height: auto; /* Ensure content images are responsive */
    }
    /* Mobile content image constraint for max-width */
    .page-support__faq-section img,
    .page-support__contact-info-section img,
    .page-support__additional-resources-section img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure all images within .page-support are responsive on mobile */
@media (max-width: 768px) {
    .page-support img {
        max-width: 100%;
        height: auto;
    }
}

/* Content area image size enforcement */
.page-support img:not(.page-support__hero-image) { /* Exclude hero image from this specific rule if needed for different max-width, but general img rule above applies */
    min-width: 200px;
    min-height: 200px;
}

/* Specific rule to prevent content images from being too small by CSS */
.page-support__faq-section img,
.page-support__contact-info-section img {
    /* These images are content images, enforce minimum display size */
    width: auto; /* Allow auto scaling */
    height: auto; /* Allow auto scaling */
    min-width: 200px;
    min-height: 200px;
    max-width: 100%; /* Ensure responsiveness */
}
/* No filter property */
.page-support img {
    filter: none;
}