/*
Theme Name: CasinoHarbor Theme
Version: 0.1.0
*/

/* =============================================================================
   CasinoHarbor — Clean single-file styles (duplicates removed)
   ============================================================================= */

/* ===== Design tokens ===== */
:root {
  --bg: #020617;
  --surface: #0b1224;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --primary: #2563eb;
  --primary2: #3b82f6;
  --border: rgba(255, 255, 255, .06);
  --border2: rgba(255, 255, 255, .10);
  --radius: 12px;
}
/* =============================================================================
   1. HEADER & LOGO (Unified)
   ============================================================================= */
.ch-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.ch-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo Styling */
.ch-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ch-header__logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.ch-header__title {
  font-size: 19px;
  font-weight: 850;
  color: #fff;
  letter-spacing: -0.5px;
}

/* ===== Base ===== */
* {
  box-sizing: border-box
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit
}

/* =============================================================================
   1. GLOBAL HEADER & BRANDING
   ============================================================================= */

/* Brand */
.ch-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding-left: 16px;
  transition: opacity .2s ease;
}
.ch-brand:hover {
  opacity: .92;
}

/* Premium badge */
.ch-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  transition: transform .2s ease;
}
.ch-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ch-brand:hover .ch-logo {
  transform: scale(1.04);
}



/* Icon (supports lucide currentColor) */
.ch-logo__icon {
  width: 20px;
  height: 20px;
  display: block;
  color: #ffffff;
}

/* Wordmark */
.ch-wordmark {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #F8FAFC;
}

@media (max-width:520px) {
  .ch-wordmark {
    display: none
  }
}

/* =============================================================================
   Slot page layout
   ============================================================================= */
.ch-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: hidden;
  box-sizing: border-box;
}

.ch-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 8px 0 28px;
}

/* Safety overrides removed — final maritime block should govern card layout */

.ch-back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .35);
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
}

.ch-back span {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10px;
  color: #94a3b8;
}

.ch-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
}

.ch-chip--muted {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.ch-chip--primary {
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}

.ch-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 1s ease;
}

.ch-cover:hover img {
  transform: scale(1.06)
}

.ch-cover__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .25), rgba(2, 6, 23, 0));
}

.ch-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.ch-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ch-title {
  margin: 0 0 16px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.02;
  font-size: 44px;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media(min-width:768px) {
  .ch-title {
    font-size: 50px
  }
}

.ch-lead {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 58ch;
}

.ch-ctaRow {
  margin-top: 22px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.ch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .55);
  color: #fff;
  cursor: pointer;
}

.ch-btn--primary {
  background: #2563eb;
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .20);
}

.ch-btn:hover {
  filter: brightness(1.05)
}

.ch-btn:active {
  transform: scale(.98)
}

/* Secondary CTA — visible but clearly subordinate */
.ch-ctaRow .ch-btn:not(.ch-btn--primary):not(.ch-btn--demo) {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
}

.ch-ctaRow .ch-btn:not(.ch-btn--primary):not(.ch-btn--demo):hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* =============================================================================
   Metrics
   ============================================================================= */
.ch-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

@media(min-width:768px) {
  .ch-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px
  }
}

.ch-metric {
  background: rgba(15, 23, 42, .45);
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 32px;
  padding: 18px 18px 16px;
  transition: background .4s ease;
}

.ch-metric:hover {
  background: rgba(15, 23, 42, .65)
}

.ch-metric__k {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 900;
}

.ch-metric__v {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
  margin: 6px 0 2px;
}

.ch-metric__h {
  font-size: 12px;
  color: #94a3b8
}

/* =============================================================================
   Pros / Cons
   ============================================================================= */
.ch-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 26px;
}

@media(min-width:768px) {
  .ch-panels {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.ch-panel {
  border-radius: 32px;
  padding: 20px 20px 16px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .35);
}

.ch-panel h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px
}

.ch-panel ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: #cbd5e1;
}

.ch-panel li {
  margin: 10px 0;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

/* Pros — anchor icon (green) */
.ch-panel--good li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-color: #10b981;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v6'/%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3Cpath d='M6 20h12'/%3E%3Cpath d='M8 20c0-2.5 1.5-4 4-4s4 1.5 4 4'/%3E%3Cpath d='M3 14h2'/%3E%3Cpath d='M19 14h2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v6'/%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3Cpath d='M6 20h12'/%3E%3Cpath d='M8 20c0-2.5 1.5-4 4-4s4 1.5 4 4'/%3E%3Cpath d='M3 14h2'/%3E%3Cpath d='M19 14h2'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Cons — reef/rocks icon (red) */
.ch-panel--bad li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-color: #f87171;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20'/%3E%3Cpath d='M5 20c0-4 2-7 5-9'/%3E%3Cpath d='M19 20c0-4-2-7-5-9'/%3E%3Cpath d='M10 11c0-3 1-5 2-7'/%3E%3Cpath d='M12 4c1 2 2 4 2 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20'/%3E%3Cpath d='M5 20c0-4 2-7 5-9'/%3E%3Cpath d='M19 20c0-4-2-7-5-9'/%3E%3Cpath d='M10 11c0-3 1-5 2-7'/%3E%3Cpath d='M12 4c1 2 2 4 2 7'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.ch-panel--good {
  background: rgba(16, 185, 129, .06);
  border-color: rgba(16, 185, 129, .14)
}

.ch-panel--bad {
  background: rgba(239, 68, 68, .06);
  border-color: rgba(239, 68, 68, .14)
}

/* =============================================================================
   Content blocks
   ============================================================================= */
.ch-verdict {
  margin-top: 18px;
  border-radius: 40px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .55);
  position: relative;
  overflow: hidden;
}

.ch-verdict h3 {
  margin: 0 0 10px;
  color: #fff
}

.ch-verdict p {
  margin: 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
}

/* ── Review body typography ── */
.ch-verdict__body {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.75;
}

.ch-verdict__body h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ch-verdict__body h3 {
  margin: 22px 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
}

.ch-verdict__body h4 {
  margin: 18px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ch-verdict__body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: #cbd5e1;
}

.ch-verdict__body p:last-child {
  margin-bottom: 0;
}

.ch-verdict__body ul,
.ch-verdict__body ol {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #cbd5e1;
}

.ch-verdict__body li {
  margin: 6px 0;
  line-height: 1.6;
}

.ch-verdict__body strong,
.ch-verdict__body b {
  color: #fff;
  font-weight: 700;
}

.ch-verdict__body em,
.ch-verdict__body i {
  color: #94a3b8;
}

.ch-verdict__body a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ch-verdict__body a:hover {
  color: #93c5fd;
}

/* Charts block — raw HTML/Chart.js embed */
.ch-charts {
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  max-width: 100%;
}

.ch-charts > *,
.ch-charts__body > * {
  max-width: 100% !important;
  box-sizing: border-box;
}

/* used by slot content area (the_content) */


/* =============================================================================
   Specs (readable + icon-friendly)
   ============================================================================= */
/* =============================================================================
   Specs - Dark Mode Refinement
   ============================================================================= */
.ch-specs {
    margin-top: 24px;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f172a; /* Solid dark background to match cards */
}

.ch-specs h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

/* Grid Layout */
.ch-specsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Individual Spec Card */
.ch-spec {
    border-radius: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(2, 6, 23, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s;
}

.ch-spec:hover {
    border-color: rgba(96, 165, 250, 0.3);
}

.ch-spec__k {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0bec5;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Icons */
.ch-spec__k svg {
    width: 16px;
    height: 16px;
    stroke: #60a5fa;
    opacity: 0.8;
}

.ch-spec__v {
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    text-align: right;
}

.ch-spec__link {
    color: #60a5fa;
    text-decoration: none;
}

/* --- Improved Yes/No Indicators --- */
.ch-bool {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 13px;
    text-transform: capitalize;
}

.ch-bool__icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 1px solid currentColor;
}

.ch-yes { color: #10b981; } /* Emerald Green */
.ch-no  { color: #f87171; } /* Soft Red */

/* --- Themes & Features --- */
.ch-tf {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ch-tf h4 {
    grid-column: 1 / -1;
    margin: 0 0 4px;
}

.ch-tf__row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.ch-tf__label {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ch-tf__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ch-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
}

.ch-tag:hover {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

/* Responsive */
@media (max-width: 1024px) { .ch-specsGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ch-specsGrid { grid-template-columns: 1fr; } }
/* =============================================================================
   Sidebar cards
   ============================================================================= */
.ch-side {
  display: grid;
  gap: 16px
}

.ch-card {
  border-radius: 28px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .45);
  align-self: start;
}

.ch-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 900
}

.ch-ring {
  height: 150px;
  display: grid;
  place-items: center;
  margin: 6px 0 14px;
  position: relative;
}

.ch-ring:before {
  content: "";
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: conic-gradient(#3b82f6 var(--rtp, 60%), rgba(30, 41, 59, 1) 0);
  -webkit-mask: radial-gradient(circle 52px, transparent 53px, #000 54px);
  mask: radial-gradient(circle 52px, transparent 53px, #000 54px);
  border: 1px solid rgba(148, 163, 184, .12);
}

.ch-ring__label {
  position: absolute;
  text-align: center
}

.ch-ring__big {
  font-size: 28px;
  font-weight: 900;
  color: #60a5fa;
  letter-spacing: -.02em
}

.ch-ring__small {
  font-size: 10px;
  color: #64748b;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase
}

.ch-miniStats {
  display: grid;
  gap: 10px
}

.ch-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(2, 6, 23, .35);
  border: 1px solid rgba(148, 163, 184, .10);
}

.ch-mini span {
  font-size: 10px;
  color: #64748b;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ch-mini b {
  color: #fff;
  font-weight: 900
}

/* (kept if you ever re-enable live list) */
.ch-liveList {
  display: grid;
  gap: 10px
}

.ch-liveRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, .35);
  border: 1px solid rgba(148, 163, 184, .08);
}

.ch-liveLeft {
  display: flex;
  align-items: center;
  gap: 10px
}

.ch-lvl {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #64748b;
  background: rgba(30, 41, 59, .45);
  border: 1px solid rgba(148, 163, 184, .10);
}

.ch-user {
  font-size: 12px;
  font-weight: 900;
  color: #fff
}

.ch-win {
  font-size: 11px;
  font-weight: 900;
  color: #34d399;
  background: rgba(16, 185, 129, .10);
  border: 1px solid rgba(16, 185, 129, .18);
  padding: 3px 8px;
  border-radius: 999px;
}

/* =============================================================================
   Demo modal
   ============================================================================= */
/* Modal Container */
.ch-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Open State */
.ch-modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* Background Overlay */
.ch-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(8px);
}

/* The Content Panel — desktop */
.ch-modal__panel {
  position: relative;
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

/* Mobile header bar (hidden on desktop) */
.ch-modal__header {
  display: none;
}

/* Responsive iframe container */
.ch-modal__frame {
  width: 100%;
  flex: 1;
  min-height: 0;
}

.ch-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Close Button — desktop floating */
.ch-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
}

.ch-modal__close:hover {
  background: #ef4444;
}

/* Stop body scroll when modal is open */
body.ch-modalOpen {
  overflow: hidden;
}

/* ---- Mobile: fullscreen sheet ---- */
@media (max-width: 768px) {
  .ch-modal {
    align-items: flex-end;
  }

  .ch-modal__overlay {
    backdrop-filter: none;
  }

  .ch-modal__panel {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    aspect-ratio: unset;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
  }

  /* Show mobile header bar */
  .ch-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    flex: 0 0 56px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10;
  }

  .ch-modal__headerTitle {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 100px);
  }

  .ch-modal__headerActions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ch-modal__newTab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .6);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  /* Hide the floating close button on mobile — header bar has its own */
  .ch-modal__close {
    display: none;
  }

  .ch-modal__closeBar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex: 0 0 auto;
  }

  .ch-modal__frame {
    height: calc(100dvh - 56px);
  }
}

/* utility colors (used in your markup sometimes) */
.text-success {
  color: #22c55e
}

.text-danger {
  color: #ef4444
}

