/* =========================================================
   CMC — CoinMarketCap-like styling (consolidated & optimized)
   Original: ~1200 lines → Consolidated: ~870 lines
   Changes: syntax fixes, dead code removed, duplicates merged
========================================================= */

/* === CSS Custom Properties === */
:root{
  --cmc-linechart-bleed:16px;
  --cmc-linechart-height:320px;
  --cmc-coin-maxw:1200px;
}
@media(max-width:768px){
  :root{
    --cmc-linechart-bleed:10px;
    --cmc-linechart-height:260px;
  }
}

/* === Table Layout Wrapper === */
.cmc-table-card{
  background:#fff;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  margin:12px 0 20px;
}
.cmc-table-scroll{
  overflow-x:auto;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch;
}

/* === Base Table === */
table.cmc-table{
  width:100%;
  border-collapse:collapse;
  border-spacing:0;
  background:#fff;
  font-size:14px;
  line-height:1.35;
  border-left:0;
  border-right:0;
}
@media(max-width:991px){
  table.cmc-table.cmc-table--top500{min-width:980px;}
}

table.cmc-table thead th{
  background:#fff;
  color:#0f172a;
  font-weight:600;
  text-align:left;
  padding:12px 14px;
  border-bottom:1px solid #eff2f5;
  border-left:0;
  border-right:0;
  white-space:nowrap;
}
@media(min-width:992px){
  table.cmc-table thead th{
    position:sticky;
    top:0;
    z-index:20;
    box-shadow:0 1px 0 #eff2f5;
  }
}

