* { box-sizing: border-box; }

body {
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  background: #fffbf0;
  color: #222;
}

a { color: #1a5276; }

/* Site chrome (index + nav) */
.site-header { margin-bottom: 12px; }
.site-header h1 { font-size: 2em; color: #d4500a; margin-bottom: 4px; }
.site-tagline { color: #555; margin-top: 0; font-size: 0.95em; }
.back-link { display: inline-block; margin-bottom: 20px; font-size: 0.9em; }
.nav-row { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.nav-row .back-link { margin-bottom: 0; }
.briefing-list { list-style: none; padding: 0; }
.briefing-list li {
  background: #fff; border-left: 6px solid #4a90e2; border-radius: 10px;
  padding: 14px 18px; margin: 10px 0; box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.briefing-list a { font-weight: bold; text-decoration: none; font-size: 1.05em; }
.briefing-list .briefing-date { display: block; color: #777; font-size: 0.85em; margin-top: 2px; }
.site-footer { margin-top: 48px; color: #888; font-size: 0.85em; text-align: center; }

/* My Scores (index page) */
.scores-box {
  background: #e3f2fd; border-radius: 10px; padding: 16px 20px;
  margin: 20px 0; border-left: 6px solid #0d47a1;
}
.scores-box table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.scores-box td { padding: 4px 6px; font-size: 0.9em; }
.scores-empty { color: #777; font-style: italic; }

/* Briefing page */
h1 { font-size: 1.9em; color: #d4500a; margin-bottom: 4px; }
.date { font-size: 1em; color: #555; margin-top: 0; margin-bottom: 28px; }
h2 {
  font-size: 1.3em; color: #333;
  border-bottom: 3px solid #f0c040;
  padding-bottom: 4px; margin-top: 36px;
}
.story {
  background: #fff;
  border-left: 6px solid #4a90e2;
  padding: 18px 22px; border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.story h3 { margin-top: 0; color: #1a5276; }
.story table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.85em; }
.story table td { padding: 8px 10px; border-bottom: 1px solid #eee; vertical-align: top; }
.story table td:first-child { color: #1a5276; white-space: nowrap; }
.sources-box {
  background: #f5f5f5; border-radius: 10px; padding: 14px 18px;
  margin-top: 32px; font-size: 0.85em; color: #555; border-left: 6px solid #999;
}
.sources-box h2 { border: none; margin-top: 0; padding-bottom: 0; font-size: 1.05em; }
.sources-box ul { margin: 6px 0 0; padding-left: 20px; }
.sources-box li { margin-bottom: 4px; }

/* Explorer-format pages (multi-section topics with photos/video) */
.bird-card {
  background: #fff; border-left: 6px solid #43a047; border-radius: 10px;
  padding: 16px 20px; margin: 18px 0; box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.bird-card h3 { margin-top: 0; color: #1a5276; }
.bird-card img {
  width: 100%; max-width: 500px; height: auto; border-radius: 10px;
  display: block; margin: 10px auto;
}
.img-credit { font-size: 0.75em; color: #888; text-align: center; margin: -4px 0 10px; }
.cool-fact {
  background: #fff8e1; border-radius: 8px; padding: 10px 14px;
  margin-top: 10px; font-size: 0.92em;
}
.bird-card details { margin-top: 12px; }
.bird-card summary { cursor: pointer; font-weight: bold; color: #1a5276; }
.bird-card details p { margin-top: 8px; }
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  overflow: hidden; border-radius: 10px; margin: 14px 0 4px;
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
blockquote {
  border-left: 4px solid #aaa; margin: 16px 0;
  padding: 10px 18px; color: #444;
  font-style: italic; background: #f9f9f9;
  border-radius: 0 8px 8px 0;
}
.word-box {
  background: #e8f5e9; border-radius: 10px;
  padding: 16px 20px; border-left: 6px solid #43a047;
}
.word-box strong { font-size: 1.1em; color: #1b5e20; }
.question { margin: 28px 0; }
.question-text { font-weight: bold; margin-bottom: 12px; }
.mc-option {
  display: block; width: 100%; text-align: left;
  padding: 14px 20px; margin: 8px 0;
  font-size: 0.95em; font-family: Georgia, serif;
  border: 2px solid #ccc; border-radius: 12px;
  background: #fff; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.mc-option:hover:not(:disabled) { border-color: #4a90e2; background: #eef4ff; }
.mc-option.selected { border-color: #4a90e2; background: #ddeeff; font-weight: bold; }
.mc-option.correct  { border-color: #2e7d32 !important; background: #e8f5e9 !important; }
.mc-option.wrong    { border-color: #c62828 !important; background: #ffebee !important; }
.feedback { font-size: 0.9em; font-weight: bold; margin-top: 6px; min-height: 1.2em; }
.feedback.ok  { color: #2e7d32; }
.feedback.err { color: #c62828; }
.feedback.tip { color: #777; }
textarea {
  width: 100%; min-height: 110px;
  font-size: 0.95em; font-family: Georgia, serif;
  border: 2px solid #ccc; border-radius: 12px;
  padding: 14px; resize: vertical; margin-top: 8px;
}
textarea:focus { outline: none; border-color: #4a90e2; }
.starter { color: #555; font-style: italic; margin-bottom: 4px; font-size: 0.95em; }
.fun-fact {
  background: #fff8e1; border-left: 6px solid #f9a825;
  border-radius: 10px; padding: 16px 20px;
}
.btn-row { margin: 28px 0 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  padding: 14px 26px; font-size: 0.95em;
  font-family: Georgia, serif; font-weight: bold;
  border: none; border-radius: 12px; cursor: pointer;
}
.btn:hover { opacity: 0.88; }
.btn-check  { background: #4a90e2; color: #fff; }
.btn-parent { background: #7b1fa2; color: #fff; }
.score-box {
  display: none; background: #e3f2fd; border-radius: 12px;
  padding: 16px 20px; font-size: 1.1em; font-weight: bold;
  color: #0d47a1; margin-bottom: 16px;
}
.score-box .show-grownup { display: block; font-size: 0.75em; font-weight: normal; margin-top: 6px; color: #1565c0; }
.answer-key {
  display: none; background: #f3e5f5; border-radius: 12px;
  padding: 20px 24px; margin-top: 28px;
  border-left: 6px solid #7b1fa2;
}
.answer-key h2 { border-color: #ce93d8; margin-top: 0; }
.answer-key ol li { margin-bottom: 8px; }

@media (max-width: 600px) {
  body { font-size: 18px; padding: 16px 14px 40px; }
  .btn { width: 100%; text-align: center; }
}
@media print {
  .btn-row { display: none; }
  .answer-key { display: block !important; }
}