/* ===== Similar slots (sidebar) ===== */
.ch-simGrid {
  display: grid;
  gap: 12px
}

.ch-sim {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .30);
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.ch-sim:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, .55);
  border-color: rgba(226, 232, 240, .18);
}

.ch-sim__img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(15, 23, 42, .35);
}

.ch-sim__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.ch-sim__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .22), rgba(2, 6, 23, 0));
}

.ch-sim__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.ch-sim__title {
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-sim__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ch-sim__meta b {
  color: #60a5fa;
  font-size: 12px;
  letter-spacing: -.01em;
  text-transform: none
}

.ch-simNote {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.4
}

.ch-filters {
  background: rgba(15, 23, 42, .35);
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 24px;
  padding: 14px;
  margin: 18px 0 26px;
}

.ch-filters__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.ch-filter {
  grid-column: span 12
}

@media(min-width:900px) {
  .ch-filter {
    grid-column: span 2
  }

  .ch-filter:nth-child(1) {
    grid-column: span 3
  }

  .ch-filter--actions {
    grid-column: span 3;
    display: flex;
    gap: 10px;
    align-items: flex-end;
  }
}

.ch-filter__label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 6px;
}

.ch-filter__input,
.ch-filter__select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(2, 6, 23, .35);
  color: #fff;
  outline: none;
}

.ch-filter__input:focus,
.ch-filter__select:focus {
  border-color: rgba(59, 130, 246, .45);
}

.ch-filter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(2, 6, 23, .35);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  cursor: pointer;
}

.ch-filter__btn--primary {
  background: #2563eb;
  border-color: rgba(37, 99, 235, .35);
}

.ch-pagination {
  margin: 24px 0 0
}

.ch-pagination .page-numbers {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .35);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
}

.ch-pagination .page-numbers.current {
  background: #2563eb;
  border-color: rgba(37, 99, 235, .35)
}

.ch-empty {
  padding: 60px 0;
  text-align: center;
  color: #cbd5e1
}

/* =============================================================================
   Providers Index (single source of truth — matches your PHP template markup)
   ============================================================================= */

.ch-providersHero {
  margin: 10px 0 26px;
}

.ch-providersTitle {
  margin: 0 0 10px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 900;
  color: #fff;
}

.ch-providersIntro {
  margin: 0;
  max-width: 72ch;
  color: rgba(226, 232, 240, .75);
  font-size: 16px;
  line-height: 1.7;
}

.ch-providersTools {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Fix the search container height */
.ch-providersSearch {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
  height: 48px;
  /* Added height */
}

.ch-providersSearch__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .5;
  font-size: 18px;
  /* Make icon look better */
  pointer-events: none;
}

.ch-providersSearch__input {
  width: 100%;
  height: 100%;
  padding: 0 16px 0 42px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .45);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

/* Make it feel more premium on focus */
.ch-providersSearch__input:focus {
  background: rgba(15, 23, 42, 0.8);
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.ch-providersCount {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(2, 6, 23, .35);
  color: rgba(226, 232, 240, .72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ch-providersGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 1024px) {
  .ch-providersGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ch-providersGrid {
    grid-template-columns: 1fr;
  }
}

.ch-providerCard {
  text-decoration: none;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .42);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
  min-height: 220px;
}

.ch-providerCard:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, .28);
  background: rgba(15, 23, 42, .60);
}

.ch-providerCard__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.ch-providerCard__badge {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}

.ch-providerBadge--fallback {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: 22px;
}

/* If the plugin outputs an <img> badge */
.ch-providerBadge__img,
.ch-provider-badge__img {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(2, 6, 23, .35);
  border: 1px solid rgba(148, 163, 184, .12);
  padding: 8px;
  display: block;
}

.ch-providerCard__head {
  min-width: 0;
}

.ch-providerCard__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
}

.ch-providerCard__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ch-metaPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .30);
  color: rgba(226, 232, 240, .72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.ch-providerCard__desc {
  margin: 0;
  color: rgba(226, 232, 240, .72);
  line-height: 1.65;
  font-size: 14px;
}

.ch-providerCard__desc--empty {
  opacity: .65;
}

.ch-providerCard__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, .10);
}

.ch-providerCard__cta {
  color: #60a5fa;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
}

.ch-providerCard:hover .ch-arrow {
  transform: translateX(2px);
  display: inline-block;
}

/* SEO text block at bottom */
.ch-seoText {
  margin-top: 28px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .25);
  padding: 20px;
}

.ch-seoText__body {
  color: rgba(226, 232, 240, .80);
  line-height: 1.75;
  font-size: 15px;
}

.ch-seoText__body p {
  margin: 0 0 12px;
}

.ch-seoText__body a {
  color: #60a5fa;
}

/* =============================================================================
   Taxonomy SEO Table Styles
   ============================================================================= */

/* Base table styling for taxonomy SEO content */
.ch-seoText table,
.ch-seoText .ch-taxonomy-table,
.ch-seoText__content table,
.ch-seoText__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
  background: rgba(15, 23, 42, .35);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .14);
}

/* Table headers */
.ch-seoText table th,
.ch-seoText .ch-taxonomy-table th,
.ch-seoText__content table th,
.ch-seoText__body table th {
  padding: 0.875rem 1rem;
  text-align: left;
  background: rgba(2, 6, 23, .45);
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  vertical-align: top;
}

/* Table cells */
.ch-seoText table td,
.ch-seoText .ch-taxonomy-table td,
.ch-seoText__content table td,
.ch-seoText__body table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, .08);
  color: rgba(226, 232, 240, .85);
  vertical-align: top;
  line-height: 1.6;
}

/* Remove border from last row */
.ch-seoText table tr:last-child td,
.ch-seoText .ch-taxonomy-table tr:last-child td,
.ch-seoText__content table tr:last-child td,
.ch-seoText__body table tr:last-child td {
  border-bottom: none;
}

/* Zebra striping for better readability */
.ch-seoText table tbody tr:nth-child(even),
.ch-seoText .ch-taxonomy-table tbody tr:nth-child(even),
.ch-seoText__content table tbody tr:nth-child(even),
.ch-seoText__body table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, .15);
}

/* Links within tables */
.ch-seoText table a,
.ch-seoText .ch-taxonomy-table a,
.ch-seoText__content table a,
.ch-seoText__body table a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ch-seoText table a:hover,
.ch-seoText .ch-taxonomy-table a:hover,
.ch-seoText__content table a:hover,
.ch-seoText__body table a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Mobile responsiveness - horizontal scrolling for wide tables */
@media (max-width: 768px) {
  .ch-seoText table,
  .ch-seoText .ch-taxonomy-table,
  .ch-seoText__content table,
  .ch-seoText__body table {
    font-size: 0.875rem;
    margin: 1rem 0;
  }
  
  .ch-seoText table th,
  .ch-seoText .ch-taxonomy-table th,
  .ch-seoText__content table th,
  .ch-seoText__body table th,
  .ch-seoText table td,
  .ch-seoText .ch-taxonomy-table td,
  .ch-seoText__content table td,
  .ch-seoText__body table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8125rem;
  }
}

/* Very small screens - create horizontal scroll wrapper */
@media (max-width: 480px) {
  .ch-seoText table,
  .ch-seoText .ch-taxonomy-table,
  .ch-seoText__content table,
  .ch-seoText__body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .3) transparent;
  }
  
  .ch-seoText table::-webkit-scrollbar,
  .ch-seoText .ch-taxonomy-table::-webkit-scrollbar,
  .ch-seoText__content table::-webkit-scrollbar,
  .ch-seoText__body table::-webkit-scrollbar {
    height: 6px;
  }
  
  .ch-seoText table::-webkit-scrollbar-track,
  .ch-seoText .ch-taxonomy-table::-webkit-scrollbar-track,
  .ch-seoText__content table::-webkit-scrollbar-track,
  .ch-seoText__body table::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, .35);
    border-radius: 3px;
  }
  
  .ch-seoText table::-webkit-scrollbar-thumb,
  .ch-seoText .ch-taxonomy-table::-webkit-scrollbar-thumb,
  .ch-seoText__content table::-webkit-scrollbar-thumb,
  .ch-seoText__body table::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, .4);
    border-radius: 3px;
  }
  
  .ch-seoText table th,
  .ch-seoText .ch-taxonomy-table th,
  .ch-seoText__content table th,
  .ch-seoText__body table th,
  .ch-seoText table td,
  .ch-seoText .ch-taxonomy-table td,
  .ch-seoText__content table td,
  .ch-seoText__body table td {
    white-space: nowrap;
    min-width: 120px;
    padding: 0.625rem 0.75rem;
  }
}

/* Print-friendly table styles */
@media print {
  .ch-seoText table,
  .ch-seoText .ch-taxonomy-table,
  .ch-seoText__content table,
  .ch-seoText__body table {
    background: white !important;
    border: 1px solid #000 !important;
    font-size: 10pt;
    margin: 12pt 0;
  }
  
  .ch-seoText table th,
  .ch-seoText .ch-taxonomy-table th,
  .ch-seoText__content table th,
  .ch-seoText__body table th {
    background: #f5f5f5 !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    font-weight: bold;
    padding: 6pt 8pt;
  }
  
  .ch-seoText table td,
  .ch-seoText .ch-taxonomy-table td,
  .ch-seoText__content table td,
  .ch-seoText__body table td {
    color: #000 !important;
    border: 1px solid #000 !important;
    padding: 6pt 8pt;
  }
  
  .ch-seoText table tbody tr:nth-child(even),
  .ch-seoText .ch-taxonomy-table tbody tr:nth-child(even),
  .ch-seoText__content table tbody tr:nth-child(even),
  .ch-seoText__body table tbody tr:nth-child(even) {
    background: #f9f9f9 !important;
  }
  
  .ch-seoText table a,
  .ch-seoText .ch-taxonomy-table a,
  .ch-seoText__content table a,
  .ch-seoText__body table a {
    color: #000 !important;
    text-decoration: underline !important;
  }
}

/* =============================================================================
   Provider Detail ("Harbor") page — matches React inspiration
   ========================================================================== */
.ch-catBack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(148, 163, 184, .9);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
  margin: 6px 0 18px;
}

.ch-catBack:hover {
  color: #fff
}

.ch-catBack__icon {
  font-size: 14px;
  opacity: .9
}

.ch-catHero {
  position: relative;
  border-radius: 44px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(15, 23, 42, .35);
  padding: 30px 28px;
  overflow: hidden;
  margin-bottom: 26px;
}

.ch-catHero__bg {
  position: absolute;
  top: -40px;
  right: -10px;
  opacity: .06;
  filter: blur(.6px);
  pointer-events: none;
  user-select: none;
}

.ch-catHero__row {
  position: relative;
  display: flex;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .ch-catHero__row {
    flex-direction: column;
    gap: 20px;
  }
}

.ch-catHero__left {
  flex: 1 1 auto;
  min-width: 0;
}

.ch-catPills {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ch-catPill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.ch-catPill--primary {
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(59, 130, 246, .22);
  color: #60a5fa;
}

.ch-catStars {
  color: #f59e0b;
  font-weight: 900;
  letter-spacing: .2em;
  font-size: 11px;
  opacity: .95;
}

.ch-catTitle {
  margin: 0 0 12px;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-size: clamp(42px, 6.2vw, 40px);
  color: #fff;
}

.ch-catLead {
  margin: 0;
  color: rgba(148, 163, 184, .95);
  font-size: 18px;
  line-height: 1.75;
  max-width: 72ch;
}

.ch-catHero__stats {
  width: 360px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .ch-catHero__stats {
    width: 100%;
  }
}

.ch-statCard {
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .32);
  padding: 16px 16px 14px;
}

.ch-statCard__icon {
  font-weight: 900;
  opacity: .9;
  margin-bottom: 10px;
}

.ch-statCard__label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, .85);
  margin-bottom: 4px;
}

.ch-statCard__value {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.02em;
  color: #fff;
}

.ch-catSection {
  margin-top: 8px;
}

.ch-catSection__title {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 950;
  color: #fff;
}

.ch-catSection__icon {
  opacity: .9
}

