body {
  background: #f8f7f2;
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

/* LAYOUT */

.content-wrap {
  max-width: 1040px;
}

/* NAVBAR */

.navbar {
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: -.02em;
}

/* LINKS */

a {
  color: #0077aa;
}

a:hover {
  color: #005577;
}

/* HERO */

.hero {
  margin-bottom: 3rem;
}

.hero h1 {
  font-weight: 700;
  letter-spacing: -.03em;
}

.hero p {
  max-width: 720px;
}

/* POST LIST */

.post-row {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.post-row h2 {
  margin-bottom: .35rem;
  line-height: 1.3;
}

.post-row h2 a {
  text-decoration: none;
}

.post-row h2 a:hover {
  text-decoration: underline;
}

.post-row p {
  color: #444;
  margin-bottom: 0;
}

/* SINGLE POST */

.post-content {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #222;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-content p {
  margin-bottom: 1.4rem;
}

/* IMAGES */

figure {
  margin: 2rem 0;
}

figure img,
.post-content img,
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* CAPTIONS */

figcaption {
  margin-top: .5rem;
  text-align: center;
  color: #666;
  font-size: .95rem;
  line-height: 1.5;
}

/* CODE */

.post-content pre {
  background: #f1f1f1;
  padding: 1rem;
  border-radius: .4rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.post-content code {
  background: #f1f1f1;
  padding: .15rem .35rem;
  border-radius: .2rem;
  font-size: .95em;
}

.post-content pre code {
  background: transparent;
  padding: 0;
}

/* BLOCKQUOTE */

.post-content blockquote {
  border-left: 4px solid #ccc;
  margin: 2rem 0;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
}

/* VIDEOS / IFRAMES */

.post-content iframe,
.post-content video {
  max-width: 100%;
  display: block;
  margin: 2rem auto;
}

/* TABLES */

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.post-content th,
.post-content td {
  border: 1px solid #ddd;
  padding: .75rem;
}

.post-content th {
  background: #f1f1f1;
}

/* FOOTER */

footer {
  border-top: 1px solid #ddd;
  color: #777;
  font-size: 14px;
  padding-top: 1rem;
}

/* MOBILE */

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .post-content {
    font-size: 1.02rem;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .hero h1,
  .display-5,
  .display-6 {
    font-size: 2rem;
  }
}



