/* Trang Broker – nạp ở đầu trang để không có bước "co rồi phóng to" khi tải lại. Tỷ lệ hai cột: sửa 76fr / 24fr. */
#primary.fxbp.content-area-mdigi.container{max-width:1320px!important;margin:14px auto 28px!important;padding:0 16px!important;box-sizing:border-box}
.fxbp>.content-main-md{width:auto!important;max-width:none!important;min-width:0;float:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.fxbp .entry-content{background:transparent!important;border:0!important;box-shadow:none!important;overflow-wrap:break-word}
.fxbp>.fxbp-col{width:auto!important;max-width:none!important;min-width:0;float:none!important;margin:22px 0 0!important;padding:0!important;position:static!important;top:auto!important;overflow-anchor:none}
.fxbp .fxo-v36-rest{margin-bottom:22px}
.container.fxo-v36-wrap.fxbp-hero{max-width:1320px!important;padding:0 16px!important;margin-top:24px!important;box-sizing:border-box}
@media(max-width:1100px){#primary.fxbp.content-area-mdigi.container{display:block!important}.fxbp>.content-main-md,.fxbp>.fxbp-col{width:100%!important}}
.fxbp-col-in{display:grid;gap:18px}
.fxbp-col-in>*{min-width:0}
@media(min-width:1101px){
 #primary.fxbp.content-area-mdigi.container{display:grid!important;grid-template-columns:minmax(0,76fr) minmax(0,24fr);gap:16px!important;align-items:stretch}
 .fxbp-two#primary.content-area-mdigi.container,.container.fxo-v36-wrap.fxbp-hero{padding:0!important;max-width:none!important}
 .fxbp-two#primary.content-area-mdigi.container{margin-top:16px!important}
 .container.fxo-v36-wrap.fxbp-hero+.fxbp{margin-top:16px!important}
 .fxbp>.fxbp-col{margin:0!important}
}

/* Thẻ chung */
.fxbp-card{margin:0;background:#fff;border:1px solid #dfe4e8;border-radius:5px;overflow:hidden;box-shadow:0 3px 12px #172c4010;color:#29343f;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;text-align:left}
.fxbp-card *{box-sizing:border-box}
.fxbp .fxbp-head{display:flex;align-items:center;gap:10px;margin:0!important;padding:13px 15px;background:#eff1f2;border:0;border-bottom:1px solid #dfe3e6;font:800 17px/1.3 Inter,system-ui,"Segoe UI",Arial,sans-serif!important;letter-spacing:-.015em;color:#29343f;text-transform:none}
.fxbp .fxbp-head:before,.fxbp .fxbp-head:after{content:none!important;display:none!important}
.fxbp-head img{display:block;width:36px;height:36px;flex:none;margin:0}
.fxbp-head .fxbp-ic{width:22px;height:22px;flex:none;color:#a5772c}
.fxbp-card a,.fxbp-card a:hover{text-decoration:none!important}

/* Thông tin Broker */
.fxbp-who{display:flex;align-items:center;gap:13px;padding:14px 15px;background:linear-gradient(135deg,#fff,#f4f6f7);border-bottom:1px solid #e2e7eb}
.fxbp-who>div{min-width:0}
.fxbp-logo{width:68px;height:68px;flex:none;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid #e1e5e9;border-radius:8px;color:#29343f}
.fxbp-logo img{display:block;width:100%;height:100%;object-fit:contain;margin:0}
.fxbp p.fxbp-name{margin:0 0 6px!important;font-size:16px;font-weight:800;line-height:1.3;color:#17222c;overflow-wrap:anywhere}
.fxbp p.fxbp-rate{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0!important;line-height:1}
.fxbp-facts{margin:0}
.fxbp-facts>div{display:flex;justify-content:space-between;gap:12px;padding:11px 15px;font-size:14px;line-height:1.45;background:#fbfaf7}
.fxbp-facts>div:nth-child(even){background:#f1f0ec}
.fxbp-facts>div+div{border-top:1px dashed #e0dfda}
.fxbp-facts dt{flex:none;margin:0;font-weight:600;color:#6d7884}
.fxbp-facts dd{min-width:0;margin:0;font-weight:700;color:#29343f;text-align:right;overflow-wrap:anywhere}
.fxbp-facts i{font-style:normal;color:#98a1a9}
.fxbp-lic{white-space:nowrap}
.fxbp-lic .fxbp-ic{width:13px;height:13px;margin-left:3px;vertical-align:-1px;color:#2a7a4d;stroke-width:3}
.fxbp-lic.is-bad{white-space:normal;color:#9b1c1c}
.fxbp-actions{display:grid;gap:10px;padding:12px 12px 14px;background:#fbfaf7}
.fxbp a.fxbp-btn{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:9px 10px;border:1px solid;border-radius:9px;font:700 15px/1.25 Inter,system-ui,"Segoe UI",Arial,sans-serif;text-align:center;transition:filter .18s}
.fxbp-btn .fxbp-ic{flex:none}
.fxbp a.fxbp-btn-gold{background:linear-gradient(#e3d1ac,#c2a679);border-color:#ad9165;color:#2e261e!important;box-shadow:inset 0 1px #f2e6ce,0 3px 0 #917853}
.fxbp a.fxbp-btn-dark{background:linear-gradient(175deg,#65727d,#3b4752);border-color:#495560;color:#f9fafb!important;box-shadow:inset 0 1px #a7b0b9,0 3px 0 #303c46}
/* Vệt sáng lướt qua khi rê chuột: chỉ chạy trên bề mặt nút */
.fxbp a.fxbp-btn:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.5) 50%,transparent 75%);transform:translateX(-110%)}
.fxbp a.fxbp-btn:is(:hover,:focus-visible):after{transform:translateX(110%);transition:transform .65s ease}
.fxbp a.fxbp-btn:is(:hover,:focus-visible){filter:brightness(1.05)}

/* Bài mới */
.fxbp a.fxbp-new{display:flex;align-items:center;gap:12px;padding:12px 14px;color:#29343f!important;background:linear-gradient(140deg,#fff,#f7f7f5);transition:background .18s}
.fxbp-new+.fxbp-new{border-top:1px solid #e4e8eb}
.fxbp a.fxbp-new:is(:hover,:focus-visible){background:#f4f1e9}
.fxbp-new-img{width:54px;height:54px;flex:none;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid #d6e0e6;border-radius:12px;font-size:13px}
.fxbp-new-img img,.fxbp-best-img img{display:block;width:100%;height:100%;object-fit:contain;margin:0}
.fxbp-new-text{flex:1;min-width:0;display:grid;gap:4px}
.fxbp-new-text strong{font-size:14px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.fxbp-new-text small{font-size:12px;font-weight:600;line-height:1.3;color:#566876}
.fxbp-ic-next{width:26px;height:26px;flex:none;padding:5px;border:1px solid #c6d6e2;border-radius:50%;background:linear-gradient(145deg,#e8eef3,#d4e1ea);color:#37556b}
.fxbp a.fxbp-new{padding:10px 14px;gap:11px}
.fxbp-new-img{width:44px;height:44px;border-radius:10px}
.fxbp .fxbp-new .fxbp-ic-next{width:22px;height:22px;padding:4px}

/* Vùng widget do quản trị tự thiết kế: không khung, không tiêu đề */
.fxbp-widgets .bar-san{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;position:static!important}
.fxbp-widgets .bar-san>.widget,.fxbp-widgets .penci-block_6,.fxbp-widgets .penci-block-vc{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.fxbp-widgets .bar-san>.widget+.widget{margin-top:18px!important}

/* Sao */
.fxbp .fxbr-stars{position:relative;display:inline-block;flex:none;line-height:1;letter-spacing:2px;font:900 15px/1 Arial,sans-serif!important;white-space:nowrap}
.fxbp .fxbr-stars:before{content:"★★★★★";color:#cdd3d8}
.fxbp .fxbr-stars:after{content:"★★★★★";position:absolute;left:0;top:0;width:calc(var(--rate)/5*100%);overflow:hidden;color:#eba02b}
.fxbp .fxbr-rate-pill{display:inline-flex;align-items:center;margin:0;padding:5px 10px;border:1px solid #dfe4e8;border-radius:999px;background:#fff;font-size:13px;font-weight:800;line-height:1;color:#29343f}

/* Cuối cột trái */
.fxbp-foot{display:grid;gap:18px;margin-top:22px}
.fxbp-risk{background:linear-gradient(135deg,#fbf8f0,#f5f6f7);border-color:#e4dcc9;border-left:4px solid #c3a15e}
.fxbp .fxbp-risk .fxbp-head{background:transparent;border:0;padding:17px 20px 0}
.fxbp-risk-text{padding:9px 20px 18px}
.fxbp .fxbp-risk-text p{max-width:none;margin:0!important;font-size:15px;line-height:1.7;color:#3d4954}
.fxbp .fxbp-risk-text p+p{margin-top:10px!important}
.fxbp-best-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(max(min(100%,250px),calc(50% - 6px)),1fr));gap:12px;padding:15px}
.fxbp a.fxbp-best-item{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:4px 14px;padding:13px 15px;border:1px solid #e0e5e9;border-radius:13px;background:linear-gradient(140deg,#fff,#f7f8f9);color:#29343f!important;transition:border-color .18s}
.fxbp a.fxbp-best-item:is(:hover,:focus-visible){border-color:#c9b184}
.fxbp-best-img{width:56px;height:56px;grid-row:1/3;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid #dfe5e9;border-radius:12px}
.fxbp-best-item strong{align-self:end;min-width:0;font-size:16px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.fxbp-best-item .fxbr-stars{grid-column:2;grid-row:2;align-self:start;justify-self:start}
.fxbp-best-item .fxbr-rate-pill{grid-column:3;grid-row:1/3}
.fxbp-empty{padding:16px;color:#64748b}
@media(max-width:600px){.fxbp-foot{margin-top:18px}.fxbp .fxbp-risk .fxbp-head{padding:15px 15px 0}.fxbp-risk-text{padding:8px 15px 16px}.fxbp-best-grid{padding:12px;gap:10px}.fxbp a.fxbp-best-item{gap:4px 11px;padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.fxbp-card a{transition:none!important}.fxbp a.fxbp-btn:after{content:none}}