.ch-catDivider {
  height: 1px;
  background: rgba(148, 163, 184, .12);
  margin: 14px 0 18px;
}

/* Filters */
.ch-catFilters {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(15, 23, 42, .28);
  padding: 14px;
  margin: 0 0 18px;
}

.ch-catFilters__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.ch-catFilter {
  grid-column: span 12;
}

@media (min-width: 980px) {
  .ch-catFilter {
    grid-column: span 2;
  }

  .ch-catFilter:nth-child(1) {
    grid-column: span 4;
  }

  .ch-catFilter--actions {
    grid-column: span 4;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-end;
  }
}

.ch-catFilter__label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, .9);
  margin: 0 0 6px;
}

.ch-catSearch {
  position: relative;
}

.ch-catSearch__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .8;
  pointer-events: none;
}

.ch-catSearch__input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(2, 6, 23, .35);
  color: #fff;
  outline: none;
}

.ch-catSearch__input:focus {
  border-color: rgba(96, 165, 250, .45);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.ch-catSelect {
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(2, 6, 23, .35);
  color: #fff;
  outline: none;
}

.ch-catSelect:focus {
  border-color: rgba(96, 165, 250, .45);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.ch-catBtn {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(2, 6, 23, .35);
  color: #fff;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}

.ch-catBtn:hover {
  filter: brightness(1.06)
}

.ch-catCount {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .28);
  color: rgba(226, 232, 240, .72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Grid tweaks (keep your existing ch-archiveGrid layout) */

/* Restore the Grid for Slots */
.ch-archiveGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
}

/* Specific fix for the Home Grid 3-column layout */
.ch-homeGrid3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .ch-homeGrid3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ch-homeGrid3 {
    grid-template-columns: 1fr;
  }
}

.ch-catGrid {
  gap: 18px;
}

/* Empty */
.ch-catEmpty {
  padding: 52px 18px;
  text-align: center;
  border-radius: 44px;
  border: 1px dashed rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .18);
  color: rgba(148, 163, 184, .95);
}

.ch-vol-slider {
  padding: 20px 0 10px;
}

.ch-vol-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 4px;
}

.ch-vol-labels span {
  font-size: 10px;
  color: #888;
  font-weight: 600;
  transition: color 0.3s;
}

/* Highlights the text label of the current volatility */
.ch-vol-labels span.is-active {
  color: #3498db;
}

.ch-slider-track {
  position: relative;
  height: 4px;
  margin: 0 5px;
}

.ch-slider-line {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #333;
  /* Dark background track */
  border-radius: 2px;
}

.ch-slider-point {
  position: absolute;
  top: -2px;
  width: 8px;
  height: 8px;
  background: #444;
  border-radius: 50%;
  transform: translateX(-50%);
}

.ch-slider-selector {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #3498db;
  /* The blue indicator color */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
}

/* =========================
   BLOG SINGLE (POST) STYLES
   ========================= */

.ch-post {
  margin-top: 14px;
}

/* Hero */
/* === BLOG HERO — compact editorial layout === */

.ch-postHero {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Meta row */
.ch-postHero__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 6px 0 10px;
}

.ch-postMetaPill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .20em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(59, 130, 246, .22);
  color: #60a5fa;
}

.ch-postMetaSmall {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, .95);
}

/* Title + byline */
.ch-postTitle {
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-size: clamp(34px, 5.4vw, 72px);
  color: #fff;
}

.ch-postByline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(148, 163, 184, .95);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, .10);
}

.ch-postByline b {
  color: #fff;
  letter-spacing: -.01em;
  text-transform: none;
}

.ch-postByline__dot {
  opacity: .55;
}

/* =============================================================================
   BLOG — hero image size limits + Featured Slots rail (fix)
   Paste at END of style.css
   ============================================================================= */

/* --- Post hero image: fixed height + cover (prevents huge square images) --- */
.ch-postHero__img {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(15, 23, 42, .35);

  /* limit size */
  max-height: 520px;
}

.ch-postHero__img img {
  width: 100%;
  height: 520px;
  /* force consistent height */
  object-fit: cover;
  /* crop nicely */
  display: block;
}

@media (max-width: 980px) {
  .ch-postHero__img {
    max-height: 360px;
  }

  .ch-postHero__img img {
    height: 360px;
  }
}

/* --- Featured Slots rail: layout + image sizing + no weird underline spacing --- */
.ch-featuredSlots {
  margin: 26px 0 34px;
  border-radius: 44px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(15, 23, 42, .22);
  padding: 18px 18px 16px;
  overflow: hidden;
}

.ch-featuredSlots__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.ch-featuredSlots__title {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.02em;
  color: #fff;
}

.ch-featuredSlots__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-featuredSlots__more {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
}

.ch-featuredSlots__more:hover {
  text-decoration: underline;
}

/* the rail */
.ch-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 10px;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ch-rail::-webkit-scrollbar {
  display: none;
}

/* cards */
.ch-railCard {
  flex: 0 0 280px;
  /* fixed card width */
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-railCard__img {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .30);

  /* IMPORTANT: force consistent image area */
  height: 170px;
}

.ch-railCard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.ch-railCard:hover .ch-railCard__img img {
  transform: scale(1.04);
}

.ch-railCard__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .25), rgba(2, 6, 23, 0));
}

.ch-railCard__name {
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -.01em;
  color: #fff;

  /* stop weird “space” from wrapping/underline */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* nav buttons */
.ch-railBtn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(2, 6, 23, .35);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ch-railBtn:hover {
  filter: brightness(1.08);
}

.ch-railBtn:active {
  transform: scale(.98);
}

@media (max-width: 640px) {
  .ch-railCard {
    flex-basis: 240px;
  }

  .ch-railCard__img {
    height: 150px;
  }
}

/* =============================================================================
   THEMES & FEATURES: CLEAN UNIFIED SYSTEM
   ============================================================================= */

/* 1. ARCHIVE GRID LAYOUT (/themes/ and /features/ pages) */
.ch-themesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

/* 2. THE CARD BASE (Used on Home & Archives)
   NOTE: Previous `.ch-themeCard` and related carousel selectors
   have been removed to avoid conflicts with the new slider styles. */

/* =============================================================================
   MOBILE UNIFICATION: THEMES & FEATURES
   ============================================================================= */
@media (max-width: 768px) {
  .ch-themesGrid,
  .ch-featuresGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 10px;
  }
}

/* .ch-carousel__track — canonical definition in HOME THEME CAROUSEL section below */
.ch-themeCard:hover {
  transform: translateY(-5px);
  border-color: var(--primary2);
  background: rgba(59, 130, 246, 0.05);
}



/* Removed duplicate .ch-themeCard__name definition - see line ~5240 for the canonical version */
/* Removed orphaned text & icon scaling rules - properly defined in the carousel section below */

  /* =========================
   Header actions + burger
   ========================= */

  .ch-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .ch-joinBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 10px;
    transition: filter .2s ease, transform .08s ease;
  }

  .ch-joinBtn:hover {
    filter: brightness(1.05)
  }

  .ch-joinBtn:active {
    transform: scale(.98)
  }

  /* --- Desktop nav dropdown fix removed - consolidated into desktop media query --- */

  /* =============================================================================
   Header & Navigation - consolidated into final nav block at end of file
   ============================================================================= */

  /* --- Card Navigation Base --- */

/* Removed duplicate mobile submenu styles - using standardized version at end of file */

/* =========================
   FOOTER (CasinoHarbor)
   ========================= */

.ch-footer {
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 64px 0 28px;
}

.ch-footer__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.ch-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .ch-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.ch-footer__logoRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ch-footer__logoIcon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #60a5fa;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(148, 163, 184, .14);
}

.ch-footer__logoText {
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
  font-size: 18px;
}

.ch-footer__desc {
  color: rgba(148, 163, 184, .75);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 46ch;
}

.ch-footer__social {
  display: flex;
  gap: 14px;
}

.ch-footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(148, 163, 184, .85);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(148, 163, 184, .14);
}

.ch-footer__social a:hover {
  color: #fff;
}

.ch-footer__title {
  color: #fff;
  font-weight: 850;
  font-size: 14px;
  margin: 0 0 14px;
}

.ch-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ch-footer__menu a {
  text-decoration: none;
  color: rgba(148, 163, 184, .72);
  font-size: 13px;
  font-weight: 750;
}

.ch-footer__menu a:hover {
  color: #60a5fa;
}

.ch-footer__safe {
  background: rgba(15, 23, 42, .45);
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 18px;
  padding: 18px;
}

.ch-footer__safeTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #fff;
  font-weight: 850;
  font-size: 14px;
}

.ch-footer__safeTitle i {
  color: #60a5fa;
}

.ch-footer__safeText {
  margin: 0 0 14px;
  color: rgba(148, 163, 184, .75);
  font-size: 12px;
  line-height: 1.55;
}

.ch-footer__safeBtn {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(30, 41, 59, .8);
  border: 1px solid rgba(148, 163, 184, .18);
  color: #fff;
  font-weight: 850;
  font-size: 11px;
  letter-spacing: .14em;
}

.ch-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(148, 163, 184, .65);
  font-size: 12px;
}

.ch-footer__bottomLinks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.ch-footer__bottomLinks a {
  color: rgba(148, 163, 184, .65);
  text-decoration: none;
  font-weight: 750;
}

.ch-footer__bottomLinks a:hover {
  color: #fff;
}

/* =============================================================================
   Home Page (CasinoHarbor)
   ============================================================================= */

.ch-home {
  display: block;
}

/* ---------- HERO ---------- */

.ch-homeHero {
  position: relative;
  padding: 48px 0 80px;
  overflow: hidden;
}

.ch-homeHero__bg {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(800px 300px at 50% -10%, rgba(37, 99, 235, .20), transparent 60%),
    linear-gradient(180deg, rgba(37, 99, 235, .08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.ch-homeHero__inner {
  text-align: center;
}

.ch-homeHero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .22);
  color: #60a5fa;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ch-homeHero__title {
  margin: 0 0 14px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fff;
}

.ch-homeHero__grad {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.ch-homeHero__lead {
  max-width: 64ch;
  margin: 0 auto 26px;
  color: rgba(148, 163, 184, .95);
  font-size: 18px;
  line-height: 1.75;
}

.ch-homeHero__cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ch-homeBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .55);
  color: #fff;
  text-decoration: none;
}

.ch-homeBtn--primary {
  background: #2563eb;
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .28);
}

.ch-homeBtn:hover {
  filter: brightness(1.08);
}

/* ---------- SECTIONS ---------- */

.ch-homeSection__title {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.02em;
}

.ch-homeSection__sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(148, 163, 184, .85);
  line-height: 1.6;
}

.ch-homeSection__titleLg {
  margin: 0;
  font-size: 32px;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.02em;
}

@media(min-width:900px) {
  .ch-homeSection__titleLg {
    font-size: 40px;
  }
}

.ch-homeSection__links {
  display: flex;
  gap: 14px;
}

/* ---------- FEATURED GRID ---------- */

.ch-homeGrid {
  gap: 18px;
}

/* ---------- THEMES ---------- */

.ch-homeThemes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 900px) {
  .ch-homeThemes {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.ch-homeTheme {
  padding: 18px 14px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .45);
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, border-color .2s ease;
}

.ch-homeTheme:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, .28);
}

.ch-homeTheme__icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.ch-homeTheme__name {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
}

.ch-homeTheme__count {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* ---------- BLOG ---------- */

.ch-homePosts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .ch-homePosts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ch-homePost {
  display: flex;
  gap: 16px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .45);
  overflow: hidden;
  text-decoration: none;
}

.ch-homePost__img {
  width: 160px;
  height: 120px;
  flex: 0 0 auto;
  overflow: hidden;
}

.ch-homePost__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch-homePost__ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .22), rgba(2, 6, 23, 0));
}

.ch-homePost__body {
  padding: 16px 16px 16px 0;
}

.ch-homePost__meta {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}

.ch-homePost__cat {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #60a5fa;
}

.ch-homePost__date {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #94a3b8;
}

.ch-homePost__title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
}

/* ---------- SEO ---------- */

.ch-homeSeo {
  margin-top: 60px;
}

