/* Mid-Atlantic Lop Club -- the static site (2026-10-09), styled as Breed Club Services' club sites are:
   a slate page, a light header bar with the logo and menu, the content on white between hairlines, and
   white cards with a soft shadow. The colours are BCS's (Tailwind's slate, darkened a step for text as
   BCS darkens it), with the club's dark blue as the accent where BCS uses a club's own colour. */

:root {
  --primary:   #1e2f8f;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #56637a;
  --slate-600: #3f4b60;
  --slate-700: #2c3649;
  --slate-900: #0f172a;
  --shadow-card:    4px 4px 6px -1px rgb(0 0 0 / .12), 2px 2px 4px -2px rgb(0 0 0 / .10);
  --shadow-card-lg: 6px 6px 12px -2px rgb(0 0 0 / .16), 3px 3px 6px -3px rgb(0 0 0 / .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.5; color: var(--slate-700); background: var(--slate-200);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
img { max-width: 100%; }

/* The bands: 1280px from wide screens up, full width below, as BCS. */
header, main, footer { width: 100%; margin: 0 auto; }
@media (min-width: 1280px) { header, main, footer { width: 1280px; } }

header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 24px;
  background: var(--slate-100); border-bottom: 1px solid var(--slate-400);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--slate-900); text-decoration: none; }
.brand img { height: 56px; width: auto; display: block; }
.brand span { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.menu a {
  display: block; padding: 8px 12px; border-radius: 6px; font-size: .875rem; font-weight: 500;
  color: var(--slate-700); text-decoration: none; white-space: nowrap;
}
.menu a:hover { background: var(--slate-200); color: var(--slate-900); }
.menu a[aria-current="page"] { background: var(--slate-200); color: var(--slate-900); font-weight: 600; }
.button {
  display: inline-block; padding: 8px 16px; border-radius: 6px; font-size: .875rem; font-weight: 500;
  color: #fff; background: var(--primary); text-decoration: none; white-space: nowrap;
}
.button:hover { opacity: .9; }

main { flex: 1; padding: 32px 24px; background: #fff; border-left: 1px solid var(--slate-400); border-right: 1px solid var(--slate-400); }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 24px;
  font-size: .875rem; color: var(--slate-500); background: var(--slate-100); border-top: 1px solid var(--slate-400);
}
footer a { font-weight: 500; text-decoration: none; }
footer a:hover { text-decoration: underline; }

h1 { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.015em; color: var(--slate-900); }
h2 { margin: 0; font-size: .875rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; color: var(--slate-900); }
.intro { margin: 8px 0 0; max-width: 42rem; color: var(--slate-600); }

/* Cards, as the BCS home page's. */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.card {
  display: flex; flex-direction: column; height: 100%; padding: 20px; color: inherit; text-decoration: none;
  background: #fff; border: 1px solid var(--slate-400); border-radius: 8px; box-shadow: var(--shadow-card);
  transition: border-color .15s, box-shadow .15s;
}
a.card:hover { border-color: var(--primary); box-shadow: var(--shadow-card-lg); }
.card h3 { margin: 0; font-size: 1rem; font-weight: 600; color: var(--slate-900); }
.card p { margin: 4px 0 0; font-size: .875rem; color: var(--slate-600); }

/* Home: the board photo in a card. */
.board { max-width: 36rem; margin: 32px 0 0; padding: 12px; }
.board img { display: block; width: 100%; border-radius: 4px; }
.board p { margin: 10px 4px 2px; font-size: .875rem; color: var(--slate-600); }

/* The 2024 Nationals scrapbook. */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.jump a { display: block; padding: 6px 12px; border: 1px solid var(--slate-400); border-radius: 999px; font-size: .875rem; color: var(--slate-700); text-decoration: none; background: #fff; }
.jump a:hover { border-color: var(--primary); color: var(--primary); }
.section { margin: 40px 0 0; padding-top: 8px; border-top: 1px solid var(--slate-400); scroll-margin-top: 88px; }
.credit { margin: 4px 0 0; font-size: .875rem; color: var(--slate-500); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 16px; margin-top: 16px; }
.photo { margin: 0; padding: 8px; background: #fff; border: 1px solid var(--slate-400); border-radius: 8px; box-shadow: var(--shadow-card); }
.photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.photo figcaption { margin: 8px 4px 2px; font-size: .875rem; color: var(--slate-600); }
.photo figcaption b { display: block; color: var(--slate-900); font-weight: 600; }
.top { margin: 16px 0 0; font-size: .875rem; }

@media (max-width: 760px) {
  header { flex-wrap: wrap; height: auto; padding: 8px 16px; gap: 6px 12px; position: static; }
  .brand img { height: 44px; }
  header nav { order: 3; flex-basis: 100%; }
  .menu { margin: 0; flex-wrap: wrap; }
  .menu a { padding: 6px 10px; }
  .button { order: 2; margin-left: auto; }
  .brand span { font-size: 1rem; }
  main { padding: 24px 16px; }
  footer { padding: 20px 16px; }
}
