@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #fdfcfa;
  color: #111;
}

/* navbar */
.navbar {
  width: 100%;
  padding: 1.1rem 2rem;
}

.navbar-title {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #111;
  letter-spacing: 0.02em;
}

/* header */
.site-header {
  width: 100%;
}

.header-image-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-image {
  width: 600px;
  max-width: 100%;
  height: auto;
  display: block;
}

.header-provenance {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
  margin-top: 0.6rem;
  margin-bottom: 1.8rem;
  line-height: 1.4;
}

.header-title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 1.2rem 0 0.4rem;
  text-align: center;
}

/* main */
.main-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 2rem 6rem;
}

/* breadcrumb */
.breadcrumb {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 2.5rem;
}

.breadcrumb a {
  color: #999;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* intro */
.intro {
  margin-bottom: 3rem;
}

.intro p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1rem;
}


/* post list */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  color: #111;
}

.post-item:first-child { border-top: 1px solid #e8e8e8; }

.post-item .post-title {
  font-size: 1rem;
}

.post-item .post-date {
  font-size: 0.75rem;
  color: #999;
  flex-shrink: 0;
  margin-left: 1rem;
}

.post-item:hover .post-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* single post */
article .post-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.post-body p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
  color: #222;
}

.post-body a {
  color: #111;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .navbar { padding: 1rem 1.2rem; }
  .main-content { padding: 2rem 1.2rem 4rem; }
  .header-image-wrap { padding: 0 1.2rem; }
  .header-provenance { padding: 0 1.2rem; }
  article .post-title { font-size: 1.25rem; }
}