/* =============================================================================
   Home Page — Missing styles for the WP template (page-home.php)
   Add this UNDER your current Home CSS block
   ============================================================================= */

/* ---------- STATS (template uses grid wrapper) ---------- */
.ch-homeStats {
  margin: 26px 0 40px;
}

/* Badge dot (template uses it) */
.ch-homeHero__badgeDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, .14);
}

/* CTA uses .ch-btn from your global CSS (keep) */
.ch-homeHero__cta .ch-btn {
  border-radius: 18px;
}

/* .ch-homeStat — see canonical definition below */

/* ---------- Section headings (template variants) ---------- */

.ch-homeSection__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}

.ch-homeSection__link {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #60a5fa;
  text-decoration: none;
}

.ch-homeSection__link:hover {
  text-decoration: underline
}

.ch-homeSection__link--cyan {
  color: #22d3ee
}

/* Kicker pills */
.ch-homeKicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, .22);
  background: rgba(37, 99, 235, .10);
  color: #60a5fa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .30em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ch-homeKicker--cyan {
  border-color: rgba(34, 211, 238, .22);
  background: rgba(34, 211, 238, .08);
  color: #22d3ee;
}

.ch-homeKicker--amber {
  border-color: rgba(245, 158, 11, .22);
  background: rgba(245, 158, 11, .08);
  color: #f59e0b;
}

/* =============================================================================
   CAROUSEL & CARDS (Themes & Features)
   ============================================================================= */

.ch-carousel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

/* Container for the sliding cards — see canonical .ch-carousel__track definition in HOME THEME CAROUSEL section */

.ch-carousel__track::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.ch-homeVip {
  margin-top: 46px;
  border-top: 1px solid rgba(148, 163, 184, .08);
  border-bottom: 1px solid rgba(148, 163, 184, .08);
  background: rgba(2, 6, 23, .35);
  position: relative;
  overflow: hidden;
}

.ch-homeVip:before {
  content: "";
  position: absolute;
  top: -120px;
  left: 20%;
  width: 420px;
  height: 420px;
  background: rgba(245, 158, 11, .10);
  filter: blur(120px);
  border-radius: 999px;
  pointer-events: none;
}

.ch-homeVip__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

.ch-homeVip__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

@media(min-width:900px) {
  .ch-homeVip__head {
    flex-direction: row;
    align-items: flex-end
  }
}

.ch-homeVip__title {
  margin: 0;
  font-size: 42px;
  font-weight: 950;
  letter-spacing: -.03em;
  color: #fff;
}

.ch-homeVip__lead {
  margin: 8px 0 0;
  max-width: 70ch;
  color: rgba(226, 232, 240, .78);
  line-height: 1.75;
}

.ch-homeVip__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, .22);
  background: rgba(245, 158, 11, .08);
  color: #f59e0b;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
}

.ch-homeVip__cta:hover {
  filter: brightness(1.10)
}

/* ---------- Journal (template uses PostCard naming) ---------- */
.ch-homeJournal {
  margin-top: 46px;
}

.ch-homeJournal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media(min-width: 640px) {
  .ch-homeJournal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(min-width: 1024px) {
  .ch-homeJournal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ch-homePostCard {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(15, 23, 42, .45);
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ch-homePostCard:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, .3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ch-homePostCard__img {
  width: 100%;
  height: 180px;
  flex: 0 0 auto;
  overflow: hidden;
}

.ch-homePostCard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}

.ch-homePostCard:hover .ch-homePostCard__img img {
  transform: scale(1.06);
}

.ch-homePostCard__ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .22), rgba(2, 6, 23, 0));
  display: block;
}

.ch-homePostCard__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ch-homePostCard__cat {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 8px;
}

.ch-homePostCard__title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: auto;
  padding-bottom: 12px;
}

.ch-homePostCard__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ch-homePostCard__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #475569;
  flex-shrink: 0;
}

/* ---------- SEO at bottom ---------- */
.ch-homeSeo {
  margin-top: 60px
}

.ch-homeSeo__body {
  color: rgba(226, 232, 240, .80);
  line-height: 1.75;
  font-size: 15px;
}

.ch-homeSeo__body p {
  margin: 0 0 12px
}

.ch-homeSeo__body a {
  color: #60a5fa
}

.ch-homeSeo__body.collapsed {
  max-height: 140px;
  overflow: hidden;
  position: relative;
}

.ch-homeSeo__body.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(transparent, #020617);
  pointer-events: none;
}

.ch-homeSeo__toggle {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 20px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.ch-homeSeo__toggle:hover {
  border-color: rgba(96, 165, 250, .4);
  color: #60a5fa;
}

/* =============================================================================
   HOME FIX PATCH (place at END of stylesheet)
   Fix: overlapping stats/providers + add arrow-controlled carousels
   ============================================================================= */

/* --- Generic helpers for flex/grid overflow bugs --- */
.ch-home * {
  box-sizing: border-box;
}

.ch-home a {
  text-decoration: none;
}

.ch-home img {
  max-width: 100%;
  height: auto;
  display: block;
  font-size: 33px;
}

.ch-homeHero,
.ch-homeBand {
  overflow: hidden;
}

.ch-homeSection {
  margin-bottom: 72px;
}

/* =============================================================================
   PROVIDERS BLOCK — canonical definition
   ============================================================================= */

.ch-homeProviders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width:900px) {
  .ch-homeProviders {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ch-homeProviderCard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .45);
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}

.ch-homeProviderCard:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, .28);
  background: rgba(15, 23, 42, .60);
}

.ch-homeProviderCard__top {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.ch-homeProviderCard__emoji {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(2, 6, 23, .35);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 26px;
  line-height: 1;
}

.ch-homeProviderCard__name {
  min-width: 0;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-homeProviderCard__meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, .10);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* =============================================================================
   THEMES + FEATURES — arrow-controlled carousel
   Markup expected:
   .ch-carousel
     .ch-carousel__head (title + buttons)
     .ch-carousel__viewport (scroll container)
       .ch-carousel__track (cards)
   ============================================================================= */

.ch-carousel__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Themed carousel control buttons */
.ch-carousel__controls .ch-carouselBtn,
.ch-carouselBtn {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(2, 6, 23, 0.35);
  color: #fff;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}

.ch-carousel__controls .ch-carouselBtn:hover,
.ch-carouselBtn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.ch-carousel__controls .ch-carouselBtn:active,
.ch-carouselBtn:active {
  transform: scale(.98);
}

.ch-carousel__controls .ch-carouselBtn:focus,
.ch-carouselBtn:focus {
  outline: 2px solid rgba(96, 165, 250, 0.24);
  outline-offset: 2px;
}

.ch-carousel__controls .ch-carouselBtn[disabled],
.ch-carouselBtn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Carousel / compact theme card styles removed (duplicate) */


/* =============================================================================
   OPTIONAL: make home sections consistent spacing
   ============================================================================= */

/* Feature page updated card styles removed (conflicting: row layout) */

/* Final maritime definitions removed — consolidated Themes & Features block above governs styles */
/* =============================================================================
   404 (CasinoHarbor)
   ============================================================================= */

.ch-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 40px 0 70px;
  position: relative;
  overflow: hidden;
}

.ch-404__wrap {
  position: relative;
  text-align: center;
  padding: 10px 16px;
  overflow: hidden;
}

.ch-404__bg {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(600px 600px at 50% 40%, rgba(37, 99, 235, .08), transparent 60%),
    radial-gradient(900px 380px at 50% -10%, rgba(37, 99, 235, .18), transparent 62%);
  filter: blur(0px);
  pointer-events: none;
  z-index: -1;
}

/* Icon area */
.ch-404__iconWrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
}

.ch-404__iconGlow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(37, 99, 235, .18);
  filter: blur(60px);
  animation: chPulse 2.2s ease-in-out infinite;
}

.ch-404__compass {
  font-size: 88px;
  line-height: 1;
  filter: drop-shadow(0 18px 40px rgba(37, 99, 235, .25));
  animation: chSpin 10s linear infinite;
}

/* Content */
.ch-404__content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.ch-404__ghost {
  position: absolute;
  top: -74px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 950;
  letter-spacing: -0.06em;
  font-size: clamp(92px, 12vw, 150px);
  color: rgba(255, 255, 255, .08);
  user-select: none;
  pointer-events: none;
  width: 100%;
}

.ch-404__title {
  margin: 0 0 14px;
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 950;
  letter-spacing: -0.04em;
  color: #fff;
}

.ch-404__lead {
  margin: 0 auto 26px;
  max-width: 62ch;
  color: rgba(148, 163, 184, .95);
  font-size: 18px;
  line-height: 1.75;
}

/* CTA buttons (match your home button vibe) */
.ch-404__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.ch-404__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .55);
  color: #fff;
  text-decoration: none;
  transition: filter .15s ease, transform .15s ease;
}

.ch-404__btn:hover {
  filter: brightness(1.08);
}

.ch-404__btn:active {
  transform: scale(.98);
}

.ch-404__btn--primary {
  background: #2563eb;
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .28);
}

.ch-404__btnIcon {
  font-size: 14px;
  line-height: 1;
}

.ch-404__btnArrow {
  transition: transform .18s ease;
}

.ch-404__btn--primary:hover .ch-404__btnArrow {
  transform: translateX(4px);
}

/* Signal */
.ch-404__signal {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(100, 116, 139, .75);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5em;
  text-transform: uppercase;
}

.ch-404__signalLine {
  width: 52px;
  height: 1px;
  background: rgba(30, 41, 59, .9);
}

/* Animations */
@keyframes chSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes chPulse {

  0%,
  100% {
    opacity: .55;
  }

  50% {
    opacity: 1;
  }
}

/* Small screens */
@media (max-width: 520px) {
  .ch-404__iconWrap {
    width: 140px;
    height: 140px;
  }

  .ch-404__compass {
    font-size: 76px;
  }

  .ch-404__ghost {
    top: -62px;
  }
}

/* =============================================================================
   Default Page Template (CasinoHarbor)
   ============================================================================= */

.ch-page {
  padding: 18px 0 70px;
}

/* Header */
.ch-pageHead {
  padding: 34px 0 14px;
  position: relative;
}

.ch-pageHead:before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(900px 340px at 50% -10%, rgba(37, 99, 235, .16), transparent 60%),
    linear-gradient(180deg, rgba(37, 99, 235, .06), transparent 70%);
  pointer-events: none;
}

.ch-pageHead__title {
  position: relative;
  margin: 0;
  color: #fff;
  font-weight: 950;
  letter-spacing: -0.04em;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
}

/* Layout (single column) */
.ch-pageLayout {
  margin-top: 14px;
}

.ch-pageMain {
  min-width: 0;
}

/* Content card */
.ch-pageCard {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .45);
  padding: 22px;
}

/* Breadcrumbs */
.ch-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  opacity: 0.75;
}

.ch-breadcrumbs a {
  text-decoration: none;
  transition: color 0.2s;
}

.ch-breadcrumbs a:hover {
  color: #fff;
}

.ch-breadcrumbs__sep {
  opacity: 0.3;
}

.ch-breadcrumbs__current {
  color: #60a5fa;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: 100%;
  word-break: break-word;
}

/* Typography Improvements */
.ch-prose {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.9);
}

