:root {
    --bank-primary: #0f3462; /* Trustworthy Navy */
    --bank-secondary: #3c8371; /* Your existing branding green */
    --bank-bg: #f4f7f6;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
}

body {
    background-color: var(--bank-bg);
    font-family: 'Noto Sans', sans-serif;
    color: var(--text-dark);
}

/* Hero Section */
.bank-hero {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-left: 5px solid var(--bank-primary);
}
.bank-title {
    margin: 0;
    font-size: 2rem;
    color: var(--bank-primary);
}
.bank-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}
.fdic-badge {
    background: #e8f0fe;
    color: #1967d2;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-left: 10px;
}

/* Grid Layout */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Cards */
.data-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}
.card-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bank-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Metric Rows */
.metric-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.metric-row:last-child { border-bottom: none; }
.metric-label { color: var(--text-light); font-size: 0.95rem; }
.metric-value { font-weight: 600; }

/* Highlight Values */
.val-positive { color: #28a745; }
.val-negative { color: #dc3545; }

/* Tags for Specializations */
.spec-tag {
    display: inline-block;
    background: #e6f7e9;
    color: #1e7e34;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin: 3px;
    font-weight: 600;
}

/* Disclaimer / Info Box */
.context-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .bank-hero { padding: 20px; }
    .bank-title { font-size: 1.5rem; }
}
/* --- TIMELINE STYLES --- */
.timeline {
    position: relative;
    border-left: 3px solid #e0e0e0;
    margin-left: 15px;
    padding-left: 30px;
}
.timeline-item {
    position: relative;
    margin-bottom: 25px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
    position: absolute;
    left: -36px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bank-primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--bank-primary);
}
.timeline-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
    display: block;
}
.timeline-content {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
}
.timeline-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* --- BRANCH LIST --- */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.branch-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    font-size: 0.9rem;
    transition: transform 0.2s;
}
.branch-card:hover {
    transform: translateY(-2px);
    border-color: var(--bank-secondary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.branch-name {
    font-weight: 700;
    color: var(--bank-primary);
    margin-bottom: 5px;
    display: block;
}
.branch-address { color: #555; }
.branch-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--bank-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- CRA CARD --- */
.cra-card {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #1b5e20;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.cra-badge {
    background: #2e7d32;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}