* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --primary-color: #dc2626;
  --secondary-color: #991b1b;
  --dark-bg: #7f1d1d;
  --darker-bg: #450a0a;
  --text-light: #ffffff;
  --text-gray: #9ca3af;
  --text-dark: #1f2937;
  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --accent-yellow: #fbbf24;
  --success-green: #10b981;
  --red-light: #ef4444;
  --red-medium: #dc2626;
  --red-dark: #b91c1c;
  --red-darker: #991b1b;
}
@font-face {
  font-family: 'Poppins';
  src: url("../assets/font/Poppins-Regular.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f9fafb;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Prevent images from causing overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent any element from causing horizontal overflow */
section, main, header, footer {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  overflow-x: hidden;
}

/* Header Styles */
.site-header {
  background-color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red-medium);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--red-medium);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #991b1b 100%);
  color: var(--text-light);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(153, 27, 27, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.badge-icon {
  width: 24px;
  height: 24px;
  color: var(--success-green);
}

.badge span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Casino Cards */
.casinos-list {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.casino-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 60px 140px 1fr auto auto auto auto;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.casino-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.casino-rank {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red-medium), var(--red-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.casino-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 8px;
  padding: 0.75rem;
  height: 60px;
}

.casino-logo img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.casino-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.casino-label {
  font-size: 0.75rem;
  color: var(--red-medium);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casino-offer {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.casino-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 80px;
}

.rating-label {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rating-score {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
}

.rating-stars {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.casino-deposit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 80px;
}

.deposit-label {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deposit-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success-green);
}

.casino-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.casino-features li {
  font-size: 0.85rem;
  color: var(--text-gray);
  position: relative;
  padding-left: 1rem;
}

.casino-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: 700;
}

.casino-cta {
  min-width: 140px;
}

.btn-claim {
  display: inline-block;
  background: linear-gradient(135deg, var(--red-medium), var(--red-dark));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
  background: linear-gradient(135deg, var(--red-light), var(--red-medium));
}

/* Content Sections */
.content-sections {
  padding: 4rem 0;
  background-color: white;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
}

.content-column h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.content-column h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.content-column p {
  margin-bottom: 1.25rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.review-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.review-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.review-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.review-text strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.questions-list {
  list-style: none;
  margin: 1.5rem 0;
}

.questions-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-gray);
}

.questions-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red-medium);
  font-weight: 700;
}

.responsible-gambling-box {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-left: 4px solid var(--accent-yellow);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}

.rg-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.rg-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.rg-content p {
  margin-bottom: 0.75rem;
  color: #78350f;
}

/* Footer */
.site-footer {
  background-color: var(--darker-bg);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
  max-width: 100%;
  width: auto;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-badges img {
  height: 40px;
  max-width: 100%;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-badges img:hover {
  opacity: 1;
}

.footer-column h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.75rem !important;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .casino-card {
    grid-template-columns: 50px 120px 1fr;
    gap: 1rem;
  }

  .casino-rating,
  .casino-deposit,
  .casino-features {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .casino-cta {
    grid-column: 1 / -1;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    position: relative;
  }

  .container {
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Ensure all text elements wrap properly */
  h1, h2, h3, h4, h5, h6, p, span, div, a, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav.active {
    display: block !important;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 100%;
    z-index: 999;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-nav.active ul {
    flex-direction: column;
    padding: 1rem;
    width: 100%;
  }

  .hero-title {
    font-size: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-description {
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .feature-badges {
    grid-template-columns: 1fr;
  }

  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 100%;
    overflow-x: hidden;
  }

  .casino-rank {
    justify-self: center;
  }

  .casino-logo {
    justify-self: center;
    max-width: 100%;
  }

  .casino-info,
  .casino-rating,
  .casino-deposit,
  .casino-features {
    justify-self: center;
    text-align: center;
    max-width: 100%;
  }

  .casino-features ul {
    align-items: center;
  }

  .casino-offer {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, var(--red-medium), var(--red-dark));
  color: var(--text-light);
  padding: 4rem 0;
  text-align: center;
}

.about-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about-hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.about-section {
  padding: 4rem 0;
  background-color: white;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.section-heading.centered {
  text-align: center;
}

.about-content {
  max-width: 900px;
}

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.what-we-do-section {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.what-we-do-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.what-we-do-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--red-medium), var(--red-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
}

.expert-team-section {
  padding: 4rem 0;
  background-color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--red-medium), var(--red-dark));
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-light);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.stat-label {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.review-process-section {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.review-process-steps {
  margin-top: 3rem;
}

.process-step {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.process-step:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateX(4px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--red-medium), var(--red-dark));
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.step-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
}

.contact-section {
  padding: 4rem 0;
  background-color: white;
}

.contact-box {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(153, 27, 27, 0.1));
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.contact-label {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--red-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

/* About Page Responsive Styles */
@media (max-width: 1024px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2rem;
  }

  .about-hero-description {
    font-size: 1rem;
  }

  .section-heading {
    font-size: 1.75rem;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    align-self: center;
  }
}

/* Legal Pages Styles (Privacy, Terms) */
.legal-page {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 10%);
  min-height: 80vh;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.legal-title:first-of-type {
  color: var(--red-medium);
  font-size: 3rem;
}

.legal-intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.legal-updated {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  font-style: italic;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: var(--text-dark);
  padding-left: 1rem;
  border-left: 4px solid var(--red-medium);
  line-height: 1.3;
}

.legal-section h2:first-child {
  margin-top: 0;
}

.legal-section h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.legal-section p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}

.legal-section li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  position: relative;
}

.legal-section ul > li::marker {
  color: var(--red-medium);
  font-weight: 600;
}

.legal-section ul ul {
  margin-top: 0.75rem;
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-section a {
  color: var(--red-medium);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.legal-section a:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

.legal-section strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Special styling for contact sections - add .contact-section class to use */
.contact-section {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(153, 27, 27, 0.05));
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Responsive Use Reminder styling */
.legal-section[style*="border-top"] {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-yellow) !important;
  margin-top: 3rem;
}

.legal-section[style*="border-top"] h3 {
  color: var(--text-dark);
  margin-top: 0;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 2rem 0;
  }

  .legal-content {
    padding: 1.5rem;
    border-radius: 0;
  }

  .legal-title {
    font-size: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .legal-title:first-of-type {
    font-size: 2.25rem;
  }

  .legal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.375rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-left: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .legal-section h3 {
    font-size: 1.125rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: 1.5rem;
  }

  .legal-section p {
    font-size: 1rem;
  }

  .legal-section ul, .legal-section ol {
    padding-left: 1rem;
    margin-left: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .legal-section li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: 1rem;
  }

  .legal-title:first-of-type {
    font-size: 1.75rem;
  }

  .legal-title {
    font-size: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.25rem;
    padding-left: 0.5rem;
  }

  .legal-section h3 {
    font-size: 1.0625rem;
  }
}

