/* Bros Pasta 2025 - Legal Pages Styling */
/* Consistent design across mobile and desktop */

/* Force specific text colors to override any conflicting CSS */
* {
  color: #333333 !important;
}

.container {
  min-height: 100vh;
  background: white;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Header styling - consistent across devices */
header {
  background: white;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--primary-color);
  width: 100%;
  margin: 0;
}

.logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--primary-color);
}

.hero h1 {
  font-family: var(--font-family);
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50 !important;
  margin: 0;
}

/* Content styling */
main {
  padding: 0;
  width: 100%;
  background: white;
}

.content-field {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: white;
  min-height: calc(100vh - 140px);
  width: 100%;
}

.category {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.category h2 {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50 !important;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.category p {
  font-family: var(--font-family);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555 !important;
  margin: 0 0 1rem 0;
}

.category ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.category li {
  font-family: var(--font-family);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555 !important;
  margin-bottom: 0.5rem;
}

/* Responsive design - consistent across devices */
@media (min-width: 768px) {
  /* Force full width layout on desktop only */
  html, body {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .container {
    background: white !important;
    min-height: 100vh !important;
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  header {
    padding: 3rem 2rem !important;
    background: white !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  
  .logo {
    width: 110px;
    height: 110px;
    margin-bottom: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    color: #2c3e50 !important;
  }
  
  main {
    width: 100% !important;
    max-width: none !important;
    background: white !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }
  
  .content-field {
    padding: 3rem 2.5rem !important;
    background: white !important;
    width: calc(100% - 5rem) !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    min-height: auto !important;
    box-sizing: border-box !important;
  }
  
  .category h2 {
    font-size: 1.5rem;
    color: #2c3e50 !important;
  }
  
  .category p,
  .category li {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  main {
    padding: 0 !important;
    background: white !important;
    width: 100% !important;
    max-width: none !important;
  }
  
  .content-field {
    padding: 4rem 3rem !important;
    max-width: 1000px !important;
    width: calc(100% - 6rem) !important;
    margin: 0 auto !important;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}