@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* Base */

body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  color: #222;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Main content */

.post-content {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.95;
  margin-top: 2.2rem;
}

.post-content p {
  margin-bottom: 1.5em;
}

/* Global serif enforcement (overrides theme) */

.post,
.posts,
.posts-group,
.posts-list,
.posts-list-item,
.post-item,
.post-item-inner,
.post-item a,
.post-item-title,
.posts-group .post-title,
.posts-group .post-item-title,
.posts-group .post-item a,
.posts-list a,
.posts-list-item a,
.post-year,
.posts-group .post-year,
.post-title,
.post-title a,
.homepage-content h1,
main[aria-role="main"] h1,
h1, h2, h3,
.subtitle,
.post-excerpt,
.post-info,
.footer,
.menu__inner,
.menu__inner a,
.logo,
.logo__text,
.post-content li,
.post-content blockquote,
.post-content ul,
.post-content ol {
  font-family: "Source Serif 4", Georgia, serif !important;
}

/* Layout width */

.post,
.posts,
.posts-group {
  max-width: 720px;
  margin: 0 auto;
}

/* Archive */

.posts {
  max-width: 760px;
}

.posts-group {
  max-width: 760px;
  margin-top: 1.4rem;
}

.posts-group .post-year {
  font-size: 1.6rem;
  color: #a3a3a3;
  font-weight: 400;
  min-width: 78px;
}

.post-item {
  padding: 0.28rem 0;
}

.post-item:not(:last-child) {
  border-bottom: 1px dotted none;
}

.post-item a,
.post-item-title {
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 400;
}

.post-item a {
  color: #1f1f1f;
}

.post-item a:hover {
  color: #000;
  opacity: 1;
}

.post-item time,
.post-item-meta {
  font-size: 1rem;
  color: #999;
  white-space: nowrap;
}

/* Archive page heading and filter links */

.posts h1,
.list__title,
.index-content h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #111;
  margin-top: 0.4rem;
  margin-bottom: 0.55rem;
}

.posts p a,
.posts .terms a,
.posts .taxonomy a {
  color: #222;
}

/* Titles */

.post-title,
.post-title a {
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  color: #111;
}

/* Front page */

main[aria-role="main"] {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 180px);
  padding: 90px 20px 40px;
  text-align: center;
}

.home-intro {
  max-width: 760px;
  width: 100%;
}

.home-intro h1 {
  font-size: 3.15rem;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #111;
}

.home-intro .subtitle {
  font-size: 1.02rem;
  line-height: 1.55;
  font-style: normal;
  color: #555;
  max-width: 34rem;
  margin: 0 auto 1.2rem;
}

.home-social {
  margin: 0.9rem 0 1.2rem;
}

.home-social a {
  font-size: 1.28rem;
  margin: 0 0.28rem;
  opacity: 0.88;
  color: #444;
}

.home-social a:hover {
  opacity: 0.65;
}

.home-languages {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.home-archive {
  margin: 0.8rem 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.home-photo {
  margin: 0 0 1rem;
}

.home-photo img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

/* Header */

.logo,
.logo__text {
  font-weight: 500;
}

.logo__text {
  color: #555;
}

.logo__cursor,
.logo__mark {
  display: none !important;
}

.header__inner {
  width: 900px;
}

/* Links */

a {
  color: #222;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

a:hover {
  opacity: 0.85;
}

/* Metadata */

.post-info {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.6rem;
}

/* Blockquotes */

.post-content blockquote {
  border-left: 2px solid #ddd;
  margin: 2em 0;
  padding-left: 1.2em;
  font-style: italic;
  color: #333;
}

/* Footer */

.footer {
  font-size: 0.74rem;
  color: #aaa;
  line-height: 1.4;
  text-align: center;
  padding: 1rem 0 1.6rem;
}

.footer a {
  color: #888;
  text-decoration: none;
}

.footer a:hover {
  color: #222;
}

/* Clean up theme elements */

.sharing-buttons {
  display: none;
}

/* Mobile */

@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  .post-title,
  .post-title a {
    font-size: 2.2rem;
  }

  main[aria-role="main"] {
    padding: 90px 20px 60px;
  }

  main[aria-role="main"] h1 {
    font-size: 2.6rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .post-content {
    font-size: 1.05rem;
  }

  .post,
  .posts,
  .posts-group {
    max-width: 100%;
  }

  .home-social a {
    font-size: 1.25rem;
  }

  .posts-group .post-year {
    min-width: 70px;
    font-size: 1.45rem;
  }

  .post-item a,
  .post-item-title {
    font-size: 1.04rem;
  }
}


/* About photo */
.about-intro {
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-intro .about-photo-inline {
  float: left;
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 50%;
  margin: 0.35rem 1rem 0.45rem 0;
}
