/* style/resources-safe-deposits-withdrawals.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-light: #ffffff;
    --login-button-color: #EA7C07;
    --border-light: #e0e0e0;
}

.page-resources-safe-deposits-withdrawals {
    color: var(--text-light); /* Default to light text for dark body background */
    background-color: var(--bg-dark); /* Inherited from shared, but for consistency */
}

.page-resources-safe-deposits-withdrawals__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-safe-deposits-withdrawals__section {
    padding: 60px 0;
    position: relative;
}

.page-resources-safe-deposits-withdrawals__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources-safe-deposits-withdrawals__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Hero Section */
.page-resources-safe-deposits-withdrawals__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-resources-safe-deposits-withdrawals__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-safe-deposits-withdrawals__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-resources-safe-deposits-withdrawals__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-resources-safe-deposits-withdrawals__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-safe-deposits-withdrawals__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-resources-safe-deposits-withdrawals__btn-primary,
.page-resources-safe-deposits-withdrawals__btn-secondary,
.page-resources-safe-deposits-withdrawals a[class*="button"],
.page-resources-safe-deposits-withdrawals a[class*="btn"] {
    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;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
}

.page-resources-safe-deposits-withdrawals__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-safe-deposits-withdrawals__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-resources-safe-deposits-withdrawals__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-safe-deposits-withdrawals__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* General Section Styling */
.page-resources-safe-deposits-withdrawals__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-resources-safe-deposits-withdrawals__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: inherit;
}

.page-resources-safe-deposits-withdrawals__subsection-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: inherit;
}

.page-resources-safe-deposits-withdrawals__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    line-height: 1.8;
    color: inherit;
}

.page-resources-safe-deposits-withdrawals__list li {
    margin-bottom: 10px;
}

.page-resources-safe-deposits-withdrawals__list-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    line-height: 1.8;
    color: inherit;
}

.page-resources-safe-deposits-withdrawals__list-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.page-resources-safe-deposits-withdrawals__list-checklist li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Card Styling */
.page-resources-safe-deposits-withdrawals__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-safe-deposits-withdrawals__light-bg .page-resources-safe-deposits-withdrawals__card {
    background-color: var(--bg-light);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
}

/* Features Grid */
.page-resources-safe-deposits-withdrawals__features-grid,
.page-resources-safe-deposits-withdrawals__steps-grid,
.page-resources-safe-deposits-withdrawals__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-safe-deposits-withdrawals__feature-title,
.page-resources-safe-deposits-withdrawals__step-title,
.page-resources-safe-deposits-withdrawals__security-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-safe-deposits-withdrawals__feature-text,
.page-resources-safe-deposits-withdrawals__step-text,
.page-resources-safe-deposits-withdrawals__security-text {
    line-height: 1.6;
}

/* Images */
.page-resources-safe-deposits-withdrawals img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 40px auto;
    object-fit: cover;
    /* Ensure minimum size for content images */
    min-width: 200px;
    min-height: 200px;
}

.page-resources-safe-deposits-withdrawals__image-full-width {
    width: 100%;
    margin: 40px 0;
}

/* FAQ Section */
.page-resources-safe-deposits-withdrawals__faq-list {
    margin-top: 40px;
}

.page-resources-safe-deposits-withdrawals__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-safe-deposits-withdrawals__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-resources-safe-deposits-withdrawals__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-safe-deposits-withdrawals__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-safe-deposits-withdrawals__faq-item.active .page-resources-safe-deposits-withdrawals__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-safe-deposits-withdrawals__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--secondary-color);
}

.page-resources-safe-deposits-withdrawals__faq-item.active .page-resources-safe-deposits-withdrawals__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 20px;
}

.page-resources-safe-deposits-withdrawals__faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.page-resources-safe-deposits-withdrawals__cta-section {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 80px 0;
}

.page-resources-safe-deposits-withdrawals__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-resources-safe-deposits-withdrawals__cta-section .page-resources-safe-deposits-withdrawals__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-resources-safe-deposits-withdrawals__cta-section .page-resources-safe-deposits-withdrawals__btn-primary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-resources-safe-deposits-withdrawals__cta-section .page-resources-safe-deposits-withdrawals__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-resources-safe-deposits-withdrawals__cta-section .page-resources-safe-deposits-withdrawals__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-safe-deposits-withdrawals__hero-title {
        font-size: 3em;
    }
    .page-resources-safe-deposits-withdrawals__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-safe-deposits-withdrawals__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-safe-deposits-withdrawals__hero-title {
        font-size: 2.5em;
    }
    .page-resources-safe-deposits-withdrawals__hero-description {
        font-size: 1em;
    }
    .page-resources-safe-deposits-withdrawals__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-safe-deposits-withdrawals__btn-primary,
    .page-resources-safe-deposits-withdrawals__btn-secondary,
    .page-resources-safe-deposits-withdrawals a[class*="button"],
    .page-resources-safe-deposits-withdrawals a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-safe-deposits-withdrawals__section {
        padding: 40px 0;
    }
    .page-resources-safe-deposits-withdrawals__section-title {
        font-size: 1.8em;
    }
    .page-resources-safe-deposits-withdrawals__section-description {
        font-size: 0.95em;
    }
    .page-resources-safe-deposits-withdrawals__subsection-title {
        font-size: 1.5em;
    }
    .page-resources-safe-deposits-withdrawals__features-grid,
    .page-resources-safe-deposits-withdrawals__steps-grid,
    .page-resources-safe-deposits-withdrawals__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-safe-deposits-withdrawals__card {
        padding: 20px;
    }
    .page-resources-safe-deposits-withdrawals img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-resources-safe-deposits-withdrawals__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-safe-deposits-withdrawals__section,
    .page-resources-safe-deposits-withdrawals__card,
    .page-resources-safe-deposits-withdrawals__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-resources-safe-deposits-withdrawals__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-safe-deposits-withdrawals__faq-answer {
        padding: 0 20px;
    }
    .page-resources-safe-deposits-withdrawals__faq-item.active .page-resources-safe-deposits-withdrawals__faq-answer {
        padding: 15px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-safe-deposits-withdrawals__hero-title {
        font-size: 2em;
    }
    .page-resources-safe-deposits-withdrawals__section-title {
        font-size: 1.5em;
    }
    .page-resources-safe-deposits-withdrawals__subsection-title {
        font-size: 1.3em;
    }
    .page-resources-safe-deposits-withdrawals__faq-question {
        font-size: 1em;
    }
}