/*
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;
}
* { box-sizing: border-box; }
/* =============================================================================
   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
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit
}

/* =============================================================================
   1. GLOBAL HEADER & BRANDING
   ============================================================================= */

.ch-joinBtn {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 11px;
  text-decoration: none;
}

/* Brand */
.ch-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
      padding-left: 25px;
}

/* Premium badge */
.ch-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #2563eb;
  box-shadow: 0 10px 28px rgba(37, 99, 235, .35);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.ch-brand:hover .ch-logo {
  background: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .45);
}

/* Icon (supports lucide currentColor) */
.ch-logo__icon {
  width: 20px;
  height: 20px;
  display: block;
  color: #ffffff;
}

/* Wordmark */
.ch-wordmark {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #60a5fa, #818cf8, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width:520px) {
  .ch-wordmark {
    display: none
  }
}

/* =============================================================================
   Slot page layout
   ============================================================================= */
.ch-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.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;
}

.ch-chip--muted {
  background: rgba(15, 23, 42, .35);
  border: 1px solid rgba(148, 163, 184, .14);
  color: #64748b;
}

.ch-chip--primary {
  background: #2563eb;
  border: 1px solid rgba(37, 99, 235, .25);
  color: #fff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, .22);
}

.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));
}

/* Slot cover container (prevents huge images on tablet/mobile) */
.ch-cover{
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
}

@media (max-width: 767px) {
  .ch-cover {
    aspect-ratio: 16 / 9;
  }
}

.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: 12px;
}

.ch-title {
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.02;
  font-size: clamp(34px, 4.5vw, 56px);
}

.ch-lead {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 58ch;
}

.ch-ctaRow {
  margin-top: 8px;
  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)
}

/* =============================================================================
   Metrics
   ============================================================================= */
.ch-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  /* tighter */
}

/* Tablet: still 2 cols (more readable) */
@media (min-width: 768px) and (max-width: 1199px) {
  .ch-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* Desktop only: 4 cols */
@media (min-width: 1100px) {
  .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: #64748b;
  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;
}

/* Desktop only: show Pros/Cons side by side */
@media (min-width: 1200px) {
  .ch-panels {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}


.ch-panel {
  border-radius: 40px;
  padding: 22px 22px 18px;
  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: 18px;
  color: #cbd5e1
}

.ch-panel li {
  margin: 10px 0
}

.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-style: italic;
  font-size: 18px;
  line-height: 1.6
}

/* 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: #94a3b8; /* Muted slate for labels */
    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);
}

.ch-tf__row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.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: all 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 */
.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;
}

/* Responsive iframe container */
.ch-modal__frame {
  width: 100%;
  height: 100%;
}

.ch-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Close Button */
.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;
}

/* 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% !important;
  padding: 0 16px 0 42px;
  /* Add padding so text doesn't hit the icon */
  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 !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}

/* Specific fix for the Home Grid 3-column layout */
.ch-homeGrid3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 900px) {
  .ch-homeGrid3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .ch-homeGrid3 {
    grid-template-columns: 1fr !important;
  }
}

.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;
}

.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;
}

/* Smaller, editorial-style image */
.ch-postHero__img {
  max-height: 240px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(15, 23, 42, .35);
}

.ch-postHero__img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* On mobile – even smaller */
@media (max-width: 768px) {
  .ch-postHero__img {
    max-height: 180px;
  }

  .ch-postHero__img img {
    height: 180px;
  }
}

.ch-postHero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 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;
}

/* =========================
   FEATURED SLOTS RAIL
   (matches your PHP markup)
   ========================= */

.ch-featuredSlots {
  margin: 26px 0;
  border-radius: 44px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(15, 23, 42, .35);
  padding: 18px;
  overflow: hidden;
}

.ch-featuredSlots__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ch-featuredSlots__title {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
  color: #fff;
}

.ch-featuredSlots__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-featuredSlots__more {
  color: #60a5fa;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  text-decoration: none;
}

.ch-featuredSlots__more:hover {
  text-decoration: underline;
}

/* buttons you output: .ch-railBtn */
.ch-railBtn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(2, 6, 23, .35);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  font-weight: 900;
}

.ch-railBtn:hover {
  filter: brightness(1.08);
}

/* rail container */
.ch-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.ch-rail::-webkit-scrollbar {
  height: 8px;
}

.ch-rail::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .18);
  border-radius: 999px;
}

