/* Recreated look of the WordPress.com premium “Standard” theme, no JS. */
* { box-sizing: border-box; }

html, body {
  background: #efefef;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #333;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

a { color: #08c; text-decoration: none; }
a:hover { color: #005580; text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: inherit;
  font-weight: bold;
  color: inherit;
}

p { margin: 0 0 20px; }

.clearfix:before, .clearfix:after,
.container:before, .container:after,
.row:before, .row:after,
.row-fluid:before, .row-fluid:after {
  display: table;
  content: "";
}
.clearfix:after, .container:after, .row:after, .row-fluid:after { clear: both; }

.container {
  width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.row { margin-left: -20px; }
.span8, .span4, .span9, .span3, .span12, .span7 {
  float: left;
  margin-left: 20px;
}
.span12 { width: 940px; }
.span9 { width: 700px; }
.span8 { width: 620px; }
.span7 { width: 540px; }
.span4 { width: 300px; }
.span3 { width: 220px; }

.row-fluid .span9 { width: 74%; }
.row-fluid .span3 { width: 23%; float: right; }

/* ----- Navbar (Standard / Bootstrap 2) ----- */
.navbar { margin-bottom: 0; }
.navbar-inner {
  background-color: #202020;
  background-image: linear-gradient(to bottom, #202020, #1c1c1c);
  min-height: 40px;
}
.navbar .container { width: 940px; position: relative; }
.navbar .nav {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}
.navbar .nav > li { float: left; display: block; }
.navbar .nav-menu > li > a {
  display: block;
  padding: 10px 15px;
  line-height: 19px;
  color: #999;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.navbar .nav-menu > li > a:hover,
.navbar .nav-menu .current-menu-item > a {
  color: #fff;
  background: none;
  text-decoration: none;
}

#social-networking {
  position: absolute;
  top: -4px;
  right: 0;
}
.social-icons.nav { display: inline-block; float: none; }
.social-icons.nav > li { float: left; }
.social-icons.nav > li a {
  display: block;
  margin: 12px 0 6px 12px;
  padding: 0;
}
.social-icons img { width: 16px; height: 16px; }

/* ----- Header / logo ----- */
#header { padding: 10px 0; }
#logo { padding: 40px 0; text-align: center; }
#site-title, #site-title a {
  color: #000;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  margin-bottom: 0;
}
#site-title a:hover { color: #454545; }
#site-description {
  display: block;
  color: #7a7a7a;
  font-size: 14px;
  font-weight: normal;
  margin-top: 6px;
}

#wrapper { padding: 0 0 40px; }

#main {
  background: #fff;
}

/* ----- Posts ----- */
.post-header {
  border-bottom: 1px solid #eee;
  padding: 20px;
  margin-bottom: 15px;
}
.post-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 200;
  margin-bottom: 5px;
}
.post-title a, .post-title a:visited { color: #444; }
.post-title a:hover, .post-title a:active { color: #888; text-decoration: none; }
h1.post-title { font-size: 32px; font-weight: 200; }

.post-header-meta { color: #999; margin: 0; }
.the-views { color: #999; }


.entry-content {
  padding: 0 20px 20px;
}
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  line-height: 140%;
  margin-bottom: 10px;
}
.entry-content ul, .entry-content ol { margin: 0 0 20px 20px; padding: 0; }
.entry-content li { margin-bottom: 4px; }
.entry-content blockquote {
  margin: 0 0 20px;
  padding: 0 0 0 15px;
  border-left: 3px solid #ddd;
  color: #555;
}

.post-meta {
  color: #888;
  font-size: 12px;
  border-top: 1px solid #eee;
  padding: 20px;
}
.post-meta .the-category { margin-right: 5px; }
.post-meta .the-tags {
  background: url("../images/theme/icn-tags.png") no-repeat left center;
  padding-left: 20px;
}
.post-meta .post-link { float: right; padding-left: 10px; }
.pull-right { float: right; }

/* Captions / figures — table layout so captions stay under images */
.entry-content figure,
.entry-content .wp-caption,
.entry-content figure.alignnone,
.entry-content figure.aligncenter,
.entry-content figure.alignleft,
.entry-content figure.alignright {
  margin: 0 auto 20px;
  display: table;
  max-width: 100%;
  border: 1px solid #eee;
  text-align: center;
  background-color: #f8f8f8;
  padding-top: 4px;
  border-radius: 3px;
}
.entry-content figcaption,
.entry-content .wp-caption-text,
.entry-content p.wp-caption-text {
  display: table-caption;
  caption-side: bottom;
  color: #888;
  font-size: 11px;
  margin: 0;
  padding: 6px 8px 8px;
  text-align: center;
}
.entry-content .wp-caption img,
.entry-content figure img {
  max-width: 98%;
  height: auto;
}
.entry-content img.alignleft,
.entry-content .alignleft {
  float: left;
  margin: 0 20px 20px 0;
}
.entry-content img.alignright,
.entry-content .alignright {
  float: right;
  margin: 0 0 20px 20px;
}
.entry-content .alignnone,
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: block; clear: both; }

.entry-content pre,
.entry-content .highlight {
  background: #2b2724;
  color: #f0e6d8;
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
  padding: 12px 14px;
  overflow-x: auto;
  border-radius: 3px;
  margin: 0 0 20px;
}
.entry-content code {
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 12px;
  background: #f4f4f4;
  padding: 1px 4px;
  border-radius: 2px;
}
.entry-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.entry-content table {
  width: 100%;
  margin: 20px 0;
  border: 1px solid #ddd;
  border-collapse: collapse;
}
.entry-content table th,
.entry-content table td {
  padding: 8px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #ddd;
}

.embed-fallback {
  margin: 0 0 20px;
  padding: 12px 14px;
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 3px;
}
.embed-fallback a { display: inline-block; }
.embed-note { margin: 6px 0 0; color: #888; font-size: 12px; }
.embed-fallback .thumb {
  display: block;
  margin-bottom: 8px;
  max-width: 32rem;
}

/* ----- Sidebar ----- */
#sidebar .widget { margin-bottom: 30px; }
.widget h4.widget-title {
  line-height: 24px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget ul li { padding: 5px 0; list-style: none; }
.widget ul li a { color: #777; }
.widget ul li a:hover { color: #999; }

.about-photo { width: 100px; height: auto; display: block; }

.stats-as-of {
  margin: 4px 0 0;
  color: #888;
  font-size: 11px;
}

.tag-cloud-link {
  display: inline;
  margin: 0 4px 0 0;
  line-height: 1.5;
  color: #08c;
}
.tag-weight-1 { font-size: 8pt; }
.tag-weight-2 { font-size: 10pt; }
.tag-weight-3 { font-size: 11pt; }
.tag-weight-4 { font-size: 13pt; }
.tag-weight-5 { font-size: 15pt; }
.tag-weight-6 { font-size: 17pt; }
.tag-weight-7 { font-size: 19pt; }
.tag-weight-8 { font-size: 22pt; }

table.recentcommentsavatar { width: 100%; border: 0; border-collapse: collapse; }
td.recentcommentsavatartop, td.recentcommentsavatarend {
  width: 32px;
  height: 32px;
  padding: 0 0 1px 0;
  vertical-align: top;
}
td.recentcommentstexttop, td.recentcommentstextend {
  border: none;
  padding: 0 0 2px 10px;
  vertical-align: top;
  color: #555;
}
table.recentcommentsavatar img.avatar {
  width: 32px;
  height: 32px;
  border: 0;
  margin: 0;
  border-radius: 0;
}
table.recentcommentsavatar a { color: #08c; }

/* ----- Archives / terms ----- */
.archive-header { padding: 20px 20px 0; }
#archive-page-title, .archive-header h3 { font-size: 16px; margin-bottom: 6px; }
.archive-count { color: #888; margin: 0 0 10px; padding: 0; }
.term-list { margin: 0 20px 20px; padding: 0; list-style: none; }
.term-list li { padding: 5px 0; border-bottom: 1px solid #eee; }
.term-list .count { color: #888; }

/* ----- Comments ----- */
.comments {
  margin: 20px 20px 0;
  padding-top: 10px;
}
.comments h2 { font-size: 18px; margin: 0 0 8px; }
.comments .post-count { color: #888; }
.comment {
  margin: 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.comment-replies { margin: 12px 0 0 24px; }
.comment-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.comment-meta time { display: block; color: #999; font-size: 12px; }
.avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  background: #eee;
}
.comment-author { font-weight: bold; color: #333; }
.comment-author:hover { color: #08c; }
.badge {
  display: inline-block;
  margin-left: 6px;
  color: #888;
  font-size: 11px;
  font-weight: normal;
}
.comment-body > *:first-child { margin-top: 0; }
.comment-body > *:last-child { margin-bottom: 0; }

/* ----- Pagers ----- */
#single-post-nav, .posts-pager { margin: 28px 20px 20px; }
.pager { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.pager .previous { float: left; }
.pager .next { float: right; text-align: right; }
.pager a { color: #08c; }

/* ----- Footer ----- */
#footer { background: #e0e0e0; padding: 0; }
#sub-floor { background: #000; padding: 10px 0; }
#sub-floor #credit {
  color: #666;
  padding: 10px 0;
  text-align: center;
}
#sub-floor #credit p { margin: 0 0 4px; }
#sub-floor #credit a { color: #999; }
#sub-floor #credit a:hover { color: #fff; text-decoration: none; }

/* ----- Responsive (no JS hamburger: wrap the menu) ----- */
@media (max-width: 980px) {
  .container, .navbar .container { width: auto; max-width: 940px; padding: 0 16px; }
  .row { margin-left: 0; }
  .span8, .span4, .span9, .span3, .span12, .span7 {
    float: none;
    width: auto;
    margin-left: 0;
  }
  #social-networking { position: static; float: right; }
  .navbar-inner { overflow: hidden; }
}
@media (max-width: 640px) {
  #site-title, #site-title a { font-size: 26px; }
  .post-title, h1.post-title { font-size: 24px; }
  .navbar .nav { float: none; }
  .navbar .nav > li { float: none; }
  .navbar .nav-menu > li > a { padding: 8px 10px; }
  #social-networking { float: none; padding: 0 10px 8px; }
  .entry-content img.alignleft,
  .entry-content img.alignright,
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    max-width: 100%;
    margin: 0 0 20px;
  }
  .comment-replies { margin-left: 8px; }
}
