/* ══════════════════════════════════════════════════════════
   bank-page.css
   Loads AFTER loan-page.css and only adds what's new for
   bank-wise pages. Everything else is inherited.
   ══════════════════════════════════════════════════════════ */

/* ── Breadcrumb in the hero ───────────────────────── */
.mw-bank-detail .mw-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.mw-bank-detail .mw-crumb a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.mw-bank-detail .mw-crumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.mw-bank-detail .mw-crumb span {
    color: rgba(255, 255, 255, .55);
}

/* If your hero is light rather than dark, use these instead:
.mw-bank-detail .mw-crumb a    { color: #475569; }
.mw-bank-detail .mw-crumb span { color: #94a3b8; }
*/

/* ── Bank logo above the H1 ───────────────────────── */
.mw-hero-bank-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .12);
}

.mw-hero-bank-logo img {
    max-height: 34px;
    width: auto;
    display: block;
}

.mw-hero-bank-logo .mw-bank-type {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #4338ca;
    background: #eef2ff;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Hero description + buttons ───────────────────── */
.mw-bank-detail .mw-hero-desc {
    /*max-width: 720px;*/
    line-height: 1.7;
}

.mw-bank-detail .mw-hero-desc p {
    margin: 0 0 10px;
}

.mw-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.mw-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 650;
    font-size: 14.5px;
    text-decoration: none;
    color: #128c7e;
    background: #fff;
    border: 1px solid #d1fae5;
    transition: background .18s ease, border-color .18s ease;
}

.mw-wa-btn:hover {
    background: #f0fdf4;
    border-color: #86efac;
}

/* ── "At a glance" strip below the hero ───────────── */
.mw-glance-strip {
    padding: 0;
    margin-top: -34px;
    position: relative;
    z-index: 5;
}

.mw-glance-strip .mw-bank-metrics {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

/* ── Single-bank offer card ───────────────────────── */
.mw-single-offer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
}

.mw-single-offer .mw-bank-card-extra {
    flex: 1 1 420px;
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.mw-single-offer .mw-bank-action {
    flex: 0 0 auto;
}

/* ── Feature cards (icon + title + description) ───── */
.mw-feature-box {
    position: relative;
}

.mw-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #eef2ff;
    color: #4338ca;
    font-size: 17px;
    margin-bottom: 14px;
}

.mw-feature-box h3 {
    font-size: 16px;
    margin: 0 0 7px;
    line-height: 1.4;
}

.mw-feature-box p {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* Benefit boxes now carry a description too */
.mw-benefit-box p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 6px 0 0;
}

/* ── Long-form admin content ──────────────────────── */
.mw-rich-body {
    /*max-width: 900px;*/
    color: #334155;
    font-size: 16px;
    line-height: 1.8;
}

.mw-rich-body h2 {
    font-size: 23px;
    font-weight: 800;
    color: #0f172a;
    margin: 34px 0 12px;
    letter-spacing: -0.015em;
}

.mw-rich-body h2:first-child { margin-top: 0; }

.mw-rich-body h3 {
    font-size: 18.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 26px 0 10px;
}

.mw-rich-body h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 20px 0 8px;
}

.mw-rich-body p { margin: 0 0 15px; }

.mw-rich-body ul,
.mw-rich-body ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.mw-rich-body li { margin-bottom: 9px; }

.mw-rich-body a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mw-rich-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 18px 0;
}

.mw-rich-body blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 3px solid #4338ca;
    background: #f8fafc;
    border-radius: 0 10px 10px 0;
    color: #475569;
}

.mw-rich-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14.5px;
}

.mw-rich-body th,
.mw-rich-body td {
    border: 1px solid #e2e8f0;
    padding: 11px 14px;
    text-align: left;
}

.mw-rich-body th {
    background: #f1f5f9;
    font-weight: 700;
    color: #0f172a;
}

.mw-rich-body tr:nth-child(even) td { background: #fafbfc; }

/* Quill alignment / indent classes */
.mw-rich-body .ql-align-center  { text-align: center; }
.mw-rich-body .ql-align-right   { text-align: right; }
.mw-rich-body .ql-align-justify { text-align: justify; }
.mw-rich-body .ql-indent-1 { padding-left: 3em; }
.mw-rich-body .ql-indent-2 { padding-left: 6em; }
.mw-rich-body .ql-indent-3 { padding-left: 9em; }

/* ── FAQ answers can contain HTML now ─────────────── */
.mw-bank-detail .mw-faq-answer p { margin: 0 0 11px; }
.mw-bank-detail .mw-faq-answer p:last-child { margin-bottom: 0; }
.mw-bank-detail .mw-faq-answer ul,
.mw-bank-detail .mw-faq-answer ol { margin: 0 0 11px; padding-left: 20px; }
.mw-bank-detail .mw-faq-answer li { margin-bottom: 7px; }

/* ── Other-bank cards ─────────────────────────────── */
.mw-sibling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.mw-sibling-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mw-sibling-card:hover {
    border-color: #4338ca;
    box-shadow: 0 8px 22px rgba(67, 56, 202, .12);
    transform: translateY(-2px);
}

.mw-sibling-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.mw-sibling-initial {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 800;
    font-size: 18px;
}

.mw-sibling-card strong {
    display: block;
    font-size: 14.5px;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.35;
}

.mw-sibling-card em {
    display: block;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 700;
    color: #16a34a;
    margin-top: 3px;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
    .mw-glance-strip { margin-top: -24px; }
    .mw-single-offer { flex-direction: column; align-items: stretch; }
    .mw-single-offer .mw-bank-action { width: 100%; }
    .mw-single-offer .mw-bank-action .mw-apply-btn { width: 100%; text-align: center; }
}

@media (max-width: 640px) {
    .mw-glance-strip { margin-top: -16px; }
    .mw-glance-strip .mw-bank-metrics {
        grid-template-columns: repeat(2, 1fr);
        padding: 14px;
        gap: 12px;
    }
    .mw-hero-bank-logo { padding: 8px 12px; gap: 9px; }
    .mw-hero-bank-logo img { max-height: 26px; }
    .mw-hero-btns { flex-direction: column; }
    .mw-hero-btns > a { width: 100%; text-align: center; justify-content: center; }
    .mw-rich-body { font-size: 15.5px; }
    .mw-rich-body h2 { font-size: 20px; }
    .mw-sibling-grid { grid-template-columns: 1fr; }
}

.mw-simple-hero-content p, .mw-hero-content p{
    max-width: 100%;
}
}