
/* ═══════════════════════════════════════════════════
   Hero Mascot — Dual-element approach
   Desktop: flex column to right of text
   Mobile: floated right between paragraphs
   ═══════════════════════════════════════════════════ */

.hero-intro-row {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 880px;
  margin: 0 auto;
}

.hero-intro-text {
  flex: 1;
}

.hero-mascot img {
  width: 120px;
  height: auto;
}

.hero-mascot-sm {
  float: right;
  width: 80px;
  height: auto;
  margin: 0 0 10px 15px;
}


/* ═══════════════════════════════════════════════════
   Mobile Casino Cards — Table-to-Card Conversion
   CSS only, zero HTML changes
   Scoped to @media (max-width: 767px)
   ═══════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* Hero mascot — kill flex, stack naturally */
  .hero-intro-row {
    display: block;
  }

  /* Step 1: Flatten everything to block */
  .casino-comparison-table table,
  .casino-comparison-table thead,
  .casino-comparison-table tbody,
  .casino-comparison-table th,
  .casino-comparison-table td,
  .casino-comparison-table tr {
    display: block;
  }

  /* Step 2: Hide the header row */
  .casino-comparison-table thead {
    display: none;
  }

  /* Step 3: Kill table default styling */
  .casino-comparison-table table,
  .casino-comparison-table table.table-bordered {
    min-width: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    width: 100%;
  }

  /* Step 4: Kill Bootstrap borders */
  .casino-comparison-table tbody td,
  .casino-comparison-table .table-bordered td,
  .casino-comparison-table .table-bordered th {
    border: none !important;
    text-align: center;
  }

  /* Step 5: Disable horizontal scroll on wrapper */
  .casino-comparison-table,
  .casino-comparison-table > div {
    overflow-x: visible !important;
  }

  /* Step 6: Each <tr> as a card */
  .casino-comparison-table tbody tr {
    background: white !important;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    overflow: hidden;
    padding: 0;
  }

  /* ─── Step 7: Cell styling by role ───────────── */

  /* Casino/Bank name — quiet identifier */
  .casino-comparison-table tbody td:nth-child(1) {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #aaa;
    padding: 22px 20px 0 20px !important;
  }
  .casino-comparison-table tbody td:nth-child(1) strong {
    font-weight: 500;
    color: inherit;
  }

  /* Second column — editorial accent (best-for, support status) */
  .casino-comparison-table tbody td:nth-child(2) {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.75rem;
    font-style: italic;
    font-weight: 400;
    color: #016a46;
    padding: 3px 20px 18px 20px !important;
  }
  .casino-comparison-table tbody td:nth-child(2) span {
    font-style: normal;
    font-family: inherit;
  }

  /* Third column — primary data (bonus, the selling point) */
  .casino-comparison-table tbody td:nth-child(3) {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.01em;
    padding: 0 20px 12px 20px !important;
  }
  .casino-comparison-table tbody td:nth-child(3) span {
    font-size: 0.65rem;
    font-weight: 600;
    vertical-align: middle;
  }

  /* Fourth column — secondary info (wagering, etc) */
  .casino-comparison-table tbody td:nth-child(4) {
    font-size: 0.75rem;
    color: #999;
    padding: 0 20px 8px 20px !important;
  }

  /* Fifth column — tertiary / monospace whisper (code, method) */
  .casino-comparison-table tbody td:nth-child(5) {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.7rem;
    color: #ccc;
    letter-spacing: 0.08em;
    padding: 0 20px 16px 20px !important;
  }

  /* Last column — CTA button (full-width) */
  .casino-comparison-table tbody td:last-child {
    padding: 0 20px 20px 20px !important;
  }

  .casino-comparison-table tbody td:last-child a.btn {
    display: block !important;
    width: 100% !important;
    padding: 13px 0 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center !important;
    background: #016a46 !important;
    color: white !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    box-sizing: border-box;
  }

  .casino-comparison-table tbody td:last-child a.btn:active {
    opacity: 0.85;
  }

  /* Pages without CTA buttons (bank-blocking — last cell is text) */
  .casino-comparison-table tbody td:last-child:not(:has(a)) {
    font-size: 0.8rem;
    color: #666;
    padding: 0 20px 20px 20px !important;
  }

}
