/* ==========================================================
   Hobart-Proctor Transit Authority
   rideonhop.com
   ========================================================== */

:root {
  --hop-teal: #1B6B6F;
  --hop-dark: #0D4A4D;
  --bg: #f0f4f4;
  --bg-alt: #e8ecec;
  --ink: #333333;
  --ink-soft: #555555;
  --ink-faint: #888888;
  --rule: #c9cdcd;
  --white: #ffffff;
  --max-width: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a { color: var(--hop-teal); }
a:hover { color: var(--hop-dark); }

img { max-width: 100%; height: auto; }

/* ---- Header ---- */

.site-header {
  background: var(--hop-dark);
  color: var(--white);
  border-bottom: 3px solid #0a3538;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-logo img {
  height: 72px;
  width: auto;
  display: block;
}

.header-text h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
}

/* ---- Navigation ---- */

.site-nav {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-inner li a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  border-right: 1px solid var(--rule);
}

.nav-inner li:first-child a {
  border-left: 1px solid var(--rule);
}

.nav-inner li a:hover {
  background: var(--bg);
  color: var(--hop-teal);
}

.nav-inner li a.active {
  background: var(--bg);
  color: var(--hop-teal);
  font-weight: bold;
}

/* ---- Banner (homepage only) ---- */

.site-banner {
  background: var(--hop-teal);
  color: var(--white);
  text-align: center;
  padding: 14px 24px;
  font-size: 15px;
}

/* ---- Page content ---- */

.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 48px 24px;
}

.section {
  margin-bottom: 28px;
}

.section h2 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: var(--hop-teal);
  font-weight: bold;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
}

.section p {
  margin: 0 0 12px 0;
}

.section ul {
  margin: 0 0 12px 0;
  padding-left: 20px;
}

.section li {
  margin-bottom: 4px;
}

/* ---- Schedule table ---- */

.schedule-table {
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}

.schedule-table th {
  text-align: left;
  background: var(--bg-alt);
  padding: 5px 32px 5px 10px;
  font-size: 12px;
  font-weight: bold;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
}

.schedule-table td {
  padding: 4px 32px 4px 10px;
  border: 1px solid var(--rule);
}

/* ---- Stop list ---- */

.stop-list {
  list-style: decimal;
  margin: 0 0 8px 0;
  padding-left: 24px;
  font-size: 13px;
}

.stop-list li {
  padding: 4px 0;
  border-bottom: 1px dotted var(--rule);
}

.stop-list li:last-child {
  border-bottom: none;
}

/* ---- Small note text ---- */

.note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---- Board list ---- */

.board-list {
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
  font-size: 13px;
}

.board-list li {
  padding: 5px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 8px;
}

.board-list li:last-child {
  border-bottom: none;
}

.board-name {
  min-width: 200px;
}

.board-role {
  color: var(--ink-soft);
}

/* ---- Footer ---- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding: 18px 24px;
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.9;
}

.site-footer a {
  color: var(--ink-faint);
}

.site-footer a:hover {
  color: var(--hop-teal);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---- Print ---- */

@media print {
  .site-nav, .site-footer { display: none; }
  body { background: #fff; font-size: 12px; }
}
