/* ====== Wider Page (extended) ====== */
.wrapper {
  max-width: 1200px !important;
  margin: 0 auto;
}

/* ====== Light Mode (default) ====== */
body {
  background-color: #ffffff;
  color: #111111;
}

a {
  color: #0066cc;
}

h1, h2, h3, h4, h5, h6 {
  color: #111111;
}

.pill {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  color: #111111;
  background: #ffffff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.pill:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* ====== Dark Mode ====== */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #282727;
    color: #e5e5e5 !important;
  }

  a {
    color: #66b0ff !important; /* brighter blue for contrast */
  }

  h1, h2, h3, h4, h5, h6 {
    color: #f0f0f0 !important; /* override theme defaults */
  }

  strong, b {
    color: #ffffff !important; /* pure white bold text */
  }

  .pill {
    background: #1e1e1e !important; /* distinguish from body bg */
    border-color: rgba(255,255,255,.25) !important;
    color: #e5e5e5 !important;
  }

  .pill:hover {
    background: #2a2a2a !important;
  }
}
