@media screen {
    .print-only {
      display: none !important;
    }
    .screen-only {
      display: inline !important;
    }    
}

@media print {
    .print-only {
      display: inline !important;
    }
    .screen-only {
      display: none !important;
    }
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  float: right;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-wrapper {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider::before {
  content: "🌞";
  position: absolute;
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  transition: 0.4s;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
}

input:checked + .slider {
  background-color: #444;
}

input:checked + .slider::before {
  transform: translateX(26px);
  content: "🌙";
}

[data-theme="dark"] {
  background-color: #121212;
  color: #ffffff;
}

[data-theme="dark"] body {
  background-color: #121212;
  color: #ffffff;
}

[data-theme="dark"] h1 {
  color: #ffffff;
}

[data-theme="dark"] h2 {
  color: #ffffff;
}

[data-theme="dark"] h3 {
  color: #ffffff;
}

[data-theme="dark"] p {
  color: #ffffff;
}

[data-theme="dark"] footer {
  background-color: #1e1e1e;
  color: #ffffff;
}

[data-theme="dark"] header {
  background-color: #1e1e1e;
}

[data-theme="dark"] .slider {
  background-color: #666;
}
 
/* Base reset & layout */
body {
  margin: 10px;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  background-color: #ffffff;
  color: #222222;
  line-height: 1.6;
}

/* Header (optional site-wide banner) */
header {
  padding: 2rem;
  text-align: center;
  background-color: #f9f9f9;
}

/* Typography */
h1, h2, h3 {
  color: #36454F; /* Charcoal gray headlines */
  margin-top: 0;
  text-align: center;
}

p {
  margin: 1rem auto;
  max-width: 70ch;
}

/* Forms */
form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: block;
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Navigation */
nav {
  background-color: #0d6f6f;
  padding: 1rem 2rem;
  border-bottom: 1px solid #d8d8d8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-variant: small-caps;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease-in-out, border-bottom 0.2s ease-in-out;
}

nav a:hover,
nav a:focus {
  color: #f9f9f9;
  border-bottom: 2px solid #2fbebc;
}

/* Footer */
footer {
  background-color: #f9f9f9;
  border-top: 1px solid #d8d8d8;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

footer a {
  color: #138a8a;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Utilities */
.teal-banner {
  background-color: #e0f3f2;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  text-align: center;
  color: #222;
}

.text-white-shadow {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

section {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

section h1, h2, h3 {
  color: #36454F;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 0.5rem;
  text-align: center;
}

section p {
  margin-bottom: 1rem;
  color: #222;
}

.card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 1.5rem;
  max-width: 70ch;
  margin: 10px 20px;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card h1, .card h2, .card h3 {
  margin-top: 0;
  max-width: 70ch;
  margin: 0 auto;
  color: #138a8a;
  font-size: 1.25rem;
  text-align: center;
}

.card p {
  margin: 1rem 0;
  color: #444;
}

.card a {
  display: inline-block;
  color: #138a8a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.card a:hover {
  border-color: #2fbebc;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

button {
    background-color: #0d6f6f;
    color: #ffffff !important;
}

.button {
  display: inline-block;
  background-color: #0d6f6f;
  color: #ffffff !important;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #f9f9f9;
  transform: translateY(-1px);
}

