/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background: #ccc;
  padding: 0.5rem;
  text-align: center;
}

header h1 {
  margin: 0.25rem 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

/* Footer sticks to bottom */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  margin-top: auto;
}

/* Main content area */
main {
  padding: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Centered form (used on index.php) */
.centered {
  text-align: center;
  margin-top: 4rem;
}

/* Input and button styles */
input {
  padding: 0.5rem;
  margin-bottom: 1rem;
  width: 200px;
}

button {
  padding: 0.5rem 1rem;
  background: #0077cc;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #005fa3;
}

/* UV box styles (forecast.php) */
.uv-box {
  padding: 10px;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  color: #fff;
}

/* Link to change ZIP */
.change-zip {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  text-decoration: underline;
  color: #0077cc;
  cursor: pointer;
}

.change-zip:hover {
  color: #004a99;
}

/* Extra text below forecast */
.seo-text {
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.uv-education {
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.uv-education h2,
.uv-education h3 {
  margin-top: 1.5rem;
  color: #333;
}

.uv-education ul {
  padding-left: 1.5rem;
}
.more-apps {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

.more-apps ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.more-apps li {
  margin: 0.25rem 0;
}

.more-apps a {
  color: #0077cc;
  text-decoration: underline;
}

.more-apps a:hover {
  color: #004a99;
}

.tool-link a {
  text-decoration: underline;
  color: #0077cc;
  font-size: 0.95rem;
  display: inline-block;
  margin-top: 1rem;
}

.tool-link a:hover {
  color: #004a99;
}
.multi-column-list {
  column-count: 3; /* Adjust to 2, 3, or more based on your design */
  column-gap: 2rem;
  list-style: none;
  padding: 0;
}

.multi-column-list li {
  break-inside: avoid;
  margin-bottom: 0.5rem;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 2rem auto;
}
.company-name {
  font-size: 0.8em; /* make the font slightly smaller */
  font-weight: normal; /* remove bold from company name */
  color: #666; /* a lighter color for subtlety */
  margin-left: 5px; /* some spacing between title and name */
}
/* unvisited link */
a:link {
  color: #0077cc;
}

/* visited link */
a:visited {
  color: #0077cc;
}

/* mouse over link */
a:hover {
  color: #0077cc;
}

/* selected link */
a:active {
  color: #0077cc;
}