.ch-prose h2 {
  font-size: 32px;
  margin: 48px 0 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.ch-prose p {
  margin-bottom: 24px;
}

/* Desktop Max Width for Content (Better Readability) */
.ch-post-main {
  max-width: 820px;
  margin: 0 auto;
}

/* Prose tweaks (works with your existing .ch-prose) */
.ch-pageContent {
  color: rgba(226, 232, 240, .82);
  line-height: 1.75;
  font-size: 15px;
}

/* Optional: nicer headings inside content */
.ch-pageContent h2,
.ch-pageContent h3 {
  color: #fff;
  letter-spacing: -0.02em;
}

.ch-pageHead__crumbs {
  position: relative;
  margin: 10px 0 0;
  color: rgba(148, 163, 184, .85);
  font-size: 12px;
  font-weight: 800;
}

.ch-pageHead__crumbs a {
  color: #60a5fa;
  text-decoration: none;
}

.ch-pageHead__crumbs a:hover {
  text-decoration: underline;
}

/* Aggressive maritime/giant-icon card overrides removed (duplicates/conflicts) */
/* Apply carousel behavior to Slot Cards when placed inside a track */


/* Ensure carousel items don't interfere with card styling */
.ch-carousel__item {
  display: flex;
  align-items: stretch;
}

.ch-carousel__item .ch-slotCard {
  flex: 1;
  min-height: 210px;
}

@media (max-width: 768px) {
  .ch-carousel__track .ch-slotCard {
    flex: 0 0 240px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .ch-carousel__track .ch-slotCard {
    flex: 0 0 200px;
    height: 160px;
  }
}

/* Back Button */
.ch-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(30, 41, 59, 0.5);
  border-radius: 999px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.ch-back-btn:hover {
  color: #fff;
}

/* Category Header */
.ch-cat-header {
  text-align: center;
  margin-bottom: 60px;
}

.ch-cat-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  border: 1px solid;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.ch-cat-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 950;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}

.ch-cat-subtitle {
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

/* The Grid & Cards */
.ch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.ch-card-blog {
  background: rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(30, 41, 59, 1);
  border-radius: 2.5rem;
  /* React rounded-[2.5rem] */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}

.ch-card-blog:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.ch-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ch-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.ch-card-blog:hover img {
  transform: scale(1.05);
}

.ch-card-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ch-card-meta {
  display: flex;
  gap: 16px;
  font-size: 9px;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.ch-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.3;
}

.ch-card-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(30, 41, 59, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ch-read-more {
  color: #3b82f6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.ch-card-blog:hover .ch-read-more {
  gap: 12px;
}

.ch-journal-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}

@media(min-width: 768px) {
  .ch-journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .ch-journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Styling (The React Look) */
.ch-blog-card {
  background: rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(30, 41, 59, 1);
  border-radius: 2.5rem;
  /* Large rounded corners from React */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  height: 100%;
}

.ch-blog-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.ch-blog-card__img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ch-blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.ch-blog-card:hover img {
  transform: scale(1.05);
}

.ch-blog-card__badge-pos {
  position: absolute;
  top: 16px;
  left: 16px;
}

.ch-blog-card__badge {
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-blog-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ch-blog-card__meta {
  display: flex;
  gap: 16px;
  font-size: 9px;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.ch-blog-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.3;
  flex-grow: 1;
  transition: color 0.3s;
}

.ch-blog-card:hover .ch-blog-card__title {
  color: #60a5fa;
}

.ch-blog-card__footer {
  padding-top: 24px;
  border-top: 1px solid rgba(30, 41, 59, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ch-blog-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ch-blog-card__avatar {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #1e293b;
  color: #3b82f6;
  display: grid;
  place-items: center;
}

.ch-blog-card__action {
  color: #3b82f6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.ch-blog-card:hover .ch-blog-card__action {
  gap: 10px;
}

/* Category Buttons */
.ch-catBtn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.ch-catBtn:hover,
.ch-catBtn.active {
  background: #2563eb;
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.4);
}

/* ===========================
   Footer Responsible Gaming
   =========================== */

.ch-footerRG {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.ch-footerRG__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ch-footerRG__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .92);
}

.ch-footerRG__badge i {
  font-size: 13px;
  opacity: .9;
}

.ch-footerRG__badge--age {
  background: rgba(239, 68, 68, .18);
  /* subtle red */
  border-color: rgba(239, 68, 68, .25);
}

.ch-footerRG__badge--play {
  background: rgba(59, 130, 246, .18);
  /* subtle blue */
  border-color: rgba(59, 130, 246, .25);
}

.ch-footerRG__text {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
}

/* Keep bottom area layout nice */
.ch-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* =========================================================
   SINGLE SLOT — NO EMPTY SPACE LAYOUT
   (2-col outer grid + inner top row)
   ========================================================= */

.ch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

/* Desktop */
@media (min-width: 1024px) {

  /* Outer grid: main + sidebar — wider main, narrower sidebar */
  .ch-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    column-gap: 40px;
    row-gap: 40px;
  }

  .ch-main {
    min-width: 0;
  }

  /* Inner top row: image + hero */
  .ch-mainTop {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 40px;
    align-items: start;
  }

  /* Important: hero is NOT a grid */
  .ch-hero {
    display: flex;
    flex-direction: column;
    align-self: start;
  }

  /* Nice wrapping */
  .ch-title {
    max-width: 18ch;
  }
}

/* Tablet: single column, sidebar blocks flow below main */
@media (min-width: 768px) and (max-width: 1023px) {
  .ch-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* sidebar sits below main as a normal block */
  .ch-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .ch-mainTop {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr); /* 1. smaller logo column */
    column-gap: 28px;
    align-items: start;
    min-width: 0;
  }

  /* 1. cap the cover image */
  .ch-colMedia { max-width: 200px; }

  .ch-hero {
    display: flex;
    flex-direction: column;
    align-self: start;
  }

  /* 3. more breathing room in hero */
  .ch-tags { margin-bottom: 10px; }
  .ch-title { margin-bottom: 18px; }
  .ch-ctaRow { margin-top: 14px; margin-bottom: 4px; }
  .ch-metrics { margin-top: 24px; }

  /* 2. slightly smaller H1 */
  .ch-title {
    font-size: 44px;
    line-height: 1.05;
    max-width: none;
  }

  .ch-content h2 { font-size: 26px; }
  .ch-content h3 { font-size: 21px; }
  .ch-content p, .ch-content li { font-size: 16px; }

  /* 4. brighter metric labels */
  .ch-metric__k {
    color: #94a3b8;
    opacity: 1;
  }

  .ch-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* 5 + 6. tighter specs */
  .ch-specs {
    padding: 20px;
  }
  .ch-specsGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .ch-spec {
    padding: 10px 14px;
  }
  .ch-spec__k {
    gap: 8px;
  }
  .ch-spec__v {
    text-align: right;
    min-width: 0;
  }

  .ch-card { padding: 20px; }
  .ch-panel { padding: 20px; }
  .ch-panels { margin-bottom: 32px; }
}

/* Mobile: stacked layout */
@media (max-width: 767px) {

  /* 1. Smaller logo, slightly faded */
  .ch-mainTop {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .ch-colMedia {
    max-width: 190px;
    margin: 0 auto;
    opacity: 0.9;
  }

  /* 2. Tighten hero vertical spacing */
  .ch-hero {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .ch-tags { margin-bottom: 8px; }

  /* 3. Smaller H1 */
  .ch-title {
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 12px;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* 4. Stack CTA buttons — primary strong, secondary ghost */
  .ch-ctaRow {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
  }

  .ch-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  /* secondary button on mobile — slightly smaller, still readable */
  .ch-ctaRow .ch-btn:not(.ch-btn--primary):not(.ch-btn--demo) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    padding: 12px 18px;
  }

  /* 5. Stat cards — more breathing room */
  .ch-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
  }

  .ch-metric {
    padding: 16px 14px 14px;
  }

  .ch-metric__k {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .ch-metric__v {
    font-size: 20px;
  }

  /* Specs — single column on mobile, no overflow */
  .ch-specs {
    margin-top: 16px;
    padding: 16px;
  }

  .ch-specsGrid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ch-spec {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .ch-spec__k {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ch-spec__v {
    flex-shrink: 0;
    max-width: 55%;
    text-align: right;
    word-break: break-word;
  }

  /* Pros/Cons — less padding, tighter lines */
  .ch-panel {
    padding: 16px;
  }

  .ch-panel li {
    line-height: 1.4;
    margin-bottom: 6px;
  }

  /* sidebar full width on mobile */
  .ch-side {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  /* Review — show/less toggle */
  .ch-verdict__body {
    max-height: 220px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
  }

  .ch-verdict__body.is-expanded {
    max-height: none;
  }

  .ch-verdict__body:not(.is-expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #0f172a);
    pointer-events: none;
  }

  .ch-verdict__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.05em;
  }

  /* Charts — mobile margin */
  .ch-charts {
    margin-top: 24px;
  }
}

/* Charts toggle — hidden by default, revealed on button click */
.ch-charts__heading {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.ch-charts__body {
  position: relative;
  max-height: 300px;
  overflow: hidden;
}

.ch-charts__body:not(.is-expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.ch-charts__body.is-expanded {
  max-height: none;
}

.ch-charts__body.is-expanded::after {
  display: none;
}

.ch-charts__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ch-charts__toggle:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  color: #e2e8f0;
}

/* Verdict toggle — always visible on all screen sizes */
.ch-verdict__body {
  position: relative;
  max-height: 600px;
  overflow: hidden;
}

.ch-verdict__body.is-expanded {
  max-height: none;
}

.ch-verdict__body:not(.is-expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
  pointer-events: none;
}

.ch-verdict__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color 0.2s, border-color 0.2s;
}

.ch-verdict__toggle:hover {
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Image sizing */
.ch-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.ch-panels {
  margin-bottom: 40px;
}

.ch-card+.ch-card {
  margin-top: 32px;
}

/* COMMENTED OUT - Desktop navigation arrows moved to consolidated section
   DESKTOP ARROWS (NATIVE CSS - NO FONT REQUIRED)
   =============================================================================
@media (min-width: 1025px) {

  Targeted specifically to your 'Slots' menu item
  .ch-nav__list .menu-item-has-children>a {
    display: inline-flex !important;
    align-items: center !important;
    padding-right: 5px;
  }

  Create a clean, small arrow using CSS borders
  .ch-nav__list .menu-item-has-children>a::after {
    content: "" !important;
    margin-left: 8px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--muted);
    Arrow color
    transition: transform 0.3s ease, border-top-color 0.3s ease;
  }

  Rotate and change color on hover
  .ch-nav__list .menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
    border-top-color: var(--primary2);
  }
}
*/

/* SEO Section - Full Width Alignment */
.ch-seoSection {
  padding-bottom: 80px;
  width: 100%;
}

.ch-seoText {
  background: rgba(255, 255, 255, 0.03);
  /* Subtle dark card look */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  /* Forces the box to fill the ch-wrap container */
  box-sizing: border-box;
}

/* Typography Tweaks for Wide Layout */
.ch-seoText__content {
  color: #b0b0b0;
  line-height: 1.8;
  font-size: 16px;
  width: 100%;
}

/* Styling for Headings you create in the Editor */
.ch-seoText__content h2,
.ch-seoText__content h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
}

.ch-seoText__content p:last-child {
  margin-bottom: 0;
}

/* =============================================================================
   Slot Card - Fixed Size and Image Visibility
   ============================================================================= */
/* =============================================================================
   Slot Card - Fixed Layout (Fixes RTP/VOL Visibility)
   ============================================================================= */

.ch-slotCard {
  display: flex;
  flex-direction: column; /* Image on top, Body on bottom */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  min-height: 320px; /* Gives enough room for stats to breathe */
  transition: transform 0.3s ease;
}

/* 1. Fix the Image Area */
.ch-slotCard__img {
  position: relative;
  display: block;
  width: 100%;
  height: 160px; /* Fixed height for the image only */
  overflow: hidden;
  background: #020617;
}

/* 2. Fix the Image itself */
.ch-slotCard__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Crops the 300x237 image perfectly */
  display: block;
}

/* 3. Fix the Body (RTP & VOL area) */
.ch-slotCard__body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 4. The Stats Row */
.ch-slotCard__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto; /* Ensures it stays at the bottom */
}

.ch-slotCard__metric {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.ch-metric__label {
  display: block;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 2px;
}

.ch-metric__value {
  color: #60a5fa;
  font-weight: 800;
  font-size: 13px;
}

/* Carousel/Grid spacing fix */
.ch-carousel__track .ch-slotCard,
.ch-homeGrid3 .ch-slotCard {
  aspect-ratio: auto; /* Remove the 4/3 restriction that was breaking it */
  width: 280px; 
}

/* Grid Layout - Controls how many cards appear in a row */
.ch-homeGrid3, 
.ch-archiveGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Larger minimum width */
  gap: 20px;
}

/* Mobile Fix - Stops them from being tiny on phones */
@media (max-width: 480px) {
  .ch-homeGrid3, 
  .ch-archiveGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ch-slotCard {
    min-height: 280px; /* Slightly shorter for mobile */
  }
  .ch-slotCard__header, 
  .ch-slotCard__img {
    height: 130px; /* Shorter image for mobile */
  }
}
/* =============================================================================
   HOME THEME CAROUSEL (Identical Tile Sizes)
   ============================================================================= */

/* 1. Viewport: The "Window" that hides the overflow */
.ch-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  width: 100%;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}

.ch-carousel__viewport::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

/* 2. Track: The long line of cards */
.ch-carousel__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content; /* Critical: allows it to be wider than the screen */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* 3. Theme Card: THE IDENTICAL TILES */
.ch-themeCard {
  flex: 0 0 140px;
  height: 170px;
  
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ch-themeCard:hover {
  transform: translateY(-5px);
  border-color: var(--primary2);
  background: rgba(59, 130, 246, 0.05);
}

/* 4. Icon/Emoji size */
.ch-themeCard__icon {
  font-size: 70px;
  margin-bottom: 12px;
  line-height: 1;
  display: block;
}

/* 5. Text Logic: Preventing height shifts from long names */
.ch-themeCard__name {
  color: #fff;
  font-weight: 850;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 4px;
  /* Limit to 2 lines so long names don't push the card down */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Force the name area to always take up enough space for 2 lines */
  min-height: 34px; 
}

.ch-themeCard__count {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .ch-themeCard {
    flex: 0 0 125px;
    height: 145px;
    padding: 15px 10px;
  }
  .ch-themeCard__icon { font-size: 32px; }
  .ch-themeCard__name { font-size: 13px; min-height: 32px; }
}
/* Removed duplicate .ch-carousel__viewport and .ch-carousel__track - see line ~5180 for canonical versions */
/* =============================================================================
   Slot Name (Title) - No Underline Version
   ============================================================================= */

.ch-slotCard__title {
    margin: 0 0 16px 0; 
    padding: 0 4px;      
}

.ch-slotCard__title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    display: block;
    transition: color 0.2s ease;
    letter-spacing: -0.02em;
}

/* Hover state */
.ch-slotCard:hover .ch-slotCard__title a {
    color: #60a5fa;
    text-decoration: none;
}

.ch-slotCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(96,165,250,0.15);
}
/* 1. The Outer Wrapper */
.ch-carousel-container {
    width: 100%;
    overflow-x: auto; /* Enables scrolling */
    overflow-y: hidden;
    padding-bottom: 20px; /* Space for scrollbar if needed */
    cursor: grab;
    -webkit-overflow-scrolling: touch; /* Smooth momentum for mobile */
}

/* Hide scrollbar for Chrome/Safari */
.ch-carousel-container::-webkit-scrollbar {
    display: none;
}

/* 2. The Inner Track */
.ch-carousel-track {
    display: flex;
    gap: 20px; /* Space between cards */
    padding-right: 20px; /* Prevents last card from sticking to edge */
}

/* 3. The Individual Item Size */
.ch-carousel-item {
    flex: 0 0 300px; /* Each card will be exactly 300px wide */
    min-width: 300px;
    height: auto;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .ch-carousel-item {
        flex: 0 0 240px; /* Smaller cards on phones */
        min-width: 240px;
    }
    .ch-carousel-track {
        gap: 12px;
    }
}
/* =============================================================================
   Footer Navigation Styling
   ============================================================================= */

/* Column Titles */
.ch-footer__title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

/* Menu List Reset */
.ch-footerMenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Consistent spacing between links */
}

/* Individual Links */
.ch-footerMenu li a {
    color: #94a3b8; /* Muted slate color */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

/* Hover State */
.ch-footerMenu li a:hover {
    color: #60a5fa; /* Blue highlight from your specs/cards */
    transform: translateX(4px); /* Subtle slide effect */
}

/* Highlight Current Page */
.ch-footerMenu .current-menu-item a {
    font-weight: 700;
}

/* Responsive: Stack on mobile if columns get tight */
@media (max-width: 768px) {
    .ch-footer__col {
        margin-bottom: 30px;
    }
    
    .ch-footerMenu li a {
        padding: 4px 0; /* Larger touch target for mobile */
    }
}
.ch-archiveSeo {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
}

.ch-archiveSeo h2, .ch-archiveSeo h3 {
    color: #fff;
    margin-bottom: 15px;
}

/* =========================================================
   FINAL MOBILE DRAWER FIX (Closing Button & Alignment)
   ========================================================= */

/* 0. Mobile Panel Base Definitions — canonical rules in final nav block below */

/* 1. Standardize the drawer header container */
.ch-mobilePanel__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 24px 20px !important; /* Proper padding for mobile edges */
  width: 100% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  margin-bottom: 20px !important;
}

/* 2. Fix the Close (X) Button positioning */
.ch-mobileClose {
  all: unset !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 18px !important;
  margin-left: auto !important;
}

.ch-mobileClose:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

/* 3. Style the "NAVIGATION" label correctly */
.ch-mobilePanel__label {
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

/* 4. Fix Navigation List Spacing */
.ch-mobilePanel__navList {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin-top: 10px !important;
}

/* 5. Mobile Panel Base Styles (Consolidated) */
#ch-mobilePanel ul,
#ch-mobilePanel li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#ch-mobilePanel .ch-mobilePanel__navList {
  display: grid !important;
  gap: 12px !important;
}

#ch-mobilePanel .ch-mobilePanel__navList > li {
  position: relative !important;
}

