/* ============================================================================
   THE TALON — STYLES
   RedHawks color scheme: deep red, charcoal, cream/white.
   To change the colors, edit the variables in :root below.
   ========================================================================== */

:root {
  --red: #d81f26;          /* RedHawks bright athletic red (from logo) */
  --red-dark: #a3151b;     /* deeper red for shadows/hovers */
  --gold: #f6c515;         /* hawk beak / eye gold accent */
  --ink: #141414;          /* near-black text */
  --charcoal: #111111;     /* logo banner black */
  --gray: #6b6b6b;
  --line: #e4e1db;         /* hairline borders */
  --paper: #ffffff;
  --cream: #f7f5f1;        /* page background */
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;  /* athletic headlines */
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container,
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

main { padding-top: 32px; padding-bottom: 48px; }

/* ---- Masthead ----------------------------------------------------------- */

.masthead {
  background: var(--paper);
  border-bottom: 4px solid var(--red);
}
.masthead-topbar {
  background: var(--charcoal);
  border-bottom: 2px solid var(--gold);
}
.masthead-topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.masthead-date,
.masthead-place {
  font-size: 12px;
  color: #cfccc6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.masthead-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px 16px;
  display: flex;
  justify-content: center;
}
.masthead-brand {
  display: block;
  line-height: 0;
}
.masthead-brand:hover { text-decoration: none; }
.masthead-logo {
  height: auto;
  width: 100%;
  max-width: 560px;
}

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

.mainnav {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-list {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 12px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-list li { margin: 0; }
.nav-list a {
  display: block;
  color: #f3f1ec;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-list a:hover { background: var(--red-dark); text-decoration: none; }
.nav-list a.active { background: var(--red); }

.nav-toggle {
  display: none;
  width: 100%;
  background: var(--charcoal);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.03em;
}

/* ---- Badges ------------------------------------------------------------- */

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 3px;
}
.badge-new { background: var(--red); color: #fff; }

/* ---- Hero --------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}
.hero-image-link { position: relative; display: block; height: 100%; }
.hero-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.hero-badge { position: absolute; top: 16px; left: 16px; }
.hero-body { padding: 8px 32px 8px 4px; }
.hero-section,
.card-section,
.story-section {
  display: inline-block;
  font-family: var(--display);
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 14px;
}
.hero-title a { color: var(--ink); }
.hero-title a:hover { color: var(--red); text-decoration: none; }
.hero-excerpt { font-size: 19px; color: var(--charcoal); margin: 0 0 16px; }
.hero-meta { font-size: 14px; color: var(--gray); margin: 0 0 20px; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 11px 26px;
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 3px solid var(--red-dark);
}
.btn:hover { background: var(--red-dark); border-bottom-color: var(--gold); text-decoration: none; }

/* ---- Section headings --------------------------------------------------- */

.section-heading {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 3px 0 var(--gold);
}
.spotlight { margin-bottom: 36px; }

/* ---- Grids & cards ------------------------------------------------------ */

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-image-link { position: relative; display: block; }
.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.card-image-link .badge-new { position: absolute; top: 12px; left: 12px; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  margin: 6px 0 8px;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--red); text-decoration: none; }
.card-excerpt { font-size: 16px; color: var(--charcoal); margin: 0 0 12px; flex: 1; }
.card-meta { font-size: 13px; color: var(--gray); margin: 0; }

/* ---- Section & generic page header -------------------------------------- */

.page-header {
  margin-bottom: 26px;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 3px 0 var(--gold);
  padding-bottom: 14px;
}
.page-title {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}
.page-sub {
  color: var(--gray);
  margin: 6px 0 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ---- Article (story) page ----------------------------------------------- */

.story { max-width: 760px; margin: 0 auto; }
.story-title {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
  margin: 8px 0 12px;
}
.story-meta { color: var(--gray); font-size: 15px; margin: 0 0 22px; }
.story-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
}
.story-caption { font-size: 14px; color: var(--gray); margin: 8px 0 0; font-style: italic; }
.story-body { font-size: 19px; line-height: 1.75; margin-top: 26px; }
.story-body p { margin: 0 0 22px; }
.story-back { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }

.related { max-width: var(--maxw); margin: 56px auto 0; }

/* ---- Empty state -------------------------------------------------------- */

.empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--gray);
  font-size: 18px;
}

/* ---- About page --------------------------------------------------------- */

.prose { max-width: 760px; margin: 0 auto; }
.prose h1 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 8px;
}
.prose h2 {
  font-family: var(--display);
  font-size: 26px;
  margin: 36px 0 12px;
}
.prose p, .prose li { font-size: 18px; line-height: 1.7; }

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

#site-footer {
  background: var(--charcoal);
  color: #d8d5cf;
  margin-top: 48px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.2fr;
  gap: 32px;
}
.footer-inner a { color: #d8d5cf; }
.footer-inner a:hover { color: #fff; }
.footer-brand { font-size: 15px; line-height: 1.7; }
.footer-brand strong { color: #fff; font-family: var(--display); font-size: 20px; }
.footer-sections h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-links a { font-size: 14px; }
.footer-note { font-size: 14px; color: #b6b3ac; }
.footer-note p { margin: 0 0 8px; }

/* ---- Responsive --------------------------------------------------------- */

@media (max-width: 880px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 240px; }
  .hero-body { padding: 0 22px 26px; }
  .masthead-inner { grid-template-columns: 1fr; text-align: center; }
  .masthead-date, .masthead-school { text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .masthead-name { font-size: 32px; }
  .hero-title { font-size: 30px; }
  .story-title { font-size: 32px; }
  .page-title { font-size: 30px; }

  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    flex-direction: column;
    padding: 0;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,0.08); }
}
