/* style/faq-deposit-withdrawal.css */

/* Variables from color palette */
:root {
    --page-faq-deposit-withdrawal-primary-color: #11A84E;
    --page-faq-deposit-withdrawal-secondary-color: #22C768;
    --page-faq-deposit-withdrawal-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-faq-deposit-withdrawal-card-bg: #11271B;
    --page-faq-deposit-withdrawal-background: #08160F;
    --page-faq-deposit-withdrawal-text-main: #F2FFF6;
    --page-faq-deposit-withdrawal-text-secondary: #A7D9B8;
    --page-faq-deposit-withdrawal-border: #2E7A4E;
    --page-faq-deposit-withdrawal-glow: #57E38D;
    --page-faq-deposit-withdrawal-gold: #F2C14E;
    --page-faq-deposit-withdrawal-divider: #1E3A2A;
    --page-faq-deposit-withdrawal-deep-green: #0A4B2C;
}

.page-faq-deposit-withdrawal {
    background-color: var(--page-faq-deposit-withdrawal-background);
    color: var(--page-faq-deposit-withdrawal-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-faq-deposit-withdrawal__container--center {
    text-align: center;
}

/* Hero Section */
.page-faq-deposit-withdrawal__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Adjust as needed */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-faq-deposit-withdrawal__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-faq-deposit-withdrawal__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--page-faq-deposit-withdrawal-text-main);
    padding: 40px 20px;
    max-width: 900px;
}

.page-faq-deposit-withdrawal__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-faq-deposit-withdrawal-text-main);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-faq-deposit-withdrawal__description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: var(--page-faq-deposit-withdrawal-text-secondary);
}

.page-faq-deposit-withdrawal__cta-button {
    display: inline-block;
    background: var(--page-faq-deposit-withdrawal-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-faq-deposit-withdrawal__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-faq-deposit-withdrawal__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* General Section Styling */
.page-faq-deposit-withdrawal__introduction-section,
.page-faq-deposit-withdrawal__faq-section,
.page-faq-deposit-withdrawal__security-section,
.page-faq-deposit-withdrawal__tips-section,
.page-faq-deposit-withdrawal__cta-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-faq-deposit-withdrawal-divider);
}

.page-faq-deposit-withdrawal__faq-section--withdrawal {
    background-color: var(--page-faq-deposit-withdrawal-deep-green);
}

.page-faq-deposit-withdrawal__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--page-faq-deposit-withdrawal-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq-deposit-withdrawal__sub-section {
    background-color: var(--page-faq-deposit-withdrawal-card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-faq-deposit-withdrawal-border);
}

.page-faq-deposit-withdrawal__sub-title {
    font-size: clamp(1.2em, 2vw, 1.8em);
    color: var(--page-faq-deposit-withdrawal-secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-faq-deposit-withdrawal__text-block {
    font-size: 1em;
    color: var(--page-faq-deposit-withdrawal-text-secondary);
    margin-bottom: 15px;
}

/* FAQ Specific Styling */
.page-faq-deposit-withdrawal__faq-item {
    background-color: var(--page-faq-deposit-withdrawal-card-bg);
    border: 1px solid var(--page-faq-deposit-withdrawal-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-faq-deposit-withdrawal-text-main);
}

.page-faq-deposit-withdrawal__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--page-faq-deposit-withdrawal-deep-green);
    color: var(--page-faq-deposit-withdrawal-text-main);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

/* Remove default marker for details summary */
.page-faq-deposit-withdrawal__faq-item summary {
    list-style: none;
}
.page-faq-deposit-withdrawal__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-faq-deposit-withdrawal__faq-question:hover {
    background-color: var(--page-faq-deposit-withdrawal-primary-color);
}

.page-faq-deposit-withdrawal__faq-qtext {
    flex-grow: 1;
    color: var(--page-faq-deposit-withdrawal-text-main);
}

.page-faq-deposit-withdrawal__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-faq-deposit-withdrawal-gold);
}

