/* Shared styles for pooscaboose.com subpages (blog, pooses, press, 404) */
:root {
  --blue: #2b8be3;
  --teal: #3bd9d6;
  --yellow: #ffd933;
  --ink: #1d1d1f;
  --grass: #2f9e3f;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Avenir Next", Avenir, Nunito, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--blue) 0%, var(--teal) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3 { font-weight: 900; letter-spacing: -0.02em; }
a { color: #fff; }

/* top nav */
.nav {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 24px; max-width: 980px; margin: 0 auto; width: 100%;
}
.nav img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.nav .brand { font-weight: 900; font-size: 1.15rem; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.nav .links { margin-left: auto; display: flex; gap: 18px; font-size: 0.95rem; flex-wrap: wrap; }
.nav .links a { text-decoration: none; opacity: 0.92; }
.nav .links a:hover, .nav .links a[aria-current="page"] { opacity: 1; text-decoration: underline; }

/* page shell */
main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 32px 20px 72px; }
.page-title { text-align: center; padding: 16px 0 8px; }
.page-title h1 { font-size: clamp(2rem, 6vw, 3rem); }
.page-title p { margin-top: 10px; font-size: 1.1rem; opacity: 0.95; }

/* white reading card for long-form text */
.card {
  background: rgba(255,255,255,0.96); color: var(--ink);
  border-radius: 24px; padding: 36px 32px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
  margin-top: 28px;
  font-weight: 500;
}
.card h2 { margin: 28px 0 10px; font-size: 1.45rem; color: var(--ink); }
.card h2:first-child { margin-top: 0; }
.card h3 { margin: 22px 0 8px; font-size: 1.15rem; }
.card p { line-height: 1.65; margin: 12px 0; font-size: 1.02rem; }
.card ul, .card ol { margin: 12px 0 12px 24px; line-height: 1.65; }
.card li { margin: 6px 0; }
.card a { color: var(--blue); font-weight: 700; }
.card strong { font-weight: 800; }
.card .meta { font-size: 0.88rem; opacity: 0.65; font-weight: 600; margin-bottom: 18px; }
.card img.inline-shot { width: 100%; max-width: 420px; display: block; margin: 18px auto; border-radius: 18px; box-shadow: 0 10px 28px rgba(0,0,0,0.18); }
.card table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 0.95rem; }
.card th, .card td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.card th { font-weight: 800; }

/* blog list */
.post-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.post-card {
  display: block; text-decoration: none;
  background: rgba(255,255,255,0.16); border-radius: 20px;
  padding: 24px 26px; backdrop-filter: blur(4px);
  transition: transform 0.15s ease;
}
.post-card:hover { transform: translateY(-4px); }
.post-card h2 { font-size: 1.35rem; }
.post-card p { margin-top: 8px; line-height: 1.5; opacity: 0.95; font-weight: 600; }
.post-card .date { display: block; margin-top: 10px; font-size: 0.85rem; opacity: 0.8; }

/* pooses roster */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-top: 28px; }
.roster-card {
  background: rgba(255,255,255,0.16); border-radius: 20px;
  padding: 20px 16px; text-align: center; backdrop-filter: blur(4px);
}
.roster-card img { height: 120px; object-fit: contain; max-width: 100%; }
.roster-card h2 { font-size: 1.1rem; margin-top: 10px; }
.roster-card .stats { margin-top: 6px; font-size: 0.85rem; }
.roster-card .stats b { color: var(--yellow); }
.roster-card p { margin-top: 8px; font-size: 0.9rem; line-height: 1.45; opacity: 0.95; font-weight: 600; }
.roster-card.mystery img { filter: brightness(0) invert(1); opacity: 0.95; }

/* CTA + footer */
.cta { text-align: center; margin-top: 40px; }
.cta a.button {
  display: inline-block; background: var(--ink); color: #fff;
  padding: 14px 30px; border-radius: 14px; text-decoration: none;
  font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.cta .note { display: block; margin-top: 10px; font-size: 0.9rem; opacity: 0.9; }
.cta .note b { color: var(--yellow); }

.grass { display: block; width: 100%; height: 36px; margin-bottom: -6px; }
footer { background: var(--grass); text-align: center; position: relative; padding: 90px 24px 28px; font-size: 0.9rem; }
footer .peek { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 150px; }
footer p { opacity: 0.9; }
footer nav { margin-bottom: 10px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; font-size: 0.92rem; }

/* 404 */
.lost { text-align: center; padding: 48px 20px; }
.lost img { width: 180px; filter: brightness(0) invert(1); animation: drift 5s ease-in-out infinite; }
.lost h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); margin-top: 24px; }
.lost p { margin-top: 14px; font-size: 1.15rem; opacity: 0.95; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}
