.rib-page { background: #fff; }
.rib-breadcrumb {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
.rib-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1;
    color: #6b7280;
    max-width: 1280px;
}
.rib-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color .18s ease;
}
.rib-breadcrumb a:hover { color: #1f2937; }
.rib-breadcrumb span { color: #6b7280; }
.rib-breadcrumb strong {
    color: #1f2937;
    font-weight: 500;
}
.rib-breadcrumb svg {
    width: 12px;
    height: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}

.rib-hero { position: relative; overflow: hidden; }
.rib-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c1a2e 100%);
}
.rib-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/images/retail-investment-banking-hero.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    pointer-events: none;
}
.rib-hero-content { position: relative; padding: 88px 12px; max-width: 860px; }
.rib-hero-pill {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
    padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(249, 115, 22, .4);
    background: rgba(249, 115, 22, .1); color: #fdba74; font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.rib-dot { width: 6px; height: 6px; border-radius: 999px; background: #fb923c; }
.rib-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; margin: 0 0 16px; font-weight: 800; }
.rib-hero h1 span {
    background: linear-gradient(to right, #f97316, #ef4444);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rib-hero p { color: #cbd5e1; max-width: 680px; font-size: 1.08rem; margin-bottom: 28px; }

.rib-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rib-btn {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    border-radius: 10px; padding: 12px 22px; font-size: 14px; font-weight: 700;
}
.rib-btn svg { width: 16px; height: 16px; }
.rib-btn-primary { color: #fff; background: linear-gradient(to right, #f97316, #dc2626); }
.rib-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .25); }

.rib-stats { border-bottom: 1px solid #f1f5f9; }
.rib-stat {
    display: flex; gap: 14px; align-items: center;
    padding: 26px 20px; border-right: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
}
.rib-stat-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #fff7ed, #fee2e2);
}
.rib-stat-icon svg { width: 18px; height: 18px; color: #f97316; }
.rib-stat-value { font-size: 1.38rem; font-weight: 800; color: #111827; line-height: 1; }
.rib-stat-label { font-size: 12px; color: #6b7280; margin-top: 4px; }

.rib-solution { padding: 72px 0; background: #fff; }
.rib-solution:nth-child(even) { background: #f9fafb; }
.rib-tag {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;
    border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 14px;
}
.rib-tag svg { width: 14px; height: 14px; }
.rib-blue { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.rib-orange { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.rib-purple { background: #faf5ff; color: #9333ea; border: 1px solid #e9d5ff; }

.rib-solution h2 { font-size: clamp(1.6rem, 3vw, 1.9rem); font-weight: 800; color: #111827; margin-bottom: 6px; }
.rib-solution h3 {
    font-size: 1.05rem; margin-bottom: 14px; font-weight: 700;
    background: linear-gradient(to right, #f97316, #dc2626);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rib-desc { font-size: 14px; line-height: 1.7; color: #4b5563; margin-bottom: 20px; }

.rib-bullets { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.rib-bullets li { display: flex; gap: 8px; font-size: 14px; color: #374151; }
.rib-bullets svg { width: 16px; height: 16px; color: #f97316; margin-top: 2px; flex-shrink: 0; }

.rib-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-radius: 12px; padding: 14px; }
.rib-metrics > div { text-align: center; }
.rib-metrics strong { display: block; font-size: 1.2rem; font-weight: 800; }
.rib-metrics span { display: block; font-size: 12px; color: #6b7280; margin-top: 2px; }
.rib-metrics.rib-blue { background: #eff6ff; border: 1px solid #dbeafe; }
.rib-metrics.rib-blue strong { color: #2563eb; }
.rib-metrics.rib-orange { background: #fff7ed; border: 1px solid #fed7aa; }
.rib-metrics.rib-orange strong { color: #ea580c; }
.rib-metrics.rib-purple { background: #faf5ff; border: 1px solid #e9d5ff; }
.rib-metrics.rib-purple strong { color: #9333ea; }

.rib-image-wrap { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 23, 42, .16); }
.rib-image-wrap img { width: 100%; height: 360px; object-fit: cover; display: block; }

.rib-cta { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 66px 0; }
.rib-cta h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.rib-cta p { color: #94a3b8; max-width: 720px; margin: 0 auto 26px; font-size: 14px; }

@media (max-width: 991.98px) {
    .rib-hero-content { padding: 66px 12px; }
    .rib-image-wrap img { height: 280px; }
}
