:root {
  --navy: #16273D;
  --navy-soft: #4A5163;
  --gold: #C6A560;
  --paper: #EFEAE7;
  --paper-line: #C9C2B8;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 20px;
  line-height: 1.6;
}

a { color: inherit; }

/* Header */
.site-header {
  background: var(--white);
  padding: 0;
  text-align: center;
  border-bottom: 0.5px solid var(--paper-line);
}

.logo-link { display: block; }

.site-logo {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
  font-size: 17px;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.site-nav a.is-active,
.site-nav a:hover {
  border-bottom-color: var(--gold);
}

/* Main */
.site-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  margin: 0 0 0.5em;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: var(--navy-soft);
  letter-spacing: 0.5px;
  margin: 0;
}

/* Section tiles (homepage) */
.section-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.section-tile {
  display: block;
  text-decoration: none;
  border: 0.5px solid var(--paper-line);
  border-radius: 6px;
  padding: 1.25rem;
  background: var(--white);
}

.section-tile-title {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.section-tile-latest {
  display: block;
  font-size: 16px;
  color: var(--navy-soft);
}

/* Section listing pages */
.section-title {
  font-size: 32px;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.post-list-item {
  padding: 1.25rem 0;
  border-top: 0.5px solid var(--paper-line);
}

.post-list-item:last-child {
  border-bottom: 0.5px solid var(--paper-line);
}

.post-list-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  text-decoration: none;
  color: var(--navy);
}

.post-list-date {
  display: block;
  font-size: 15px;
  color: var(--navy-soft);
  margin-top: 4px;
}

.post-list-excerpt {
  font-size: 17px;
  color: var(--navy-soft);
  margin: 6px 0 0;
}

/* Individual post */
.post-eyebrow {
  font-size: 15px;
  text-transform: capitalize;
  margin: 0 0 0.5rem;
}

.post-eyebrow a {
  text-decoration: none;
  color: var(--gold);
}

.post-title {
  font-size: 34px;
}

.post-date {
  font-size: 16px;
  color: var(--navy-soft);
  margin: 0 0 2rem;
}

.post-body p {
  max-width: 68ch;
}

/* Footer */
.site-footer {
  text-align: center;
  font-size: 15px;
  color: var(--navy-soft);
  padding: 2rem 1rem 3rem;
}
