/* style/support.css */
.page-support {
    color: #FFF3E6; /* Main text color for dark background */
    background-color: #0D0E12; /* Body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

/* Titles */
.page-support__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: #FFB04D; /* Glow color for main title */
    margin-bottom: 20px;
    text-align: center;
}

.page-support__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #FF8C1A; /* Main brand color for section titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 30px;
}

.page-support__section-description,
.page-support__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #FFF3E6;
}

/* Buttons */
.page-support__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-support__btn-primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-support__btn-secondary {
    background: #17191F; /* Card BG as background */
    color: #FF8C1A; /* Main brand color for text */
    border: 2px solid #A84F0C; /* Border color */
}

.page-support__btn-secondary:hover {
    background: #FF8C1A;
    color: #FFF3E6;
    border-color: #FF8C1A;
}

/* Images */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures proper spacing and max-width behavior */
    object-fit: cover;
    border-radius: 8px;
}

/* Hero Section */
.page-support__hero-section {
    padding-top: 10px; /* Small top padding, relies on body for header offset */
    padding-bottom: 60px;
    background-color: #0D0E12;
    position: relative;
    overflow: hidden;
}

.page-support__hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-direction: column; /* Default to column for mobile-first, then row for desktop */
}

.page-support__hero-text-block {
    text-align: center;
    max-width: 800px;
}

.page-support__hero-description {
    font-size: 1.1em;
    color: #FFF3E6;
    margin-bottom: 30px;
}

.page-support__hero-image-block {
    flex-shrink: 0;
    max-width: 100%;
    width: 100%;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Maintain aspect ratio */
}

/* Channels Section */
.page-support__channels-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG color for this section */
}

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

.page-support__channel-card {
    background-color: #0D0E12; /* Background color for cards */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border color */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-icon {
    width: 100%;
    max-width: 150px; /* Adjust icon size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px; /* Square icons */
    object-fit: contain;
}

.page-support__channel-title {
    font-size: 1.8em;
    color: #FFB04D;
    margin-bottom: 15px;
}

.page-support__channel-text {
    color: #FFF3E6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Guides Section */
.page-support__guides-section {
    padding: 60px 0;
    background-color: #0D0E12;
}

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

.page-support__guide-card {
    background-color: #17191F;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-support__guide-title {
    font-size: 1.6em;
    color: #FF8C1A;
    margin-bottom: 15px;
}

.page-support__guide-text {
    color: #FFF3E6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__guide-link {
    display: inline-block;
    padding: 8px 15px;
    margin-top: 10px;
    background-color: #FF8C1A;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__guide-link:hover {
    background-color: #FFA53A;
}

.page-support__guide-image {
    width: 100%;
    max-width: 300px; /* Specific size for guide image */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Policy Section */
.page-support__policy-section {
    padding: 60px 0;
    background-color: #17191F;
}

.page-support__policy-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-support__policy-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF8C1A;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: 1px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__policy-link:hover {
    background-color: #FFA53A;
    border-color: #FFB04D;
}

/* Commitment Section */
.page-support__commitment-section {
    padding: 60px 0;
    background-color: #0D0E12;
    text-align: center;
}

.page-support__commitment-image {
    max-width: 800px;
    margin: 40px auto;
    height: auto;
}

/* Responsive Styles */
@media (min-width: 769px) {
    .page-support__hero-content-wrapper {
        flex-direction: row;
        text-align: left;
    }
    .page-support__hero-text-block {
        text-align: left;
        flex: 1;
    }
    .page-support__hero-image-block {
        flex: 1;
        max-width: 50%;
    }
    .page-support__hero-title {
        text-align: left;
    }
    .page-support__hero-description {
        text-align: left;
    }
    /* Ensure buttons align correctly on desktop when text is left-aligned */
    .page-support__hero-text-block .page-support__cta-button {
        margin: 0;
    }
    .page-support__policy-link {
        width: auto;
    }
}

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

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

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

    .page-support__hero-title {
        font-size: 2.2rem !important; /* Adjusted for mobile */
        margin-bottom: 15px;
    }

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

    /* General button and link responsiveness */
    .page-support__cta-button,
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"],
    .page-support__guide-link,
    .page-support__policy-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Button containers for wrapping */
    .page-support__hero-text-block,
    .page-support__channel-card,
    .page-support__guide-card,
    .page-support__policy-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important; /* Spacing between buttons/links */
    }

    .page-support__channels-section,
    .page-support__guides-section,
    .page-support__policy-section,
    .page-support__commitment-section {
        padding: 40px 0 !important;
    }

    .page-support__channels-grid,
    .page-support__guides-grid {
        grid-template-columns: 1fr !important; /* Single column for mobile */
        gap: 20px !important;
        margin-top: 20px !important;
    }

    .page-support__channel-card,
    .page-support__guide-card {
        padding: 20px !important;
    }

    .page-support__channel-icon {
        max-width: 100px !important; /* Smaller icons on mobile */
    }

    .page-support__guide-image {
        max-width: 200px !important; /* Smaller image in guide card */
    }

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

    /* All containers that might hold images or buttons to prevent overflow */
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__channels-grid,
    .page-support__guides-grid,
    .page-support__policy-links {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
}