:root {
  --text: #4f4f4f;
  --muted: #828282;
  --accent: #ff6d6d;
  --rule: #ececec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  max-width: 41rem;
  font-family: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}

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

a:hover {
  text-decoration: underline;
}

code, pre {
  font-family: "Source Code Pro", "Menlo", "Courier", monospace;
  font-size: 0.9em;
}

/* Header: logo square + site text */
.author {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.author__logo {
  flex: none;
  display: block;
}

.author__logo svg {
  display: block;
}

.author__site-title {
  font-family: "Neucha", "Noteworthy", cursive;
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--text);
  display: block;
}

.author__site-title:hover {
  color: var(--accent);
  text-decoration: none;
}

.author__my-name {
  display: block;
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0.15rem;
}

.author__elsewhere {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.author__elsewhere a {
  color: var(--muted);
}

.author__elsewhere a:hover {
  color: var(--accent);
}

/* Bio */
.bio {
  margin: 0 0 2rem;
}

/* Post list */
.posts-title {
  font-family: "Neucha", "Noteworthy", cursive;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list li {
  padding: 0.4rem 0;
}

.post-list .post-date {
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 0.5rem;
}

/* Post pages */
.back-link {
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

article h1 {
  font-family: "Neucha", "Noteworthy", cursive;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.3rem;
}

.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

@media (max-width: 480px) {
  .author {
    gap: 1rem;
  }
  .author__site-title {
    font-size: 1.9rem;
  }
}
