/*
Theme Name: Custer County EMS Training
Theme URI: https://custerems.com
Author: Custer County EMS
Description: Mobile-first EMS training theme. County-wide CE first, then certification classes.
Version: 1.0
Text Domain: custerems
*/

:root {
  --orange: #c65a2e;
  --dark: #2b2b2b;
  --ink: #141414;
  --muted: #6b6b6b;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: inherit; }
.hero {
  position: relative;
  min-height: 70vh;
  background: #111 center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(20,20,20,.86));
}
.bar, .hero-copy { position: relative; z-index: 1; }
.bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px;
}
.bar img { width: 42px; height: 42px; }
.bar.dark { background: #1a1a1a; color: #fff; }
.bar.dark img { filter: brightness(0) invert(1); }
.menu-toggle {
  background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer;
}
.hero-copy { margin-top: auto; text-align: center; padding: 28px 22px 36px; }
.hero-copy h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.12; }
.hero-copy p { margin: 0 0 22px; color: rgba(255,255,255,.9); }
.btn {
  display: block; width: 100%; max-width: 280px; margin: 0 auto 12px;
  text-align: center; text-decoration: none; border-radius: 10px;
  padding: 14px 16px; font-weight: 700; font-size: 16px; border: 0;
}
.btn.orange { background: var(--orange); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.section { padding: 28px 18px 40px; max-width: 720px; margin: 0 auto; }
.section h2 { margin: 0 0 18px; text-align: center; font-size: 28px; }
.tcard {
  background: var(--dark); color: #fff; border-radius: 14px;
  padding: 16px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.tcard h3 { margin: 0 0 4px; font-size: 18px; }
.tcard p { margin: 0; color: #cfcfcf; font-size: 14px; }
.tcard .reg {
  background: var(--orange); color: #fff; text-decoration: none;
  border-radius: 8px; padding: 10px 16px; font-weight: 700; white-space: nowrap;
}
.site-nav {
  display: none; background: #fff; padding: 8px 18px 16px;
}
.site-nav.open { display: block; }
.site-nav a {
  display: block; padding: 12px 0; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid #eee; font-size: 17px;
}
.card { background: #f7f7f7; border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.card p { color: var(--muted); }
.entry-content { max-width: 720px; margin: 0 auto; padding: 24px 18px 48px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: 8px; border-bottom: 1px solid #eee; text-align: left; }
.site-footer { text-align: center; padding: 20px; color: #777; font-size: 13px; }
