.fund-overlay {
font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
background: rgba(255, 255, 255, 0.96);
border-radius: 10px;
padding: 14px 16px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
color: #222;
test-align: center;
}

/* Section headings */
.fund-overlay h4 {
margin: 12px 0 6px;
font-size: 0.9rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #555;
}

/*Description*/

.fund-overlay p[data-bind="description"] {
margin: 8px 0 12px;
padding: 8px 10px;
font-size: 0.85rem;
line-height: 1.45;
color: #444;
background: #f7f8fa;
border-left: 3px solid #d0d4da;
border-radius: 4px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

/* Table base */
.fund-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 10px;
}

/* Rows */
.fund-table tr {
border-bottom: 1px solid #eee;
}

.fund-table tr:last-child {
border-bottom: none;
}

/* Labels */
.fund-table td:first-child {
font-size: 0.85rem;
color: #666;
padding: 6px 4px 6px 0;
white-space: nowrap;
}

/* Values */
.fund-table td:last-child {
text-align: right;
font-size: 0.9rem;
font-weight: 600;
color: #111;
padding: 6px 0 6px 4px;
}

/* Optional emphasis for returns */
.fund-table td[data-bind^="ret_"] {
color: #01295F;
}

/* Subtle hover effect (nice in overlays) */
.fund-table tr:hover {
background: rgba(0, 0, 0, 0.03);
}    

/* CTA Button */
.fund-overlay .cta-button {
width: 90%;
padding: 15px 30px;
font-size: 1rem;
font-weight: 600;
border: 2px solid #01295f;
background: #FD151B;
color: white;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
margin-top: auto;
display: block;
margin: 16px auto 0;
}

.fund-overlay .cta-button:hover {
background: #01295f;
color: white;
}

.fund-overlay .cta-button.primary {
background: #01295f;
color: white;
}

.fund-overlay .cta-button.primary:hover {
background: #01295f;
border-color: #01295f;
}