/*
 * ARO Casino Affiliate Theme - FIXED CSS
 * Version: 3.0.1
 * FIXED: Restored all essential utilities while keeping it clean
 */

/* =============================================================================
   CSS VARIABLES & BASE STYLES
   ============================================================================= */
:root {
  --primary-color: #10B981;
  --secondary-color: #FBBF24;
  --h3-color: #F59E0B;
  --background-color: #0F172A;
  --text-color: #F9FAFB;
  --light-text-color: #D1D5DB;
  --header-bg-color: #020617;
  --content-max-width: 1200px;
  --h1-text-align: center;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Remove default list styling */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* =============================================================================
   LAYOUT ESSENTIALS
   ============================================================================= */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex-grow: 1;
}

.site-main-content-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Container */
.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }

/* Flexbox */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* =============================================================================
   SPACING UTILITIES
   ============================================================================= */
/* Padding */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* Margin */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }

/* Space Between */
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* =============================================================================
   SIZING UTILITIES
   ============================================================================= */
/* Width */
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-3 { width: 0.75rem; }
.w-6 { width: 1.5rem; }
.w-12 { width: 3rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-36 { width: 9rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-64 { width: 16rem; }
.w-80 { width: 20rem; }

/* Height */
.h-3 { height: 0.75rem; }
.h-6 { height: 1.5rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-36 { height: 9rem; }
.h-48 { height: 12rem; }

/* Min/Max */
.min-h-screen { min-height: 100vh; }
.min-w-full { min-width: 100%; }
.max-w-none { max-width: none; }
.max-w-4xl { max-width: 56rem; }

/* Aspect Ratio */
.aspect-square { aspect-ratio: 1 / 1; }

/* =============================================================================
   COLOR UTILITIES
   ============================================================================= */
/* Background Colors */
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-header-bg { background-color: var(--header-bg-color); }
.bg-background { background-color: var(--background-color); }

.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-500 { background-color: #6b7280; }
.bg-gray-600 { background-color: #4b5563; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-emerald-600 { background-color: #059669; }

/* Text Colors */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-text { color: var(--text-color); }
.text-light-text { color: var(--light-text-color); }

.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-gray-50 { color: #f9fafb; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-green-500 { color: #10b981; }
.text-yellow-500 { color: #f59e0b; }

/* Border */
.border { border-width: 1px; border-style: solid; border-color: #e5e7eb; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-gray-700 { border-color: #374151; }

/* =============================================================================
   TYPOGRAPHY UTILITIES
   ============================================================================= */
/* Font Size */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

/* Font Weight */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Transform */
.uppercase { text-transform: uppercase; }

/* Line Height */
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

/* Text Decoration */
.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }
.break-words { word-wrap: break-word; overflow-wrap: break-word; }
.whitespace-nowrap { white-space: nowrap; }

/* =============================================================================
   EFFECTS & BORDERS
   ============================================================================= */
/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

.rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.rounded-b-lg { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-br-lg { border-bottom-right-radius: 0.5rem; }
.rounded-tl-lg { border-top-left-radius: 0.5rem; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }

/* Transitions */
.transition { 
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Transform */
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }
.scale-105 { transform: scale(1.05); }

/* =============================================================================
   POSITION & DISPLAY
   ============================================================================= */
/* Position */
.relative { position: relative; }
.absolute { position: absolute; }

/* Top, Right, Bottom, Left */
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }

/* Z-Index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Casino Logo Sizing - Largest dimension becomes exactly 350px */
.casino-logo-size {
  width: 350px;
  height: 350px;
  object-fit: contain;
  object-position: center;
}

/* Custom 10px margins for casino comparison */
.casino-comparison-list-view h3,
.casino-comparison-list-view .text-light-text {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

/* =============================================================================
   HOVER & FOCUS EFFECTS
   ============================================================================= */
.hover\:bg-primary:hover { background-color: var(--primary-color); }
.hover\:bg-emerald-600:hover { background-color: #059669; }
.hover\:text-primary:hover { color: var(--primary-color); }
.hover\:text-white:hover { color: #ffffff; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }

/* Focus States */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* =============================================================================
   TYPOGRAPHY OVERRIDES
   ============================================================================= */
h1.entry-title {
  color: var(--primary-color);
  text-align: var(--h1-text-align);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.entry-content h2, .prose h2, h2 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.entry-content h3, .prose h3, h3 {
  color: var(--h3-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

h4, h5, h6 {
  color: var(--text-color);
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bg-primary a {
  color: #ffffff !important;
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */
.site-header {
  background-color: var(--header-bg-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 9999 !important;
}

/* Remove list styling from navigation */
.main-navigation {
  position: relative;
  z-index: 9999 !important;
}

.main-navigation ul,
.main-navigation li {
  list-style: none !important;
}

.main-navigation li::before,
.main-navigation li::after {
  display: none !important;
}

/* Desktop Navigation */
@media (min-width: 640px) {
  .main-navigation {
    display: flex !important;
    align-items: center;
    width: auto;
  }
  
  .main-navigation ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .main-navigation li {
    position: relative;
    margin-left: 1.5rem;
  }
  
  .main-navigation a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--light-text-color);
    text-decoration: none;
    transition: color 300ms ease;
  }
  
  .main-navigation a:hover {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  /* Hide all submenus by default */
  .main-navigation .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1f2937;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    padding: 0.5rem 0;
    z-index: 99999 !important;
    min-width: 200px;
  }
  
  /* Show submenu on hover */
  .main-navigation li:hover > .sub-menu {
    display: block !important;
  }
  
  /* Style submenu items */
  .main-navigation .sub-menu li {
    margin: 0;
    width: 100%;
  }
  
  .main-navigation .sub-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--light-text-color);
    white-space: nowrap;
  }
  
  .main-navigation .sub-menu a:hover {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
  }
  
  /* Hide mobile elements on desktop */
  #mobile-menu-toggle {
    display: none !important;
  }
}

/* Mobile Navigation */
@media (max-width: 639px) {
  .main-navigation.hidden {
    display: none !important;
  }
  
  .main-navigation {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin-top: 8px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  
  .main-navigation ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .main-navigation li {
    margin: 2px 0;
  }
  
  .main-navigation a {
    padding: 12px 16px;
    border-radius: 6px;
    display: block;
    transition: all 150ms ease-in-out;
    color: var(--light-text-color);
    text-decoration: none;
  }
  
  .main-navigation a:hover,
  .main-navigation a:focus {
    background-color: rgba(16, 185, 129, 0.1);
    transform: translateX(4px);
    color: var(--primary-color);
    text-decoration: none;
  }
  
  /* Mobile Dropdowns */
  .main-navigation .sub-menu {
    display: none !important;
    background-color: rgba(55, 65, 81, 0.8);
    border-radius: 4px;
    margin-top: 4px;
    padding: 4px 0;
  }
  
  .main-navigation .menu-item-has-children.open > .sub-menu {
    display: block !important;
  }
  
  .main-navigation .menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 200ms ease;
  }
  
  .main-navigation .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
  }
  
  .main-navigation .sub-menu a {
    padding: 8px 24px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--light-text-color);
  }
  
  .main-navigation .sub-menu a:hover,
  .main-navigation .sub-menu a:focus {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--primary-color);
    transform: translateX(8px);
  }
  
  /* Mobile menu toggle */
  #mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: #9CA3AF;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  #mobile-menu-toggle:hover {
    color: #ffffff;
    background-color: #374151;
  }
}

/* =============================================================================
   CASINO COMPARISON TABLES
   ============================================================================= */
.casino-comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  position: relative;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
}

.casino-comparison-table-wrapper table {
  min-width: 100%;
  background-color: #1F2937;
  border-radius: 0.5rem;
  overflow: hidden;
  border-collapse: collapse;
}

.casino-comparison-table-wrapper thead th {
  background-color: #111827;
  color: #d1d5db;
  text-transform: uppercase;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid #374151;
}

.casino-comparison-table-wrapper tbody td {
  padding: 0.75rem 1.5rem;
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 300;
  border-bottom: 1px solid #374151;
  vertical-align: middle;
}

.casino-comparison-table-wrapper tbody tr {
  border-bottom: 1px solid #374151;
  transition: background-color 150ms ease-in-out;
}

.casino-comparison-table-wrapper tbody tr:hover {
  background-color: rgba(55, 65, 81, 0.5);
}

.casino-comparison-table-wrapper tbody tr:last-child {
  border-bottom: none;
}

.casino-comparison-list-view {
  width: 100%;
}

.casino-comparison-list-view > * + * {
  margin-top: 1rem;
}

.casino-comparison-grid-view {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.casino-comparison-cards-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

/* Casino Comparison Card Content Alignment */
.casino-comparison-list-view .flex-col,
.casino-comparison-grid-view .flex-col,
.casino-comparison-cards-wrapper .flex-col {
  text-align: center;
}

.casino-comparison-list-view .text-center,
.casino-comparison-grid-view .text-center,
.casino-comparison-cards-wrapper .text-center {
  text-align: center !important;
}

/* Terms and Conditions Spacing */
.casino-comparison-list-view .border-t,
.casino-comparison-grid-view .border-t,
.casino-comparison-cards-wrapper .border-t {
  padding-top: 0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-bottom: 0.75rem;
}

/* AUTO STYLE: Show table on desktop, cards on mobile */
.casino-comparison-table-wrapper.auto-style {
  display: none;
}

.casino-comparison-cards-wrapper.auto-style {
  display: grid;
}

@media (min-width: 640px) {
  .casino-comparison-table-wrapper.auto-style {
    display: block;
  }
  
  .casino-comparison-cards-wrapper.auto-style {
    display: none;
  }
  
  .casino-comparison-grid-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .casino-comparison-grid-view {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Card hover effects */
.casino-comparison-list-view > div:hover,
.casino-comparison-grid-view > div:hover,
.casino-comparison-cards-wrapper > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   RESPONSIVE UTILITIES
   ============================================================================= */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:grid { display: grid; }
  .sm\:hidden { display: none; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:w-auto { width: auto; }
  .sm\:w-1\/2 { width: 50%; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-left { text-align: left; }
  .sm\:mt-0 { margin-top: 0; }
  .sm\:mx-0 { margin-left: 0; margin-right: 0; }
  .sm\:space-x-6 > * + * { margin-left: 1.5rem; }
  .sm\:grid-cols-\[auto_1fr\] { grid-template-columns: auto 1fr; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-right { text-align: right; }
  .md\:grid-cols-\[auto_2fr_1fr\] { grid-template-columns: auto 2fr 1fr; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =============================================================================
   UTILITY EXTENSIONS
   ============================================================================= */
/* Custom max-width using CSS variable */
.max-w-\[var\(--content-max-width\)\] {
  max-width: var(--content-max-width);
}

/* Grid column spans */
.col-span-full {
  grid-column: 1 / -1;
}

/* =============================================================================
   ACCESSIBILITY
   ============================================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================================
   FINAL OVERRIDES
   ============================================================================= */
/* Ensure correct background colors */
body {
  background-color: var(--background-color) !important;
  color: var(--text-color) !important;
}

.site {
  background-color: var(--background-color);
}

.site-main {
  background-color: var(--background-color);
}

#page {
  background-color: var(--background-color) !important;
}

/* Content areas should inherit theme background */
.site-main-content-wrapper {
  background-color: transparent;
}

.single-casino-review,
.casino-reviews-archive,
.casino-games-archive,
.casino-bonuses-archive,
.home-blog-posts {
  background-color: transparent;
}

article {
  background-color: transparent;
}