.page-support {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set for clarity, though body is default white */
}

/* Fixed header padding: Assuming shared.css handles body padding-top */
.page-support__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding-top for main offset */
    padding-bottom: 40px;
    background-color: #f8f9fa; /* Light background for the hero section */
    text-align: center;
}

.page-support__hero-image-wrap {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

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

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

.page-support__main-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive font size for H1 */
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px; /* Limit width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.page-support__lead-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-small,
.page-support__btn-text-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-support__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-support__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-support__section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-support__section:nth-of-type(even) {
    background-color: #f8f9fa; /* Light grey background for alternating sections */
}

.page-support__article-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
}

.page-support__section-title {
    font-size: 36px;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-support p {
    margin-bottom: 15px;
    color: #444444;
}

.page-support a {
    color: #26A9E0;
    text-decoration: none;
}

.page-support a:hover {
    text-decoration: underline;
}

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

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

.page-support__channel-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-card:hover {
    transform: translateY(-5px);
}

.page-support__channel-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 300px; /* Limit max width for smaller cards */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__channel-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-support__btn-small {
    padding: 8px 18px;
    font-size: 14px;
    margin-top: auto; /* Push button to bottom */
    background-color: #EA7C07; /* Login color for small buttons */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-support__btn-small:hover {
    background-color: #c96706;
    border-color: #c96706;
}

.page-support__guide-list {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin-top: 30px;
}

.page-support__guide-list li {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    padding-left: 80px;
    text-align: left;
}

.page-support__guide-list li::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 25px;
    top: 25px;
    width: 40px;
    height: 40px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
}

.page-support__guide-list h3 {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-support__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 680px; /* Max width for blog images */
    object-fit: cover;
}

/* FAQ Section */
.page-support__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #f5f5f5;
    border-radius: 8px;
    position: relative;
    user-select: none;
    list-style: none; /* For details/summary */
}

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

.page-support__faq-question .page-support__faq-toggle {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

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

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    color: #555555;
    max-height: 0; /* Controlled by JS */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out; /* Add padding-top to transition */
}

.page-support__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-support__btn-text-link {
    background: none;
    border: none;
    padding: 0;
    color: #26A9E0;
    text-decoration: underline;
    font-weight: normal;
    font-size: 16px;
    display: inline-block;
    margin-top: 10px;
}

.page-support__btn-text-link:hover {
    color: #1e87c0;
    text-decoration: none;
}

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

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-support__hero-section {
        padding-bottom: 30px;
    }

    .page-support__main-title {
        font-size: clamp(24px, 5vw, 38px);
    }

    .page-support__lead-text {
        font-size: 16px;
    }

    .page-support__section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }

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

    .page-support__channel-card {
        padding: 25px;
    }

    .page-support__channel-title {
        font-size: 22px;
    }

    .page-support__guide-list li {
        padding: 20px;
        padding-left: 70px;
    }

    .page-support__guide-list li::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
        left: 20px;
        top: 20px;
    }

    .page-support__guide-list h3 {
        font-size: 20px;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    /* 1. Top section title + Dual CTA */
    .page-support__hero-section {
        padding-top: 10px !important; /* Fixed header padding: ~10px top padding for mobile */
        padding-bottom: 25px;
    }

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

    .page-support__main-title {
        font-size: 28px !important; /* Specific font size for mobile H1 */
        margin-bottom: 15px;
    }

    .page-support__lead-text {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to button container */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important; /* Full width for mobile buttons */
        max-width: 100% !important;
        padding: 12px 15px !important; /* Adjust padding */
        font-size: 16px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single-column long text container */
    .page-support__section {
        padding: 40px 0;
    }

    .page-support__article-wrap {
        padding: 0 15px !important; /* Ensure padding for content areas */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    /* 3. Generic images and figure */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-support__hero-image-wrap,
    .page-support__channel-icon,
    .page-support__content-image {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* 4. Buttons and button containers (already covered above with cta-buttons) */
    .page-support__btn-small {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 14px !important;
        padding: 10px 15px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-support__channel-grid {
        grid-template-columns: 1fr; /* Stack channel cards vertically */
        gap: 20px;
        padding: 0 15px; /* Add padding to the grid container */
    }
    
    .page-support__channel-card {
        padding: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 5. Registration tutorial & FAQ blocks */
    .page-support__guide-list li {
        padding: 20px;
        padding-left: 65px;
        font-size: 15px;
    }

    .page-support__guide-list li::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
        left: 15px;
        top: 20px;
    }

    .page-support__guide-list h3 {
        font-size: 18px;
    }

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

    .page-support__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 15px;
    }

    .page-support__btn-text-link {
        font-size: 15px;
    }

    .page-support__cta-buttons--bottom {
        margin-top: 30px;
        padding: 0 15px;
    }
}