.ndb-main {
  --ndb-ink: #17253b;
  --ndb-muted: #526176;
  --ndb-navy: #00247d;
  --ndb-green: #16824a;
  --ndb-line: #dce4ee;
  color: var(--ndb-ink);
  font-family: inherit;
  line-height: 1.65;
}
.ndb-main p { max-width: 78ch; text-wrap: pretty; }

.ndb-home-hero { padding-top: 32px; padding-bottom: 32px; background-color: #040b19; }
.ndb-home-hero-grid { align-items: start; }
.ndb-home-hero-copy { max-width: 880px; }
.ndb-home-hero h1,
.ndb-home-hero .ndb-lead { text-shadow: 0 1px 4px rgba(0, 0, 0, .48); }
.ndb-home-hero .ndb-lead { color: #f2f5fa; font-size: 1.08rem; margin-top: 16px; max-width: 760px; }

.ndb-listing-frame { margin-top: 20px; margin-bottom: 8px; }
.ndb-sidebar.ndb-home-sidebar { align-content: start; position: static; }
.ndb-home-content { display: grid; gap: 20px; min-width: 0; }
.ndb-home-article-column { padding-top: 0; }
.ndb-filter-panel,
.ndb-listing-results {
  background: #fff;
  border: 1px solid var(--ndb-line);
  border-radius: 4px;
  padding: 18px;
}
.ndb-filter-panel { align-self: start; display: grid; gap: 16px; }
.ndb-filter-panel h2 { border-bottom: 1px solid var(--ndb-line); color: var(--ndb-ink); font-size: 0.9rem; margin: 0; padding: 0 0 12px; text-transform: uppercase; }
.ndb-filter-group { display: grid; gap: 6px; }
.ndb-filter-group strong { color: var(--ndb-ink); font-size: 0.84rem; }
.ndb-filter-group span { color: var(--ndb-muted); font-size: 0.82rem; }
.ndb-listing-results h2 { margin-top: 0; }
.ndb-empty-state { background: #f8fafc; border: 1px solid var(--ndb-line); border-radius: 8px; padding: 22px; }
.ndb-empty-label { color: var(--ndb-green); display: block; font-size: 0.74rem; font-weight: 750; letter-spacing: 0.05em; margin-bottom: 7px; text-transform: uppercase; }
.ndb-empty-state h3 { color: var(--ndb-ink); font-size: 1.15rem; line-height: 1.35; margin: 0 0 8px; }
.ndb-empty-state p { color: var(--ndb-muted); margin: 0 0 13px; }
.ndb-empty-state a { font-size: 0.88rem; font-weight: 700; }

/* Archived casino comparisons use the logo / offer / code card layout of the source listing. */
.ndb-casino-filters { display: grid; gap: 9px; }
.ndb-casino-filters label { color: var(--ndb-ink); font-size: 0.82rem; font-weight: 700; }
.ndb-casino-filters input,
.ndb-casino-filters select { background: #fff; border: 1px solid #cbd5e1; border-radius: 5px; color: var(--ndb-ink); font: inherit; font-size: 0.88rem; min-height: 40px; min-width: 0; padding: 8px 10px; width: 100%; }
.ndb-casino-filters input:focus-visible,
.ndb-casino-filters select:focus-visible,
.ndb-casino-filters button:focus-visible,
.ndb-casino-card__action a:focus-visible { outline: 3px solid #3d73c7; outline-offset: 2px; }
.ndb-casino-filters button { background: #eef3fa; border: 1px solid #cbd9ed; border-radius: 5px; color: var(--ndb-navy); cursor: pointer; font-size: 0.84rem; font-weight: 700; margin-top: 4px; min-height: 40px; }
.ndb-filter-note { border-top: 1px solid var(--ndb-line); color: var(--ndb-muted); font-size: 0.8rem; line-height: 1.5; margin: 0; padding-top: 14px; }
.ndb-casino-disclosure { background: #f3f6fb; color: var(--ndb-muted); font-size: 0.84rem; line-height: 1.55; margin: 0 0 16px; padding: 11px 14px; }
.ndb-casino-list { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; list-style: none; margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: 100% !important; }
.ndb-casino-card { background: #fff; border: 1px solid #d7dce4; border-radius: 4px; box-sizing: border-box; display: block; grid-column: 1 / -1; justify-self: stretch; min-width: 0; max-width: 100% !important; overflow: hidden; width: 100% !important; }
.ndb-casino-card[hidden] { display: none !important; }
.ndb-casino-card__header { align-items: center; background: #f5f5f6; border-bottom: 1px solid #d7dce4; display: flex; gap: 14px; justify-content: flex-start; min-height: 50px; padding: 7px 16px; }
.ndb-casino-card__header img { display: block; height: 38px; max-width: 104px; object-fit: contain; width: auto; }
.ndb-casino-card__header strong { color: #111827; font-size: 14px; text-align: left; }
.ndb-casino-card__body { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
.ndb-casino-card__summary { min-width: 0; }
.ndb-casino-card__summary h3 { color: #101827; font-size: 16px; line-height: 20px; margin: 0 0 11px; }
.ndb-casino-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ndb-casino-card__tags span { border: 1px solid #96b4e1; border-radius: 3px; color: var(--ndb-navy); font-size: 0.67rem; font-weight: 750; line-height: 1.2; padding: 3px 6px; text-transform: uppercase; }
.ndb-casino-card__tags span:first-child { background: #eaf0fa; }
.ndb-casino-card__summary p { color: var(--ndb-muted); font-size: 14px; line-height: 1.5; margin: 12px 0 0; }
.ndb-casino-card__summary .ndb-casino-card__source { font-size: 12px; margin-top: 8px; overflow-wrap: anywhere; }
.ndb-casino-card__summary p strong { color: var(--ndb-ink); }
.ndb-casino-card__action { align-content: center; display: grid; gap: 8px; min-width: 0; }
.ndb-casino-card__action-label { color: var(--ndb-muted); font-size: 0.74rem; text-align: right; }
.ndb-casino-card__code { border: 1px dashed #3d73c7; border-radius: 4px; color: var(--ndb-ink); font-size: 0.82rem; font-weight: 700; overflow-wrap: anywhere; padding: 10px; text-align: center; }
.ndb-main .ndb-casino-card__action a { align-items: center; background: var(--ndb-navy); border-radius: 4px; color: #fff; display: inline-flex; font-size: 0.84rem; font-weight: 700; gap: 6px; justify-content: center; min-height: 40px; padding: 9px 12px; text-align: center; text-decoration: none; }
.ndb-main .ndb-casino-card__action a:hover { background: #1a52b8; color: #fff; }
.ndb-casino-no-results { background: #f3f6fb; border: 1px solid var(--ndb-line); border-radius: 5px; color: var(--ndb-muted); margin: 14px 0 0; padding: 18px; }
.ndb-casino-no-results[hidden] { display: none !important; }

.ndb-article-layout { align-items: start; }
.ndb-article-column { min-width: 0; }
.ndb-sidebar { align-self: start; }
.ndb-article-column > .ndb-article { margin-top: 0; }
.ndb-article-column > .ndb-related { margin-top: 22px; }

.ndb-editorial-credit {
  background: #fff;
  border: 1px solid var(--ndb-line);
  border-radius: 4px;
  color: var(--ndb-muted);
  font-size: 0.86rem;
  margin-top: 18px;
  padding: 16px;
}

.ndb-hero {
  background: linear-gradient(135deg, #fff 0%, #f2f6fd 100%);
  border: 1px solid var(--ndb-line);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 54px);
}

.ndb-hero-grid {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
}

.ndb-eyebrow,
.ndb-calc-label {
  color: var(--ndb-green);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.ndb-hero h1 {
  color: var(--ndb-navy);
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
  max-width: 780px;
}

.ndb-lead {
  color: var(--ndb-muted);
  font-size: 1.13rem;
  margin: 20px 0 0;
  max-width: 760px;
}

.ndb-content-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  margin-top: 22px;
}

.ndb-sidebar { display: grid; gap: 16px; position: sticky; top: 20px; }

.ndb-section,
.ndb-support {
  background: #fff;
  border: 1px solid var(--ndb-line);
  border-radius: 14px;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 30px);
}

.ndb-section h2,
.ndb-support h2 {
  color: var(--ndb-navy);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 14px;
}

.ndb-main a { color: #174fa6; text-underline-offset: 3px; }
.ndb-main a:hover { color: var(--ndb-navy); }
.ndb-article p { margin: 0 0 14px; }
.ndb-article p:last-child { margin-bottom: 0; }
.ndb-section h3 { color: var(--ndb-ink); font-size: 1.05rem; line-height: 1.35; margin: 0 0 8px; }

.ndb-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.ndb-info-card {
  background: #f8fafc;
  border: 1px solid var(--ndb-line);
  border-radius: 12px;
  padding: 18px;
}

.ndb-info-card p { color: var(--ndb-muted); margin: 0; }

.ndb-timeline {
  border-left: 2px solid #c9d7eb;
  display: grid;
  gap: 17px;
  margin: 20px 0;
  padding-left: 20px;
}

.ndb-timeline-item { position: relative; }
.ndb-timeline-item::before {
  background: var(--ndb-green);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #9bb7a8;
  content: "";
  height: 10px;
  left: -27px;
  position: absolute;
  top: 6px;
  width: 10px;
}

.ndb-date { color: var(--ndb-navy); display: block; font-weight: 750; margin-bottom: 3px; }
.ndb-caveat { background: #f5f7fb; border-radius: 8px; color: var(--ndb-muted); font-size: 0.95rem; padding: 14px 16px; }
.ndb-table-wrap { max-width: 100%; overflow: visible; }
.ndb-table { border-collapse: collapse; font-size: 0.94rem; table-layout: fixed; width: 100%; }
.ndb-table th, .ndb-table td { border-bottom: 1px solid var(--ndb-line); padding: 12px 13px; text-align: left; vertical-align: top; }
.ndb-table thead th { background: #edf2f9; color: var(--ndb-navy); font-size: 0.84rem; }
.ndb-table tbody th { color: var(--ndb-ink); width: 22%; }
.ndb-table td { overflow-wrap: anywhere; }

.ndb-calculation {
  background: #f2f6fd;
  border: 1px solid #cbd9ed;
  border-radius: 12px;
  margin: 18px 0;
  padding: 20px;
}

.ndb-calc-label { color: var(--ndb-muted); font-size: 0.75rem; }
.ndb-formula { align-items: center; color: var(--ndb-navy); display: flex; flex-wrap: wrap; font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 650; gap: 9px; line-height: 1.35; margin: 0 0 12px !important; }
.ndb-formula strong { color: var(--ndb-green); }
.ndb-checklist { counter-reset: ndb-step; list-style: none; margin: 18px 0 0; padding: 0; }
.ndb-checklist li { border-bottom: 1px solid var(--ndb-line); counter-increment: ndb-step; min-height: 44px; padding: 10px 0 12px 45px; position: relative; }
.ndb-checklist li::before { align-items: center; background: #eaf4ee; border-radius: 50%; color: var(--ndb-green); content: counter(ndb-step); display: flex; font-size: 0.85rem; font-weight: 750; height: 30px; justify-content: center; left: 0; position: absolute; top: 9px; width: 30px; }
.ndb-faq details { border-top: 1px solid var(--ndb-line); padding: 14px 0; }
.ndb-faq summary { color: var(--ndb-navy); cursor: pointer; font-weight: 700; }
.ndb-faq details p { color: var(--ndb-muted); margin: 10px 0 0; }
.ndb-support { background: #eaf4ee; border-color: #c8e2d1; }
.ndb-support h2 { font-size: 1.25rem; }

.ndb-related { margin-top: 34px; }
.ndb-related-heading { margin: 0 0 16px; }
.ndb-related-heading .ndb-eyebrow { margin-bottom: 5px; }
.ndb-related-heading h2 { color: var(--ndb-navy); font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; margin: 0; }
.ndb-related-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ndb-related-card { background: #fff; border: 1px solid var(--ndb-line); border-radius: 12px; color: var(--ndb-ink) !important; display: flex; flex-direction: column; gap: 8px; min-height: 145px; padding: 19px; text-decoration: none; }
.ndb-related-card > span:first-child { color: var(--ndb-green); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.ndb-related-card strong { color: var(--ndb-navy); font-size: 1.02rem; line-height: 1.35; }
.ndb-related-card .ndb-card-link { color: #174fa6; font-size: 0.88rem; font-weight: 700; margin-top: auto; }
.ndb-related-card:hover { border-color: #afc4e2; box-shadow: 0 5px 18px rgba(23, 37, 59, 0.06); }

@media (max-width: 720px) {
  .ndb-home-hero { padding-top: 20px; padding-bottom: 20px; }
  .ndb-home-hero-grid, .ndb-listing-frame, .ndb-article-layout, .ndb-content-grid { grid-template-columns: 1fr !important; }
  .ndb-sidebar { position: static; }
  .ndb-related-grid { grid-template-columns: 1fr; }
  .ndb-card-grid { grid-template-columns: 1fr; }
  .ndb-casino-card__body { grid-template-columns: 1fr; }
  .ndb-casino-card__action { border-top: 1px solid #d7dce4; padding: 12px 0 0; }
  .ndb-casino-card__action-label { text-align: left; }
  .ndb-casino-filters { gap: 7px 10px; grid-template-columns: minmax(100px, 0.65fr) minmax(0, 1fr); }
  .ndb-casino-filters label { align-self: center; }
  .ndb-casino-filters button { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .ndb-table { display: block; min-width: 0; }
  .ndb-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .ndb-table tbody { display: grid; gap: 10px; width: 100%; }
  .ndb-table tbody tr { display: block; padding: 12px; border: 1px solid var(--ndb-line); border-radius: 8px; background: #fff; }
  .ndb-table tbody th { display: block; width: 100%; min-width: 0; padding: 0 0 8px; border-bottom: 1px solid var(--ndb-line); font-size: 0.95rem; }
  .ndb-table tbody td { display: block; padding: 9px 0; border-bottom: 1px solid var(--ndb-line); font-size: 0.86rem; line-height: 1.45; }
  .ndb-table tbody td:last-child { border-bottom: 0; padding-bottom: 0; }
  .ndb-table tbody td::before { display: block; margin-bottom: 3px; color: var(--ndb-navy); content: attr(data-label); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
}