/* 6. Navigation Item Styling */
#ch-mobilePanel a.ch-navItem .ch-navItem__icon {
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  color: rgba(210, 226, 255, 0.90) !important;
}

#ch-mobilePanel a.ch-navItem .ch-navItem__title {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

#ch-mobilePanel a.ch-navItem .ch-navItem__sub {
  display: block !important;
  margin-top: 4px !important;
  font-size: 12px !important;
  color: rgba(170, 190, 230, 0.70) !important;
}

#ch-mobilePanel a.ch-navItem .ch-navItem__text {
  min-width: 0 !important;
}

/* 7. Submenu Styles */
#ch-mobilePanel ul.ch-subMenu[hidden] {
  display: none !important;
}

#ch-mobilePanel li.is-open > ul.ch-subMenu {
  display: grid !important;
}

#ch-mobilePanel ul.ch-subMenu {
  margin-top: 10px !important;
  margin-left: 58px !important;
  gap: 10px !important;
  display: grid !important;
}

#ch-mobilePanel ul.ch-subMenu > li > a {
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  color: rgba(235, 245, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

#ch-mobilePanel ul.ch-subMenu > li > a.ch-navItem {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

#ch-mobilePanel ul.ch-subMenu .ch-navItem__title {
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

/* 8. Toggle Button (Single Definition) */
#ch-mobilePanel .ch-navItem__toggle {
  all: unset !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px rgba(0, 0, 0, 0.25) !important;
  color: rgba(210, 225, 255, 0.85) !important;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease !important;
  z-index: 3 !important;
}

/* For menu items WITHOUT grid layout (fallback) */
#ch-mobilePanel .ch-menuItem:not(.has-children) .ch-navItem__toggle {
  position: absolute !important;
  top: 50% !important;
  right: 16px !important;
  transform: translateY(-50%) !important;
}

#ch-mobilePanel .ch-navItem__toggle i {
  font-size: 12px !important;
}

#ch-mobilePanel .ch-menuItem.has-children {
  position: relative !important;
}

/* Keep chevrons aligned even when submenu expands */
@media (max-width: 1024px) {
  #ch-mobilePanel .ch-menuItem.has-children {
    display: grid !important;
    grid-template-columns: 1fr 44px !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
  }

  #ch-mobilePanel .ch-menuItem.has-children > a.ch-navItem {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  /* Override the old absolute positioning that causes the "moving down" */
  #ch-mobilePanel .ch-menuItem.has-children > button.ch-navItem__toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #ch-mobilePanel .ch-menuItem.has-children > ul.ch-subMenu {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
}

#ch-mobilePanel .ch-menuItem.is-open > .ch-navItem__toggle i {
  transform: rotate(180deg) !important;
}

/* 9. Font Awesome Icons */
#ch-mobilePanel .ch-navItem__icon i,
#ch-mobilePanel .ch-navItem__toggle i {
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

/* 10. Desktop Navigation Arrows (Restored) */
@media (min-width: 1025px) {
  /* Targeted specifically to menu items with children */
  .ch-nav__list .menu-item-has-children > a {
    display: inline-flex !important;
    align-items: center !important;
    padding-right: 5px !important;
  }

  /* Create a clean, small arrow using CSS borders */
  .ch-nav__list .menu-item-has-children > a::after {
    content: "" !important;
    margin-left: 8px !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-top: 5px solid var(--muted) !important;
    transition: transform 0.3s ease, border-top-color 0.3s ease !important;
  }

  /* Rotate and change color on hover */
  .ch-nav__list .menu-item-has-children:hover > a::after {
    transform: rotate(180deg) !important;
    border-top-color: var(--primary2) !important;
  }
}
/* Desktop dropdown alignment */
@media (min-width: 1025px) {
  /* parent must be the anchor */
  .ch-menuItem.has-children {
    position: relative;
  }

  /* default: center submenu under the parent item */
  .ch-menuItem.has-children > .ch-subMenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
  }
}
/* =======================================================================
   NAVIGATION — SINGLE SOURCE OF TRUTH (PASTE AT VERY END OF style.css)
   Fixes:
   - Desktop/tablet menu disappearing (conflicting display rules)
   - Desktop dropdown alignment (submenu too left on some items)
   - Mobile chevrons / close button moving down (pin toggle button)
   ======================================================================= */

/* Make header inner the positioning context for centered desktop nav */
.ch-header__inner { position: relative; }

/* ---------------- DESKTOP DEFAULT (>=1025px) ---------------- */
.ch-nav { display: block; }
.ch-burger { display: none; }

/* Desktop nav centered */
@media (min-width: 1025px) {
  .ch-nav{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .ch-nav__list{
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .ch-nav__list > li{
    position: relative;
    padding: 18px 0;
  }

  .ch-nav__list a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    padding: 8px 0;
  }

  /* Dropdown: center under its parent so “Calculators” won’t shift left */
  .ch-nav__list .sub-menu{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 12px);
    min-width: 240px;
    background: #0b1224;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 12px;
    margin: 0;
    list-style: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 1000;
  }

  .ch-nav__list li:hover > .sub-menu,
  .ch-nav__list li:focus-within > .sub-menu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .ch-nav__list .sub-menu a{
    display: block;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 12px;
    color: rgba(226,232,240,.85);
    white-space: nowrap;
  }

  .ch-nav__list .sub-menu a:hover{
    background: rgba(59,130,246,.15);
    color: #fff;
  }

  /* Ensure mobile panel never shows on desktop */
  .ch-mobilePanel { display: none !important; }
}

/* ---------------- MOBILE/TABLET (<=1024px) ---------------- */
@media (max-width: 1024px) {
  /* Hide desktop horizontal nav */
  .ch-nav { display: none !important; }

  /* Show burger */
  .ch-burger{
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    cursor: pointer;
  }

  .ch-burger__line{
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  /* Mobile panel base */
  .ch-mobilePanel{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(2,6,23,.98);
  }

  /* Hidden logic (your JS should toggle [hidden]) */
  .ch-mobilePanel[hidden]{ display: none !important; }
  .ch-mobilePanel:not([hidden]){ display: block !important; }
}

/* ---------------- MOBILE PANEL ARROWS (PINNED) ---------------- */
/* IMPORTANT: your markup shows toggle button next to <a>, so we pin it */
#ch-mobilePanel li.ch-menuItem{ position: relative; }

/* Make the row stable + reserve space for the arrow button */
#ch-mobilePanel a.ch-navItem{
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 12px 20px !important;
  text-decoration: none !important;
}

/* The toggle chevron: pinned to the right, vertically centered */
#ch-mobilePanel .ch-navItem__toggle{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  line-height: 1;
}

