/* Blog supplement — do not modify styles_grid2.css */
img {
  max-width: 100%;
}

.site-nav {
  max-width: 60rem;
  margin: 1.5rem auto 0 auto;
  padding: 0 2rem;
  text-align: right;
}

.site-nav a {
  color: #0e548e;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  margin-left: 1.5rem;
  letter-spacing: 0.03em;
}

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

/* Blog listing */
.blog-container {
  background-color: #fff;
  border-radius: 3rem;
  max-width: 60rem;
  min-height: 30rem;
  margin: 1rem auto 1rem auto;
  padding: 2rem;
}

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

.post-list-item {
  border-bottom: 1px solid #eee;
  padding: 1.2rem 0;
}

.post-list-item:first-child {
  padding-top: 0;
}

.post-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.post-list-item h3 {
  margin: 0 0 0.25rem 0;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
}

.post-date {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

.post-excerpt {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
  color: #444;
}

/* Single post */
.post-container {
  background-color: #fff;
  border-radius: 3rem;
  max-width: 60rem;
  margin: 1rem auto 1rem auto;
  padding: 2.5rem 3rem;
}

.post-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.post-title {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  color: #000;
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
}

.post-meta {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

.post-content {
  line-height: 1.8;
}

.post-content h2,
.post-content h3 {
  font-family: 'Merriweather', serif;
  color: #000;
  margin-top: 2rem;
}

.post-content a {
  color: #0e548e;
  font-weight: 700;
  text-decoration: none;
}

.post-content a:hover {
  color: #DC143C;
  text-decoration: underline;
}

.post-back {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

@media screen and (max-width: 650px) {
  .site-nav {
    padding: 0 1rem;
  }

  .blog-container {
    border-radius: 1.5rem;
    margin: 0.5rem;
    padding: 1.3rem;
  }

  .post-container {
    border-radius: 1.5rem;
    margin: 0.5rem;
    padding: 1.3rem;
  }
}
