/* Shared styles for data source information pages */

body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik', sans-serif;
}

/* Info pages header: small layout tweaks here. Shared header controls
   styles (buttons, dropdowns, positioning) live in ../styles.css to
   avoid duplication and specificity conflicts. */
body header {
  justify-content: center;
  position: relative;
  padding: 25px 20px;
}
  /* info page styles */
body header #logo-container {
  position: absolute;
  left: 20px;
  margin-top: -40px;
}

body header h1 {
  text-align: center;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.content h1 {
  margin-bottom: 1rem;
  /* header layout: logo left, title center, buttons on right */

.methodology {
  margin-top: 2rem;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
}

.methodology h2 {
  margin-top: 0;
}

.methodology h3 {
  margin-top: 1.5rem;
}

.methodology ul {
  margin-left: 1.5rem;
  padding-left: 0;
}

.data-sources {
  margin-top: 2rem;
}

.data-source {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.data-source:first-of-type {
  margin-top: 0;
}

.data-source h3 {
  margin-top: 0;
}

.data-source a {
  color: #0066cc;
  text-decoration: none;
}

.data-source a:hover {
  text-decoration: underline;
}

/* Local policies page: state dropdown and policy list */
.state-select-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.state-select-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.state-select-section select {
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  min-width: 220px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}

.policies-container {
  margin-top: 1rem;
}

.policies-placeholder {
  color: #666;
  font-style: italic;
}

.policies-list h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.policies-list .policy-card {
  margin-top: 1rem;
}

.policies-list .policy-card:first-of-type {
  margin-top: 0;
}