/* card link */
.ch-railCard {
  flex: 0 0 auto;
  width: 220px;
  text-decoration: none;
  scroll-snap-align: start;
}

.ch-railCard__img {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .35);
  aspect-ratio: 16 / 10;
}

.ch-railCard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.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 {
  display: block;
  margin-top: 10px;
  font-weight: 950;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =============================================================================
   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) {

  /* 1. Archive Grids: Make sure both look identical */
  .ch-themesGrid,
  .ch-featuresGrid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px !important;
  }
}

/* =============================================================================
   RESCUE THEME SLIDER (Identical Tile Sizes)
   ============================================================================= */

/* 1. The Container (Ensures horizontal scrolling on mobile) */
.ch-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  width: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 10px 0;
}

.ch-carousel__viewport::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* 2. The Track (Keeps tiles in one line) */
.ch-carousel__track {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px;
  width: max-content; /* Critical: allows track to grow horizontally */
}
.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 --- */

/* =========================
   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);
}

/* STATS FIX */
.ch-homeStat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(15, 23, 42, .45);
  /* FIX: Ensure the container doesn't shrink smaller than its text */
  min-width: 0;
  width: 100%;
}

.ch-homeStat__body {
  /* FIX: Allows the text to truncate (...) instead of pushing the next box away */
  min-width: 0;
}

@media (min-width:900px) {
  .ch-homeStats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ch-homeStat {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .45);
}

.ch-homeStat__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(2, 6, 23, .35);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 18px;
  line-height: 1;
}

.ch-homeStat__body {
  min-width: 0;
}

.ch-homeStat__k {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.1;
  margin-bottom: 6px;
}

.ch-homeStat__v {
  font-size: 20px;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
}

/* ---------- SECTIONS ---------- */

.ch-homeSection__title {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
  color: #fff;
}

.ch-homeSection__sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(148, 163, 184, .85);
}

.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__links {
  display: flex;
  gap: 14px;
}

/* ---------- FEATURED GRID ---------- */

.ch-homeGrid {
  gap: 18px;
}

/* ---------- PROVIDERS ---------- */
/* PROVIDERS FIX */
.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);
}

.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;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}

.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 ---------- */

.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
   ============================================================================= */

/* Layout base */
.ch-home {
  display: block
}

/* Hero accent span used in template */
.ch-homeHero__titleAccent {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* 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);
}

/* Ensure hero inner matches site width (you already use .ch-wrap; still safe) */
.ch-homeHero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* CTA uses .ch-btn from your global CSS (keep) */
.ch-homeHero__cta .ch-btn {
  border-radius: 18px;
}

/* ---------- STATS (template uses grid wrapper) ---------- */
.ch-homeStats {
  margin: 26px 0 40px;
}

.ch-homeStats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media(min-width:900px) {
  .ch-homeStats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }
}

.ch-homeStat {
  padding: 16px 16px 14px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .45);
}

/* ---------- Section headings (template variants) ---------- */

.ch-homeSection__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 14px !important;
  margin-bottom: 18px;
}

.ch-homeSection__title {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
  color: #fff;
}

.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__sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(148, 163, 184, .85);
}

.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 */
.ch-carousel__track {
  display: flex !important;
  /* KILLS THE 4-ROW GRID */
  flex-wrap: nowrap !important;
  /* FORCES 1 SINGLE ROW */
  gap: 24px !important;
  /* Fixes cards being too close */
  padding: 10px 20px 40px !important;
  overflow-x: auto !important;
  /* Enables side-scrolling/swiping */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
  scroll-behavior: smooth !important;
}

.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)
}

/* =============================================================================
   PROVIDERS BLOCK — Centered & Polished
   ============================================================================= */
.ch-homeProviders {
  margin-top: 46px;
}

.ch-homeProviders__box {
  border-radius: 44px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.40);
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 32px;
}

@media(min-width:900px) {
  .ch-homeProviders__box {
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    padding: 48px;
  }
}

.ch-homeProviderCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* CENTERED */
  text-align: center;
  padding: 20px 12px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.32);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ch-homeProviderCard:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(2, 6, 23, 0.5);
}

/* Icon Box to match Carousel Cards */
.ch-homeProviderCard__logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 28px;
  margin-bottom: 12px;
}

