.page-resources-safe-deposit-withdrawal {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-resources-safe-deposit-withdrawal__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
}

.page-resources-safe-deposit-withdrawal__sub-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-safe-deposit-withdrawal__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-safe-deposit-withdrawal__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: #0A2463; /* Main brand color for hero */
    color: #ffffff;
}

.page-resources-safe-deposit-withdrawal__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-resources-safe-deposit-withdrawal__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-resources-safe-deposit-withdrawal__hero-image-wrapper {
    margin-bottom: 40px;
}

.page-resources-safe-deposit-withdrawal__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-safe-deposit-withdrawal__dark-section {
    background-color: #0A2463; /* Main brand color for dark sections */
    padding: 60px 0;
    color: #ffffff;
}

.page-resources-safe-deposit-withdrawal__deposit-section,
.page-resources-safe-deposit-withdrawal__withdrawal-section,
.page-resources-safe-deposit-withdrawal__security-tips-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background for contrast */
    color: #ffffff;
}

.page-resources-safe-deposit-withdrawal__image-container {
    text-align: center;
    margin: 40px 0;
}

.page-resources-safe-deposit-withdrawal__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-safe-deposit-withdrawal__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-resources-safe-deposit-withdrawal__numbered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-resources-safe-deposit-withdrawal__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 4px solid #FFD700;
    border-radius: 5px;
    font-size: 1.05em;
    color: #f0f0f0;
}

.page-resources-safe-deposit-withdrawal__list-heading {
    color: #FFD700;
    font-weight: bold;
}

.page-resources-safe-deposit-withdrawal__important-note {
    color: #FFD700;
    font-weight: bold;
}

.page-resources-safe-deposit-withdrawal__security-list .page-resources-safe-deposit-withdrawal__list-item {
    border-left-color: #0A2463;
}

/* Buttons */
.page-resources-safe-deposit-withdrawal__btn-primary {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2463;
    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;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-safe-deposit-withdrawal__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources-safe-deposit-withdrawal__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #0A2463;
    color: #ffffff;
}

/* FAQ Section */
.page-resources-safe-deposit-withdrawal__faq-section {
    padding: 60px 0;
    background-color: #0A2463; /* Dark background from brand color */
    color: #ffffff;
}

.page-resources-safe-deposit-withdrawal__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-safe-deposit-withdrawal__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-resources-safe-deposit-withdrawal__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-resources-safe-deposit-withdrawal__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-resources-safe-deposit-withdrawal__faq-item.active .page-resources-safe-deposit-withdrawal__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes an X */
}

.page-resources-safe-deposit-withdrawal__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding 0, will expand */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-safe-deposit-withdrawal__faq-item.active .page-resources-safe-deposit-withdrawal__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 20px;
}

.page-resources-safe-deposit-withdrawal__faq-answer p {
    margin: 0;
    font-size: 1.05em;
    color: #f0f0f0;
}

.page-resources-safe-deposit-withdrawal a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-safe-deposit-withdrawal a:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-safe-deposit-withdrawal__hero-title {
        font-size: 2.8em;
    }
    .page-resources-safe-deposit-withdrawal__hero-description {
        font-size: 1.15em;
    }
    .page-resources-safe-deposit-withdrawal__section-title {
        font-size: 2em;
    }
    .page-resources-safe-deposit-withdrawal__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-safe-deposit-withdrawal {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-safe-deposit-withdrawal__container {
        padding: 0 15px;
    }
    .page-resources-safe-deposit-withdrawal__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-resources-safe-deposit-withdrawal__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-resources-safe-deposit-withdrawal__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-resources-safe-deposit-withdrawal__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .page-resources-safe-deposit-withdrawal__text-block,
    .page-resources-safe-deposit-withdrawal__list-item,
    .page-resources-safe-deposit-withdrawal__faq-answer p {
        font-size: 1em;
    }
    .page-resources-safe-deposit-withdrawal__hero-section,
    .page-resources-safe-deposit-withdrawal__dark-section,
    .page-resources-safe-deposit-withdrawal__deposit-section,
    .page-resources-safe-deposit-withdrawal__withdrawal-section,
    .page-resources-safe-deposit-withdrawal__security-tips-section,
    .page-resources-safe-deposit-withdrawal__faq-section,
    .page-resources-safe-deposit-withdrawal__cta-section {
        padding: 40px 0;
    }

    /* Images responsiveness */
    .page-resources-safe-deposit-withdrawal img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-resources-safe-deposit-withdrawal__image-container,
    .page-resources-safe-deposit-withdrawal__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .page-resources-safe-deposit-withdrawal__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-resources-safe-deposit-withdrawal__cta-buttons,
    .page-resources-safe-deposit-withdrawal__button-group,
    .page-resources-safe-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;
    }

    /* FAQ item responsive padding */
    .page-resources-safe-deposit-withdrawal__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }
    .page-resources-safe-deposit-withdrawal__faq-answer {
        padding: 0 15px;
    }
    .page-resources-safe-deposit-withdrawal__faq-item.active .page-resources-safe-deposit-withdrawal__faq-answer {
        padding: 10px 15px;
    }
}