/* ============================================
   WAGERWIT — LAYOUT.CSS
   Page layouts, grids, spacing, responsive
   ============================================ */

/* ============================================
   1. SITE STRUCTURE
   ============================================ */
.site-main {
  min-height: calc(100vh - var(--header-height));
  background: var(--color-bg-secondary);
}

/* ============================================
   2. HERO SECTION
   ============================================ */
.hero {
  padding-top: 70px;
  padding-bottom: 5px;
}

/* ============================================
   HOMEPAGE SECTION BACKGROUNDS & SPACING
   Two-tone rhythm: #FFFFFF / #F5F5F7
   Scoped to .home (WordPress body class) only
   ============================================ */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.home .section-hero            { background: #F5F5F7; padding-top: 65px; padding-bottom: 5px; }
.home .section-top-picks       { background: #f8f8f8; margin-top: 0; }
.home .section-best-for        { background: #F5F5F7; }
.home .section-latest-bonuses  { background: #f8f8f8; }
.home .section-choose-type     { background: #F5F5F7; }
.home .section-guides          { background: #f8f8f8; }
.home .section-trust-strip     { background: #F5F5F7; }

.hero__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-accent);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
  max-width: 640px;
}

.hero__subtitle {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin-bottom: var(--space-8);
}

.hero .filter-bar {
  margin-top: var(--space-6);
}

/* ============================================
   3. CASINO LIST LAYOUT
   ============================================ */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: 36px;
}

.casino-list::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #e5e7eb 20%,
    #e5e7eb 80%,
    transparent 100%
  );
  margin-top: -36px;
  margin-bottom: 0;
  align-self: stretch;
}

/* ============================================
   4. CASINO GRID (App Store grid — 2 col)
   ============================================ */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (max-width: 640px) {
  .casino-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   5. FEATURED STRIP (horizontal scroll)
   ============================================ */
.featured-strip {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--space-2);
  scroll-snap-type: x mandatory;
}

.featured-strip::-webkit-scrollbar {
  display: none;
}

.featured-strip > * {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: clamp(280px, 40vw, 360px);
}

/* ============================================
   6. SINGLE CASINO PAGE LAYOUT
   ============================================ */
.single-casino-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-8);
  align-items: start;
}

.single-casino-layout__main {
  min-width: 0;
}

.single-casino-layout__sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

@media (max-width: 1024px) {
  .single-casino-layout {
    grid-template-columns: 1fr;
  }

  .single-casino-layout__sidebar {
    position: static;
    order: -1;
  }
}

/* ============================================
   7. SIDEBAR CTA BOX
   ============================================ */
.sidebar-cta {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  text-align: center;
}

.sidebar-cta__logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  margin-inline: auto;
  margin-bottom: var(--space-4);
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.sidebar-cta__score {
  font-size: 40px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.sidebar-cta__score-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.sidebar-cta__btn {
  width: 100%;
  margin-bottom: var(--space-3);
}

.sidebar-cta__disclaimer {
  font-size: 10px;
  color: var(--color-text-tertiary);
  line-height: var(--leading-relaxed);
}

/* ============================================
   8. CONTENT SECTIONS (single casino)
   ============================================ */
.content-section {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.content-section__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 0.5px solid var(--color-border);
}

/* ============================================
   9. SPECS TABLE
   ============================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 0.5px solid var(--color-border);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--color-text-secondary);
  width: 40%;
  padding-right: var(--space-4);
}

.specs-table td:last-child {
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
}

/* ============================================
   10. FAQ SECTION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 0.5px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question__icon {
  font-size: 18px;
  color: var(--color-text-tertiary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer__inner {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================
   11. BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: var(--space-4) 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.breadcrumb a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb__separator {
  color: var(--color-text-tertiary);
  opacity: 0.5;
}

/* ============================================
   12. PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-10) 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.page-numbers:hover {
  background: var(--color-bg-secondary);
}

.page-numbers.current {
  background: var(--color-accent);
  color: #fdfdff;
}

/* ============================================
   13. RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
  .hero__title {
    font-size: clamp(28px, 4vw, 44px);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: var(--space-8);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  .content-section {
    padding: var(--space-5);
  }

  .sidebar-cta {
    padding: var(--space-5);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .casino-card {
    padding: var(--space-4);
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
  padding: var(--space-8) 0;
  border-top: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
}

.trust-item strong {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.trust-item span {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 640px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

/* ============================================
   BEST FOR SECTION
   ============================================ */
.best-for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.best-for-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

.best-for-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.best-for-card__icon {
  font-size: 28px;
  line-height: 1;
}

.best-for-card__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-normal);
  line-height: var(--leading-snug);
}

.best-for-card__count {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

@media (max-width: 768px) {
  .best-for-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .best-for-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }
}

.archive-hero {
  padding: var(--space-10) 0 var(--space-6);
}

.archive-hero__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-3);
}

.archive-hero__sub {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-6);
}