.ch-homeProviderCard__name {
  font-size: 15px;
  font-weight: 950;
  color: #fff;
  margin-bottom: 4px;
  /* Prevent overlap on long names */
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-homeProviderCard__meta {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
}

/* Kicker for Providers section (optional) */
.ch-homeProviders__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

/* ---------- Journal (template uses PostCard naming) ---------- */
.ch-homeJournal {
  margin-top: 46px
}

.ch-homeJournal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media(min-width:900px) {
  .ch-homeJournal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

.ch-homePostCard {
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .45);
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}

@media(min-width:640px) {
  .ch-homePostCard {
    flex-direction: row
  }
}

.ch-homePostCard:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, .28);
}

.ch-homePostCard__img {
  width: 100%;
  height: 180px;
  flex: 0 0 auto;
  overflow: hidden;
}

@media(min-width:640px) {
  .ch-homePostCard__img {
    width: 220px;
    height: 180px
  }
}

.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: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.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: 18px;
  font-weight: 950;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.ch-homePostCard__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ch-homePostCard__meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .25);
}

/* ---------- SEO at bottom ---------- */
.ch-homeSeo {
  margin-top: 60px
}

.ch-homeSeo .ch-seoText__body {
  color: rgba(226, 232, 240, .80);
  line-height: 1.75;
  font-size: 15px;
}

.ch-homeSeo .ch-seoText__body p {
  margin: 0 0 12px
}

.ch-homeSeo .ch-seoText__body a {
  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-homeSection,
.ch-homeHero,
.ch-homeBand {
  overflow: hidden;
}

/* --- Stats Bar Alignment Fix --- */
.ch-homeStat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  /* Prevents overflow */
}

.ch-homeStat__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  font-size: 20px;
}

.ch-homeStat__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* =============================================================================
   PROVIDERS BLOCK — fix overlap inside cards
   ============================================================================= */

.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;
}

.ch-carouselBtn:hover {
  filter: brightness(1.08);
}

.ch-carouselBtn:active {
  transform: scale(.98);
}

.ch-carousel__viewport {
  position: relative;
  overflow: hidden;
  /* hide scrollbar completely */
  border-radius: 28px;
}



/* Carousel / compact theme card styles removed (duplicate) */


/* =============================================================================
   OPTIONAL: make home sections consistent spacing
   ============================================================================= */

.ch-homeSection__title {
  margin: 0;
  font-size: 28px;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.02em;
}

.ch-homeSection__sub {
  margin: 6px 0 0;
  color: rgba(148, 163, 184, .9);
  line-height: 1.6;
}

/* 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;
}

.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: 28px 0 18px;
  position: relative;
  overflow: hidden;
}

.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: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
}

.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: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

/* 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-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
}

.ch-author-avatar {
  width: 24px;
  height: 24px;
  background: #1e293b;
  color: #3b82f6;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.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
   Base = mobile (1 col)
   Tablet = still 1 col (sidebar below) but tighter hero layout
   Desktop = 2 col
   ========================================================= */

.ch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

/* -------- TABLET (iPad, etc.) -------- */
@media (min-width: 768px) and (max-width: 1199px) {

  /* Keep sidebar below main */
  .ch-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Top section: image + hero, but smaller than desktop */
  .ch-mainTop {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
  }

  /* Don't force super narrow title width */
  .ch-title {
    max-width: none;
  }
}

/* -------- DESKTOP (true desktop only) -------- */
@media (min-width: 1200px) {

  /* Outer grid: main + sidebar */
  .ch-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    column-gap: 56px;
    row-gap: 40px;
  }

  .ch-main {
    min-width: 0;
  }

  /* Inner top row: image + hero */
  .ch-mainTop {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    column-gap: 56px;
    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;
  }
}

/* Slot page: force clean stacking on tablets */
@media (max-width: 767px) {
  .ch-slot .ch-grid {
    grid-template-columns: 1fr;
  }

  .ch-slot .ch-mainTop {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .ch-slot .ch-title {
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.05;
  }
}

/* Slot page: only go 2-column when there's real space */
@media (min-width: 1100px) {
  .ch-slot .ch-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}
.ch-panels {
  margin-bottom: 40px;
}

.ch-card+.ch-card {
  margin-top: 32px;
}



/* 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; /* Takes up the remaining space */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes stats to the absolute bottom */
}

.ch-slotCard__title {
  margin: 0 0 12px 0;
  font-size: 17px;
  font-weight: 850;
  color: #fff;
  line-height: 1.2;
}

/* 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 !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  width: max-content; /* Critical: allows it to be wider than the screen */
}

