/* ── Compass Notes (notes.html) ── */

/* Header "Home" pill — matches the sport switcher look */
.notes-home-btn {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Page heading */
.notes-page-head {
  padding: 8px 4px 16px;
}
.notes-page-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.notes-page-title span { color: var(--orange); }
.notes-page-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.notes-loading,
.notes-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 32px 16px;
}

/* Article list cards */
.note-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-left: 4px solid var(--orange);
  -webkit-tap-highlight-color: transparent;
}
.note-card:active { transform: scale(0.99); }
.note-date {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.note-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
}
.note-teaser {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 10px;
}
.note-read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
}

/* Back link */
.notes-back {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  padding: 4px 4px 12px;
  -webkit-tap-highlight-color: transparent;
}

/* Single article view */
.note-article { padding: 20px 16px; }
.note-article-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}
.note-article .note-date {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.note-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  overflow-wrap: break-word;
}
.note-body p  { margin-bottom: 14px; }
.note-body p:last-child { margin-bottom: 0; }
.note-body h2 { font-size: 1.1rem; color: var(--navy); margin: 20px 0 8px; }
.note-body h3 { font-size: 1rem; color: var(--navy); margin: 16px 0 6px; }
.note-body ul,
.note-body ol { margin: 0 0 14px 20px; }
.note-body li { margin-bottom: 6px; }
.note-body a  { color: var(--orange); font-weight: 600; }
.note-body img { height: auto; border-radius: 10px; margin: 8px 0; }
.note-body blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}

/* Larger screens: a little more breathing room */
@media (min-width: 420px) {
  .note-article { padding: 24px 20px; }
  .note-article-title { font-size: 1.5rem; }
}
