/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
    padding-bottom: 40px;
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__section-description {
    font-size: 1.1em;
    color: #FFF1E8; /* Text Main */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    margin-bottom: 40px;
    background: linear-gradient(180deg, #140C0C 0%, #2A1212 100%); /* Card BG */
    overflow: hidden;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Aspect ratio for 1200x675 */
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-support__hero-content {
    padding: 40px 15px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    color: #F3C54D; /* Gold */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-support__hero-description {
    font-size: 1.15em;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure button itself takes full width if needed */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #140C0C; /* Dark text for bright button */
    border: none;
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold text */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-support__btn-secondary:hover {
    background: rgba(243, 197, 77, 0.1); /* Light gold background on hover */
    transform: translateY(-2px);
}

/* Common Topics Section */
.page-support__common-topics {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #140C0C; /* Background */
}

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

.page-support__topic-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__topic-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-support__card-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__card-text {
    font-size: 1em;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #F3C54D; /* Gold border */
    color: #F3C54D; /* Gold text */
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-support__btn-outline:hover {
    background-color: #F3C54D; /* Gold background */
    color: #140C0C; /* Dark text */
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #140C0C; /* Background */
}

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

.page-support__faq-item {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF1E8; /* Text Main */
}

.page-support__faq-item summary {
    list-style: none; /* Hide default marker */
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    cursor: pointer;
    background: #2A1212; /* Card BG */
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #1E0F0F; /* Slightly darker */
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-support__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF1E8; /* Text Main */
    border-top: 1px solid #6A1E1E; /* Border */
}

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

.page-support__faq-link {
    color: #E53030; /* Auxiliary color for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-support__faq-link:hover {
    color: #C61F1F; /* Main color on hover */
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #140C0C; /* Background */
}

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

.page-support__contact-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__contact-icon {
    width: 100%;
    height: 150px; /* Adjust height as needed */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

/* Commitment Section */
.page-support__commitment-section {
    padding: 60px 0;
    background: #140C0C; /* Background */
}

.page-support__commitment-section .page-support__section-description {
    text-align: left;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-support__cta-buttons--bottom {
    margin-top: 40px;
}

/* General image responsive styles */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-support__section-title {
        font-size: 2em;
    }

    .page-support__hero-content {
        padding: 30px 15px;
    }

    .page-support__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

    .page-support__hero-description {
        font-size: 1.05em;
    }

    .page-support__common-topics,
    .page-support__faq-section,
    .page-support__contact-methods,
    .page-support__commitment-section {
        padding: 40px 0;
    }

    .page-support__topic-grid,
    .page-support__contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO 主图区域 */
    .page-support__hero-section {
        padding-top: 10px; /* Small top padding */
        margin-bottom: 30px;
    }

    .page-support__hero-image-wrapper {
        max-height: 400px; /* Adjust for mobile */
    }

    .page-support__hero-content {
        padding: 25px 15px;
    }

    .page-support__main-title {
        font-size: clamp(1.5em, 7vw, 2.2em) !important; /* Smaller on mobile */
        margin-bottom: 15px;
    }

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

    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Content blocks should follow responsive padding. */
    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
}