/* 3. Theme Card: THE IDENTICAL TILES */
.ch-themeCard {
  /* This forces every single tile to be exactly 140px wide */
  flex: 0 0 140px !important; 
  /* This forces every single tile to be exactly 160px tall */
  height: 170px !important;
  
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 12px;
  display: flex !important;
  flex-direction: column !important;
  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 !important;
    height: 145px !important;
    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 !important;
    text-decoration: none !important; /* Removes default underline */
    font-size: 18px !important;
    font-weight: 900 !important; 
    line-height: 1.2;
    display: block;
    transition: color 0.2s ease;
    letter-spacing: -0.02em; 
}

/* Hover state: Change color ONLY, no underline */
.ch-slotCard:hover .ch-slotCard__title a {
    color: #60a5fa !important; 
    text-decoration: none !important; /* Forces underline to stay hidden */
}
/* 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;
}

/* Language switcher */
.ch-lang {
  display: flex;
  align-items: center;
}

.ch-lang ul {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  margin: 0;
  list-style: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}

.ch-lang li {
  display: flex;
}

.ch-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  transition: background .15s ease, color .15s ease;
}

.ch-lang li.current-lang a {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
}

.ch-lang a:hover {
  color: #ffffff;
}

/* --- 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;
}
/* =============================================================================
   FIX: Home Stats Mobile & Desktop Optimization
   ============================================================================= */

/* 1. Grid Container: Forces a clean 2x2 on mobile */
.ch-homeStats__grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 20px 0 !important;
}

/* 2. Stat Card: Ensures internal alignment */
.ch-homeStat {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 12px !important;
  background: rgba(15, 23, 42, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  min-width: 0 !important; /* Prevents container blowout */
}

/* 3. Icon Box: Prevents the emoji from shrinking */
.ch-homeStat__icon {
  flex: 0 0 40px !important; /* Fixed width */
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(2, 6, 23, 0.35) !important;
  border-radius: 12px !important;
  font-size: 18px !important;
}

/* 4. Text Body: Fixes truncation and overflow */
.ch-homeStat__body {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* 5. The Label (e.g. "Slot Providers"): Handles long words */
.ch-homeStat__k {
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  margin-bottom: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important; /* Adds '...' if text is too long */
}

/* 6. The Value (e.g. "96.42%") */
.ch-homeStat__v {
  font-size: 16px !important;
  font-weight: 950 !important;
  color: #fff !important;
  line-height: 1 !important;
}

/* 7. Desktop Adjustments (900px and up) */
@media (min-width: 900px) {
  .ch-homeStats__grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
  
  .ch-homeStat {
    padding: 18px 16px !important;
  }
  
  .ch-homeStat__v {
    font-size: 20px !important;
  }
  
  .ch-homeStat__k {
    font-size: 10px !important;
  }
}



/* =========================================================
   CASINOHARBOR NAV ? CANONICAL
   Matches header.php markup + WP menu output
   ========================================================= */

/* ---------- NAV RESET (prevents bullets/underlines leaking in) ---------- */
.ch-nav__list,
.ch-nav__list ul,
#ch-mobilePanel .ch-mobilePanel__navList,
#ch-mobilePanel .ch-mobilePanel__navList ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.ch-nav__list a,
#ch-mobilePanel a{
  text-decoration: none;
}

/* ---------- HEADER LAYOUT ---------- */
.ch-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* ---------- DESKTOP DEFAULT ---------- */
.ch-nav{ display:block; }
.ch-burger{ display:none; }

/* Desktop UL */
.ch-nav__list{
  display:flex;
  align-items:center;
  gap:32px;
}

/* Top links */
.ch-nav__list > li > a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:14px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#fff;
  padding:12px 0;
}

/* Make each top item an anchor for its dropdown */
.ch-nav__list > li{
  position:relative;
}

/* -------- DESKTOP DROPDOWN (WP uses .sub-menu + .menu-item-has-children) -------- */
.ch-nav__list > li > .sub-menu{
  display:block; /* WP sometimes sets display:none in themes */
  position:absolute;
  top:100%;
  margin-top:10px;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  min-width:220px;

  background:rgba(2,6,23,.98);
  border:1px solid rgba(148,163,184,.14);
  border-radius:18px;
  padding:12px;

  box-shadow:0 20px 60px rgba(0,0,0,.45);
  backdrop-filter:blur(18px);

  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index:1000;
}

