/* =========================
   Base reset
   ========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.5;
}


/* =========================
   Layout helpers
   ========================= */

.container {
  max-width: 960px;
  padding: 0 1rem;
  margin: 0 auto;
}


/* =========================
   Header / footer structure
   ========================= */

header,
footer {
  padding: 1rem 0;
}


/* =========================
   Navigation
   ========================= */

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
  margin-right: 1rem;
}


/* =========================
   Main content
   ========================= */

main {
  padding: 1.5rem 0;
}

section {
  margin-bottom: 2rem;
}


/* =========================
   Theme switcher (public preview)
   ========================= */

.theme-switcher {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.theme-switcher::before {
  content: "Theme preview:";
  font-size: 0.8rem;
  color: #6b7280;
}

.theme-switcher button {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

.theme-switcher button:hover {
  background: #f3f4f6;
}

/* =========================
   Tables (basic)
   ========================= */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th,
td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

th {
  font-weight: 600;
}

/* =========================
   Responsive tables
   ========================= */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  min-width: 600px;
}

.next-walk {
  background-color: rgba(0, 128, 0, 0.08);
  font-weight: 600;
}

.image-strip {
  margin: 2.5rem 0;
}

.image-strip-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.image-strip-list img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
