.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #f4f4f4 */
    background-color: #f4f4f4; /* Ensure consistency, though body handles it */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background color */
    color: #F2FFF6; /* Light text for dark background */
    text-align: center;
    overflow: hidden; /* Ensure nothing overflows */
}

.page-support__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for image */
    height: auto;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
}

.page-support__hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    position: relative; /* Ensure content is above image if z-index is used, but not overlapping */
    z-index: 2; /* Just in case */
}

.page-support__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6;
}

.page-support__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

/* General Buttons */
.page-support__cta-button,
.page-support__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__cta-button:hover,
.page-support__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: #ffffff;
    color: #11A84E; /* Primary color */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #11A84E; /* Border color */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-secondary:hover {
    background: #11A84E;
    color: #ffffff;
    transform: translateY(-2px);
}

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

.page-support__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #11A84E; /* Primary color */
}

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

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description {
    color: #F2FFF6; /* Text Main for dark sections */
}

.page-support__dark-section {
    background-color: #08160F; /* Background color */
    padding: 80px 0;
    color: #F2FFF6; /* Default text color for dark sections */
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #f4f4f4;
}

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

.page-support__faq-item {
    background: #ffffff;
    border: 1px solid #E0E0E0; /* Border color */
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.page-support__faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-support__faq-item[open] {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    position: relative;
    list-style: none; /* Remove default marker for summary */
}

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

.page-support__faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #11A84E; /* Primary color */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #555555;
}

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

.page-support__faq-link {
    color: #11A84E; /* Primary color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-right: 15px; /* Space between multiple links */
}

.page-support__faq-link:hover {
    text-decoration: underline;
    color: #22C768; /* Auxiliary color */
}

.page-support__faq-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Contact Section */
.page-support__contact-section {
    background-color: #08160F; /* Background color */
    padding: 80px 0;
}

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

.page-support__contact-card {
    background: #11271B; /* Card BG color */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-support__contact-card .page-support__card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-support__contact-card .page-support__card-text {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #A7D9B8; /* Text Secondary */
}

.page-support__contact-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 60px auto 0 auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

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

.page-support__guide-card {
    display: block; /* Make the whole card clickable */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-support__guide-card .page-support__card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #11A84E; /* Primary color */
}

.page-support__guide-card .page-support__card-text {
    font-size: 0.95rem;
    color: #555555;
}

.page-support__guides-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 60px auto 0 auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    background-color: #08160F; /* Background color */
    padding: 80px 0;
}

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

.page-support__responsible-item {
    background: #11271B; /* Card BG color */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__responsible-item .page-support__item-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-support__responsible-item .page-support__item-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-support__responsible-gaming-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 60px auto 0 auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Image specific styles */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensure all images meet min size requirement */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__hero-section {
        padding: 40px 20px;
        padding-top: 10px;
    }

    .page-support__main-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }

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

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

    .page-support__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small padding */
    }

    .page-support__hero-image {
        margin-bottom: 20px;
    }

    .page-support__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

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

    .page-support__cta-button,
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }
    
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
      display: flex; /* Ensure flex context for wrap */
      flex-direction: column; /* Stack buttons vertically */
    }

    .page-support__section-title {
        font-size: 1.8rem;
    }

    .page-support__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__guides-section,
    .page-support__responsible-gaming-section {
        padding: 50px 0;
    }

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

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

    .page-support__contact-methods {
        grid-template-columns: 1fr;
    }

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

    .page-support__guide-list {
        grid-template-columns: 1fr;
    }

    .page-support__guide-card {
        padding: 20px;
    }

    .page-support__responsible-gaming-content {
        grid-template-columns: 1fr;
    }

    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__container,
    .page-support__section,
    .page-support__card,
    .page-support__item,
    .page-support__contact-card,
    .page-support__guide-card,
    .page-support__responsible-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}