/* style/resources-deposit-withdrawal-guide.css */

/* Base Styles */
.page-resources-deposit-withdrawal-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Explicitly set for main content area if shared.css doesn't set body */
}

/* Container for content */
.page-resources-deposit-withdrawal-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Styling */
.page-resources-deposit-withdrawal-guide__hero-section,
.page-resources-deposit-withdrawal-guide__overview-section,
.page-resources-deposit-withdrawal-guide__deposit-guide-section,
.page-resources-deposit-withdrawal-guide__withdrawal-guide-section,
.page-resources-deposit-withdrawal-guide__important-notes-section,
.page-resources-deposit-withdrawal-guide__video-section,
.page-resources-deposit-withdrawal-guide__faq-section,
.page-resources-deposit-withdrawal-guide__conclusion-section {
    padding: 60px 0;
}

/* Background Colors for sections */
.page-resources-deposit-withdrawal-guide__dark-bg {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff; /* White text for dark background */
}

.page-resources-deposit-withdrawal-guide__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
}

/* Specific padding for hero section to account for fixed header */
.page-resources-deposit-withdrawal-guide__hero-section {
    padding-top: calc(60px + var(--header-offset, 120px)); /* Adjust for header offset */
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-resources-deposit-withdrawal-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Make it subtle */
}

/* Headings */
.page-resources-deposit-withdrawal-guide__main-title {
    font-size: 3.2em;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff; /* Hero title is always white */
    position: relative;
    z-index: 1;
}

.page-resources-deposit-withdrawal-guide__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section background */
}

.page-resources-deposit-withdrawal-guide__step-title,
.page-resources-deposit-withdrawal-guide__list-item-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: inherit; /* Inherit from card/section background */
}

/* Text Blocks */
.page-resources-deposit-withdrawal-guide__intro-text,
.page-resources-deposit-withdrawal-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit from section background */
}

/* Buttons */
.page-resources-deposit-withdrawal-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%; /* Ensure button container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-resources-deposit-withdrawal-guide__cta-buttons--center {
    text-align: center;
}

.page-resources-deposit-withdrawal-guide__btn-primary,
.page-resources-deposit-withdrawal-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-resources-deposit-withdrawal-guide__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources-deposit-withdrawal-guide__btn-primary:hover {
    background-color: #cc6a00;
    border-color: #cc6a00;
}

.page-resources-deposit-withdrawal-guide__btn-secondary {
    background-color: transparent;
    color: #ffffff; /* Default for dark background */
    border: 2px solid #ffffff;
}

.page-resources-deposit-withdrawal-guide__dark-bg .page-resources-deposit-withdrawal-guide__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.page-resources-deposit-withdrawal-guide__light-bg .page-resources-deposit-withdrawal-guide__btn-secondary {
    color: #26A9E0; /* Brand color for light background */
    border-color: #26A9E0;
}

.page-resources-deposit-withdrawal-guide__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-resources-deposit-withdrawal-guide__light-bg .page-resources-deposit-withdrawal-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Image Styling */
.page-resources-deposit-withdrawal-guide__image-wrapper {
    text-align: center;
    margin: 40px auto;
    max-width: 800px; /* Constrain image width for content */
}

.page-resources-deposit-withdrawal-guide__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center image */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}