/* style/payment-guide.css */

/* Base styles for the page content */
.page-payment-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #F5F7FA */
    background-color: #F5F7FA; /* Explicitly set page background to match body */
}

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

/* Main Visual Section (Hero-like for non-homepage) */
.page-payment-guide__main-visual-section {
    padding-top: 10px; /* Small top padding, relying on shared body padding-top */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient background */
    color: #ffffff; /* White text for dark background */
}

.page-payment-guide__main-visual-section .page-payment-guide__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-payment-guide__content-block {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-payment-guide__image-block {
    flex: 1 1 45%;
    text-align: center;
}

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

.page-payment-guide__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-payment-guide__main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element */
}

/* CTA Buttons */
.page-payment-guide__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-payment-guide__btn-primary,
.page-payment-guide__btn-secondary,
.page-payment-guide__btn-inline {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-payment-guide__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-payment-guide__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-payment-guide__btn-secondary {
    background-color: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-payment-guide__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #FF5A4F;
    border-color: #FF5A4F;
}

.page-payment-guide__btn-inline {
    margin-top: 20px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-payment-guide__btn-inline:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

/* Section Titles */
.page-payment-guide__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem); /* Responsive font size for H2 */
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #E53935; /* Primary brand color */
}

/* Why Us Section */
.page-payment-guide__why-us-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-payment-guide__why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-payment-guide__why-us-item {
    background-color: #F5F7FA;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-guide__why-us-icon {
    width: 200px; /* Ensure images are not tiny icons */
    height: 150px;
    object-fit: cover;
    margin: 0 auto 20px;
    border-radius: 8px;
    display: block;
}

.page-payment-guide__item-title {
    font-size: 1.4rem;
    color: #E53935;
    margin-bottom: 10px;
}

.page-payment-guide__item-description {
    font-size: 1rem;
    color: #555555;
}

/* Deposit & Withdraw Guide Sections */
.page-payment-guide__deposit-guide-section,
.page-payment-guide__withdraw-guide-section {
    padding: 60px 0;
}

.page-payment-guide__guide-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-payment-guide__guide-content--reverse {
    flex-direction: row-reverse;
}

.page-payment-guide__guide-text {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-payment-guide__guide-image {
    flex: 1 1 40%;
    text-align: center;
}

.page-payment-guide__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-payment-guide__guide-steps {
    list-style: decimal;
    margin-left: 20px;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-payment-guide__guide-steps li {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.page-payment-guide__guide-steps li strong {
    color: #E53935;
}

/* Important Notes Section */
.page-payment-guide__important-notes-section {
    padding: 60px 0;
    background-color: #F5F7FA;
}

.page-payment-guide__notes-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-payment-guide__notes-item {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-payment-guide__notes-item--text {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-guide__notes-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-payment-guide__notes-list {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
}

.page-payment-guide__notes-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #555555;
}

.page-payment-guide__notes-list li strong {
    color: #E53935;
}

/* FAQ Section */
.page-payment-guide__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-payment-guide__faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.page-payment-guide__faq-visual {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-payment-guide__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-payment-guide__faq-list {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-payment-guide__faq-item {
    background-color: #F5F7FA;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #E53935;
    cursor: pointer;
    list-style: none; /* Remove default marker */
}

/* Hide default details marker for Webkit browsers */
.page-payment-guide__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-payment-guide__faq-qtext {
    flex-grow: 1;
}

.page-payment-guide__faq-toggle {
    margin-left: 15px;
    font-size: 1.5rem;
    line-height: 1;
    color: #555555;
    transition: transform 0.3s ease;
}

.page-payment-guide__faq-item[open] .page-payment-guide__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-payment-guide__faq-answer {
    padding: 0 20px 15px;
    font-size: 1rem;
    color: #555555;
}

/* Conclusion Section */
.page-payment-guide__conclusion-section {
    padding: 60px 0;
    text-align: center;
    background-color: #E53935; /* Primary brand color background */
    color: #ffffff; /* White text for dark background */
}

.page-payment-guide__conclusion-section .page-payment-guide__section-title {
    color: #ffffff;
}

.page-payment-guide__conclusion-section .page-payment-guide__description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-guide__container {
        padding: 20px 25px;
    }
    .page-payment-guide__main-visual-section .page-payment-guide__container {
        gap: 30px;
    }
    .page-payment-guide__main-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }
    .page-payment-guide__section-title {
        font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    /* General content padding */
    .page-payment-guide__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Main Visual Section (HERO-like) */
    .page-payment-guide__main-visual-section {
        padding-top: 10px !important; /* Adhere to the small top padding rule */
        padding-bottom: 40px;
    }
    .page-payment-guide__main-visual-section .page-payment-guide__container {
        flex-direction: column;
        gap: 20px;
    }
    .page-payment-guide__content-block,
    .page-payment-guide__image-block {
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-payment-guide__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust H1 for smaller screens */
        text-align: center;
    }
    .page-payment-guide__description {
        font-size: 1rem;
        text-align: center;
    }
    .page-payment-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        align-items: center;
        width: 100%; /* Ensure container takes full width */
        max-width: 100%;
    }

    /* Buttons */
    .page-payment-guide__btn-primary,
    .page-payment-guide__btn-secondary,
    .page-payment-guide__btn-inline {
        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-guide__btn-inline {
        margin-left: 0; /* Remove potential left margin */
    }

    /* Section Titles */
    .page-payment-guide__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem); /* Adjust H2 for smaller screens */
        margin-bottom: 30px;
    }

    /* Why Us Section Grid */
    .page-payment-guide__why-us-grid {
        grid-template-columns: 1fr; /* Stack items vertically */
        gap: 20px;
    }
    .page-payment-guide__why-us-icon {
        width: 180px;
        height: 135px;
    }

    /* Deposit & Withdraw Guide Sections */
    .page-payment-guide__guide-content {
        flex-direction: column; /* Stack image and text vertically */
        gap: 20px;
    }
    .page-payment-guide__guide-content--reverse {
        flex-direction: column; /* Also stack for reverse order */
    }
    .page-payment-guide__guide-text,
    .page-payment-guide__guide-image {
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-payment-guide__guide-steps {
        margin-left: 15px;
    }
    .page-payment-guide__guide-steps li {
        font-size: 0.95rem;
    }

    /* Important Notes Section */
    .page-payment-guide__notes-grid {
        flex-direction: column; /* Stack items vertically */
        gap: 20px;
    }
    .page-payment-guide__notes-item {
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-payment-guide__notes-list {
        margin-left: 15px;
    }
    .page-payment-guide__notes-list li {
        font-size: 0.95rem;
    }

    /* FAQ Section */
    .page-payment-guide__faq-grid {
        flex-direction: column; /* Stack visual and list vertically */
        gap: 20px;
    }
    .page-payment-guide__faq-visual,
    .page-payment-guide__faq-list {
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-payment-guide__faq-question {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .page-payment-guide__faq-answer {
        padding: 0 15px 12px;
        font-size: 0.95rem;
    }

    /* Universal image responsive styles for content images */
    .page-payment-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}