/* Show dropdown on hover/focus */
.ch-nav__list > li:hover > .sub-menu,
.ch-nav__list > li:focus-within > .sub-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

/* Create an invisible hover bridge between the parent link and submenu */
.ch-nav__list > li > .sub-menu::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-14px;
  height:14px;
}

/* Dropdown links */
.ch-nav__list .sub-menu a{
  display:block;
  padding:12px 16px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-radius:12px;
  color:rgba(226,232,240,.88);
}

.ch-nav__list .sub-menu a:hover{
  background:rgba(59,130,246,.15);
  color:#fff;
}

/* ---------- ACTIONS ---------- */
.ch-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}

/* Burger button base (style only, NOT visibility) */
.ch-burger{
  width:44px;
  height:44px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(148,163,184,.18);
  cursor:pointer;
  padding:8px;
}

/* ---------- MOBILE/TABLET ---------- */
@media (max-width:1024px){
  .ch-nav{ display:none; }
  .ch-burger{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:4px;
  }

  .ch-burger__line{
    display:block;
    width:24px;
    height:2px;
    background:#fff;
    border-radius:2px;
  }

  /* Mobile panel show/hide */
  #ch-mobilePanel[hidden]{ display:none; }
  #ch-mobilePanel:not([hidden]){
    display:block;
    position:fixed;
    inset:0;
    z-index:9999;
  }

  #ch-mobilePanel .ch-mobilePanel__overlay{
    position:absolute;
    inset:0;
    background:rgba(2,6,23,.55);
  }

  #ch-mobilePanel .ch-mobilePanel__drawer{
    position:absolute;
    top:0;
    right:0;
    height:100%;
    width:min(420px, 92vw);
    background:rgba(2,6,23,.98);
    border-left:1px solid rgba(148,163,184,.14);
    display:flex;
    flex-direction:column;
    padding:18px;
  }

  #ch-mobilePanel .ch-mobilePanel__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:14px;
    border-bottom:1px solid rgba(148,163,184,.12);
  }

  #ch-mobilePanel .ch-mobilePanel__label{
    color:rgba(226,232,240,.75);
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
    font-size:10px;
  }

  #ch-mobilePanel .ch-mobileClose{
    width:44px;
    height:44px;
    border-radius:14px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(148,163,184,.18);
    color:#fff;
    cursor:pointer;
  }

  /* Mobile list */
  #ch-mobilePanel .ch-mobilePanel__nav{
    padding-top:16px;
    overflow:auto;
  }

  #ch-mobilePanel .ch-mobilePanel__navList{
    display:grid;
    gap:12px;
  }

  /* Mobile item row (your walker outputs .ch-navItem etc.) */
  #ch-mobilePanel .ch-navItem{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 52px 14px 14px; /* reserve space for chevron */
    border-radius:18px;
    background:rgba(15,23,42,.35);
    border:1px solid rgba(148,163,184,.14);
    color:#fff;
  }

  #ch-mobilePanel .ch-navItem__icon{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(148,163,184,.14);
    flex-shrink:0;
  }

  #ch-mobilePanel .ch-navItem__title{
    font-size:16px;
    font-weight:800;
    color:#fff;
  }

  /* Chevron stays pinned (won't move down when submenu opens) */
  #ch-mobilePanel .ch-menuItem.has-children{
    position:relative;
  }

  #ch-mobilePanel .ch-navItem__toggle{
    position:absolute;
    top:50%;
    right:14px;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(148,163,184,.18);
    color:#fff;
    cursor:pointer;
  }

  #ch-mobilePanel .ch-navItem__toggle i{
    transition:transform .2s ease;
  }

  #ch-mobilePanel .ch-menuItem.is-open > .ch-navItem__toggle i{
    transform:rotate(180deg);
  }

  /* Submenu */
  #ch-mobilePanel .ch-subMenu{
    display:none;
    margin:10px 0 0;
    padding:0 0 0 58px;
    gap:10px;
  }

  #ch-mobilePanel .ch-menuItem.is-open > .ch-subMenu{
    display:grid;
  }

  #ch-mobilePanel .ch-subMenu .ch-navItem{
    padding:12px 14px;
    background:rgba(15,23,42,.25);
  }

  /* Bottom CTA */
  #ch-mobilePanel .ch-mobilePanel__bottom{
    margin-top:auto;
    padding-top:14px;
    border-top:1px solid rgba(148,163,184,.12);
  }

  #ch-mobilePanel .ch-mobileJoin{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:16px 14px;
    border-radius:16px;
    background:#2563eb;
    color:#fff;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
    font-size:12px;
  }
}

