:root {
  --text: #141412;
  --muted: #767676;
  --link: #fa2020;
  --link-hover: #ffb020;
  --border: #ddd;
  --nav-bg: #220e10;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

h1, h2, h3, h4 {
  clear: both;
  font-family: Futura, Tahoma, Verdana, Geneva, sans-serif;
  font-weight: normal;
  line-height: 1.3;
}
h1 { font-size: 1.6em; text-transform: uppercase; }
h2 { font-size: 1.5em; font-weight: bold; text-transform: uppercase; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }

p { margin: 0 0 24px; }
ul, ol { margin: 16px 0; padding-left: 40px; }
ul { list-style-type: square; }

blockquote { margin: 24px 40px; font-size: 18px; font-style: italic; }

code, pre { font-family: Menlo, Consolas, monospace; font-size: 14px; }
pre {
  background: #f5f5f5;
  color: #666;
  margin: 20px 0;
  padding: 20px;
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

table { width: 100%; border-bottom: 1px solid var(--border); border-collapse: collapse; font-size: 14px; margin: 0 0 20px; }
th { text-align: left; text-transform: uppercase; }
td { border-top: 1px solid var(--border); padding: 6px 10px 6px 0; }

img, video { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
figure { margin: 0 0 20px; }
figcaption, .wp-caption-text { color: var(--muted); font-size: 14px; text-align: center; padding-top: 4px; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter, .alignnone { display: block; margin: 0 auto 20px; }
.wp-caption { max-width: 100%; }
.gallery { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; max-width: 604px; margin: 0 auto 20px; }
.gallery img { width: 280px; }

.site-header { text-align: center; padding: 20px 0 0; }
.site-header a { text-decoration: none; color: var(--text); }
.site-title, .site-description { display: inline; font-size: 1.0em; margin: 0; }
.site-title { font-weight: bold; text-transform: uppercase; }
.site-description {
  font-style: italic;
  font-family: Futura, Tahoma, Verdana, Geneva, sans-serif;
  color: #ccc;
  margin-left: 10px;
}

#navbar { margin-top: 20px; padding: 0 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.nav-menu { list-style: none; max-width: 604px; margin: 0 auto; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; text-align: left; }
.nav-menu li { display: block; }
.nav-menu > li > a { display: block; margin-bottom: 6px; font-family: Futura, Tahoma, Verdana, Geneva, sans-serif; font-size: 1.0em; font-weight: bold; text-transform: uppercase; color: var(--text); }
.nav-menu > li > a:hover { color: var(--link-hover); text-decoration: none; }
.sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.sub-menu a { display: block; padding: 3px 0; color: var(--muted); font-size: 1.0em; text-transform: none; }
.sub-menu a:hover { color: var(--link-hover); text-decoration: none; }

#content { padding: 0 20px 20px; }
.entry-header, .entry-content, .entry-summary, .entry-meta {
  max-width: 604px;
  margin-left: auto;
  margin-right: auto;
}
.entry-header { margin-top: 20px; margin-bottom: 20px; }
.entry-title { margin: 0 0 8px; }
.entry-title a { color: var(--text); }
.entry-title a:hover { color: var(--link-hover); }

.entry-meta { color: var(--muted); font-size: 1.0em; margin-bottom: 20px; }
.entry-meta .date a { color: var(--text); }
.entry-meta .categories-links a.tag { display: inline-block; text-transform: uppercase; font-size: 0.75em; font-weight: bold; padding: 1px 5px; border-radius: 4px; margin-right: 4px; background-color: #eee; color: var(--text); opacity: 50%; }
.entry-meta .categories-links a.tag:hover { background-color: var(--border); text-decoration: none; opacity: 100%; }

.entry-content { margin-bottom: 60px; }

.pagination { max-width: 604px; margin: 0 auto 60px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pagination .page-link { display: block; min-width: 32px; padding: 4px 8px; text-align: center; color: var(--text); }
.pagination .page-item.active .page-link { color: var(--link); font-weight: bold; }
.pagination .page-item.disabled .page-link { color: var(--border); cursor: default; }
.pagination .page-link:hover { color: var(--link-hover); text-decoration: none; }
.pagination .page-item.disabled .page-link:hover { color: var(--border); }

.page-title, .simple-list, .archives-table { max-width: 604px; margin-left: auto; margin-right: auto; }
.page-title { margin-top: 50px; }
.simple-list { padding: 0; list-style: none; margin-bottom: 60px; }
.simple-list li { margin-bottom: 10px; font-size: 18px; }


.changelog span.tag { text-transform: uppercase; font-size: 0.75em; font-weight: bold; padding: 1px 2px; border-radius: 4px; }
.changelog span.tag.fix { background-color: orange; color: white; }
.changelog span.tag.new { background-color: green; color: white; }

.archives-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 60px; font-size: 1.0em; }
.archives-table td { padding: 5px 0; }
.archives-table td.archives-date { width: 180px; color: var(--muted); white-space: nowrap; text-align: right; padding-right: 20px; }

.download-button {
  background-color: #2182f8;
  color: #fff !important;
  border: none;
  padding: 12px 24px;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 2px 4px rgba(0,0,0,.2);
}
.download-button:hover {   background-color: #3192ff;
 }

@media (max-width: 700px) {
  .nav-menu { gap: 24px; }
}
