/**
 * Site-specific overrides on top of self-hosted Schwab /bank CSS.
 * Keeps Investor Savings as a 4th product card (schwab.com/bank has 3).
 */

.schwab-bank-body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #121212;
}

.schwab-investor-banking-page {
    background: #fff;
    color: #121212;
}

/* Marquee / deck product pages (savings, mortgages) */
.deck-flex--card-callout-clear {
    background: #fff;
}

.panel-50-video.marquee-wrapper {
    background: #fff;
}

.schwab-bank-body .sr-only,
.schwab-investor-banking-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.schwab-bank-public .schwab-content-area {
    padding: 0;
}

.schwab-bank-public .breadcrumb-area,
.schwab-bank-public .inner-hero.breadcrumb-area,
.schwab-bank-public .schwab-bottom-menu-section {
    display: none !important;
}

.schwab-investor-banking-page .region-content {
    max-width: none;
    padding: 0;
}

.schwab-investor-banking-fdic {
    background: #fff;
    border-bottom: 1px solid #dae1e7;
    padding: 10px 0;
}

.schwab-investor-banking-fdic__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.schwab-investor-banking-fdic figcaption {
    font-size: 12.8px;
    font-style: italic;
    color: #121212;
    margin: 0;
}

.schwab-investor-banking-disclosures {
    padding: 32px 0 48px;
    font-size: 12px;
    line-height: 1.5;
    color: #657884;
}

.schwab-investor-banking-disclosures p {
    margin: 0 0 12px;
}

/* 4-card product row (Checking, Home Lending, Savings, PAL) */
.schwab-investor-banking-page .schfx-layout__slots--itemwidth--4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.schwab-investor-banking-page .schfx-layout__slots--itemwidth--4 .schfx-layout__item {
    flex: unset;
    max-width: none;
    min-width: 0;
}

@media (max-width: 992px) {
    .schwab-investor-banking-page .schfx-layout__slots--itemwidth--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .schwab-investor-banking-page .schfx-layout__slots--itemwidth--4 {
        grid-template-columns: 1fr;
    }
}

/* Header icons (Line Awesome) — scoped to Schwab header only */
.schwab-header .las,
.schwab-header .la,
.schwab-header i[class*="la-"] {
    font-family: 'Line Awesome Free' !important;
    font-weight: 900;
}

/* Synced schwab.com page bodies (non-home) */
.schwab-synced-page .region-content,
.schwab-synced-page .region.region-content {
    max-width: none;
    padding: 0;
    margin: 0;
}

.schwab-synced-page .no-gutters {
    margin-left: 0;
    margin-right: 0;
}

.schwab-synced-page .component_container {
    width: 100%;
}

/* Tooltip info icon — Schwab theme path not shipped locally */
.bcn-icon-tooltip::before,
.bcn-icon-tooltip.bcn-icon-tooltip--psr-grey,
i.bcn-icon-tooltip.sch-info-circle {
    background-image: url('/assets/schwab-bank/images/sync/sch-info-small-grey.svg') !important;
    background-size: contain;
    background-repeat: no-repeat;
}