/* ============================================
   GUIDE GRID + CARDS
   ============================================ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-4);
}

.guide-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.guide-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.guide-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.guide-card:hover .guide-card__image img {
  transform: scale(1.03);
}

.guide-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.guide-card__title {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-normal);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.guide-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
  margin-bottom: var(--space-4);
}

.guide-card__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-accent);
}

/* Guide single layout */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-8);
  align-items: start;
  padding-bottom: var(--space-16);
}

.guide-layout__main {
  min-width: 0;
  overflow: hidden;
}

.guide-layout__sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.guide-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.guide-header__date {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.guide-header__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

.guide-header__excerpt {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.guide-featured-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-card);
}

.guide-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sidebar-cta__score--prompt {
  font-size: var(--text-lg);
}

@media (max-width: 1024px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-layout__sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MOBILE OPTIMIZATIONS — Casino Archive & Taxonomy
   ============================================ */

/* Filter pills — horizontal scroll on mobile */
@media (max-width: 768px) {
  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-2);
    gap: var(--space-2);
    margin: 0 calc(-1 * var(--space-4));
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* Casino cards — mobile */
@media (max-width: 768px) {
  .casino-card {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    gap: var(--space-3);
  }

  .casino-card__rank {
    font-size: var(--text-xs);
    width: 20px;
    flex-shrink: 0;
  }

  .casino-card__logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .casino-card__name {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
  }

  .casino-card__meta {
    font-size: 11px;
  }

  .casino-card__badges {
    gap: 4px;
  }

  .casino-card__score {
    font-size: 22px;
    flex-shrink: 0;
  }

  .casino-card__arrow {
    font-size: var(--text-base);
    color: var(--color-text-tertiary);
  }

  .casino-list {
    gap: var(--space-2);
  }
}

/* Archive hero — mobile */
@media (max-width: 768px) {
  .archive-hero {
    padding-top: var(--space-6);
    padding-bottom: var(--space-4);
  }

  .archive-hero__title {
    font-size: clamp(24px, 6vw, 32px);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-2);
  }

  .archive-hero__sub {
    font-size: var(--text-sm);
  }
}

/* Archive editorial block — mobile */
@media (max-width: 768px) {
  .archive-editorial {
    margin-bottom: var(--space-4);
    padding: var(--space-3) var(--space-4);
  }

  .archive-editorial p {
    font-size: var(--text-xs);
  }
}

