/* Bankamatic 4.2 – Editorial surfaces and corporate hub.  Enqueued after other theme/plugins. */
:root{--bm42-dark-bg:#101b2b;--bm42-dark-surface:#1a2a3e;--bm42-dark-border:#33485f;--bm42-ink:#142a40;--bm42-muted:#556a7e;--bm42-accent:#087a76}
.bm-home-refined .bm-news-heading{padding:12px 0 2px;margin-bottom:25px}
.bm-home-refined .bm-news-heading h1{font-size:clamp(2.05rem,3.4vw,3rem);line-height:1.08;letter-spacing:-.045em}
.bm-home-refined .bm-news-heading p:last-child{font-size:.91rem;max-width:64ch}
.bm-home-refined .hero-news{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:16px;align-items:stretch}
.bm-home-refined .hero-main,.bm-home-refined .hero-side{min-width:0}
.bm-home-refined .hero-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;grid-auto-rows:1fr}
.bm-home-refined .news-card,.card-grid>.news-card{display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden;border:1px solid #dce6ed;border-radius:15px;background:#fff;box-shadow:none;transition:border-color .18s,transform .18s}
.bm-home-refined .news-card:hover,.card-grid>.news-card:hover{border-color:#8fb3bf;transform:translateY(-2px)}
.bm-home-refined .news-card__image,.card-grid>.news-card .news-card__image{display:block;flex:0 0 auto;width:100%;border-radius:0;aspect-ratio:16/9}
.bm-home-refined .hero-main .news-card__image{aspect-ratio:16/9}
.bm-home-refined .hero-side .news-card__image{aspect-ratio:16/8.4}
.bm-home-refined .news-card__body,.card-grid>.news-card .news-card__body{flex:1;min-height:0;display:flex;flex-direction:column;padding:17px 18px 18px;background:transparent;border:0}
.bm-home-refined .news-card__body .eyebrow,.card-grid>.news-card .eyebrow{display:inline-block;width:fit-content;margin-bottom:7px;font-size:.66rem;letter-spacing:.12em;line-height:1.45}
.bm-home-refined .news-card h3,.card-grid>.news-card h3{margin:0 0 12px;font-size:clamp(.99rem,1.25vw,1.12rem);line-height:1.38;letter-spacing:-.025em;overflow-wrap:anywhere}
.bm-home-refined .hero-main .news-card h3{font-size:clamp(1.45rem,2.2vw,2.15rem);line-height:1.23;margin-bottom:13px}
.bm-home-refined .hero-side .news-card h3{font-size:clamp(.88rem,1.12vw,1.04rem);line-height:1.37}
.bm-home-refined .news-card .meta,.card-grid>.news-card .meta{margin-top:auto;padding-top:10px;font-size:.76rem;line-height:1.45}
.bm-home-refined .news-card__excerpt{font-size:.93rem;line-height:1.6;max-width:64ch;margin:0 0 14px}
.bm-home-refined .hero-side .news-card__body{padding:12px 13px 14px}
.bm-home-refined .hero-side .news-card .eyebrow{font-size:.6rem;margin-bottom:5px}
.bm-home-refined .hero-side .news-card .meta{font-size:.69rem}
.bm-home-refined .bm-news-latest{margin-top:45px}
.bm-home-refined .section-block{margin-top:50px}
.bm-home-refined .card-grid{gap:18px}
.bm-home-refined .section-heading{padding-bottom:12px;margin-bottom:18px;border-bottom:1px solid #d7e2e9}
.bm-home-refined .section-heading h2{font-size:clamp(1.4rem,2.2vw,1.85rem)}
.bm-home-refined .section-heading>a{font-size:.84rem}
.bm-home-topics{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:16px 0;margin-top:20px;border-bottom:1px solid #dce5eb}
.bm-home-topics>span{color:#687c8e;font-size:.66rem;letter-spacing:.12em;font-weight:850;white-space:nowrap}
.bm-home-topics>div{display:flex;flex-wrap:wrap;gap:8px}
.bm-home-topics a{padding:8px 12px;border:1px solid #dce6ec;border-radius:999px;font-size:.78rem;font-weight:750;background:#f5f8fa;color:#25445a}
.bm-home-topics a:hover{border-color:#0a8d83;color:#06736c}
.bm-home-topics a span{margin-left:4px}
.bm-home-refined .bm-market-discovery{margin-top:44px;border-radius:18px;padding:25px 26px}
.bm-home-refined .bm-market-discovery>.section-heading{margin-bottom:10px}
.bm-home-refined .bm-market-discovery>p{font-size:.9rem;max-width:80ch;margin:0 0 18px}
.bm-home-refined .bm-market-navigation{gap:11px}
.bm-home-refined .bm-market-navigation a{border-radius:11px;min-height:59px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.bm-home-refined .bm-market-navigation a span{font-size:1.05rem}
.bm-home-transparency{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:38px;margin-top:65px;padding:31px 35px;border-radius:20px;background:linear-gradient(115deg,#102c43,#134452);color:#edf7fc}
.bm-home-transparency h2{color:#fff;font-size:clamp(1.45rem,2.2vw,2rem);margin:7px 0 10px}
.bm-home-transparency p:not(.section-kicker){color:#c2d4df;font-size:.92rem;max-width:63ch;margin-bottom:0}
.bm-home-transparency .section-kicker{color:#9dd6da}
.bm-home-transparency nav{display:grid;gap:8px}
.bm-home-transparency nav a{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:9px;border:1px solid #517182;background:#ffffff0c;color:#edf7fc;font-weight:760;font-size:.88rem}
.bm-home-transparency nav a:hover{background:#ffffff20;color:#fff}
/* Corporate pages: the published WordPress page remains the editable source of truth. */
.bm-corporate-page{padding-top:27px;padding-bottom:70px}
.bm-corp-breadcrumb{display:flex;gap:11px;align-items:center;flex-wrap:wrap;font-size:.78rem;color:#657b8c;margin:0 0 19px}
.bm-corp-breadcrumb a:hover{color:#087a76}
.bm-corp-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(120deg,#102a42 0%,#143a52 68%,#16575d 100%);border:1px solid #2e5364;border-radius:23px;padding:clamp(25px,4vw,47px);margin-bottom:25px;overflow:hidden;color:#eff8fe}
.bm-corp-hero__copy{position:relative;z-index:1;max-width:710px}
.bm-corp-eyebrow{font-size:.69rem;font-weight:850;letter-spacing:.18em;color:#a4d4dc;margin:0 0 15px}
.bm-corp-hero h1{font-size:clamp(2.25rem,4vw,3.35rem);color:#fff;line-height:1.12;margin:0 0 13px;letter-spacing:-.045em}
.bm-corp-lead{font-size:clamp(.97rem,1.4vw,1.11rem);color:#c8dce9;line-height:1.65;margin:0;max-width:61ch}
.bm-corp-hero__mark{align-self:stretch;min-width:150px;display:flex;justify-content:center;flex-direction:column;text-align:center;border-left:1px solid #ffffff26;padding-left:27px}
.bm-corp-hero__mark>span{font-weight:900;font-size:clamp(4rem,8vw,7.5rem);letter-spacing:-.1em;line-height:1;color:#b3d3e0;opacity:.4}
.bm-corp-hero__mark>span span{color:#d9ee6b}
.bm-corp-hero__mark small{font-size:.55rem;letter-spacing:.18em;color:#c2dfdf;white-space:nowrap}
.bm-corp-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:24px;align-items:start}
.bm-corp-main{min-width:0}
.bm-corp-paper,.bm-corp-feature,.bm-corp-next{border:1px solid #dbe6ec;background:#fff;border-radius:17px;box-shadow:0 4px 23px #153b5205}
.bm-corp-paper{padding:clamp(23px,4vw,40px);font-size:1.02rem;line-height:1.8;color:#254056}
.bm-corp-paper.article-content{font-size:1.035rem;line-height:1.8}
.bm-corp-paper>p:first-child{font-size:1.105rem;color:#304b60;line-height:1.72}
.bm-corp-paper h2{font-size:clamp(1.26rem,2vw,1.62rem);line-height:1.27;margin:1.8em 0 .55em;padding-top:19px;border-top:1px solid #e6edf1;color:#102d43}
.bm-corp-paper h2:first-child{padding-top:0;border-top:0;margin-top:0}
.bm-corp-paper p{margin:0 0 1.12em;color:inherit}
.bm-corp-paper p:last-child{margin-bottom:0}
.bm-corp-paper a{color:#08766c;text-decoration:underline;text-underline-offset:3px;font-weight:650}
.bm-corp-paper .bm-fact{background:#f2f7f8;border:1px solid #dbe8ea;border-radius:14px;padding:20px 24px;margin:20px 0}
.bm-corp-paper .bm-fact h2{margin-top:0;border-top:0;padding-top:0}
.bm-corp-paper .bm-fact p{padding:9px 0;border-bottom:1px solid #dce6e8;margin:0}
.bm-corp-paper .bm-fact p:last-child{border:0}
.bm-corp-paper .bm-contact{width:100%;max-width:none;background:#f7fafb;border:1px solid #dce6e9;padding:clamp(16px,3vw,27px);border-radius:15px}
.bm-corp-paper .bm-contact p{margin:0 0 19px}
.bm-corp-paper .bm-contact label{font-size:.87rem;font-weight:760;color:#233e52}
.bm-corp-paper .bm-contact input,.bm-corp-paper .bm-contact textarea{margin:7px 0 0;min-height:45px;width:100%;border:1px solid #bbced9;background:#fff;color:#102c43;outline-offset:3px}
.bm-corp-paper .bm-contact textarea{min-height:150px;resize:vertical}
.bm-corp-paper .bm-contact button{min-height:48px;border-radius:10px;background:#0b7774;color:#fff;font-weight:780;padding:12px 26px}
.bm-corp-paper .bm-contact button:hover{background:#075b58}
.bm-corp-paper .bm-form-note{font-size:.83rem;line-height:1.55;color:#526879}
.bm-corp-aside{display:grid;gap:17px;position:sticky;top:17px;min-width:0}
.bm-corp-aside__box{padding:22px 17px;border-radius:16px;border:1px solid #dbe6ec;background:#f7fafc}
.bm-corp-aside__box h2{margin:0 0 10px;padding:0 8px;font-size:1.1rem;color:#172f43}
.bm-corp-aside__box ul{list-style:none;padding:0;margin:0}
.bm-corp-aside__box a{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 11px;border-radius:9px;font-size:.84rem;font-weight:680;color:#39536a}
.bm-corp-aside__box a span{color:#7296a8}
.bm-corp-aside__box a.is-current{background:#dfeeee;color:#076d68;font-weight:850}
.bm-corp-aside__box a:hover{background:#e8f1f3;color:#116d68}
.bm-corp-aside__help{background:#162f44;color:#eaf6fc;border:1px solid #395469;border-radius:16px;padding:22px}
.bm-corp-aside__help>span{font-size:.63rem;font-weight:850;letter-spacing:.17em;color:#9dd2d2}
.bm-corp-aside__help h2{font-size:1.14rem;color:#fff;margin:10px 0}
.bm-corp-aside__help p{font-size:.81rem;line-height:1.6;color:#c3d4e0}
.bm-corp-aside__help a{display:inline-flex;gap:15px;justify-content:space-between;align-items:center;margin-top:7px;padding:10px 13px;font-size:.84rem;font-weight:800;border:1px solid #7898a4;border-radius:9px;color:#eaf5fb}
.bm-corp-feature,.bm-corp-next{margin-top:18px;padding:clamp(21px,3vw,30px)}
.bm-corp-section-label{font-size:.66rem;font-weight:850;letter-spacing:.17em;color:#117b76;margin-bottom:7px}
.bm-corp-feature h2,.bm-corp-next h2{font-size:clamp(1.2rem,2vw,1.55rem);margin:0 0 15px;color:#17334a}
.bm-corp-feature>p{font-size:.94rem;line-height:1.7;color:#495f73;margin:0}
.bm-corp-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.bm-corp-feature-grid a{display:flex;flex-direction:column;gap:10px;border:1px solid #d9e7ea;background:#f7fafb;border-radius:13px;padding:17px;color:#2c4b5d}
.bm-corp-feature-grid a:hover{border-color:#89c5bf;background:#edf7f6}
.bm-corp-feature-number{font-size:.73rem;font-weight:900;color:#07807b}
.bm-corp-feature-grid strong{font-size:.94rem;line-height:1.37;color:#183b50}
.bm-corp-feature-grid a>span:last-child{font-size:.79rem;line-height:1.55}
.bm-corp-next__links{display:flex;gap:9px;flex-wrap:wrap}
.bm-corp-next__links a{display:inline-flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 14px;background:#eef5f7;border:1px solid #d9e6e9;border-radius:9px;color:#185b62;font-size:.84rem;font-weight:770}
.bm-corp-next__links a:hover{background:#dceeed}
.bm-corp-alert{border:1px solid #dfd6af;background:#fcf8eb;color:#634f23;border-radius:13px;padding:15px 22px;margin-bottom:17px}
.bm-corp-alert strong{font-weight:850}
.bm-corp-alert p{font-size:.89rem;line-height:1.65;margin:5px 0 0}
.bm-corp-message-steps{display:grid;gap:10px}
.bm-corp-message-steps p{margin:0;padding:12px 15px;background:#f1f7f8;border-radius:10px;color:#3a5467;font-size:.89rem;line-height:1.65}
/* Footer: four intentional columns instead of inherited four-column CSS with three children. */
.bm-footer-refined .footer-grid{display:grid;grid-template-columns:minmax(245px,1.65fr) repeat(3,minmax(0,1fr));gap:clamp(20px,3.5vw,50px);padding:51px 0 38px}
.bm-footer-refined .footer-grid h2{font-size:.87rem;letter-spacing:.05em;margin:7px 0 17px;color:#f0f5fa}
.bm-footer-refined .footer-links a{display:inline-block;font-size:.83rem;color:#b9cad7;line-height:1.45;padding:2px 0}
.bm-footer-refined .footer-links a:hover{color:#d5eea3}
.bm-footer-refined .bm-footer-about>p{font-size:.87rem;color:#bfceda;max-width:32ch;line-height:1.7}
.bm-footer-contact{display:inline-flex;gap:20px;align-items:center;border:1px solid #506278;padding:10px 14px;border-radius:9px;color:#e5f4f7;font-size:.82rem;font-weight:780}
.bm-footer-contact:hover{color:#fff;border-color:#8bc7d0}
.bm-footer-refined .footer-bottom{flex-wrap:wrap}
/* Dark theme: remove white strips on homepage cards and unify all card surfaces. */
html[data-bm-theme="dark"] .bm-home-refined .news-card,
html[data-bm-theme="dark"] .card-grid>.news-card{background:#1a2b3e!important;border-color:#365069!important;box-shadow:none!important}
html[data-bm-theme="dark"] .bm-home-refined .news-card__body,
html[data-bm-theme="dark"] .card-grid>.news-card .news-card__body{background:#1a2b3e!important;color:#e9f3fb!important}
html[data-bm-theme="dark"] .bm-home-refined .news-card h3 a,
html[data-bm-theme="dark"] .card-grid>.news-card h3 a{color:#edf5fc}
html[data-bm-theme="dark"] .bm-home-refined .news-card h3 a:hover,
html[data-bm-theme="dark"] .card-grid>.news-card h3 a:hover{color:#aadad9}
html[data-bm-theme="dark"] .bm-home-refined .news-card .eyebrow,
html[data-bm-theme="dark"] .card-grid>.news-card .eyebrow{color:#92c4fa}
html[data-bm-theme="dark"] .bm-home-refined .news-card .meta,
html[data-bm-theme="dark"] .card-grid>.news-card .meta{color:#b0c3d4}
html[data-bm-theme="dark"] .bm-home-refined .news-card:hover{border-color:#6b9aac!important}
html[data-bm-theme="dark"] .bm-home-refined .section-heading{border-color:#374b5e}
html[data-bm-theme="dark"] .bm-home-topics{border-color:#35495d}
html[data-bm-theme="dark"] .bm-home-topics>span{color:#a9bbcc}
html[data-bm-theme="dark"] .bm-home-topics a{background:#1d3045;border-color:#3e5872;color:#e0ebf6}
html[data-bm-theme="dark"] .bm-home-topics a:hover{background:#274a58;border-color:#78c3bd;color:#fff}
html[data-bm-theme="dark"] .bm-home-transparency{border:1px solid #46717b}
/* Dark theme corporate pages: genuine dark panels with accessible contrast. */
html[data-bm-theme="dark"] .bm-corp-breadcrumb{color:#aec3d4}
html[data-bm-theme="dark"] .bm-corp-breadcrumb a{color:#a6cdec}
html[data-bm-theme="dark"] .bm-corp-paper,html[data-bm-theme="dark"] .bm-corp-feature,html[data-bm-theme="dark"] .bm-corp-next{background:#1a2b3e!important;border-color:#354b61!important;color:#e0ebf6!important}
html[data-bm-theme="dark"] .bm-corp-paper h2,html[data-bm-theme="dark"] .bm-corp-feature h2,html[data-bm-theme="dark"] .bm-corp-next h2{color:#f0f7fe}
html[data-bm-theme="dark"] .bm-corp-paper h2{border-color:#354b61}
html[data-bm-theme="dark"] .bm-corp-paper p,html[data-bm-theme="dark"] .bm-corp-paper>p:first-child,html[data-bm-theme="dark"] .bm-corp-feature>p{color:#c7d7e5}
html[data-bm-theme="dark"] .bm-corp-paper a{color:#96d9df}
html[data-bm-theme="dark"] .bm-corp-paper .bm-fact{background:#21364b!important;border-color:#3c596e!important;color:#e1eef9!important}
html[data-bm-theme="dark"] .bm-corp-paper .bm-fact p{border-color:#40596e;color:#dbe9f5}
html[data-bm-theme="dark"] .bm-corp-paper .bm-contact{background:#20344a!important;border-color:#3c566d!important;color:#e8f0fa!important}
html[data-bm-theme="dark"] .bm-corp-paper .bm-contact label{color:#f0f5fc}
html[data-bm-theme="dark"] .bm-corp-paper .bm-contact input,html[data-bm-theme="dark"] .bm-corp-paper .bm-contact textarea{background:#122436!important;border-color:#5b7690!important;color:#f2f7fd!important}
html[data-bm-theme="dark"] .bm-corp-paper .bm-contact button{background:#0a7d79!important;color:#fff!important}
html[data-bm-theme="dark"] .bm-corp-paper .bm-form-note{color:#b9cede}
html[data-bm-theme="dark"] .bm-corp-aside__box{background:#1b2d40;border-color:#354c64}
html[data-bm-theme="dark"] .bm-corp-aside__box h2{color:#edf5fb}
html[data-bm-theme="dark"] .bm-corp-aside__box a{color:#c7d7e6}
html[data-bm-theme="dark"] .bm-corp-aside__box a:hover{background:#274960;color:#fff}
html[data-bm-theme="dark"] .bm-corp-aside__box a.is-current{background:#235453;color:#d1f6ed}
html[data-bm-theme="dark"] .bm-corp-aside__box a span{color:#a6c9d9}
html[data-bm-theme="dark"] .bm-corp-feature-grid a{background:#20364b;border-color:#3b566b;color:#c8d9e7}
html[data-bm-theme="dark"] .bm-corp-feature-grid a strong{color:#f3f8fc}
html[data-bm-theme="dark"] .bm-corp-feature-grid a:hover{background:#27515a}
html[data-bm-theme="dark"] .bm-corp-feature-number,html[data-bm-theme="dark"] .bm-corp-section-label{color:#8bd7c9}
html[data-bm-theme="dark"] .bm-corp-next__links a{background:#22394e;border-color:#405a70;color:#d5ebf1}
html[data-bm-theme="dark"] .bm-corp-message-steps p{background:#22394b;color:#d8e7f2}
html[data-bm-theme="dark"] .bm-corp-alert{background:#3b3528;border-color:#8a784d;color:#f5e8ba}
html[data-bm-theme="dark"] .bm-corp-alert p{color:#e2d5a7}
/* Fixed list-quote contrast: these cards were white with nearly white headings. */
html[data-bm-theme="dark"] .bm-markets-final .market-heading h1{color:#f1f7fd!important}
html[data-bm-theme="dark"] .bm-markets-final .market-heading>p:last-child{color:#b4cadc!important}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-crumb{color:#b2c6d7}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-crumb a{color:#a1caff}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-list-heading h2{color:#f0f7fe}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-filter{color:#c2d5e4}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-tile{background:#1b2d42;border-color:#3a536d;color:#e8f3fb}
html[data-bm-theme="dark"] .bm-markets-final .bm-tile-top h3,html[data-bm-theme="dark"] .bm-markets-final .bm-tile-top h3 a{color:#f0f7fe!important}
html[data-bm-theme="dark"] .bm-markets-final .bm-tile-top div>span,html[data-bm-theme="dark"] .bm-markets-final .bm-tile-price>span,html[data-bm-theme="dark"] .bm-markets-final .bm-tile-price small,html[data-bm-theme="dark"] .bm-markets-final .bm-tile-bottom,html[data-bm-theme="dark"] .bm-markets-final .bm-tile-source{color:#b3c9da}
html[data-bm-theme="dark"] .bm-markets-final .bm-tile-price strong{color:#f4faff}
html[data-bm-theme="dark"] .bm-markets-final .bm-tile-details>div{background:#24384d;border-color:#41586e}
html[data-bm-theme="dark"] .bm-markets-final .bm-tile-details span{color:#b6cedd}
html[data-bm-theme="dark"] .bm-markets-final .bm-tile-details b{color:#f2f8ff}
html[data-bm-theme="dark"] .bm-markets-final .bm-tile-symbol{background:#234f50;color:#9aeee1}
html[data-bm-theme="dark"] .bm-markets-final .bm-tile-bottom a{color:#90e1d6}
html[data-bm-theme="dark"] .bm-markets-final .bm-record-pill{color:#c1d4e0}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-filter input{background:#1b2e42;color:#f0f6fc;border-color:#51708a}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-related{background:#1a2c40;border-color:#3d536c}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-related h2{color:#f1f6fc}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-related a{background:#233c51;border-color:#486278;color:#e5f1fb}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-section{background:#1b2e43!important;border-color:#3a5269!important;color:#eaf4fe!important}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-section :is(h2,h3){color:#f1f8ff!important}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-section p{color:#c0d3e3!important}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-section a{color:#9bdae2!important}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-section :is(dt,dd){color:#d4e6f4}
html[data-bm-theme="dark"] .bm-markets-final .bm-chart-ranges{background:#294057}
html[data-bm-theme="dark"] .bm-markets-final .bm-chart-ranges button{color:#d5e4ef}
html[data-bm-theme="dark"] .bm-markets-final .bm-chart-ranges button.is-active{color:#fff}
html[data-bm-theme="dark"] .bm-markets-final .bm-chart-area{background:#132436;border-color:#446078}
html[data-bm-theme="dark"] .bm-markets-final .bm-history-chart .bm-chart-axis{fill:#b3c9d7}
html[data-bm-theme="dark"] .bm-markets-final .bm-history-table-wrap{border-color:#40566e}
html[data-bm-theme="dark"] .bm-markets-final .bm-history-table th{background:#294158;color:#f5faff}
html[data-bm-theme="dark"] .bm-markets-final .bm-history-table td{color:#dbe8f4;border-color:#40566e}
html[data-bm-theme="dark"] .bm-markets-final .bm-price-tool label{color:#eaf5fd}
html[data-bm-theme="dark"] .bm-markets-final .bm-price-tool output{color:#a4eddf}
html[data-bm-theme="dark"] .bm-markets-final .bm-market-section .bm-small-print{color:#b5c9d8!important}
/* Responsive compositions */
@media(max-width:1100px){.bm-home-refined .hero-news{grid-template-columns:1fr}.bm-home-refined .hero-side{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-home-refined .hero-side .news-card__image{aspect-ratio:16/9}}
@media(max-width:920px){.bm-corp-layout{grid-template-columns:minmax(0,1fr)}.bm-corp-aside{position:static;grid-template-columns:1fr}.bm-corp-aside__box nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}.bm-corp-hero__mark{min-width:100px}.bm-corp-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-footer-refined .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:31px}}
@media(max-width:670px){.bm-home-refined .hero-side{grid-template-columns:1fr;grid-auto-rows:auto;gap:10px}.bm-home-refined .hero-side .news-card{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:0}.bm-home-refined .hero-side .news-card__image{height:100%;min-height:126px;aspect-ratio:auto}.bm-home-refined .hero-side .news-card__body{padding:12px 13px}.bm-home-refined .hero-side .news-card .eyebrow{font-size:.6rem}.bm-home-refined .hero-side .news-card h3{font-size:.91rem;line-height:1.35}.bm-home-refined .hero-side .news-card .meta{font-size:.68rem}.bm-home-refined .hero-main .news-card h3{font-size:1.45rem}.bm-home-refined .news-card__body{padding:15px}.bm-home-refined .bm-news-heading{margin-bottom:15px}.bm-home-refined .bm-news-heading h1{font-size:2rem}.bm-home-refined .bm-news-heading p:last-child{display:block;font-size:.84rem}.bm-home-refined .bm-headline-all{display:none}.bm-home-refined .bm-home-topics{align-items:start;gap:9px;padding:13px 0}.bm-home-refined .bm-home-topics a{font-size:.74rem;padding:7px 10px}.bm-home-refined .bm-market-discovery{padding:20px 16px}.bm-home-transparency{grid-template-columns:1fr;gap:20px;padding:24px 20px;margin-top:43px}.bm-corporate-page{padding-top:17px}.bm-corp-breadcrumb{margin-bottom:12px}.bm-corp-hero{padding:25px 23px;border-radius:17px;margin-bottom:15px}.bm-corp-hero h1{font-size:clamp(2rem,8vw,2.55rem)}.bm-corp-hero__mark{display:none}.bm-corp-layout{gap:16px}.bm-corp-paper{padding:22px 18px}.bm-corp-paper.article-content{font-size:1rem;line-height:1.75}.bm-corp-paper h2{margin-top:1.5em}.bm-corp-feature-grid{grid-template-columns:1fr}.bm-corp-aside__box nav ul{grid-template-columns:1fr}.bm-footer-refined .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;padding:39px 0 30px}.bm-footer-refined .bm-footer-about{grid-column:1 / -1}.bm-footer-refined .footer-links a{font-size:.82rem}}
@media(max-width:390px){.bm-home-refined .hero-side .news-card{grid-template-columns:100px minmax(0,1fr)}.bm-home-refined .hero-side .news-card__image{min-height:111px}.bm-footer-refined .footer-grid{grid-template-columns:1fr}.bm-footer-refined .bm-footer-about{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.bm-home-refined .news-card,.card-grid>.news-card{transition:none}.bm-home-refined .news-card:hover,.card-grid>.news-card:hover{transform:none}}
/* 4.3: The masthead information on Künye is a readable definition grid. */
.bm-corp-paper .bm-identity p{display:grid;grid-template-columns:minmax(140px,34%) minmax(0,1fr);align-items:start;gap:10px 18px}
.bm-corp-paper .bm-identity p strong{font-weight:800;color:#17384c}
.bm-corp-paper .bm-identity p span{min-width:0;overflow-wrap:anywhere}
html[data-bm-theme="dark"] .bm-corp-paper .bm-identity p strong{color:#e5f3fb}
@media(max-width:600px){.bm-corp-paper .bm-identity p{grid-template-columns:minmax(0,1fr);gap:1px}.bm-corp-paper .bm-identity{padding:15px 18px}}

/* 4.3: keep the mobile footer concise; avoid turning every corporate page into a long link index. */
@media(max-width:600px){.bm-footer-refined .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 18px}.bm-footer-refined .bm-footer-about{grid-column:1/-1}}
