.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Ensure contrast with body background */
}

/* Ensure main content is below header offset */
.page-content.page-support {
    padding-top: 0; /* body already handles padding-top: var(--header-offset) */
}

.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #26A9E0; /* Brand primary color for hero */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-support__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em); /* Use clamp for responsive H1 */
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-support__description {
    font-size: 1.15em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

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

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

.page-support__introduction-section,
.page-support__faq-section,
.page-support__security-section {
    padding: 80px 0;
    text-align: center;
}

.page-support__channels-section,
.page-support__resources-section,
.page-support__feedback-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__introduction-section .page-support__section-title,
.page-support__faq-section .page-support__section-title,
.page-support__security-section .page-support__section-title {
    color: #26A9E0;
}

.page-support__channels-section .page-support__section-title,
.page-support__resources-section .page-support__section-title,
.page-support__feedback-section .page-support__section-title {
    color: #ffffff;
}

.page-support__text-block {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-support__channels-grid,
.page-support__resources-grid,
.page-support__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-support__channel-card,
.page-support__resource-card,
.page-support__feature-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-support__channel-card:hover,
.page-support__resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__channel-icon,
.page-support__resource-image,
.page-support__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-support__feature-icon {
  max-width: 200px; /* Ensure icons are not too large but still meet min size */
  min-width: 200px;
  min-height: 200px;
}

.page-support__channel-title,
.page-support__resource-title,
.page-support__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-support__channel-description,
.page-support__resource-description,
.page-support__feature-description {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-support__contact-note,
.page-support__resource-note,
.page-support__security-note {
    font-size: 1.05em;
    margin-top: 40px;
    color: #f0f0f0;
}

.page-support__contact-note a,
.page-support__resource-note a,
.page-support__security-note a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

.page-support__contact-note a:hover,
.page-support__resource-note a:hover,
.page-support__security-note a:hover {
    color: #e0f0ff;
}

.page-support__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #f0f8ff;
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    width: 25px;
    text-align: center;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    content: '−';
}

.page-support__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #555555;
    border-top: 1px solid #eee;
}

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

.page-support__faq-item details > summary {
    list-style: none;
}

.page-support__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-support__faq-cta {
    margin-top: 50px;
}

/* General link styling within content blocks */
.page-support__text-block a,
.page-support__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: bold;
}

.page-support__text-block a:hover,
.page-support__faq-answer a:hover {
    color: #1e87c0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: clamp(2em, 4.5vw, 2.8em);
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__hero-section,
    .page-support__introduction-section,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__resources-section,
    .page-support__security-section,
    .page-support__feedback-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles padding-top: var(--header-offset) */
    }
    .page-support__hero-image-wrapper {
        margin-bottom: 15px;
    }
    .page-support__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-support__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
    }
    .page-support__container {
        padding: 0 15px;
    }
    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-support__text-block {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-support__channels-grid,
    .page-support__resources-grid,
    .page-support__security-features {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    .page-support__channel-card,
    .page-support__resource-card,
    .page-support__feature-item {
        padding: 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-support__channel-icon,
    .page-support__resource-image,
    .page-support__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        object-fit: contain;
        margin-bottom: 15px;
    }
    .page-support__channel-title,
    .page-support__resource-title,
    .page-support__feature-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    .page-support__channel-description,
    .page-support__resource-description,
    .page-support__feature-description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .page-support__contact-note,
    .page-support__resource-note,
    .page-support__security-note {
        font-size: 0.95em;
        margin-top: 30px;
    }
    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }
    .page-support__faq-toggle {
        font-size: 1.3em;
    }
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}