/* Icon stability */
#ch-mobilePanel .ch-navItem__toggle i{
  display: block;
  line-height: 1;
  transition: transform .18s ease;
}

/* Rotate arrow when open */
#ch-mobilePanel .ch-menuItem.is-open > .ch-navItem__toggle i{
  transform: rotate(180deg);
}

/* Submenu show/hide */
#ch-mobilePanel ul.ch-subMenu{
  display: none;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

#ch-mobilePanel .ch-menuItem.is-open > ul.ch-subMenu{
  display: block;
}

/* Optional: nicer submenu spacing */
#ch-mobilePanel ul.ch-subMenu > li > a.ch-navItem{
  padding-left: 0;
  opacity: .9;
}
/* Language switcher dropdown */
.ch-lang {
  position: relative;
}

.ch-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.ch-lang__toggle:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.ch-lang__toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.ch-lang__toggle[aria-expanded="true"] .ch-lang__caret {
  transform: rotate(180deg);
}

.ch-lang__flag {
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}

.ch-lang__caret {
  opacity: 0.6;
  transition: transform .2s ease;
  flex-shrink: 0;
}

.ch-lang__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 6px;
  margin: 0;
  list-style: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.ch-lang[data-open] .ch-lang__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ch-lang__dropdown li {
  display: block;
}

.ch-lang__dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  transition: background .12s, color .12s;
}

.ch-lang__dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.ch-lang__option--active a {
  color: #fff;
  background: rgba(59,130,246,0.15);
}

.ch-lang__check {
  margin-left: auto;
  color: #3b82f6;
  flex-shrink: 0;
}

/* --- Home Stats Layout Fix --- */
/* 1. Grid Wrapper: 2 columns on mobile, 4 on desktop */
.ch-homeStats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

@media (min-width: 900px) {
  .ch-homeStats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* 2. Stat Card: Uses flexbox for icon/text alignment */
.ch-homeStat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border);
  border-radius: 20px;
  min-width: 0; /* CRITICAL: Allows content to shrink safely */
}

/* 3. Icon Box: Fixed size to prevent squishing */
.ch-homeStat__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.35);
  border-radius: 12px;
  font-size: 20px;
}

/* 4. Text Body: Standardizes vertical stacking */
.ch-homeStat__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* 5. The Label: Fixes the truncation seen in your screenshot */
.ch-homeStat__k {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Adds "..." if text is absolutely too long */
}

/* 6. The Value */
.ch-homeStat__v {
  font-size: 18px;
  font-weight: 950;
  color: #fff;
  line-height: 1;
}
/* =============================================================================
   SINGLE BLOG POST — Editorial Layout
   ============================================================================= */

.ch-article-wrap {
    padding-top: 32px;
    padding-bottom: 80px;
}

.ch-article-breadcrumb {
    margin-bottom: 32px;
}

/* ── Article container: narrow reading column ── */
.ch-article {
    max-width: 720px;
    margin: 0 auto;
}

/* ── Header ── */
.ch-article__header {
    margin-bottom: 40px;
}

.ch-article__cat {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #60a5fa;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    margin-bottom: 18px;
    transition: background 0.2s;
}
.ch-article__cat:hover {
    background: rgba(37, 99, 235, 0.25);
}

.ch-article__title {
    margin: 0 0 20px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
}

/* Lead paragraph — premium editorial feel */
.ch-article__dek {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.ch-article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.ch-article__author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ch-article__avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #1e293b;
    color: #3b82f6;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.ch-article__meta-sep {
    color: rgba(100, 116, 139, 0.4);
}

/* ── Hero image ── */
.ch-article__hero-img {
    margin: 0 0 44px;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.ch-article__hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Article body typography ── */
.ch-article__body {
    font-size: 17px;
    line-height: 1.85;
    color: #cbd5e1;
}

.ch-article__body p {
    margin: 0 0 1.6em;
}

.ch-article__body h2 {
    margin: 2.6em 0 0.8em;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ch-article__body h3 {
    margin: 2em 0 0.7em;
    font-size: 19px;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: -0.01em;
}

.ch-article__body h4 {
    margin: 1.6em 0 0.5em;
    font-size: 17px;
    font-weight: 800;
    color: #e2e8f0;
}

/* Lists */
.ch-article__body ul,
.ch-article__body ol {
    margin: 1.2em 0 1.6em;
    padding-left: 0;
    list-style: none;
}

.ch-article__body ul li,
.ch-article__body ol li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.75em;
    color: #cbd5e1;
    line-height: 1.7;
}

.ch-article__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
}

.ch-article__body ol {
    counter-reset: ch-ol;
}
.ch-article__body ol li {
    counter-increment: ch-ol;
}
.ch-article__body ol li::before {
    content: counter(ch-ol) '.';
    position: absolute;
    left: 0;
    top: 0;
    color: #3b82f6;
    font-weight: 900;
    font-size: 13px;
}

/* Blockquote */
.ch-article__body blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    border-left: 3px solid #3b82f6;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 0 12px 12px 0;
    color: #94a3b8;
    font-size: 17px;
    font-style: normal;
}

.ch-article__body blockquote p {
    margin: 0;
}

/* Inline images */
.ch-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 2em auto;
}

/* Tables — softer, theme-integrated */
.ch-article__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 15px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ch-article__body table th {
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.8);
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ch-article__body table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    vertical-align: top;
}

.ch-article__body table tr:last-child td {
    border-bottom: none;
}

.ch-article__body table tr:nth-child(even) td {
    background: rgba(15, 23, 42, 0.3);
}

/* Callout / highlighted box (wp-block-pullquote or .callout class) */
.ch-article__body .wp-block-pullquote,
.ch-article__body .callout {
    margin: 2em 0;
    padding: 20px 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: #94a3b8;
    font-size: 16px;
}

/* Links */
.ch-article__body a {
    color: #60a5fa;
    text-decoration: underline;
    text-decoration-color: rgba(96, 165, 250, 0.3);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.ch-article__body a:hover {
    color: #93c5fd;
    text-decoration-color: rgba(147, 197, 253, 0.5);
}

/* Strong / em */
.ch-article__body strong { color: #e2e8f0; font-weight: 700; }
.ch-article__body em { color: #94a3b8; }

/* Code */
.ch-article__body code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 2px 6px;
    color: #60a5fa;
}

.ch-article__body pre {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
    margin: 2em 0;
}

.ch-article__body pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
}

/* ── Author box ── */
.ch-article__footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ch-article__author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
}

.ch-article__author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #1e293b;
    color: #3b82f6;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.ch-article__author-name {
    font-weight: 800;
    color: #fff;
    font-size: 15px;
}

.ch-article__author-bio {
    color: #64748b;
    font-size: 13px;
    margin-top: 2px;
}

/* ── Related posts ── */
.ch-related {
    max-width: 720px;
    margin: 64px auto 0;
}

.ch-related__title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.ch-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .ch-related__grid { grid-template-columns: repeat(3, 1fr); }
}

.ch-related__card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(30, 41, 59, 0.8);
    background: rgba(15, 23, 42, 0.3);
    text-decoration: none;
    transition: border-color 0.3s, transform 0.3s;
}

.ch-related__card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.ch-related__img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.ch-related__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
    margin: 0;
    border-radius: 0;
}

.ch-related__card:hover .ch-related__img img { transform: scale(1.04); }

.ch-related__ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, .2), rgba(2, 6, 23, 0));
}

.ch-related__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.ch-related__cat {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #3b82f6;
}

.ch-related__card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    transition: color 0.2s;
}