/* Container padding — mobile */
@media (max-width: 768px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

/* Section spacing — mobile */
@media (max-width: 768px) {
  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .section--sm {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }
}

/* Hero — mobile */
@media (max-width: 768px) {
  .hero {
    padding-top: var(--space-8);
    padding-bottom: var(--space-6);
  }

  .hero__title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .hero__subtitle {
    font-size: var(--text-sm);
  }

  .hero__label {
    font-size: 11px;
  }
}

/* Featured casino cards — mobile (homepage top 3) */
@media (max-width: 768px) {
  .featured-casinos {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .featured-casino-card {
    padding: var(--space-4);
  }
}

/* Best-for grid — mobile */
@media (max-width: 768px) {
  .best-for-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .best-for-card {
    padding: var(--space-3);
  }

  .best-for-card__icon {
    font-size: 20px;
  }

  .best-for-card__label {
    font-size: var(--text-xs);
  }
}

/* Guide grid — mobile */
@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

/* Bonus card — mobile */
@media (max-width: 768px) {
  .bonus-card {
    grid-template-columns: 1fr auto;
    gap: var(--space-3);
  }

  .bonus-card__casino {
    grid-column: 1 / -1;
  }

  .bonus-card__offer {
    align-self: center;
  }

  .bonus-card__details {
    display: none;
  }

  .bonus-card__cta {
    align-self: center;
    flex-direction: column;
    gap: var(--space-1);
  }
}

/* Type choice grid — mobile */
@media (max-width: 768px) {
  .type-choice-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .type-choice-card {
    padding: var(--space-4);
  }
}

/* Comparison header — mobile */
@media (max-width: 768px) {
  .comparison-header {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .comparison-card {
    padding: var(--space-3);
  }

  .comparison-card__score {
    font-size: 24px;
  }
}

/* Single casino layout — mobile */
@media (max-width: 768px) {
  .single-casino-layout {
    grid-template-columns: 1fr;
  }

  .single-casino-layout__sidebar {
    position: static;
    order: -1;
  }

  .casino-hero {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .casino-hero__score {
    margin-left: auto;
  }
}

/* Guide layout — mobile */
@media (max-width: 768px) {
  .guide-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .guide-layout__sidebar {
    position: static;
    order: -1;
  }
}

/* Team grid — mobile */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* RG resources — mobile */
@media (max-width: 768px) {
  .rg-resources__grid {
    grid-template-columns: 1fr;
  }
}

/* Footer — mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .site-footer {
    margin-top: var(--space-12);
  }
}

/* ============================================
   MOBILE REFINEMENTS — App Store feel
   ============================================ */

/* Hide archive editorial on mobile — too verbose */
@media (max-width: 768px) {
  .archive-editorial {
    display: none;
  }
}

/* Casino card — stronger visual hierarchy on mobile */
@media (max-width: 768px) {
  .casino-card {
    display: grid;
    grid-template-columns: 24px 44px 1fr auto auto;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    background: var(--color-surface);
    position: relative;
  }

  .casino-card__rank {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    color: var(--color-text-tertiary);
    width: auto;
    text-align: center;
  }

  .casino-card__rank--top {
    color: var(--color-accent);
  }

  .casino-card__logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
  }

  .casino-card__info {
    min-width: 0;
  }

  .casino-card__name {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
  }

  .casino-card__meta {
    font-size: 10px;
    color: var(--color-text-tertiary);
  }

  /* Hide badges on mobile — too cluttered */
  .casino-card__badges {
    display: none;
  }

  .casino-card__score {
    font-size: 20px;
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
    text-align: right;
  }

  .casino-card__arrow {
    color: var(--color-text-tertiary);
    font-size: var(--text-sm);
  }

  /* Top Pick badge on mobile */
  .badge--best-for {
    position: absolute;
    top: -8px;
    right: var(--space-3);
    font-size: 9px;
    padding: 2px 8px;
  }

  .casino-list {
    gap: var(--space-2);
    margin-top: var(--space-3);
  }
}

/* Section header — mobile */
@media (max-width: 768px) {
  .section-header {
    margin-bottom: var(--space-4);
  }

  .section-header__title {
    font-size: var(--text-md);
  }
}

/* Archive hero — more compact on mobile */
@media (max-width: 768px) {
  .archive-hero {
    padding-top: var(--space-5);
    padding-bottom: var(--space-3);
  }

  .archive-hero__title {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: var(--space-2);
  }

  .archive-hero__sub {
    font-size: 12px;
    color: var(--color-text-secondary);
  }
}

/* Filter bar — compact mobile */
@media (max-width: 768px) {
  .filter-bar {
    margin-top: var(--space-3);
    margin-bottom: var(--space-3);
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
  }

  .filter-pill {
    font-size: var(--text-xs);
    padding: 6px 14px;
    border-radius: var(--radius-full);
  }
}

/* Pagination — mobile */
@media (max-width: 768px) {
  .pagination {
    margin-top: var(--space-5);
    display: flex;
    justify-content: center;
    gap: var(--space-2);
  }
}

/* ============================================
   MOBILE — Elevated cards App Store style
   ============================================ */
@media (max-width: 768px) {
  .casino-list {
    gap: var(--space-3);
    padding: var(--space-1) 0;
  }

  .casino-card {
    display: grid;
    grid-template-columns: 20px 48px 1fr auto 12px;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
    background: var(--color-surface);
    border: 0.5px solid rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    text-decoration: none;
  }

  .casino-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  }

  .casino-card__rank {
    font-size: 11px;
    font-weight: var(--weight-bold);
    color: var(--color-text-tertiary);
    text-align: center;
    line-height: 1;
  }

  .casino-card__rank--top {
    color: var(--color-accent);
  }

  .casino-card__logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    overflow: hidden;
    flex-shrink: 0;
  }

  .casino-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .casino-card__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .casino-card__name {
    font-size: 14px;
    font-weight: var(--weight-semibold);
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
  }

  .casino-card__meta {
    font-size: 11px;
    color: var(--color-text-tertiary);
  }

  .casino-card__badges {
    display: none;
  }

  .casino-card__score {
    font-size: 18px;
    font-weight: var(--weight-bold);
    color: var(--color-text-primary);
    letter-spacing: -0.5px;
    text-align: right;
    flex-shrink: 0;
  }

  .casino-card__arrow {
    color: var(--color-text-tertiary);
    font-size: 14px;
    flex-shrink: 0;
  }

}

@media (max-width: 768px) {
  .badge--best-for {
    position: absolute;
    top: -10px;
    right: var(--space-3);
    font-size: 9px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: white;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    z-index: 2;
  }

  .casino-card {
    overflow: visible;
    margin-top: 10px;
  }

  .casino-list {
    padding-top: var(--space-2);
  }

  .casino-list::before {
    margin-top: calc(-1 * var(--space-2));
  }
}

/* ============================================
   ARCHIVE EDITORIAL — Read More toggle mobile
   ============================================ */
@media (max-width: 768px) {
  .archive-editorial {
    display: block;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-accent);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-4);
    cursor: pointer;
  }

  .archive-editorial p {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .archive-editorial p.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .archive-editorial__toggle {
    display: inline-block;
    font-size: 11px;
    color: var(--color-accent);
    font-weight: var(--weight-medium);
    margin-top: 4px;
    cursor: pointer;
  }
}

@media (min-width: 769px) {
  .archive-editorial__toggle {
    display: none;
  }
}
