.page-support {
    background-color: #0A0A0A;
    color: #FFF6D6;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-support__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
}

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

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

.page-support__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFF6D6;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-support__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-support__search-bar {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-support__search-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #3A2A12;
    border-radius: 25px;
    background-color: #111111;
    color: #FFF6D6;
    font-size: 1em;
}

.page-support__search-input::placeholder {
    color: #F2C14E;
    opacity: 0.7;
}

.page-support__search-button {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 100px;
}

.page-support__search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-support__section-title {
    font-weight: bold;
    color: #F2C14E;
    text-align: center;
    margin: 60px 0 40px;
    font-size: 2.2em;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-support__categories-section,
.page-support__faq-section,
.page-support__latest-articles-section,
.page-support__contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.page-support__category-card,
.page-support__article-card {
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__category-card:hover,
.page-support__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3);
}

.page-support__category-icon {
    width: 100%;
    height: auto;
    max-width: 200px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-support__category-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 8px;
}

.page-support__category-description {
    font-size: 0.95em;
    opacity: 0.8;
}

.page-support__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-support__faq-item {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.page-support__faq-item:hover {
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.2);
}

.page-support__faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 18px 25px;
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.page-support__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 25px;
}

.page-support__faq-answer.is-active {
    max-height: 200px; /* Adjust as needed for content */
    padding: 10px 25px 20px;
}

.page-support__faq-answer p {
    line-height: 1.6;
}

.page-support__view-all-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-support__article-card {
    align-items: flex-start;
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.page-support__article-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-support__article-content {
    padding: 20px 25px;
    flex-grow: 1;
}

.page-support__article-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-support__article-date {
    font-size: 0.9em;
    opacity: 0.7;
    margin-bottom: 10px;
}

.page-support__article-excerpt {
    font-size: 0.95em;
    line-height: 1.5;
    opacity: 0.9;
}

.page-support__contact-section {
    margin-bottom: 60px;
}

.page-support__contact-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
}

.page-support__contact-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__contact-text {
    flex-grow: 1;
    text-align: left;
}

.page-support__contact-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-support__contact-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-support__hero-section {
        padding: 15px;
        gap: 20px;
    }

    .page-support__main-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-support__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-support__search-bar {
        flex-direction: column;
        max-width: 350px;
    }

    .page-support__search-button {
        width: 100%;
    }

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

    .page-support__categories-grid,
    .page-support__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-support__category-card,
    .page-support__article-card {
        padding: 20px;
    }

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

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

    .page-support__view-all-button {
        padding: 12px 25px;
        font-size: 1em;
        margin-top: 30px;
    }

    .page-support__contact-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

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

    .page-support__contact-text {
        text-align: center;
    }

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

@media (max-width: 768px) {
    .page-support__hero-image,
    .page-support__category-icon,
    .page-support__article-image,
    .page-support__contact-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    .page-support__categories-grid,
    .page-support__articles-grid {
        grid-template-columns: 1fr;
    }

    .page-support__article-image {
        height: 200px;
    }

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

    .page-support__contact-button {
        max-width: 100%;
    }
}

/* Ensure all images in content area are at least 200px */
.page-support img {
    min-width: 200px;
    min-height: 200px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
}

.page-support__category-icon {
    width: 100%; /* Occupy full width of card */
    height: auto;
    max-width: 200px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__article-image {
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
}

.page-support__contact-image {
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
}