/* ==========================================================================
   Blog Theme — The Keeper of the Lighthouse
   Matches the landing page visual identity
   ========================================================================== */

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

p { color: #333; }

h1, h2, h3, h4, h5, h6 { font-weight: 600; }

a { color: #75AD70; }

a:hover,
a:focus {
  color: #2980b9;
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

strong { font-weight: 600; }

.section-spacing { padding: 4.5em 0; }

/* ==========================================================================
   Blog Nav
   ========================================================================== */

.blog-nav {
  background: #F7F7F7;
  padding: 1em 0;
  border-bottom: 1px solid #e3e3e3;
}

.blog-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-nav-brand {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.blog-nav-brand:hover {
  color: #75AD70;
}

.blog-nav-link {
  font-size: 14px;
  font-weight: 400;
  color: #75AD70;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-nav-link:hover {
  color: #2980b9;
}

/* ==========================================================================
   Blog Listing
   ========================================================================== */

.blog-listing header {
  margin-bottom: 3em;
}

.blog-listing header h1 {
  font-size: 34px;
  font-weight: 400;
  color: #333;
}

.blog-post-preview {
  margin-bottom: 3em;
  padding-bottom: 3em;
  border-bottom: 1px solid #e3e3e3;
}

.blog-post-preview:last-child {
  border-bottom: none;
}

.blog-post-image {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1.5em;
}

.blog-post-title {
  font-size: 24px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0.5em;
}

.blog-post-title a {
  color: #333;
}

.blog-post-title a:hover {
  color: #75AD70;
}

.blog-post-meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 1em;
}

.blog-post-summary {
  color: #444;
  line-height: 1.7;
}

.read-more {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ==========================================================================
   Single Blog Post
   ========================================================================== */

.blog-post-header {
  margin-bottom: 2em;
}

.blog-post-header h1 {
  font-size: 36px;
  font-weight: 400;
  color: #333;
  line-height: 1.3;
}

.blog-post-tags {
  margin-left: 1em;
}

.blog-tag {
  display: inline-block;
  background: #F7F7F7;
  color: #555;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 4px;
}

.blog-post-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.blog-post-content h2 {
  font-size: 26px;
  font-weight: 600;
  color: #333;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.blog-post-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.blog-post-content p {
  margin-bottom: 1.5em;
  color: #333;
}

.blog-post-content img {
  border-radius: 4px;
  margin: 1.5em 0;
}

.blog-post-content blockquote {
  border-left: 3px solid #75AD70;
  padding: 0.5em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: #555;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.blog-post-content li {
  list-style: disc;
  margin-bottom: 0.5em;
  color: #333;
}

.blog-post-content ol li {
  list-style: decimal;
}

.blog-post-content a {
  color: #75AD70;
  text-decoration: underline;
}

.blog-post-content a:hover {
  color: #2980b9;
}

.blog-post-content code {
  background: #F7F7F7;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.blog-post-content pre {
  background: #F7F7F7;
  padding: 1.5em;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.blog-post-content pre code {
  background: none;
  padding: 0;
}

/* ==========================================================================
   Blog Post Footer
   ========================================================================== */

.blog-post-footer {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid #e3e3e3;
}

.back-to-blog {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ==========================================================================
   Footer (matches landing page)
   ========================================================================== */

.site-footer { background: #F7F7F7; }

.site-footer .blog-link {
  margin: 1em 0 0;
}

.site-footer .blog-link a {
  color: #75AD70;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.site-footer .blog-link a:hover {
  color: #2980b9;
}

.site-footer small {
  margin: 1.5em 0 .75em;
  display: inline-block;
  color: #888;
}

.social li {
  display: inline-block;
  padding-right: .8em;
  text-align: center;
}

.social li:last-child { padding-right: 0; }

.social li a {
  display: block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 50%;
  background: transparent;
  color: #75AD70;
  border: 1px solid #75AD70;
  transition: all .5s linear;
}

.social li a:hover {
  color: #fff;
  background: #2980b9;
  border: 1px solid #2980b9;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 992px) {
  .section-spacing { padding: 6em 0; }

  .blog-post-header h1 {
    font-size: 42px;
  }
}
