/* style/support.css */
:root {
    --k9club-primary: #11A84E;
    --k9club-secondary: #22C768;
    --k9club-bg-dark: #08160F;
    --k9club-card-bg: #11271B;
    --k9club-text-main: #F2FFF6;
    --k9club-text-secondary: #A7D9B8;
    --k9club-border: #2E7A4E;
    --k9club-glow: #57E38D;
    --k9club-gold: #F2C14E;
    --k9club-divider: #1E3A2A;
    --k9club-deep-green: #0A4B2C;
    --k9club-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-support {
    font-family: Arial, sans-serif;
    color: var(--k9club-text-main); /* Mặc định chữ sáng trên nền tối */
    background-color: var(--k9club-bg-dark);
    line-height: 1.6;
}

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

.page-support__dark-section {
    background-color: var(--k9club-bg-dark);
    color: var(--k9club-text-main);
    padding: 60px 0;
}

.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Nhỏ hơn so với --header-offset */
    padding-bottom: 60px;
    text-align: center;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: var(--k9club-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-support__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background: var(--k9club-button-gradient);
    color: var(--k9club-text-main);
    border: none;
}

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

.page-support__btn-secondary {
    background: transparent;
    color: var(--k9club-gold);
    border: 2px solid var(--k9club-gold);
}

.page-support__btn-secondary:hover {
    background: var(--k9club-gold);
    color: var(--k9club-bg-dark);
    transform: translateY(-2px);
}

.page-support__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--k9club-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-support__section-description {
    font-size: 1.1em;
    color: var(--k9club-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-support__channels-grid,
.page-support__commitment-grid,
.page-support__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__card {
    background-color: var(--k9club-card-bg);
    border: 1px solid var(--k9club-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--k9club-text-main);
}

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

.page-support__channel-icon,
.page-support__tip-icon {
    width: 100%; /* Đảm bảo hình ảnh lớn */
    max-width: 300px;
    height: auto;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    display: block;
}

.page-support__channel-title,
.page-support__commitment-title,
.page-support__tip-title {
    font-size: 1.5em;
    color: var(--k9club-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-support__channel-text,
.page-support__commitment-text,
.page-support__tip-text {
    color: var(--k9club-text-secondary);
    margin-bottom: 20px;
}

.page-support__btn-link {
    color: var(--k9club-gold);
    text-decoration: underline;
    font-weight: 500;
}

.page-support__btn-link:hover {
    color: var(--k9club-primary);
}

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

.page-support__faq-item {
    text-align: left;
    cursor: pointer;
    padding: 20px 30px;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--k9club-text-main);
    list-style: none;
    padding: 0;
}

.page-support__faq-question::-webkit-details-marker {
    display: none;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--k9club-gold);
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg);
}

.page-support__faq-answer {
    padding-top: 15px;
    font-size: 1em;
    color: var(--k9club-text-secondary);
    line-height: 1.7;
}

.page-support__contact-cta {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-support__container {
        padding: 0 15px;
    }

    .page-support__dark-section {
        padding: 40px 0;
    }

    .page-support__hero-section {
        padding-bottom: 40px;
    }

    .page-support__hero-image-wrapper {
        max-height: 300px;
    }

    .page-support__main-title {
        font-size: 2em;
    }

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

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

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

    .page-support__section-title {
        font-size: 2em;
    }

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

    .page-support__channels-grid,
    .page-support__commitment-grid,
    .page-support__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__card {
        padding: 20px;
    }

    .page-support__channel-title,
    .page-support__commitment-title,
    .page-support__tip-title {
        font-size: 1.3em;
    }

    .page-support__faq-item {
        padding: 15px 20px;
    }

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

    .page-support__faq-answer {
        font-size: 0.95em;
    }

    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-support__hero-image-wrapper,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__commitment-section,
    .page-support__tips-section,
    .page-support__contact-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure content area images are not too small */
.page-support__channels-section img,
.page-support__tips-section img {
    min-width: 200px;
    min-height: 200px;
}