.ch-related__card:hover .ch-related__card-title { color: #60a5fa; }

.ch-related__meta {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    margin-top: auto;
}

/* ── Mobile article polish ── */
@media (max-width: 767px) {

    /* Hide breadcrumb — reduces clutter */
    .ch-article-breadcrumb { display: none; }

    /* Top section breathing room */
    .ch-article__header {
        padding-bottom: 20px;
        margin-bottom: 24px;
    }

    .ch-article__title {
        font-size: 26px;
        line-height: 1.2;
        margin: 12px 0 16px;
    }

    .ch-article__dek {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .ch-article__meta {
        margin-top: 12px;
        font-size: 11px;
        gap: 8px;
    }

    /* Paragraph readability */
    .ch-article__body {
        font-size: 16px;
        line-height: 1.75;
    }

    .ch-article__body p {
        margin-bottom: 1.2em;
    }

    /* Lists */
    .ch-article__body ul,
    .ch-article__body ol {
        margin: 14px 0 18px;
    }

    .ch-article__body ul li,
    .ch-article__body ol li {
        margin-bottom: 10px;
    }

    /* Callout / blockquote */
    .ch-article__body blockquote,
    .ch-article__body .wp-block-pullquote,
    .ch-article__body .callout {
        padding: 18px 20px;
        border-radius: 12px;
        font-size: 15px;
    }

    /* Images — don't dominate */
    .ch-article__body img {
        max-width: 90%;
        margin: 20px auto;
        border-radius: 12px;
    }

    /* Section headings — more breathing room */
    .ch-article__body h2 {
        font-size: 21px;
        margin-top: 2em;
        margin-bottom: 0.6em;
        padding-top: 20px;
    }

    .ch-article__body h3 {
        font-size: 17px;
        margin-top: 1.6em;
        margin-bottom: 0.5em;
    }

    /* Links more visible */
    .ch-article__body a {
        color: #4da3ff;
        text-decoration-color: rgba(77, 163, 255, 0.35);
    }
}

/* --- Slot hero: smaller H1 + CTA aligned to bottom of image --- */
.ch-title--slot {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media(min-width:768px) {
  .ch-title--slot {
    font-size: 40px;
  }
}

/* Hero column: push CTA to bottom so it aligns with image base */
.ch-hero {
  display: flex;
  flex-direction: column;
}

.ch-hero .ch-ctaRow {
  margin-top: auto;
}

/* =============================================================================
   Slot hero polish (consolidated)
   ============================================================================= */

/* Hero wrapper */
.ch-heroWrapper {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.7), rgba(5, 10, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

@media (max-width: 767px) {
  .ch-heroWrapper {
    padding: 20px 16px;
    border-radius: 20px;
    overflow: hidden;
  }

  .ch-title--slot {
    font-size: 26px;
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .ch-btn--demo {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

/* Left ambient glow */
.ch-heroWrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 180, 216, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Right CTA focal glow */
.ch-heroWrapper::after {
  content: "";
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.ch-heroWrapper > * {
  position: relative;
  z-index: 1;
}

/* Cover image */
.ch-cover--slot {
  border-radius: 20px;
  overflow: hidden;
  margin-right: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  border: none;
}

/* Demo CTA */
.ch-btn--demo {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-color: rgba(0, 180, 216, 0.3);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ch-btn--demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 180, 216, 0.35);
  filter: none;
}

/* Meta line under title */
.ch-slotMeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.85);
  margin-top: 8px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.ch-slotMeta__sep {
  color: rgba(148, 163, 184, 0.35);
}

/* RTP value in meta line */
.ch-slotMeta .ch-slotMeta__rtp {
  color: #22c55e;
}

/* RTP metric dominant */
.ch-metric:first-child .ch-metric__v {
  font-size: 28px;
  color: #22d3ee;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

/* Other metric values — white and strong so "Low" doesn't look secondary */
.ch-metric:not(:first-child) .ch-metric__v {
  color: #fff;
  font-weight: 900;
}

/* Stats cards hover */
.ch-metric {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ch-metric:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 216, 0.3);
}

/* Tags */
.ch-chip {
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ch-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
}

/* Active/primary chip — provider name */
.ch-chip--primary {
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}

.ch-chip--primary:hover {
  background: rgba(59, 130, 246, 0.28);
  border-color: rgba(59, 130, 246, 0.6);
  color: #fff;
}

/* Muted chip — theme name */
.ch-chip--muted {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.ch-chip--muted:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* 8. Trust line under CTA */
.ch-trustLine {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ch-trustLine span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ch-trustLine span::before {
  content: "✔";
  color: #22d3ee;
  font-size: 10px;
}

/* =============================================================================
   Quick Verdict block
   ============================================================================= */
.ch-quickVerdict {
  margin-top: 28px;
  margin-bottom: 8px;
  border-radius: 20px;
  padding: 20px 24px;
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.ch-quickVerdict__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ch-quickVerdict__icon {
  font-size: 18px;
  line-height: 1;
}

.ch-quickVerdict__title {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}

.ch-quickVerdict__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-quickVerdict__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ch-quickVerdict__list li:last-child {
  border-bottom: none;
}

.ch-quickVerdict__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.ch-quickVerdict__value {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  text-align: right;
}

/* =============================================================================
   Related Categories block
   ============================================================================= */
.ch-relatedCats {
  margin-top: 40px;
}

.ch-relatedCats__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.ch-relatedCats__grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-relatedCat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: #cbd5e1;
  transition: background 0.2s, border-color 0.2s, transform 0.18s, box-shadow 0.2s;
}

.ch-relatedCat:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
  color: #fff;
}

/* Primary card (provider) — more prominent */
.ch-relatedCat--primary {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.22);
}

.ch-relatedCat--primary .ch-relatedCat__iconWrap {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.35);
}

.ch-relatedCat--primary .ch-relatedCat__title {
  color: #fff;
  font-size: 15px;
}

/* Icon with background bubble */
.ch-relatedCat__iconWrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

.ch-relatedCat:hover .ch-relatedCat__iconWrap {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.ch-relatedCat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ch-relatedCat__title {
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1.2;
}

.ch-relatedCat__desc {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ch-relatedCat__cta {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  transition: color 0.2s;
  flex-shrink: 0;
}

.ch-relatedCat:hover .ch-relatedCat__cta {
  color: #60a5fa;
}

@media (max-width: 767px) {
  .ch-relatedCat {
    flex-wrap: wrap;
    gap: 10px;
  }

  .ch-relatedCat__cta {
    white-space: normal;
    font-size: 11px;
    width: 100%;
    padding-left: 52px; /* align under body, past icon */
  }
}

/* =============================================================================
   Sticky mobile demo CTA
   ============================================================================= */
.ch-stickyCta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 12px 16px;
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .ch-stickyCta {
    display: block;
  }

  /* push page content above sticky bar */
  .ch-slot {
    padding-bottom: 80px;
  }
}

.ch-stickyCta.is-visible {
  transform: translateY(0);
}

.ch-stickyCta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.ch-stickyCta__info {
  display: none;
}

.ch-stickyCta__btn {
  flex-shrink: 0;
  padding: 14px 32px;
  font-size: 13px;
  width: 100%;
  max-width: 360px;
}

/* =============================================================================
   Harbor Stats — themed graph bars
   ============================================================================= */
.ch-comparison-graph {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.ch-graphBar__labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.ch-graphBar__val {
  font-weight: 900;
  color: #fff;
}

.ch-graphBar__val--accent {
  color: #22d3ee;
}

.ch-graphBar__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ch-graphBar__fill {
  height: 100%;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
  transition: width 0.6s ease;
}

.ch-graphBar__fill--accent {
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

/* =============================================================================
   Similar Slots — improved cards
   ============================================================================= */
.ch-sim {
  position: relative;
}

.ch-sim__rtp {
  color: #22d3ee;
  font-size: 12px;
  letter-spacing: -0.01em;
  text-transform: none;
}

.ch-sim__arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #334155;
  font-size: 14px;
  transition: color 0.2s, transform 0.2s;
}

.ch-sim:hover .ch-sim__arrow {
  color: #60a5fa;
  transform: translateY(-50%) translateX(3px);
}

.ch-sim:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* =============================================================================
   Performance vs Market graph
   ============================================================================= */
.ch-perfGraph {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 12px;
}

.ch-perfRow {
  display: grid;
  grid-template-columns: 80px 1fr 52px;
  align-items: center;
  gap: 10px;
}

@media (max-width: 767px) {
  .ch-perfRow {
    grid-template-columns: 56px 1fr 40px;
    gap: 6px;
  }

  .ch-perfRow__label {
    font-size: 10px;
  }

  .ch-perfRow__val {
    font-size: 11px;
  }
}
  align-items: center;
  gap: 10px;
}

.ch-perfRow__label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.ch-perfRow__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.ch-perfRow__fill {
  height: 100%;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
}

.ch-perfRow__fill--accent {
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.35);
}

.ch-perfRow__val {
  font-size: 12px;
  font-weight: 900;
  color: #cbd5e1;
  text-align: right;
  white-space: nowrap;
}

.ch-perfRow__val--accent {
  color: #22d3ee;
}

.ch-perfDiff {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.ch-perfDiff--up   { color: #22c55e; }
.ch-perfDiff--down { color: #f87171; }

.ch-perfFooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}

.ch-perfFooter b {
  color: #fff;
  font-weight: 900;
}

/* =========================================================
/* =============================================================================
   ARTICLE PAGE UPGRADE
   ========================================================= */

.ch-pageHead__crumbs {
  max-width: 860px;
  margin: 0 auto 14px;
  padding: 0 20px;
}

.ch-pageHead .ch-wrap {
  max-width: 860px;
}

.ch-pageHead__title {
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ch-pageLayout {
  margin-top: 8px;
}

.ch-pageMain--article {
  max-width: 860px;
  margin: 0 auto;
}

.ch-pageContent--article {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(226, 232, 240, 0.88);
}

.ch-pageContent--article > *:first-child {
  margin-top: 0;
}

.ch-pageContent--article h2 {
  font-size: 30px;
  line-height: 1.15;
  margin: 56px 0 16px;
  color: #fff;
  letter-spacing: -0.02em;
}

.ch-pageContent--article h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 32px 0 12px;
  color: #fff;
}

.ch-pageContent--article p {
  margin: 0 0 20px;
}

.ch-pageContent--article ul,
.ch-pageContent--article ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.ch-pageContent--article li {
  margin: 8px 0;
}

.ch-pageContent--article strong {
  color: #fff;
}

.ch-pageContent--article section {
  margin: 34px 0;
}

.ch-pageContent--article > p:nth-of-type(1),
.ch-pageContent--article > p:nth-of-type(2),
.ch-pageContent--article > p:nth-of-type(3) {
  font-size: 18px;
  color: rgba(241, 245, 249, 0.92);
}

.ch-pageContent--article canvas {
  display: block;
  width: 100% !important;
}

.ch-pageContent--article .ch-chartCard,
.ch-pageContent--article div[style*="border-radius:24px"] {
  margin: 26px 0 42px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

#bankrollChart,
#riskRewardChart {
  margin-top: 16px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 24px;
  padding: 16px;
}

@media (max-width: 767px) {
  .ch-pageHead {
    padding: 24px 0 10px;
  }

  .ch-pageHead__crumbs {
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
    word-break: break-word;
  }

  .ch-pageHead__title {
    font-size: 28px;
    line-height: 1.08;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .ch-pageMain--article {
    max-width: 100%;
  }

  .ch-pageContent--article {
    font-size: 16px;
    line-height: 1.75;
  }

  .ch-pageContent--article h2 {
    font-size: 24px;
    margin: 40px 0 14px;
  }

  .ch-pageContent--article h3 {
    font-size: 19px;
  }
}

/* =============================================================================
   AUTHOR PAGE
   ============================================================================= */
.ch-authorPage {
  padding-top: 20px;
  padding-bottom: 70px;
}

.ch-authorHero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(15,23,42,.45);
  margin-bottom: 24px;
}

.ch-authorHero__avatar img {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  object-fit: cover;
  display: block;
}

.ch-authorHero__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #60a5fa;
}

.ch-authorHero__title {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 950;
  color: #fff;
}

.ch-authorHero__role {
  margin: 0 0 14px;
  color: #93c5fd;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ch-authorHero__bio {
  margin: 0;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.75;
  max-width: 70ch;
}

.ch-authorHero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ch-authorHero__badges span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ch-authorStats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.ch-authorStat {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(15,23,42,.35);
}

.ch-authorStat__k {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.ch-authorStat__v {
  font-size: 20px;
  font-weight: 950;
  color: #fff;
}

.ch-authorSection {
  margin-top: 28px;
}

.ch-authorSection h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.02em;
}

.ch-authorCard {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(15,23,42,.35);
}

.ch-authorCard p {
  margin: 0 0 14px;
  color: #cbd5e1;
  line-height: 1.75;
}

.ch-authorCard p:last-child { margin-bottom: 0; }

.ch-authorList {
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
  line-height: 1.75;
}

.ch-authorExpertise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ch-authorExpertise__item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(15,23,42,.35);
  color: #fff;
  font-weight: 800;
}

/* Tabs */
.ch-authorTabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ch-authorTab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}

.ch-authorTab:hover { color: #e2e8f0; }

.ch-authorTab.is-active {
  color: #fff;
  border-bottom-color: #3b82f6;
}

.ch-authorTab__count {
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 900;
  color: #64748b;
}

.ch-authorTab.is-active .ch-authorTab__count {
  background: rgba(59,130,246,.15);
  color: #60a5fa;
}

@media (max-width: 900px) {
  .ch-authorHero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ch-authorHero__avatar { display: flex; justify-content: center; }
  .ch-authorHero__badges { justify-content: center; }
  .ch-authorStats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-authorExpertise { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ch-authorStats,
  .ch-authorExpertise { grid-template-columns: 1fr; }
}

/* =============================================================================
   HOME — Themes / Features / Providers block
   ============================================================================= */

.ch-homeTaxBlock {
  margin-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ch-homeTaxRow {
  /* inherits ch-carousel styles */
}

/* =============================================================================
   HOME — Blog journal mobile carousel
   ============================================================================= */

/* Desktop: show grid, hide carousel */
.ch-homeJournal__grid--desktop {
  display: grid;
}

.ch-homeJournal__grid--mobile {
  display: none;
}

/* Mobile: hide grid, show carousel */
@media (max-width: 767px) {
  .ch-homeJournal__grid--desktop {
    display: none;
  }

  .ch-homeJournal__grid--mobile {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .ch-homeJournal__grid--mobile::-webkit-scrollbar {
    display: none;
  }

  .ch-homeJournal__grid--mobile .ch-carousel__track {
    display: flex;
    gap: 16px;
    padding-bottom: 8px;
  }

  .ch-carousel__item--blog {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .ch-carousel__item--blog .ch-homePostCard {
    width: 100%;
  }
}

/* =============================================================================
   HOME — Why CasinoHarbor section
   ============================================================================= */

.ch-whySection {
  margin-bottom: 72px;
  border-radius: 24px;
  padding: 48px 40px;
  background: rgba(15, 23, 42, .55);
  border: 1px solid rgba(255, 255, 255, .07);
  position: relative;
  overflow: hidden;
}

.ch-whySection::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(37, 99, 235, .10) 0%, transparent 70%);
  pointer-events: none;
}

.ch-whySection__inner {
  position: relative;
}

.ch-whySection__title {
  margin: 0 0 32px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
}

.ch-whySection__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 640px) {
  .ch-whySection {
    padding: 32px 20px;
  }

  .ch-whySection__grid {
    grid-template-columns: 1fr;
  }
}

.ch-whyItem {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ch-whyItem__check {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(16, 185, 129, .30);
  color: #10b981;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ch-whyItem__body strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.ch-whyItem__body p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

/* === Slot author card === */
.ch-authorCard {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}

.ch-authorCard__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 48px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
}

.ch-authorCard__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  font-weight: 700;
  font-size: 16px;
  color: #94a3b8;
}

.ch-authorCard__right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ch-authorCard__nameRow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ch-authorCard__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
}

.ch-authorCard__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.ch-authorCard__name:hover {
  color: #60a5fa;
}

.ch-authorCard__badge {
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
}

.ch-authorCard__role {
  font-size: 13px;
  color: #94a3b8;
}

.ch-authorCard__meta {
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 640px) {
  .ch-authorCard {
    align-items: flex-start;
  }
}

/* === Page title scroll fix — hard override === */
.ch-pageHead,
.ch-pageHead .ch-wrap,
.ch-pageHead__title,
.ch-pageHead__crumbs {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}

.ch-pageHead__title {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}
