body {
  background-color: #333;
  color: #EEE;
  font-family: Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  text-align: center; /* centers container */
}

.posts {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Clear floats at the end of each post */
.post::after {
  content: "";
  display: table;
  clear: both;
}


/* Post Title */
.post h2 {
  color: #FFF;
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
}

.thumbnail {
  float: left;
  width: 120px;               /* thumbnail size */
  height: auto;
  margin: 0 0.5rem 0.5rem 0;
  border-radius: 6px;
  border: 1px solid #555;
  object-fit: cover;
}

/* Post Summary */
.post p {
  margin: 0 0 0.5rem 0;
  color: #EEE;
}

/* Read More */
.read-more {
  color: #FFD580;
  text-decoration: underline;
}

.read-more:hover {
  color: #FFA500;
}

/* Links */
a {
  color: #FFF;
  text-decoration: none;
}

a:hover {
  color: #CCC;
}

/* Responsive: optional if you want thumbnail smaller on mobile */
@media (max-width: 600px) {
  .thumbnail {
    width: 100px;
    margin-bottom: 0.5rem;
  }
}

article {
    max-width: 800px;
    margin: 0 auto 1rem auto;  /* smaller bottom spacing */
    padding: 0;
    text-align: left;
    border-bottom: 1px solid #555;
    box-sizing: border-box;
    line-height: 1.6;
}

.blog-header {
    max-width: 800px;
    margin: 0 auto;       /* remove bottom margin */
    padding: 0;           /* remove top/bottom padding */
    text-align: left !important;
    box-sizing: border-box;
}

.blog-page-title {
    margin: 0;
    font-size: 1.8rem;
    color: #FFF;
    font-size: 2rem;
}

.blog-post-date {
    display: block;
    margin-top: 0.25rem;
    margin-bottom: 1rem; /* very small space below date */
    font-size: 0.9rem;
    color: #BBB;
    font-style: italic;
    line-height: 1.3;
    text-align: left;
}


img {
  max-width: 100%;
}

.right-image {
  float:right;
  max-width: 40%;
  margin-left: 5px
}

.left-image {
  float:left;
  max-width: 40%;
  margin-right: 20px
}

.center-image {
  display: block;
  text-align: center;
  margin: 0 auto;
}

.center-image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.center-image figcaption {
  font-size: 0.77rem;      /* small, sleek font */
  color: #CCC;             /* lighter text */
  font-style: italic;
  line-height: 1.2;
  margin-top: -0.2rem;     /* pulls caption closer to image */
}
