/* style/payment-methods-withdrawal-guide.css */

/* Base Styles for the page content */
.page-payment-methods-withdrawal-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Hero Section */
.page-payment-methods-withdrawal-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    padding: 60px 20px;
    padding-top: 0; /* Assuming shared.css handles body padding-top */
    background-color: #0a0a0a; /* Dark background for hero */
    color: #ffffff;
    overflow: hidden; /* Prevent image overflow */
}

.page-payment-methods-withdrawal-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-payment-methods-withdrawal-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

.page-payment-methods-withdrawal-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-payment-methods-withdrawal-guide__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods-withdrawal-guide__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* General Section Styling */
.page-payment-methods-withdrawal-guide__section {
    padding: 60px 20px;
}

.page-payment-methods-withdrawal-guide__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-payment-methods-withdrawal-guide__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-payment-methods-withdrawal-guide__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-payment-methods-withdrawal-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-payment-methods-withdrawal-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: inherit; /* Inherit color from parent section */
}

.page-payment-methods-withdrawal-guide__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Card Grid */
.page-payment-methods-withdrawal-guide__card-grid,
.page-payment-methods-withdrawal-guide__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods-withdrawal-guide__card {
    background-color: #f8f8f8; /* Light background for cards in light section */
    color: #333333; /* Dark text for cards in light section */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods-withdrawal-guide__dark-section .page-payment-methods-withdrawal-guide__card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards in dark section */
    color: #ffffff;
}

.page-payment-methods-withdrawal-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods-withdrawal-guide__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: inherit;
}

.page-payment-methods-withdrawal-guide__card-text {
    font-size: 1em;
    color: inherit;
}

/* Step-by-Step Guide */
.page-payment-methods-withdrawal-guide__step-by-step {
    margin-top: 40px;
}

.page-payment-methods-withdrawal-guide__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.page-payment-methods-withdrawal-guide__step-number {
    background-color: #ffffff;
    color: #017439;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-withdrawal-guide__step-content {
    flex-grow: 1;
}

.page-payment-methods-withdrawal-guide__step-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-payment-methods-withdrawal-guide__step-description {
    font-size: 1.1em;
    color: #f0f0f0;
}

/* Lists */
.page-payment-methods-withdrawal-guide__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: inherit;
}

.page-payment-methods-withdrawal-guide__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: inherit;
}

.page-payment-methods-withdrawal-guide__tips-list {
    list-style: none;
    padding-left: 0;
}

.page-payment-methods-withdrawal-guide__tips-list .page-payment-methods-withdrawal-guide__list-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
}

.page-payment-methods-withdrawal-guide__tips-list .page-payment-methods-withdrawal-guide__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

/* FAQ Section */
.page-payment-methods-withdrawal-guide__faq-section {
    margin-top: 40px;
}

.page-payment-methods-withdrawal-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-payment-methods-withdrawal-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #017439;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-payment-methods-withdrawal-guide__faq-question:hover {
    background-color: #025f2e;
}

.page-payment-methods-withdrawal-guide__faq-title {
    margin: 0;
    color: #ffffff;
    font-size: 1em; /* Adjust to fit parent font size */
}

.page-payment-methods-withdrawal-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-payment-methods-withdrawal-guide__faq-item.active .page-payment-methods-withdrawal-guide__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-payment-methods-withdrawal-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

.page-payment-methods-withdrawal-guide__faq-item.active .page-payment-methods-withdrawal-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-payment-methods-withdrawal-guide__faq-answer .page-payment-methods-withdrawal-guide__paragraph {
    margin-bottom: 0;
}

/* Call to Action Buttons */
.page-payment-methods-withdrawal-guide__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-payment-methods-withdrawal-guide__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-payment-methods-withdrawal-guide__btn-primary:hover {
    background-color: #e00b0b;
    transform: translateY(-3px);
}

.page-payment-methods-withdrawal-guide__btn-secondary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-payment-methods-withdrawal-guide__btn-secondary:hover {
    background-color: #025f2e;
    transform: translateY(-3px);
}

.page-payment-methods-withdrawal-guide__cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Conclusion Section */
.page-payment-methods-withdrawal-guide__conclusion {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods-withdrawal-guide__main-title {
        font-size: 3em;
    }
    .page-payment-methods-withdrawal-guide__section-title {
        font-size: 2em;
    }
    .page-payment-methods-withdrawal-guide__card-grid,
    .page-payment-methods-withdrawal-guide__info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-payment-methods-withdrawal-guide__hero-section {
        min-height: 450px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset here for mobile */
    }

    .page-payment-methods-withdrawal-guide__main-title {
        font-size: 2.5em;
    }

    .page-payment-methods-withdrawal-guide__intro-text {
        font-size: 1.1em;
    }

    .page-payment-methods-withdrawal-guide__section {
        padding: 40px 15px;
    }

    .page-payment-methods-withdrawal-guide__section-title {
        font-size: 1.8em;
    }

    .page-payment-methods-withdrawal-guide__paragraph {
        font-size: 1em;
    }

    .page-payment-methods-withdrawal-guide__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-payment-methods-withdrawal-guide__section,
    .page-payment-methods-withdrawal-guide__card,
    .page-payment-methods-withdrawal-guide__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-payment-methods-withdrawal-guide__card-grid,
    .page-payment-methods-withdrawal-guide__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods-withdrawal-guide__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-payment-methods-withdrawal-guide__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-payment-methods-withdrawal-guide__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-payment-methods-withdrawal-guide__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-payment-methods-withdrawal-guide__faq-answer {
        padding: 15px 20px;
    }

    .page-payment-methods-withdrawal-guide__cta-button {
        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;
    }
    
    .page-payment-methods-withdrawal-guide__cta-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure all images within the content area are responsive */
    .page-payment-methods-withdrawal-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure all video elements within the content area are responsive */
    .page-payment-methods-withdrawal-guide video,
    .page-payment-methods-withdrawal-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video containers mobile adaptation */
    .page-payment-methods-withdrawal-guide__video-section,
    .page-payment-methods-withdrawal-guide__video-container,
    .page-payment-methods-withdrawal-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods-withdrawal-guide__main-title {
        font-size: 2em;
    }
    .page-payment-methods-withdrawal-guide__intro-text {
        font-size: 1em;
    }
    .page-payment-methods-withdrawal-guide__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods-withdrawal-guide__cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}