/* ---------- DESKTOP SAFETY ---------- */
@media (min-width:1025px){
  /* prevent clipping by header wrappers */
  .ch-header,
  .ch-header__inner{
    overflow:visible;
  }

  /* Always hide the mobile drawer on desktop. */
  #ch-mobilePanel{ display:none !important; }
}

/* ---------- NO SCROLL WHEN OPEN (your JS should toggle this) ---------- */
html.ch-noScroll,
body.ch-noScroll{
  overflow:hidden;
}

/* ---------- DESKTOP CHEVRON ---------- */
@media (min-width:1025px){
  .ch-nav__list > li.menu-item-has-children > a::after{
    content:"";
    display:inline-block;
    width:8px;
    height:8px;
    margin-left:10px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg) translateY(-1px);
    opacity:.8;
  }

  .ch-nav__list > li.menu-item-has-children:hover > a::after,
  .ch-nav__list > li.menu-item-has-children:focus-within > a::after{
    transform:rotate(-135deg) translateY(2px);
    opacity:1;
  }

  .ch-nav__list > li.menu-item-has-children > a{
    padding-right:2px;
  }
}

/* ===========================
   BLOG CATEGORY / ARCHIVE
   Scoped to avoid slot styles
   =========================== */

.ch-blog-archive{
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

/* If .ch-wrap already has max-width/padding, keep this minimal */
.ch-wrap.ch-blog-archive{
  /* optional: if ch-wrap already handles width, you can remove the max-width above */
}

/* ---------------------------
   Header (keeps your ch-cat-* intact)
   --------------------------- */

.ch-cat-header{
  margin-bottom: 22px;
}

.ch-cat-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 10px;
}

.ch-cat-icon .icon-letter{
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

/* category accent colors (your PHP sets these classes) */
.ch-cat-icon.is-blue{ color: #60a5fa; }
.ch-cat-icon.is-indigo{ color: #818cf8; }
.ch-cat-icon.is-amber{ color: #fbbf24; }
.ch-cat-icon.is-emerald{ color: #34d399; }

.ch-cat-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ch-cat-title{
  font-size: 34px;
  line-height: 1.15;
  margin: 8px 0 10px;
}

.ch-cat-subtitle{
  opacity: .85;
  line-height: 1.55;
  max-width: 72ch;
  margin: 0;
}

/* ---------------------------
   Grid
   --------------------------- */

.ch-blog-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 980px){
  .ch-blog-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .ch-blog-grid{ grid-template-columns: 1fr; }
}

/* ---------------------------
   Card
   --------------------------- */

.ch-blog-card{
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ch-blog-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}

.ch-blog-card__link{
  display: block;
  height: 100%;
  text-decoration: none;
}

/* Media */
.ch-blog-card__media{
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}

.ch-blog-card__media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 240ms ease;
}

.ch-blog-card:hover .ch-blog-card__media img{
  transform: scale(1.03);
}

.ch-blog-image-placeholder{
  width: 100%;
  height: 100%;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(255,255,255,.08), transparent),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

/* Badge overlay */
.ch-blog-card__badge{
  position: absolute;
  left: 12px;
  bottom: 12px;
}

.ch-blog-badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12px;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Body */
.ch-blog-card__body{
  padding: 14px 14px 12px;
}

.ch-blog-card__meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: .80;
}

.ch-blog-card__title{
  font-size: 15px;
  line-height: 1.35;
  margin: 8px 0 12px;
}

/* Footer */
.ch-blog-card__footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.ch-blog-author{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ch-blog-author span{
  font-size: 13px;
  opacity: .90;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.ch-blog-author__avatar{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

.ch-blog-readmore{
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .85;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ch-blog-card:hover .ch-blog-readmore{
  opacity: 1;
}

/* ---------------------------
   Pagination
   --------------------------- */

.ch-blog-pagination{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ch-blog-pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  font-size: 13px;
}

.ch-blog-pagination .page-numbers:hover{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
}

.ch-blog-pagination .current{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
}

/* ---------------------------
   Back button (if you want it consistent)
   --------------------------- */

.ch-back-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .9;
}

.ch-back-btn:hover{
  opacity: 1;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