table.cmc-table tbody td{
  padding:12px 14px;
  border-bottom:1px solid #eff2f5;
  border-left:0;
  border-right:0;
  vertical-align:middle;
  background:#fff;
}
table.cmc-table tbody tr:hover td{background:#f5f7fa;}
table.cmc-table tbody tr.cmc-row--clickable{cursor:pointer;}

/* === Column Alignment & Typography === */
table.cmc-table th.col-rank,
table.cmc-table td.col-rank{
  width:52px;
  color:#64748b;
  text-align:left;
}

/* Name column: allow word-wrap (fights theme nowrap) */
table.cmc-table th.col-name,
table.cmc-table td.col-name{
  text-align:left;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
  min-width:260px;
}
/* Numeric columns: right-aligned with tabular figures */
table.cmc-table th.col-num,
table.cmc-table td.col-num,
table.cmc-table th.col-price,
table.cmc-table td.col-price,
table.cmc-table th.col-marketcap,
table.cmc-table td.col-marketcap,
table.cmc-table th.col-volume,
table.cmc-table td.col-volume,
table.cmc-table th.col-1h,
table.cmc-table td.col-1h,
table.cmc-table th.col-24h,
table.cmc-table td.col-24h,
table.cmc-table th.col-7d,
table.cmc-table td.col-7d{
  text-align:right;
  font-variant-numeric:tabular-nums;
}

/*
 * Buy column: if empty in HTML (only &nbsp;), consider hiding via
 * display:none or removing column from markup to fix right-side alignment.
 */
/* Bold typography for key table values */
.cmc-table .cmc-coin-name,
.cmc-table .cmc-coin-symbol,
.cmc-table td.col-price,
.cmc-table td.col-1h,
.cmc-table td.col-24h,
.cmc-table td.col-7d,
.cmc-table td.col-marketcap,
.cmc-table td.col-volume{
  font-weight:600;
}
.cmc-table .cmc-coin-name a{font-weight:inherit;}

/* Name cell: buy button inline */
.cmc-name-row{
  display:flex;
  align-items:center;
  gap:12px;
}
.cmc-name-row .cmc-coin-link,
.cmc-name-row .cmc-coin-cell{
  flex:1 1 auto;
  min-width:100px;
}
.cmc-name-row .cmc-buy-btn{
  flex:0 0 auto;
  margin-left:auto;
}

/* === Coin Cell (logo + name + symbol) === */
.cmc-coin-cell{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.cmc-coin-logo{
  width:22px;
  height:22px;
  border-radius:999px;
  flex:0 0 22px;
}
.cmc-coin-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:80px;
}
.cmc-coin-name{
  font-weight:600;
  color:#0f172a;
  white-space:normal;
  overflow-wrap:break-word;
  max-width:150px;
}
.cmc-coin-symbol{
  font-weight:600;
  color:#64748b;
  font-size:12px;
  margin-top:3px;
  white-space:nowrap;
}
a.cmc-coin-link{color:inherit;text-decoration:none;}
a.cmc-coin-link:hover{text-decoration:underline;}

/* === Percentage Change Pills === */
.cmc-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.cmc-pill::before{
  content:"";
  display:inline-block;
  width:0;height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  opacity:.9;
}
.cmc-pill--pos{color:#16a34a;}
.cmc-pill--pos::before{border-bottom:6px solid currentColor;}
.cmc-pill--neg{color:#dc2626;}
.cmc-pill--neg::before{border-top:6px solid currentColor;}

/* Force green/red in tables & discovery (fights theme overrides) */
.cmc-table .cmc-pill--pos,
.cmc-discovery .cmc-pill--pos{color:#16a34a !important;}
.cmc-table .cmc-pill--neg,
.cmc-discovery .cmc-pill--neg{color:#dc2626 !important;}
.cmc-table .cmc-pill--pos::before,
.cmc-discovery .cmc-pill--pos::before{border-bottom-color:currentColor !important;}
.cmc-table .cmc-pill--neg::before,
.cmc-discovery .cmc-pill--neg::before{border-top-color:currentColor !important;}

/* === Buy Button === */
.cmc-buy-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  font-weight:700;
  font-size:13px;
  text-decoration:none;
  line-height:1;
  white-space:nowrap;
}
.cmc-buy-btn:hover{background:#f1f7ff;}

/* Link buy button in table: blue outline pill */
a.cmc-buy-btn{
  height:30px;
  padding:0 12px;
  border-radius:999px;
  border-color:#1a73e8;
  color:#1a73e8;
  background:transparent;
  font-weight:600;
}
a.cmc-buy-btn:hover{background:rgba(26,115,232,.08);}
a.cmc-buy-btn:active{background:rgba(26,115,232,.14);}

.cmc-buy-btn--empty{
  display:inline-block;
  width:1px;
  height:1px;
}

/* === Sortable Headers === */
.cmc-sortable{cursor:pointer;user-select:none;}
.cmc-sortable::after{
  content:"";
  display:inline-block;
  margin-left:6px;
  width:0;height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  opacity:.35;
  vertical-align:middle;
}
.cmc-sortable.cmc-sort-asc::after{
  border-bottom:6px solid currentColor;
  opacity:.8;
}
.cmc-sortable.cmc-sort-desc::after{
  border-top:6px solid currentColor;
  opacity:.8;
}

/* === Pagination === */
.cmc-top500-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 0 18px;
  font-size:14px;
  color:#334155;
}
.cmc-top500-pagination .cmc-page-nav{display:flex;align-items:center;gap:12px;}
.cmc-top500-pagination .cmc-range{color:#64748b;font-size:13px;}
.cmc-top500-pagination .cmc-page-info{color:#64748b;}
.cmc-top500-pagination .cmc-page-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid #eff2f5;
  background:#fff;
  color:#0f172a;
  text-decoration:none;
  font-weight:600;
}
.cmc-top500-pagination .cmc-page-btn:hover{background:#f5f7fa;}
.cmc-top500-pagination .cmc-page-btn[disabled],
.cmc-top500-pagination .cmc-page-btn.is-disabled{opacity:.5;pointer-events:none;}

/* === Single Coin Stats Table === */
table.cmc-coin-stats{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-left:0;
  border-right:0;
}
table.cmc-coin-stats td{
  padding:10px 12px;
  border-bottom:1px solid #eff2f5;
  border-left:0;
  border-right:0;
  font-variant-numeric:tabular-nums;
}
table.cmc-coin-stats tr:last-child td{border-bottom:0;}

/* === Error Messages === */
.cmc-top500-error,
.cmc-coin-error{
  background:#fff5f5;
  border:1px solid #fecaca;
  color:#991b1b;
  border-radius:12px;
  padding:12px 14px;
  margin:14px 0 18px;
}

/* === Widget Wrappers & Lazy Embeds === */
.cmc-bitvavo-wrap,
.cmc-tradingview-wrap{margin:14px 0 18px;}

.cmc-lazy{margin:8px 0;}
.cmc-lazy__btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border:1px solid #DFE7EF;border-radius:8px;
  background:#fff;cursor:pointer;font-weight:700;
}
.cmc-lazy__btn:hover{background:#f7f9fb;}
.cmc-lazy__btn:disabled{cursor:wait;opacity:.7;}
.cmc-lazy__target{margin-top:12px;}

/* === Sticky Coin Header === */
.cmc-coin-sticky{
  position:sticky;top:0;z-index:50;
  background:#fff;border-bottom:1px solid #e5e7eb;padding:8px 0;
  transform:translateY(-110%);opacity:0;pointer-events:none;
  transition:transform .18s ease,opacity .18s ease;
}
.cmc-coin-sticky.is-visible{transform:translateY(0);opacity:1;pointer-events:auto;}
.cmc-coin-sticky__inner{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:10px 14px;margin:0 10px;
  background:rgba(255,255,255,.92);border:1px solid rgba(15,23,42,.10);
  border-radius:14px;backdrop-filter:saturate(180%) blur(10px);
}
.cmc-coin-sticky--shadow .cmc-coin-sticky__inner{
  box-shadow:0 8px 28px rgba(15,23,42,.10);
}

/* Compact variant */
.cmc-coin-sticky--compact{padding:0;background:#fff;border-bottom:1px solid rgba(15,23,42,.08);}
.cmc-coin-sticky--compact .cmc-coin-sticky__inner{
  background:transparent;border:0;border-radius:0;backdrop-filter:none;
  margin:0;padding:8px 0;
  max-width:var(--cmc-coin-maxw,1200px);width:calc(100% - 20px);
  margin-left:auto;margin-right:auto;
}
.cmc-coin-sticky--compact .cmc-coin-sticky__meta{flex-direction:row;align-items:baseline;gap:8px;}
.cmc-coin-sticky--compact .cmc-coin-sticky__symbol{font-weight:700;font-size:13px;color:#2563eb;opacity:1;}
.cmc-coin-sticky--compact .cmc-coin-sticky__symbol::before{content:"(";opacity:.9;}
.cmc-coin-sticky--compact .cmc-coin-sticky__symbol::after{content:")";opacity:.9;}
.cmc-coin-sticky--compact .cmc-pill::before{
  border:0;width:auto;height:auto;content:"▲";font-size:12px;line-height:1;margin-right:2px;
}
.cmc-coin-sticky--compact .cmc-pill--neg::before{content:"▼";}

.cmc-coin-sticky__coin{display:flex;align-items:center;gap:10px;text-decoration:none;}
.cmc-coin-sticky__meta{display:flex;flex-direction:column;line-height:1.1;min-width:0;}
.cmc-coin-sticky__name{font-weight:700;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cmc-coin-sticky__symbol{font-weight:700;font-size:12px;color:#374151;letter-spacing:.02em;text-transform:uppercase;}
.cmc-coin-sticky__mid{display:flex;align-items:center;gap:10px;white-space:nowrap;}
.cmc-coin-sticky__price{font-weight:700;font-size:15px;}

/* Compact sticky buy button */
.cmc-coin-sticky--compact a.cmc-buy-btn{
  background:#2563eb;color:#fff;border:1px solid #1d4ed8;
  padding:10px 16px;border-radius:10px;gap:10px;box-shadow:none;
}
.cmc-coin-sticky--compact a.cmc-buy-btn:hover{filter:brightness(.97);}
.cmc-coin-sticky--compact .cmc-buy-btn__text{display:flex;align-items:baseline;gap:10px;}
.cmc-coin-sticky--compact .cmc-buy-btn__label{font-weight:700;color:#fff;}
.cmc-coin-sticky--compact .cmc-buy-btn__sub{font-weight:600;font-size:12px;color:rgba(255,255,255,.92);white-space:nowrap;}
.cmc-coin-sticky--compact .cmc-buy-btn__icon{display:inline-flex;}

@media(max-width:640px){
  .cmc-coin-sticky__inner{margin:0 8px;}
  .cmc-coin-sticky__mid{gap:8px;}
  .cmc-coin-sticky__price{font-size:14px;}
}

/* === Single Coin Advanced Template === */
.cmc-coin-page--advanced .cmc-hero{display:grid;grid-template-columns:1fr;gap:16px;margin:12px 0 18px;}
@media(min-width:768px){
  .cmc-coin-page--advanced .cmc-hero{grid-template-columns:360px 1fr;align-items:start;}
  .cmc-coin-page--advanced .cmc-hero.cmc-hero--no-left{grid-template-columns:1fr;}
}
.cmc-coin-page--advanced .cmc-hero-card{border:1px solid #e5e7eb;border-radius:10px;padding:14px;background:#fff;}
.cmc-coin-page--advanced .cmc-hero-card__title{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.cmc-coin-page--advanced .cmc-hero-card__rank{font-size:12px;padding:2px 8px;border:1px solid #e5e7eb;border-radius:999px;}
.cmc-coin-page--advanced .cmc-hero-card__price{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:8px 0 10px;}
.cmc-coin-page--advanced .cmc-hero-card__priceValue{font-size:22px;font-weight:700;}
.cmc-coin-page--advanced .cmc-hero-card__pct{font-weight:600;}
.cmc-coin-page--advanced .cmc-hero-card__pct.pos{color:#0f7b3a;}
.cmc-coin-page--advanced .cmc-hero-card__pct.neg{color:#b42318;}
.cmc-coin-page--advanced .cmc-hero-card__meta{display:grid;gap:8px;font-size:13px;}
.cmc-coin-page--advanced .cmc-hero-card__meta--grid{grid-template-columns:1fr;}
@media(min-width:520px){
  .cmc-coin-page--advanced .cmc-hero-card__meta--grid{grid-template-columns:1fr 1fr;column-gap:14px;}
  .cmc-coin-page--advanced .cmc-hero-card__meta--grid .cmc-hero-metaRow{border-top:1px dashed #DFE7EF;}
}
.cmc-coin-page--advanced .cmc-hero-metaRow{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px dashed #DFE7EF;}
.cmc-coin-page--advanced .cmc-hero-metaRow:first-child{border-top:0;}

/* === Coin Sidebar === */
.cmc-coin-sidebar .cmc-hero-card{border:1px solid #e5e7eb;border-radius:10px;padding:14px;background:#fff;}
.cmc-coin-sidebar .cmc-hero-card__title{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.cmc-coin-sidebar .cmc-hero-card__rank{font-size:12px;padding:2px 8px;border:1px solid #e5e7eb;border-radius:999px;}
.cmc-coin-sidebar .cmc-hero-card__price{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:8px 0 10px;}
.cmc-coin-sidebar .cmc-hero-card__priceValue{font-size:22px;font-weight:700;}
.cmc-coin-sidebar .cmc-hero-card__pct{font-weight:600;}
.cmc-coin-sidebar .cmc-hero-card__pct.pos{color:#0f7b3a;}
.cmc-coin-sidebar .cmc-hero-card__pct.neg{color:#b42318;}
.cmc-coin-sidebar .cmc-hero-card__meta{display:grid;gap:8px;font-size:13px;}
.cmc-coin-sidebar .cmc-hero-metaRow{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px dashed #DFE7EF;}
.cmc-coin-sidebar .cmc-hero-metaRow:first-child{border-top:0;}

/* === Tabs === */
.cmc-tabs{margin:10px 0 18px;}
.cmc-tabs__nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px;}
.cmc-tab{
  border:1px solid #e5e7eb;background:#fff !important;color:#111 !important;
  border-radius:999px;padding:8px 12px;cursor:pointer;font-weight:600;font-size:13px;
}
.cmc-tab.is-active{border-color:#c8d6e5;}
.cmc-tabpanel{display:none;}
.cmc-tabpanel.is-active{display:block;}

/* === Chart Switcher === */
.cmc-chart-switcher{margin:10px 0 18px;}
.cmc-chart-switcher__nav{
  display:inline-flex;gap:8px;flex-wrap:wrap;padding:4px;
  background:#f4f6f8;border:1px solid #e5e7eb;border-radius:10px;
}

/* Scoped to switcher context — avoids clash with % change .cmc-pill */
.cmc-chart-switcher__nav .cmc-pill{
  appearance:none;border:1px solid transparent;
  background:transparent !important;color:#111 !important;
  border-radius:10px;padding:6px 10px;cursor:pointer;
  font-weight:600;font-size:13px;display:inline-flex;
  align-items:center;gap:6px;line-height:1;
}
.cmc-chart-switcher__nav .cmc-pill::before{display:none;}
.cmc-chart-switcher__nav .cmc-pill.is-active{background:#fff !important;border-color:#d0d7de;}
.cmc-chart-switcher__nav .cmc-pill__icon{font-size:14px;}

.cmc-switch-panel{display:none;}
.cmc-switch-panel.is-active{display:block;}
.cmc-chart-switcher.no-switcher .cmc-chart-switcher__nav{display:none !important;}

/* === Advanced Template: Hide Sidebar === */
.cmc-advanced-single #secondary,
.cmc-advanced-single .sidebar,
.cmc-advanced-single .widget-area,
.cmc-advanced-single .ast-sidebar-wrapper,
.cmc-advanced-single .site-sidebar,
.cmc-advanced-single .wp-block-template-part.sidebar{display:none !important;}
.cmc-advanced-single #primary,
.cmc-advanced-single .content-area,
.cmc-advanced-single .site-content .content-area{width:100% !important;max-width:100% !important;}
.cmc-advanced-single .site-content,
.cmc-advanced-single .content-area{flex:0 0 100% !important;}
@media(max-width:768px){
  .cmc-advanced-single .inside-article,
  .cmc-advanced-single .entry-content,
  .cmc-advanced-single .site-main,
  .cmc-advanced-single .site-content{padding-left:10px !important;padding-right:10px !important;}
  .cmc-advanced-single #primary,
  .cmc-advanced-single .content-area{padding-left:0 !important;padding-right:0 !important;}
}

/* === Line Chart === */
.cmc-linechart{
  border:0;border-radius:0;padding:0;margin:18px 0;
  background:transparent;max-width:none;width:100%;color:#111;
}
.cmc-linechart.is-loading{opacity:.85;}

.cmc-linechart__head{
  display:flex;align-items:stretch;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.cmc-linechart__head-left{display:flex;align-items:stretch;gap:14px;}
.cmc-linechart__title{margin:0;font-size:18px;line-height:1.2;}

/* Premium header */
.cmc-linechart__header{
  display:flex;justify-content:space-between;align-items:flex-end;
  gap:18px;margin-bottom:8px;width:100%;
}
.cmc-linechart__header-left{display:flex;align-items:stretch;gap:14px;min-width:0;}
.cmc-linechart__logo{
  height:100%;width:auto;aspect-ratio:1/1;
  object-fit:cover;border-radius:999px;flex:0 0 auto;
}
.cmc-linechart__logo-fallback{
  height:100%;width:auto;aspect-ratio:1/1;
  border-radius:999px;background:#eef0f3;display:inline-block;flex:0 0 auto;
}
.cmc-linechart__header-meta{display:flex;flex-direction:column;justify-content:center;min-width:0;}
.cmc-linechart__coin-title{margin:0;font-size:18px;font-weight:800;color:#111827;line-height:1.2;}
.cmc-linechart__coin-title-sym{font-size:14px;font-weight:700;color:#6b7280;margin-left:6px;}
.cmc-linechart__price-row{display:flex;align-items:baseline;gap:10px;margin-top:6px;}
.cmc-linechart__price{font-size:28px;font-weight:800;color:#111827;letter-spacing:-.3px;}
.cmc-linechart__change{
  font-size:13px;font-weight:700;padding:3px 9px;border-radius:8px;
  border:0;display:inline-flex;align-items:center;gap:4px;
}
.cmc-linechart__change.is-up{color:#34D399;background:rgba(52,211,153,.08);}
.cmc-linechart__change.is-down{color:#F87171;background:rgba(248,113,113,.08);}
.cmc-linechart__subtitle{margin-top:8px;font-size:12px;color:#6b7280;}

/* Tabs: underline style, right-aligned */
.cmc-linechart__header-right{display:flex;justify-content:flex-end;margin-left:auto;}
.cmc-linechart__ranges{display:flex;gap:0;flex-wrap:wrap;justify-content:flex-end;border-bottom:2px solid #eef0f3;}
.cmc-linechart__ranges-below{
  display:none;justify-content:space-between;gap:0;
  border-top:1px solid #eef0f3;margin-top:10px;padding-top:6px;
}

/* Range button (underline tab style) — !important fights theme button overrides */
.cmc-linechart__btn{
  border:0;background:#fff !important;color:#111 !important;
  border-radius:0;padding:8px 14px;font-size:13px;font-weight:700;
  cursor:pointer;position:relative;
}
.cmc-linechart__btn::after{
  content:'';position:absolute;left:0;right:0;bottom:-2px;
  height:2px;background:transparent;border-radius:2px 2px 0 0;
}
.cmc-linechart__btn.is-active::after{background:#111827;}

/* Canvas */
.cmc-linechart__canvas{
  position:relative;overflow:hidden;
  height:var(--cmc-linechart-height);margin-top:6px;
  margin-left:calc(var(--cmc-linechart-bleed) * -1);
  margin-right:calc(var(--cmc-linechart-bleed) * -1);
  width:calc(100% + (var(--cmc-linechart-bleed) * 2));
}
.cmc-linechart__svg,
.cmc-linechart__svg svg{display:block;height:100%;}
.cmc-linechart__svg svg{width:100%;max-width:100%;}
.cmc-linechart__baseline{shape-rendering:crispEdges;}
.cmc-linechart__ylabel{
  font-size:12px;fill:#333;opacity:.95;
  paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round;
}

/* Tooltip */
.cmc-linechart__tooltip{
  position:absolute;left:0;top:0;transform:translate(-9999px,-9999px);
  pointer-events:none;background:#fff;border:1px solid rgba(0,0,0,.12);
  border-radius:10px;padding:8px 10px;font-size:12px;line-height:1.25;
  box-shadow:0 10px 25px rgba(0,0,0,.08);z-index:2;white-space:nowrap;
}

/* Meta / footer — !important fights theme text-color overrides */
.cmc-linechart__meta{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-top:8px;font-size:12px;color:#333 !important;opacity:1;
}
.cmc-linechart__footer{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:14px;margin-top:12px;font-size:12px;
}
.cmc-linechart__stats{display:flex;gap:16px;flex-wrap:wrap;}
.cmc-linechart__stats strong{font-weight:700;}
.cmc-linechart__stat{display:flex;flex-direction:column;gap:3px;}
.cmc-linechart__stat-label{color:#9ca3af;font-weight:700;font-size:11px;}
.cmc-linechart__stat-val{color:#111827;font-weight:800;}
.cmc-linechart__footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px;}
.cmc-linechart__source{color:#333 !important;}
.cmc-linechart__status{white-space:nowrap;color:#333 !important;}

@media(max-width:640px){
  .cmc-linechart__header{align-items:flex-start;}
  .cmc-linechart__header-right{display:none;}
  .cmc-linechart__ranges-below{display:flex;margin-top:8px;padding-top:6px;}
  .cmc-linechart__ranges-below .cmc-linechart__btn{flex:1;text-align:center;padding:10px 0;}
  .cmc-linechart__price{font-size:24px;}
}

/* === Volatility & Risk Profile === */
.cmc-volatility{
  background:#fff;border:1px solid #e5e7eb;border-radius:10px;
  padding:16px;margin:16px 0;box-shadow:none;
}
.cmc-volatility__head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-bottom:10px;border-bottom:1px solid #eff2f5;margin-bottom:12px;
}
.cmc-volatility__title{font-size:18px;line-height:1.2;color:#0f172a;}
.cmc-volatility__info{
  width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;border:1px solid #cbd5e1;color:#334155;
  font-weight:700;font-size:12px;cursor:help;flex:0 0 auto;
}
.cmc-volatility__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
@media(min-width:768px){.cmc-volatility__grid{gap:14px;}}
.cmc-volatility__cell{border:1px solid #eff2f5;border-radius:12px;padding:12px;background:#fff;}
.cmc-volatility__cell.is-up{background:#ecfdf5;border-color:#bbf7d0;}
.cmc-volatility__cell.is-down{background:#fef2f2;border-color:#fecaca;}
.cmc-volatility__cell.is-na{background:#f8fafc;border-color:#e5e7eb;}
.cmc-volatility__label{font-size:12px;color:#475569;margin-bottom:6px;}
.cmc-volatility__value{font-size:20px;font-weight:700;letter-spacing:-0.02em;color:#0f172a;}
.cmc-volatility__value.pos{color:#0f7b3a;}
.cmc-volatility__value.neg{color:#b42318;}
.cmc-volatility__value.na{color:#64748b;}
.cmc-volatility__risk{margin-top:14px;padding-top:12px;border-top:1px solid #eff2f5;}
.cmc-volatility__riskLabel{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:10px;color:#0f172a;margin-bottom:10px;
}
.cmc-volatility__riskLabel span{color:#64748b;font-size:12px;}
.cmc-volatility__bar{
  position:relative;display:flex;height:14px;border-radius:999px;
  overflow:hidden;background:#f1f5f9;border:1px solid #e5e7eb;
}
.cmc-volatility__barSeg{display:block;height:100%;}
.cmc-volatility__barSeg.is-low{width:33.33%;background:#22c55e;}
.cmc-volatility__barSeg.is-med{width:33.33%;background:#f59e0b;}
.cmc-volatility__barSeg.is-high{width:33.33%;background:#ef4444;}
.cmc-volatility__barPin{
  position:absolute;top:50%;left:var(--cmc-risk-pos,50%);
  transform:translate(-50%,-50%);width:14px;height:14px;
  border-radius:999px;border:2px solid #fff;
  box-shadow:0 1px 2px rgba(0,0,0,.12);background:#0f172a;
}
.cmc-volatility__note{margin-top:10px;color:#475569;font-size:13px;line-height:1.35;}
.cmc-volatility--high,
.cmc-volatility--medium,
.cmc-volatility--low{border-color:#e5e7eb;}
.cmc-volatility--na{opacity:0.95;}

/* === Performance Card === */
.cmc-perf-card{
  --cmc-perf-bg:#fff;
  --cmc-perf-border:#e5e7eb;
  --cmc-perf-pos:#0a7a3d;
  --cmc-perf-neg:#c62828;
  --cmc-perf-na:rgba(15,23,42,.55);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));
  gap:10px;padding:12px;margin:12px 0 16px;
  background:var(--cmc-perf-bg);border:1px solid var(--cmc-perf-border);
  border-radius:10px;box-shadow:none;
}
@media(max-width:720px){
  .cmc-perf-card{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));}
}
.cmc-perf-item{padding:10px;border-radius:12px;background:#f8fafc;border:1px solid #e5e7eb;}
.cmc-perf-item.is-up{background:#ecfdf5;border-color:#bbf7d0;}
.cmc-perf-item.is-down{background:#fef2f2;border-color:#fecaca;}
.cmc-perf-item.is-na{background:#f8fafc;border-color:#e5e7eb;}
.cmc-perf-label{font-size:12px;line-height:1.1;color:rgba(15,23,42,.65);margin-bottom:6px;}
.cmc-perf-value{
  display:flex;align-items:center;gap:6px;
  font-size:16px;line-height:1.2;font-weight:700;letter-spacing:-0.01em;
}
.cmc-perf-value.pos{color:var(--cmc-perf-pos);}
.cmc-perf-value.neg{color:var(--cmc-perf-neg);}
.cmc-perf-value.na{color:var(--cmc-perf-na);font-weight:600;}
.cmc-perf-arrow{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:999px;background:rgba(15,23,42,.06);
}
.cmc-perf-arrow.up::before{content:"▲";font-size:10px;line-height:1;}
.cmc-perf-arrow.down::before{content:"▼";font-size:10px;line-height:1;}

/* === Converter === */
.cmc-converter{margin:16px 0;padding:14px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;box-shadow:none;}
.cmc-converter__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}
.cmc-converter__title{font-size:15px;margin:0;font-weight:700;}
.cmc-converter__meta{font-size:12px;opacity:.7;}
.cmc-converter__grid{display:flex;gap:12px;align-items:stretch;}
.cmc-converter.is-swapped .cmc-converter__grid{flex-direction:row-reverse;}
.cmc-converter__field{flex:1;min-width:0;}
.cmc-converter__label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:0 0 6px 0;opacity:.75;}
.cmc-converter__inputwrap{
  display:flex;align-items:center;gap:8px;padding:10px;
  border:1px solid rgba(0,0,0,.10);border-radius:12px;background:#fafafa;
}
.cmc-converter__input{border:0;outline:0;background:transparent;font-size:16px;width:100%;min-width:0;}
.cmc-converter__unit{font-size:12px;font-weight:700;opacity:.8;white-space:nowrap;}
.cmc-converter__outputs{display:flex;gap:10px;justify-content:space-between;margin-top:10px;font-size:12px;opacity:.85;}
.cmc-converter__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;align-items:center;}
.cmc-converter__btn{
  border:1px solid rgba(0,0,0,.12);background:#fff;border-radius:999px;
  padding:6px 10px;font-size:12px;line-height:1.2;cursor:pointer;color:#111 !important;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;min-width:44px;touch-action:manipulation;
}
.cmc-converter__btn:hover,
.cmc-converter__btn:focus{
  background:#2563eb !important;color:#fff !important;
  border-color:#2563eb !important;box-shadow:0 1px 2px rgba(0,0,0,.10);
}
.cmc-converter__btn--ghost{background:transparent;}
.cmc-converter--compact{padding:10px;border-radius:10px;}
.cmc-converter--compact .cmc-converter__actions{display:none;}
.cmc-converter--compact .cmc-converter__outputs{margin-top:6px;}

@media(max-width:640px){
  .cmc-converter__grid,
  .cmc-converter.is-swapped .cmc-converter__grid{flex-direction:column;}
  .cmc-converter__field{order:0;}
  .cmc-converter.is-swapped .cmc-converter__field:nth-child(1){order:2;}
  .cmc-converter.is-swapped .cmc-converter__field:nth-child(2){order:1;}
}

/* === Sticky Buy Button (mobile/tablet) === */
.cmc-sticky-buy{
  position:fixed;left:0;right:0;bottom:0;z-index:99999;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);backdrop-filter:saturate(180%) blur(10px);
  border-top:1px solid rgba(0,0,0,.08);display:none;
}
.cmc-sticky-buy__btn{
  display:flex;align-items:center;justify-content:center;width:100%;
  min-height:48px;border-radius:14px;background:#ff7a18;
  color:#fff !important;font-weight:700;text-decoration:none;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.cmc-sticky-buy__btn:hover,
.cmc-sticky-buy__btn:focus{filter:brightness(.95);}

@media(max-width:1024px){
  body.cmc-has-sticky-buy{padding-bottom:90px;}
  .cmc-sticky-buy{display:block;}
  .cmc-coin-sticky .cmc-buy-btn{display:none !important;}
}

/* === Coin Page Layout Overrides (CPT) === */
body.cmc-coin-layout-container #secondary,
body.cmc-coin-layout-container #sidebar,
body.cmc-coin-layout-container .sidebar,
body.cmc-coin-layout-container .widget-area,
body.cmc-coin-layout-container aside.sidebar,
body.cmc-coin-layout-container .site-sidebar,
body.cmc-coin-layout-container .woocommerce-sidebar,
body.cmc-coin-layout-container .content-sidebar,
body.cmc-coin-layout-container .sidebar-container{display:none !important;}

body.cmc-coin-layout-container #primary,
body.cmc-coin-layout-container .content-area,
body.cmc-coin-layout-container .site-content,
body.cmc-coin-layout-container .content,
body.cmc-coin-layout-container .site-main,
body.cmc-coin-layout-container .ast-container,
body.cmc-coin-layout-container .container,
body.cmc-coin-layout-container .grid-container{width:100% !important;max-width:100% !important;flex:1 1 auto !important;}

body.cmc-coin-layout-container .cmc-coin-page,
body.cmc-coin-layout-container .cmc-coin-page--clean{
  max-width:var(--cmc-coin-maxw,1200px);
  margin-left:auto;margin-right:auto;
  padding-left:0;
  padding-right:0;
}
body.cmc-coin-layout-full .cmc-coin-page{
  max-width:none !important;width:100% !important;margin:0 !important;
  padding-left:16px;padding-right:16px;
}
.cmc-coin-page.cmc-coin-page--advanced{padding-left:0 !important;padding-right:0 !important;}

/* === Theme-Specific Sidebar Overrides === */

/* GeneratePress */
body.cmc-coin-layout-container.cmc-theme-generatepress #right-sidebar,
body.cmc-coin-layout-container.cmc-theme-generatepress #left-sidebar,
body.cmc-coin-layout-container.cmc-theme-generatepress .widget-area,
body.cmc-coin-layout-container.cmc-theme-generatepress .sidebar{display:none !important;}
body.cmc-coin-layout-container.cmc-theme-generatepress .site-content,
body.cmc-coin-layout-container.cmc-theme-generatepress .content-area{width:100% !important;max-width:100% !important;}
body.cmc-coin-layout-container.cmc-theme-generatepress .grid-container{
  max-width:var(--cmc-coin-maxw,1200px) !important;margin-left:auto !important;margin-right:auto !important;
}

/* Astra */
body.cmc-coin-layout-container.cmc-theme-astra #secondary,
body.cmc-coin-layout-container.cmc-theme-astra .ast-sidebar-wrapper,
body.cmc-coin-layout-container.cmc-theme-astra .ast-separate-container .ast-sidebar-container{display:none !important;}
body.cmc-coin-layout-container.cmc-theme-astra .ast-container,
body.cmc-coin-layout-container.cmc-theme-astra .site-content .ast-container,
body.cmc-coin-layout-container.cmc-theme-astra .content-area{width:100% !important;max-width:100% !important;}

/* Foxiz */
body.cmc-coin-layout-container.cmc-theme-foxiz .rb-sidebar,
body.cmc-coin-layout-container.cmc-theme-foxiz .sidebar-wrap,
body.cmc-coin-layout-container.cmc-theme-foxiz .sidebar,
body.cmc-coin-layout-container.cmc-theme-foxiz #sidebar{display:none !important;}

/* === Exchanges Compare === */
.cmc-ex-compare{margin:18px 0;padding:0;border:0;border-radius:0;background:transparent;}
.cmc-ex-lead{margin:0 0 10px 0;color:#374151;}
.cmc-ex-compare__sub{margin:0 0 10px 0;color:#374151;}
.cmc-ex-compare__disclaimer{margin:10px 0 0 0;color:#374151;font-size:13px;}

.cmc-ex-tablewrap{border:1px solid #e5e7eb;border-radius:10px;background:#fff;overflow:hidden;}
.cmc-ex-table{width:100%;border-collapse:collapse;}
.cmc-ex-table th,
.cmc-ex-table td{padding:12px 14px;border-bottom:1px solid #e5e7eb;vertical-align:middle;}
.cmc-ex-table thead th{color:#111827;font-weight:700;font-size:13px;text-align:left;background:#fff;}
.cmc-ex-table__cta{text-align:right;white-space:nowrap;}
.cmc-ex-row:last-child td{border-bottom:0;}
.cmc-ex-td__provider{display:flex;align-items:center;gap:10px;}
.cmc-ex-td__meta{color:#374151;font-size:13px;}

@media(max-width:768px){
  .cmc-ex-tablewrap{border:0;border-radius:0;background:transparent;overflow:visible;}
  .cmc-ex-table thead{display:none !important;}
  .cmc-ex-table,.cmc-ex-table tbody,.cmc-ex-table tr,.cmc-ex-table td{display:block;width:100%;}
  .cmc-ex-table tr{
    border:1px solid #e5e7eb;border-radius:10px;
    background:#fff;padding:12px;margin:12px 0;
  }
  .cmc-ex-table td{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border:0;}
  .cmc-ex-table td::before{content:attr(data-label);font-weight:700;color:#111827;}
  .cmc-ex-table__cta{text-align:left;padding-top:10px;}
  .cmc-ex-table__cta a{width:100%;text-align:center;display:inline-block;}
}

.cmc-ex-compare__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
@media(max-width:640px){.cmc-ex-compare__list{grid-template-columns:1fr;}}

.cmc-ex-card{
  border:1px solid #e5e7eb;border-radius:10px;padding:12px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;
}
.cmc-ex-card__left{display:flex;align-items:center;gap:12px;min-width:0;}
.cmc-ex-logo{width:36px;height:36px;object-fit:contain;flex:0 0 auto;border-radius:10px;}
.cmc-ex-card__info{min-width:0;}
.cmc-ex-card__name strong{font-size:16px;}
.cmc-ex-card__meta{color:#64748b;font-size:13px;margin-top:2px;}
.cmc-ex-badge{
  display:inline-block;margin-left:8px;padding:2px 8px;
  border-radius:999px;border:1px solid #e5e7eb;font-size:12px;
  color:#334155;vertical-align:middle;
}
.cmc-ex-buy{
  display:inline-block;padding:8px 12px;border-radius:10px;
  background:#2563eb;color:#fff !important;text-decoration:none;font-weight:700;white-space:nowrap;
}
.cmc-ex-buy:hover{opacity:.92;color:#fff !important;}

/* Ranked style */
.cmc-ex-ranked{display:flex;flex-direction:column;gap:10px;}
.cmc-ex-rankrow{
  border:1px solid #e5e7eb;border-radius:10px;padding:12px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;
}
.cmc-ex-rankrow__rank{width:48px;text-align:center;font-weight:700;color:#6b7280;}
.cmc-ex-rankrow__main{display:flex;align-items:center;gap:12px;min-width:0;flex:1;}
.cmc-ex-rankrow__info{min-width:0;}
.cmc-ex-rankrow__meta{display:flex;gap:12px;flex-wrap:wrap;color:#374151;font-size:13px;margin-top:2px;}

/* === Discovery Blocks === */
.cmc-discovery{margin-top:18px;}
.cmc-discovery__section{margin-top:18px;}
.cmc-discovery__section > h2{margin:0 0 10px;}
.cmc-discovery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.cmc-discovery__card{
  display:block;border:1px solid #e5e7eb;border-radius:10px;
  padding:10px;text-decoration:none;background:#fff;color:inherit;
}
.cmc-discovery__card:hover{box-shadow:none;}
.cmc-discovery__row{display:flex;align-items:center;justify-content:flex-start;gap:10px;}
.cmc-discovery__logo{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;}
.cmc-discovery__meta{display:flex;flex-direction:column;min-width:0;flex:1;}
.cmc-discovery__link{display:block;color:inherit;text-decoration:none;min-width:0;}
.cmc-discovery__link:focus{outline:2px solid rgba(37,99,235,.35);outline-offset:2px;border-radius:8px;}
.cmc-discovery__name{
  display:-webkit-box;font-weight:700;color:#111827;line-height:1.15;
  overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;
}
.cmc-discovery__symbol{display:block;font-weight:600;color:#374151;font-size:.86rem;}
.cmc-discovery__row--bottom{margin-top:8px;justify-content:flex-start;}
.cmc-discovery__price{font-weight:700;}
.cmc-discovery__pct{margin-left:auto;min-width:72px;text-align:right;font-weight:600;display:flex;align-items:center;justify-content:flex-end;}
.cmc-discovery__buy{margin-left:8px;}
.cmc-discovery__buywrap{display:inline-flex;}
.cmc-discovery__card .cmc-buy-btn{padding:7px 10px;font-size:.9rem;}

@media(max-width:520px){
  .cmc-discovery__grid{grid-template-columns:1fr;}
  .cmc-discovery__row{gap:12px;}
  .cmc-discovery__row--bottom{flex-wrap:nowrap;}
  .cmc-discovery__pct{margin-left:auto;text-align:right;}
  .cmc-discovery__buy{margin-left:8px;}
}
@media(min-width:900px){
  .cmc-discovery__grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .cmc-discovery__logo{width:32px;height:32px;flex-basis:32px;}
}
@media(min-width:1200px){
  .cmc-discovery__grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}

/* === Sentiment / Highlights Dashboard === */
.cmc-sentiment{display:grid;gap:12px;margin:14px 0 18px;}
.cmc-sentiment--row{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));}
.cmc-sentiment--grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.cmc-sent-card{
  background:#fff;border:1px solid #eff2f5;border-radius:14px;
  padding:12px 14px;box-shadow:none;overflow:hidden;
}
.cmc-sent-card__head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.cmc-sent-card__title{font-weight:700;font-size:14px;color:#0f172a;}
.cmc-sent-card__pct{
  font-size:13px;font-weight:700;padding:3px 8px;
  border-radius:999px;background:#f8fafc;border:1px solid #eff2f5;
}
.cmc-sent-card__pct.pos{color:#0f7b3a;}
.cmc-sent-card__pct.neg{color:#b42318;}
.cmc-sent-card__body{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;}
.cmc-sent-card__value{font-weight:800;font-size:20px;color:#0f172a;line-height:1.1;}
.cmc-sent-card__unit{font-weight:700;font-size:12px;color:#64748b;margin-left:3px;}
.cmc-sent-card__label{font-size:12px;color:#64748b;margin-top:2px;}
.cmc-sent-card__meta{min-width:0;}
.cmc-sent-card__spark{color:#16c784;flex:0 0 auto;}
.cmc-sent-card__spark.neg{color:#ea3943;}
.cmc-spark{width:120px;height:36px;display:block;}
.cmc-sent-card__meter{flex:1 1 auto;display:flex;align-items:center;justify-content:flex-start;min-width:0;}

/* Meter (Fear&Greed / Altseason / RSI) */
.cmc-meter{position:relative;width:100%;max-width:180px;height:10px;flex:1 1 auto;}
.cmc-meter__track{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;height:10px;}
.cmc-meter__seg{display:block;border-radius:999px;background:#e5e7eb;}
.cmc-meter__seg--a{background:#b42318;}
.cmc-meter__seg--b{background:#f97316;}
.cmc-meter__seg--c{background:#fbbf24;}
.cmc-meter__seg--d{background:#84cc16;}
.cmc-meter__seg--e{background:#16c784;}
.cmc-meter__pin{
  position:absolute;top:50%;transform:translate(-50%,-50%);
  width:12px;height:12px;border-radius:999px;background:#0f172a;
  border:2px solid #fff;box-shadow:0 1px 2px rgba(15,23,42,0.20);
}

@media(max-width:480px){
  .cmc-sent-card__value{font-size:18px;}
  .cmc-spark{width:96px;}
  .cmc-meter{max-width:160px;}
}

/* === Market Summary Colors === */
.cmc-green{color:#16c784;font-weight:700;}
.cmc-red{color:#ea3943;font-weight:700;}

/* === Mobile Tweaks === */
@media(max-width:640px){
  table.cmc-table thead th,
  table.cmc-table tbody td{
    padding:10px 12px;
  }
}

/* Defensive: col-buy removed from markup; hide if any cached HTML remains */
table.cmc-table th.col-buy, table.cmc-table td.col-buy{display:none !important;}

/* === FAQ Accordion (SEO Rich Snippets) === */
.cmc-faq{margin:18px 0;}
.cmc-faq > h2{margin:0 0 10px;}

.cmc-faq__item{
  border:1px solid #e5e7eb;
  border-radius:10px;
  margin-bottom:8px;
  overflow:hidden;
  background:#fff;
}
.cmc-faq__item:last-child{margin-bottom:0;}

.cmc-faq__details{margin:0;}
.cmc-faq__details summary{
  cursor:pointer;
  list-style:none;
  padding:14px 18px;
  font-weight:700;
  font-size:14px;
  color:#0f172a;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  transition:background .15s ease;
}
.cmc-faq__details summary:hover{background:#f8fafc;}
.cmc-faq__details summary::-webkit-details-marker{display:none;}
.cmc-faq__details summary::marker{display:none;content:"";}

/* Plus / minus indicator */
.cmc-faq__details summary::after{
  content:"+";
  font-size:18px;
  font-weight:400;
  color:#64748b;
  flex:0 0 auto;
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  transition:transform .2s ease, background .15s ease;
}
.cmc-faq__details[open] summary::after{
  content:"−";
  background:#eff2f5;
}

/* Answer */
.cmc-faq__a{
  padding:0 18px 16px;
  color:#374151;
  font-size:14px;
  line-height:1.6;
}
.cmc-faq__a p{margin:0;}

/* Mobile */
@media(max-width:640px){
  .cmc-faq__details summary{padding:12px 14px;font-size:13px;}
  .cmc-faq__a{padding:0 14px 14px;font-size:13px;}
}
/* === Exchanges landing page (Clean-style) === */
.cmc-expg { margin: 18px 0; }
.cmc-expg-h2 { font-size: 22px; line-height: 1.25; margin: 18px 0 12px; }
.cmc-expg-h3 { font-size: 16px; margin: 12px 0 10px; }

.cmc-expg-hero__title { margin: 0 0 10px; }
.cmc-expg-hero__intro p { margin: 0 0 10px; }
.cmc-expg-hero__cta { display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px; }

.cmc-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:10px; text-decoration:none; font-weight:700; border:1px solid rgba(0,0,0,.12); }
.cmc-btn--primary { background: #111827; color:#fff; border-color:#111827; }
.cmc-btn--ghost { background: #fff; color:#111827; }

.cmc-expg-filters__row { display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap:12px; }
.cmc-expg-field { display:flex; flex-direction:column; gap:6px; }
.cmc-expg-label { font-size: 12px; opacity:.8; }
.cmc-expg-input, .cmc-expg-select { padding:10px 12px; border-radius:10px; border:1px solid rgba(0,0,0,.15); width:100%; }
.cmc-expg-filters__meta { margin-top: 10px; font-size: 13px; opacity: .8; }

.cmc-expg-top__grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:14px; }
.cmc-expg-topcard__head { display:flex; gap:10px; align-items:center; }
.cmc-expg-topcard__name { font-weight: 800; }
.cmc-expg-topcard__meta { font-size: 13px; opacity:.8; }
.cmc-expg-topcard__desc { font-size: 13px; opacity:.85; margin-top: 4px; }

.cmc-expg-topcard__bullets { margin: 12px 0 0; padding-left: 18px; }
.cmc-expg-topcard__cta { display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

.cmc-expg-tablewrap { overflow:auto; }
.cmc-expg-table__table { width:100%; border-collapse: collapse; }
.cmc-expg-table__table th, .cmc-expg-table__table td { text-align:left; padding: 12px 10px; border-bottom: 1px solid rgba(0,0,0,.08); vertical-align: middle; }
.cmc-expg-th-cta, .cmc-expg-td-cta { text-align:right; }
.cmc-expg-provider { display:flex; gap:10px; align-items:center; }
.cmc-expg-provider__name { display:flex; align-items:center; gap:8px; }
.cmc-expg-provider__desc { font-size: 12px; opacity:.8; margin-top: 2px; }
.cmc-expg-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); opacity:.9; }

.cmc-expg-review__head { display:flex; align-items:center; gap:12px; justify-content:space-between; flex-wrap:wrap; }
.cmc-expg-review__cols { display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-top: 12px; }
.cmc-expg-list { margin: 0; padding-left: 18px; }

.cmc-expg-faq__item { border-top: 1px solid rgba(0,0,0,.08); padding: 10px 0; }
.cmc-expg-faq__item:first-child { border-top: 0; }
.cmc-expg-faq__q { cursor:pointer; font-weight: 700; }
.cmc-expg-faq__a { padding-top: 8px; }

.cmc-expg-disclaimer__p { font-size: 13px; opacity: .8; margin: 0; }

@media (max-width: 900px){
  .cmc-expg-top__grid { grid-template-columns: 1fr; }
  .cmc-expg-filters__row { grid-template-columns: 1fr; }
  .cmc-expg-review__cols { grid-template-columns: 1fr; }
  .cmc-expg-th-cta, .cmc-expg-td-cta { text-align:left; }
}