.page-faq-deposit-withdrawal__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: var(--page-faq-deposit-withdrawal-text-secondary);
}

.page-faq-deposit-withdrawal__faq-answer p {
    margin-bottom: 10px;
}

.page-faq-deposit-withdrawal__list {
    list-style-type: disc;
    margin-left: 25px;
    padding-left: 0;
    color: var(--page-faq-deposit-withdrawal-text-secondary);
    margin-bottom: 10px;
}

.page-faq-deposit-withdrawal__list li {
    margin-bottom: 5px;
}

.page-faq-deposit-withdrawal__section-image {
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--page-faq-deposit-withdrawal-border);
    max-width: 100%; /* Ensure responsiveness on desktop too */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
}

/* Responsive Images - Desktop */
.page-faq-deposit-withdrawal img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-faq-deposit-withdrawal__hero-content {
        padding: 30px 15px;
    }
    .page-faq-deposit-withdrawal__main-title {
        font-size: clamp(1.8em, 4.5vw, 3em);
    }
    .page-faq-deposit-withdrawal__description {
        font-size: clamp(0.9em, 1.8vw, 1.1em);
    }
    .page-faq-deposit-withdrawal__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.2em);
    }
    .page-faq-deposit-withdrawal__sub-title {
        font-size: clamp(1.1em, 2.2vw, 1.6em);
    }
    .page-faq-deposit-withdrawal__introduction-section,
    .page-faq-deposit-withdrawal__faq-section,
    .page-faq-deposit-withdrawal__security-section,
    .page-faq-deposit-withdrawal__tips-section,
    .page-faq-deposit-withdrawal__cta-section {
        padding: 40px 0;
    }
}

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

    /* Hero Section */
    .page-faq-deposit-withdrawal__hero-section {
        min-height: 400px;
        padding-top: 10px !important;
    }
    .page-faq-deposit-withdrawal__hero-content {
        padding: 20px 10px;
    }
    .page-faq-deposit-withdrawal__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-faq-deposit-withdrawal__description {
        font-size: clamp(0.85em, 2.5vw, 1em);
    }
    .page-faq-deposit-withdrawal__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-faq-deposit-withdrawal__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* General Section Styling */
    .page-faq-deposit-withdrawal__introduction-section,
    .page-faq-deposit-withdrawal__faq-section,
    .page-faq-deposit-withdrawal__security-section,
    .page-faq-deposit-withdrawal__tips-section,
    .page-faq-deposit-withdrawal__cta-section {
        padding: 30px 0;
    }
    .page-faq-deposit-withdrawal__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
        margin-bottom: 30px;
    }
    .page-faq-deposit-withdrawal__sub-section {
        padding: 20px;
    }
    .page-faq-deposit-withdrawal__sub-title {
        font-size: clamp(1em, 3.5vw, 1.4em);
    }
    .page-faq-deposit-withdrawal__text-block {
        font-size: 0.95em;
    }

    /* FAQ Specific Styling */
    .page-faq-deposit-withdrawal__faq-question {
        padding: 15px;
        font-size: 1em;
    }
    .page-faq-deposit-withdrawal__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.9em;
    }
    .page-faq-deposit-withdrawal__list {
        margin-left: 20px;
    }

    /* Responsive Images - Mobile */
    .page-faq-deposit-withdrawal img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq-deposit-withdrawal__section,
    .page-faq-deposit-withdrawal__card,
    .page-faq-deposit-withdrawal__container,
    .page-faq-deposit-withdrawal__sub-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq-deposit-withdrawal__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-faq-deposit-withdrawal__hero-image {
        left: 0;
        right: 0;
        width: 100%;
    }
    .page-faq-deposit-withdrawal__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons responsive for mobile */
    .page-faq-deposit-withdrawal__cta-buttons,
    .page-faq-deposit-withdrawal__button-group,
    .page-faq-deposit-withdrawal__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;
    }
    .page-faq-deposit-withdrawal__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}