:root {
  color-scheme: light;
  --ink: #404040;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, 0.12);
  --paper: #ffffff;
  --link: #7999c1;
  --link-hover: #4373b0;
  --code-bg: #1c1917;
  --code-ink: #f5f5f4;
  --measure: 1200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Poppins, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: white;
  padding: 0.5rem;
  z-index: 2;
}

.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.topbar-inner,
.brand,
.site-content,
.site-footer-inner {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin: 0 auto;
}

.topbar-inner,
.topbar-right,
.site-nav,
.search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.topbar-inner { justify-content: space-between; padding: 0.45rem 0; }
.topbar-right { margin-left: auto; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--link); }

.social {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.7rem;
}

.social a {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  overflow: hidden;
  color: var(--ink);
  line-height: 0;
}

.social svg {
  display: block;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  fill: currentColor;
}

.brand { padding: 1.4rem 0 1.1rem; }

.site-title {
  margin: 0;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
}

.site-title a { color: var(--ink); }
.site-title a:hover { color: var(--link); }
.site-description { margin: 0.15rem 0 0; color: var(--muted); }

.search-form input,
.search-form button {
  font: inherit;
  color: inherit;
}

.search-form input {
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  padding: 0.35rem 0.55rem;
  min-width: 9rem;
}

.search-form button {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.site-content {
  padding: 2rem 0 3rem;
}

.has-sidebar .site-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  column-gap: 2.5rem;
  align-items: start;
}

.content-area { min-width: 0; }
.widget-area { width: 280px; max-width: 100%; }

.list-header h1,
.post-header h1,
.page > h1 { margin: 0 0 1rem; font-size: 2rem; }

.post-summary { padding: 0 0 1.6rem; margin: 0 0 1.6rem; border-bottom: 1px solid var(--line); }
.post-summary h2 { margin: 0 0 0.45rem; font-size: 1.75rem; }
.meta, .post-terms, .comment-meta, .count { color: var(--muted); }
.meta, .post-terms, .comment-meta { font-size: 0.9rem; }
.count { margin-left: 0.25rem; font-size: 0.85rem; }
.more { margin: 0.8rem 0 0; }

.content img, .summary img, .widget img { max-width: 100%; height: auto; }
.about-photo { display: block; width: 144px; max-width: 144px; }

blockquote {
  margin: 0 0 1.5rem;
  padding-left: 0.9rem;
  border-left: 4px solid #4e87d8;
}

.content pre, .summary pre {
  overflow: auto;
  padding: 0.9rem 1rem;
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: 4px;
}

.content table { border-collapse: collapse; width: 100%; }
.content th, .content td { border: 1px solid var(--line); padding: 0.35rem 0.5rem; vertical-align: top; }

.widget { margin: 0 0 2.6rem; }
.widget:last-child { margin-bottom: 0; }
.widget-title { margin: 0 0 0.7rem; font-size: 1.25rem; }
.widget p { margin: 0 0 1rem; }
.widget p:last-child { margin-bottom: 0; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin: 0 0 0.35rem; }
.widget a[aria-current="page"] { font-weight: 700; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  margin-top: 1rem;
}

.comment-list { list-style: none; padding-left: 0; }
.comment-list .comment-list { padding-left: 1.25rem; }
.comment-list article { border-top: 1px solid var(--line); padding: 0.8rem 0; }

.by-author {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.4rem;
  font-size: 0.8rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer-inner { padding: 1rem 0 2rem; }
.site-footer p { margin: 0; }

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.about-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.about-row > * { flex: 1 1 16rem; }
.about-photo, .about-links img { max-width: 100%; height: auto; }
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.about-links > li { flex: 1 1 16rem; text-align: center; }
.about-links a { display: inline-block; }
.about-links span { display: block; }

@media (max-width: 700px) {
  .has-sidebar .site-content { grid-template-columns: minmax(0, 1fr); }
  .widget-area { width: auto; }
  .site-title { font-size: 2rem; }
}
