/* FRA Amtrak Daily Long-Distance Service Study — reconstructed static site
   Hand-authored CSS approximating the original Auxin/Phlox-pro WordPress theme.
   See RECONSTRUCTION-NOTES.md for the rationale behind this simplification. */

:root {
  --navy: #14315d;
  --navy-dark: #0c2142;
  --blue: #1f5fa8;
  --blue-light: #eaf1fa;
  --accent: #c8102e;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --border: #dbe2ea;
  --bg: #ffffff;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --font-heading: "Roboto Slab", "Georgia", serif;
  --font-nav: "Titillium Web", "Segoe UI", Arial, sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-branding img { max-height: 64px; width: auto; }
.site-branding .site-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.25;
  max-width: 420px;
}
.nav-toggle {
  display: none;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 3px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-family: var(--font-nav);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.main-nav a { color: var(--navy); }
.main-nav a:hover, .main-nav a.current { color: var(--accent); text-decoration: none; }
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.social-icons a:hover { background: var(--accent); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin: 0 0 8px;
}
.hero p.subtitle {
  font-size: 1.1rem;
  color: #cfe0f2;
  max-width: 780px;
  margin: 0 auto;
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 34px 0;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-heading);
  margin: 0;
  font-size: 2rem;
}

/* ---------- Sections ---------- */
main { display: block; }
.section {
  padding: 48px 0;
}
.section + .section { border-top: 1px solid var(--border); }
.section.alt { background: var(--blue-light); }
.section h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.7rem;
  margin-top: 0;
}
.section h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.25rem;
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.two-col.reverse .media { order: 2; }
figure { margin: 0; }
figcaption {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
  font-style: italic;
}
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 600;
  margin-top: 8px;
}
.btn:hover { background: var(--navy); text-decoration: none; color: #fff; }
.link-list { list-style: none; padding: 0; margin: 12px 0; }
.link-list li { margin-bottom: 8px; }
.link-list a::before { content: "\1F4C4  "; }

/* ---------- Meeting materials ---------- */
.series-block { margin-bottom: 56px; }
.series-block h2 {
  border-bottom: 3px solid var(--blue);
  padding-bottom: 8px;
}
.series-block .series-date {
  color: var(--text-light);
  font-weight: 600;
  margin-top: -8px;
}
.overview-doc {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.region-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
  background: #fff;
}
.region-card h3 { margin-top: 0; margin-bottom: 10px; }
.region-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.region-card li { margin-bottom: 6px; }
.region-card a::before { content: "\2913  "; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item h3 { margin: 0 0 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #cfe0f2;
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
  margin-top: 40px;
}
.site-footer a { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .media { order: 0; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 12px;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 12px; }
  .social-icons { padding-top: 6px; }
  .site-branding .site-title { font-size: 0.9rem; max-width: 260px; }
}
@media (max-width: 480px) {
  .hero { padding: 40px 0; }
  .section { padding: 32px 0; }
  .region-grid { grid-template-columns: 1fr; }
}
