/* bsg.css — ชุดคอมโพเนนต์ของ BANGKOK SDG (การ์ด แท็บ ไทล์ SDG ตาราง เสียงประชาชน ลิ้นชักตัวชี้วัด)
   ใช้ร่วม: /sdg-report (views/site/sdg-report.php — ย้ายจาก <style> ของวิวที่คัดลอกจาก watch/backend _bma_sdg.php)
   และ /profile (views/site/profile-summary.php) ; โหลดผ่าน assets/BsgAsset */
.pp { --pp-line: #e6eaef; --pp-muted: #7b8794; --pp-ink: #1f2d3d; }
.bsg .card { margin-bottom: 20px; border-color: var(--pp-line); }
.bsg a { text-decoration: none; }
.bsg .row > * { min-width: 0; }
.bsg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 20px; margin: 6px 0 14px; }
.bsg-head-title { margin: 0; font-size: 20px; font-weight: 700; color: var(--green-deep, #1f2d3d); }
.bsg-head-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-soft, #7b8794); }
.pp .card-title { font-weight: 700; color: var(--pp-ink); font-size: 17px; }
.pp .card-title small { font-size: 13px; font-weight: 500; color: var(--pp-muted); }
.pp .pp-muted { color: var(--pp-muted); }
.pp .pp-label { font-size: 12px; color: var(--pp-muted); margin-bottom: 2px; }
.pp .pp-source { display: inline-block; font-size: 13px; background: #fff; border: 1px solid var(--pp-line); border-radius: 20px; padding: 5px 12px; color: var(--pp-muted); }
.pp .pp-stat { border-top: 3px solid; }
.pp .pp-stat .card-body { padding: 14px 16px; }
.pp .pp-stat-label { font-size: 13px; color: var(--pp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp .pp-stat-value { font-size: 26px; font-weight: 700; color: var(--pp-ink); line-height: 1.3; }
.pp .pp-stat-value small { font-size: 13px; font-weight: 500; color: var(--pp-muted); }
.pp .pp-stat-sub { font-size: 12px; color: var(--pp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bsg .bsg-tabs { margin-bottom: 20px; }
.bsg .bsg-tabs .nav-tabs { flex-wrap: nowrap; margin: 0; overflow-x: auto; scrollbar-width: none; padding: 0 10px; border-bottom: 0; }
.bsg .bsg-tabs .nav-link { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 14px 16px; color: #4f5d6b; font-weight: 500; white-space: nowrap; cursor: pointer; }
.bsg .bsg-tabs .nav-link:hover { color: var(--pp-ink); }
.bsg .bsg-tabs .nav-link.active { color: #85bf4b; border-bottom-color: #85bf4b; }
.bsg .bsg-view { display: none; }
.bsg .bsg-view.on { display: block; }
.bsg .bsg-eq > [class*="col-"] { display: flex; }
.bsg .bsg-eq > [class*="col-"] > .card { flex: 1; }
.bsg h2 { font-size: 20px; font-weight: 700; color: var(--pp-ink); margin: 0 0 6px; line-height: 1.4; }
.bsg .bsg-hero { font-size: 28px; line-height: 1.3; }
.bsg .bsg-hero span { color: #1e7b4a; }
.bsg .bsg-lede { color: #4f5d6b; max-width: 90ch; font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; }
.bsg .bsg-empty { text-align: center; color: var(--pp-muted); padding: 22px 0; font-size: 14px; }
.bsg .bsg-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bsg .bsg-code { font-variant-numeric: tabular-nums; white-space: nowrap; color: #4f5d6b; font-size: 12.5px; }

/* SDG tiles: SDG color on top, the performance level below; hatched = not trackable */
.bsg .bsg-tiles { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 1199px) { .bsg .bsg-tiles { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
@media (max-width: 575px) { .bsg .bsg-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bsg .bsg-tile { display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; min-height: 104px; color: #fff; transition: transform .15s, box-shadow .15s; }
.bsg .bsg-tile:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20, 40, 70, .18); }
.bsg .bsg-tile-no { background: var(--sdg); font-size: 18px; font-weight: 800; padding: 4px 8px; }
.bsg .bsg-tile-name { flex: 1; background: var(--lv); font-size: 10.5px; line-height: 1.35; padding: 5px 6px; font-weight: 600; overflow: hidden; word-break: break-word; }
.bsg .bsg-na .bsg-tile-name, .bsg i.bsg-na { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.45) 0 4px, transparent 4px 8px); }
.bsg .bsg-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #4f5d6b; margin-top: 12px; }
.bsg .bsg-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

.bsg .bsg-no { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 5px; color: #fff; font-size: 12px; font-weight: 700; padding: 0 4px; flex: none; }
a.bsg-no:hover { color: #fff; text-decoration: none; }
.bsg .bsg-indrow { display: grid; grid-template-columns: 26px minmax(110px, 190px) 1fr 28px; gap: 8px; align-items: center; padding: 4px 0; color: var(--pp-ink); font-size: 13px; }
.bsg .bsg-indrow:hover { text-decoration: none; color: #2a78d6; }
.bsg .bsg-indrow-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bsg .bsg-stack { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 1px; }
.bsg .bsg-stack i { display: block; height: 100%; }
.bsg .bsg-indrow-n { text-align: right; color: var(--pp-muted); font-variant-numeric: tabular-nums; }
.bsg .bsg-scatter { width: 100%; height: auto; font-size: 11px; }
.bsg .bsg-scatter .grid { stroke: #eef1f4; }
.bsg .bsg-scatter text { fill: #7b8794; }
.bsg .bsg-scatter text.axis { fill: #4f5d6b; font-size: 11.5px; }
.bsg .bsg-scatter text.pt { fill: #fff; font-weight: 700; font-size: 12px; pointer-events: none; }
.bsg .bsg-scatter circle { stroke: #fff; stroke-width: 2; cursor: pointer; }

/* goals */
.bsg .bsg-goalnav { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 5px; }
@media (max-width: 991px) { .bsg .bsg-goalnav { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.bsg .bsg-goalnav a { display: block; text-align: center; font-weight: 800; color: #fff; background: var(--sdg); border-radius: 6px; padding: 8px 0 6px; border-bottom: 5px solid var(--lv); opacity: .55; }
.bsg .bsg-goalnav a:hover, .bsg .bsg-goalnav a.on { opacity: 1; text-decoration: none; color: #fff; }
.bsg .bsg-goalnav a.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sdg); }
.bsg .bsg-goal { display: none; }
.bsg .bsg-goal.on { display: block; }
.bsg .bsg-goal-head { border-top: 5px solid var(--sdg); }
.bsg .bsg-goal-badge { width: 64px; height: 64px; border-radius: 10px; background: var(--sdg); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-right: 16px; flex: none; }
.bsg .bsg-goal-badge span { font-size: 22px; line-height: 1; }
.bsg .bsg-goal-badge b { font-size: 18px; }
.bsg .bsg-goal-titles h2 { margin-bottom: 6px; }
.bsg .bsg-eyebrow { font-size: 12px; color: var(--pp-muted); letter-spacing: .3px; }
.bsg .bsg-goal-nav { display: flex; gap: 6px; }
.bsg .bsg-goal-nav .btn { white-space: nowrap; }
.bsg .bsg-goal-desc { margin: 14px 0 0; color: #37474f; line-height: 1.75; font-size: 14.5px; max-width: 95ch; }
.bsg .bsg-level { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.bsg .bsg-level i { width: 8px; height: 8px; border-radius: 50%; }
.bsg .bsg-level.sm { font-size: 11.5px; padding: 2px 8px; white-space: nowrap; }
.bsg .bsg-table { font-size: 13.5px; }
.bsg .bsg-table th { font-size: 12.5px; font-weight: 600; color: #4f5d6b; background: #f7f9fb; border-top: 0; white-space: nowrap; }
.bsg .bsg-table td { vertical-align: middle; }
.bsg .bsg-note ul { padding-left: 18px; margin: 0; }
.bsg .bsg-note li { margin-bottom: 6px; font-size: 14px; line-height: 1.6; }
.bsg .bsg-note-good { border-top: 3px solid #1e7b4a; }
.bsg .bsg-note-good .card-title .mdi { color: #1e7b4a; }
.bsg .bsg-note-gap { border-top: 3px solid #e07b24; }
.bsg .bsg-note-gap .card-title .mdi { color: #e07b24; }
.bsg .bsg-domain-chip { display: flex; align-items: center; gap: 8px; border: 1px solid var(--pp-line); border-left: 4px solid var(--dc); border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; color: var(--pp-ink); font-size: 13.5px; }
.bsg .bsg-domain-chip:hover { text-decoration: none; border-color: var(--dc); color: var(--pp-ink); }
.bsg .bsg-domain-chip small { margin-left: auto; color: var(--pp-muted); white-space: nowrap; }
.bsg .bsg-meter { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 13px; margin-bottom: 8px; color: var(--pp-ink); }
.bsg .bsg-meter .bsg-bar { grid-column: 1 / -1; }
.bsg .bsg-bar { display: block; height: 8px; border-radius: 4px; background: #eef1f4; overflow: hidden; }
.bsg .bsg-bar i { display: block; height: 100%; border-radius: 4px; }

/* survey */
.bsg .bsg-rank { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef1f4; color: var(--pp-ink); font-size: 14px; }
.bsg .bsg-rank:last-child { border-bottom: 0; }
.bsg .bsg-rank:hover { text-decoration: none; color: #2a78d6; }
.bsg .bsg-rank-no { width: 18px; color: var(--pp-muted); font-weight: 700; text-align: right; }
.bsg .bsg-rank-body { flex: 1; display: grid; gap: 4px; }
.bsg .bsg-gap { display: block; padding: 10px 0; border-bottom: 1px solid #eef1f4; color: var(--pp-ink); font-size: 14px; }
.bsg .bsg-gap:last-child { border-bottom: 0; }
.bsg .bsg-gap:hover { text-decoration: none; color: var(--pp-ink); background: #fafbfc; }
.bsg .bsg-gap .bsg-no { margin-right: 8px; }
.bsg .bsg-gap-v { color: #c0392b; font-weight: 700; font-size: 13px; }
.bsg .bsg-gap .bsg-meter { margin: 4px 0 0 32px; font-size: 12.5px; }

/* links */
.bsg .bsg-matrix { border-collapse: collapse; width: 100%; font-size: 13px; }
.bsg .bsg-matrix th, .bsg .bsg-matrix td { padding: 6px 4px; border-bottom: 1px solid #eef1f4; text-align: center; }
.bsg .bsg-matrix th:first-child, .bsg .bsg-matrix td:first-child { text-align: left; padding-left: 0; white-space: nowrap; }
.bsg .bsg-matrix th:last-child, .bsg .bsg-matrix td:last-child { text-align: right; }
.bsg .bsg-matrix a { color: var(--pp-ink); }
.bsg .bsg-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.bsg .bsg-domain { border-left: 4px solid var(--dc); }
.bsg .bsg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bsg .bsg-chip { font-size: 12px; border-radius: 999px; padding: 2px 10px; background: var(--c); color: #fff; }
.bsg .bsg-chip:hover { color: #fff; text-decoration: none; opacity: .85; }
.bsg .bsg-domain-stats { display: flex; gap: 20px; text-align: right; }
.bsg .bsg-domain-stats b { display: block; font-size: 20px; color: var(--pp-ink); font-variant-numeric: tabular-nums; }
.bsg .bsg-domain-stats small { color: var(--pp-muted); }
.bsg .bsg-progress { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 1px; margin: 12px 0 10px; background: #eef1f4; }
.bsg .bsg-progress i { display: block; }
.bsg .bsg-issues summary { cursor: pointer; font-size: 13.5px; color: #2a78d6; }
.bsg .bsg-issue { border-top: 1px solid #eef1f4; padding: 10px 0; font-size: 13.5px; }
.bsg .bsg-issue ul { margin: 6px 0 0; padding-left: 18px; }
.bsg .bsg-issue li { margin-bottom: 4px; }
.bsg .bsg-issue li small { display: block; color: var(--pp-muted); }
.bsg .bsg-foot { font-size: 12.5px; color: var(--pp-muted); }
@media (max-width: 767px) { .bsg .bsg-hero { font-size: 22px; } .bsg .bsg-domain-stats { margin-top: 10px; text-align: left; } }

/* goal detail (report content) */
.bsg .bsg-headfact { display: inline-block; font-size: 12.5px; color: var(--pp-muted); margin-left: 12px; }
.bsg .bsg-headfact b { color: var(--pp-ink); font-size: 14px; }
.bsg .bsg-lv { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 5px; background: var(--lc); color: #fff; font-size: 12px; font-weight: 700; flex: none; vertical-align: middle; }
.bsg .bsg-lv-t { font-size: 12px; color: #4f5d6b; margin-left: 6px; white-space: nowrap; vertical-align: middle; }
.bsg .bsg-irow .bsg-lv-t, .bsg .bsg-block-tags .bsg-lv-t { display: none; }
.bsg .bsg-type { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1.5; color: var(--t); border: 1px solid var(--t); border-radius: 4px; padding: 0 5px; white-space: nowrap; vertical-align: middle; }
.bsg .bsg-click tbody tr { cursor: pointer; }
.bsg .bsg-click tbody tr:hover, .bsg .bsg-click tbody tr:focus { background: #f5f9ff; outline: 0; }
.bsg .bsg-en { font-size: 13.5px; line-height: 1.7; color: #4f5d6b; }
.bsg .bsg-en-ink { color: var(--pp-ink); }
.bsg .bsg-block { border-top: 1px solid #eef1f4; padding: 10px 0; }
.bsg .bsg-block:first-of-type { border-top: 0; padding-top: 0; }
.bsg .bsg-block-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.bsg .bsg-page { margin-left: auto; font-size: 11.5px; color: var(--pp-muted); }
.bsg .bsg-ichip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--pp-line); background: #fff; border-radius: 999px; padding: 1px 9px 1px 2px; font-size: 12px; color: var(--pp-ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.bsg .bsg-ichip:hover { border-color: #2a78d6; color: #2a78d6; }
.bsg .bsg-ichip span { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; }
.bsg .bsg-gapcard { border-top: 3px solid #8e7cc3; }
.bsg .bsg-gapcat { margin-top: 6px; }
.bsg .bsg-gapcat + .bsg-gapcat { margin-top: 16px; }
.bsg .bsg-gapcat-title { font-weight: 700; color: var(--cc); font-size: 14px; margin-bottom: 6px; }
.bsg .bsg-gapcat-title i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--cc); margin-right: 6px; }
.bsg .bsg-gapcat-title small { color: var(--pp-muted); font-weight: 500; }
.bsg .bsg-gapcat .bsg-block:first-of-type { border-top: 1px solid #eef1f4; padding-top: 10px; }
.bsg .bsg-typesum { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--pp-muted); }
.bsg .bsg-irow { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: start; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid #eef1f4; padding: 9px 4px; color: var(--pp-ink); font-size: 13.5px; line-height: 1.55; cursor: pointer; }
.bsg .bsg-irow:hover { background: #f5f9ff; }
.bsg .bsg-irow-c { font-weight: 700; font-variant-numeric: tabular-nums; color: #4f5d6b; }
.bsg .bsg-irow-n .bsg-en { display: block; font-size: 12px; margin-top: 2px; }
.bsg .bsg-irow-b { display: flex; gap: 6px; align-items: center; }
.bsg .bsg-meter-cmp .bsg-bar { position: relative; overflow: visible; }
.bsg .bsg-meter-cmp .bsg-bar em { position: absolute; top: -3px; width: 2px; height: 14px; background: #1f2d3d; border-radius: 1px; }
.bsg .bsg-meter-cmp small { grid-column: 1 / -1; font-size: 11.5px; color: var(--pp-muted); }
.bsg .bsg-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; margin: 0; }
.bsg .bsg-kv dt { font-weight: 400; color: var(--pp-muted); }
.bsg .bsg-kv dd { margin: 0; }
.bsg .bsg-subissue { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 3px 0; border-bottom: 1px dashed #eef1f4; }
.bsg .bsg-strat { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; font-size: 14px; }
.bsg .bsg-strat-no { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #e8f3dc; color: #4e7d22; font-size: 12px; font-weight: 700; flex: none; }
.bsg .bsg-clar { border-top: 3px solid #2a78d6; }
.bsg .bsg-clar .card-title .mdi { color: #2a78d6; }
.bsg .bsg-narr summary { cursor: pointer; color: #2a78d6; font-size: 13.5px; }

/* indicator drawer */
.bsg-scrim { position: fixed; inset: 0; background: rgba(15, 25, 40, .35); z-index: 1040; }
.bsg-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: #fff; z-index: 1050; box-shadow: -10px 0 30px rgba(15, 25, 40, .18); transform: translateX(105%); transition: transform .2s ease; display: flex; flex-direction: column; }
.bsg-drawer.on { transform: none; }
.bsg-drawer-head { padding: 18px 22px 12px; border-bottom: 1px solid #e6eaef; }
.bsg-drawer-head .row1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.bsg-drawer-head h3 { font-size: 17px; font-weight: 700; color: #1f2d3d; line-height: 1.5; margin: 0 0 4px; }
.bsg-drawer-head .close-btn { margin-left: auto; border: 1px solid #e6eaef; background: #fff; border-radius: 6px; padding: 3px 10px; font-size: 13px; cursor: pointer; }
.bsg-drawer-body { padding: 16px 22px 28px; overflow-y: auto; overflow-x: hidden; flex: 1; overflow-wrap: anywhere; }
.bsg-drawer, .bsg-drawer * { box-sizing: border-box; }
.bsg-drawer-head h3, .bsg-drawer-head .bsg-en { overflow-wrap: anywhere; }
.bsg-drawer-body .dcard { border: 1px solid #e6eaef; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.bsg-drawer-body h4 { font-size: 14px; font-weight: 700; color: #1f2d3d; margin: 0 0 8px; }
.bsg-drawer-body table { width: 100%; font-size: 13px; }
.bsg-drawer-body td { padding: 5px 4px; border-top: 1px solid #eef1f4; vertical-align: top; }
.bsg-drawer-body .hint { font-size: 12px; color: #7b8794; }
.bsg-drawer .bsg-kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 13px; margin: 0; }
.bsg-drawer .bsg-kv dt { font-weight: 400; color: #7b8794; }
.bsg-drawer .bsg-kv dd { margin: 0; color: #1f2d3d; }
.bsg-drawer .bsg-en { font-size: 13px; line-height: 1.7; color: #4f5d6b; }
.bsg-drawer .bsg-lv { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 5px; background: var(--lc); color: #fff; font-size: 12px; font-weight: 700; }
.bsg-drawer .bsg-lv-t { font-size: 12px; color: #4f5d6b; margin-left: 6px; }
.bsg-drawer .bsg-type { display: inline-block; font-size: 11px; font-weight: 600; color: var(--t); border: 1px solid var(--t); border-radius: 4px; padding: 0 5px; }
.bsg-drawer .bsg-ichip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #e6eaef; background: #fff; border-radius: 999px; padding: 1px 9px 1px 2px; font-size: 12px; margin: 0 4px 4px 0; cursor: pointer; }
.bsg-drawer .bsg-ichip span { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; }
.bsg-drawer .gno { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; color: #fff; font-weight: 800; }

/* ---------- /profile (views/site/profile-summary.php) ---------- */
.bsg .bsg-lvrow > .col { min-width: 180px; }
.bsg a.bsg-lvcard { display: block; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.bsg a.bsg-lvcard:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(23, 37, 28, .10); }
.bsg .bsg-banner { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--pp-line); }
.bsg .bsg-banner img { display: block; width: 100%; height: auto; }
.bsg .bsg-goalbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; }
.bsg .bsg-dotlv { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.bsg .bsg-goalgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 20px; }
.bsg .bsg-goalgrid .bsg-gcard { margin-bottom: 0; }
.bsg a.bsg-gcard { display: block; color: var(--pp-ink); border-top: 4px solid var(--sdg); transition: box-shadow .15s, transform .15s; }
.bsg a.bsg-gcard:hover { color: var(--pp-ink); text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(23, 37, 28, .12); }
.bsg .bsg-gcard .card-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; }
.bsg .bsg-gcard-badge { width: 44px; height: 44px; border-radius: 8px; background: var(--sdg); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; line-height: 1.1; }
.bsg .bsg-gcard-badge span { font-size: 15px; } .bsg .bsg-gcard-badge b { font-size: 14px; }
.bsg .bsg-gcard-t { font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.bsg .bsg-gcard-t small { display: block; font-weight: 500; font-size: 11.5px; color: var(--pp-muted); letter-spacing: .02em; }
.bsg .bsg-gcard-stack { height: 6px; background: #eef1f4; }
