/* -------------------------------------------------------------
  BASE TYPOGRAPHY & LAYOUT
------------------------------------------------------------- */

body {
  font-family: "Georgia", serif;
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0;
  background: #fff;
  color: #111;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem;
}


/* -------------------------------------------------------------
  HEADINGS (Set in Inter)
------------------------------------------------------------- */

h1, h2, h3 {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}


/* -------------------------------------------------------------
  Blockquotes
------------------------------------------------------------- */

blockquote {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  padding-left: 2rem;
  border-left:4px solid #C3D9EC;
}


/* -------------------------------------------------------------
  HEADER & SITE NAVIGATION
------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0;
  margin-bottom: 1rem;
}

.logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  text-decoration: none;
  color: #00467f;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav a:hover {
  text-decoration: underline;
}


/* -------------------------------------------------------------
  TAGS AND AFFILIATIONS
------------------------------------------------------------- */

#author { margin:0; padding:0 }

ul#affiliations {
  list-style: none;
  padding: 0;
  margin: 0;
}


/* -------------------------------------------------------------
  DECADE GRID INDEX
------------------------------------------------------------- */

.intro {
  margin-bottom: 2rem;
  font-style: italic;
}

.decade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.decade-card {
  border: 1px solid #eaeaea;
  padding: 1rem;
  border-radius: 6px;
  background-color: #fafafa;
  transition: box-shadow 0.2s ease;
}

.decade-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.decade-card h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: #00467f;
}

.decade-card p {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: #555;
}


/* -------------------------------------------------------------
  MEMORY GRID FOR DECADE PAGES
------------------------------------------------------------- */

.memory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.memory-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.memory-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.memory-header {
  background-color: #C3D9EC;
  padding: 1rem;
}

.memory-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

.memory-body {
  flex: 1;
  padding: 1rem;
  font-size: 0.95rem;
  color: #333;
}

.memory-body h1 {
  font-size: 1.5rem;
  margin:0 0 1rem 0;
  padding:0;
}

.memory-body p {
  margin: 0 0 1rem 0;
}

.schools {
  font-style: italic;
  font-size: 0.85rem;
  color: #666;
}

/* -------------------------------------------------------------
  MEMORY CARD FOOTER AND TAGS
------------------------------------------------------------- */

.memory-footer {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.memory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.memory-tag {
  background-color: #e9f1fa;
  color: #00467f;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease;
}

.memory-tag:hover {
  background-color: #c3d9ec;
}

.read-arrow {
  display: inline-block;
  background-color: #fff;
  color: #00467f;
  text-align: center;
  width: 3rem;
  height: 2rem;
  line-height: 1.75rem;
  border-radius: 999px;
  font-size: 1.2rem;
  text-decoration: none;
  border:1px solid #00467f;
  transition: background-color 0.2s ease;
}

.read-arrow:hover {
  background-color: #eef;
}



/* -------------------------------------------------------------
  FOOTER
------------------------------------------------------------- */

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid #eaeaea;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}


/* -------------------------------------------------------------
  MEMORY POST NAVIGATION (Next/Previous)
------------------------------------------------------------- */

.memory-nav {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pill-nav {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.45rem 1.2rem;
  border: 1px solid #00467f;
  border-radius: 999px;
  text-decoration: none;
  color: #00467f;
  transition: all 0.2s ease;
}

.pill-nav:hover {
  border-color: #00467f;
  background-color: #f0f6ff;
}
