body {
  margin: 0;
  background: #f3f8ef;
  color: #24352b;
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 680px;
  margin: 0 auto;
  padding: 18px 20px;
}

.site-head a {
  color: #2e7d55;
  text-decoration: none;
}

.site-logo {
  font-size: 20px;
  font-weight: 800;
}

.site-head nav {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 20px 24px;
}

h1 {
  margin: 24px 0 16px;
  font-size: 26px;
  line-height: 1.4;
  color: #1f3b2a;
}

h2 {
  margin: 32px 0 8px;
  font-size: 18px;
  color: #1f3b2a;
}

main a {
  color: #2e7d55;
}

.site-foot {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 20px 40px;
  text-align: center;
  font-size: 13px;
  color: #66776b;
}

.site-go {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 14px;
  background: #2e7d55;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* 대나무 사이로 지나가는 이야기 */
.grove {
  position: relative;
  height: 230px;
  margin: 8px 0 24px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(#e6f2dc, #cfe5c0);
}

.grove::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 74px, #6f9e4c 74px 84px, transparent 84px 131px),
    repeating-linear-gradient(0deg, transparent 0 56px, rgba(45, 85, 40, 0.5) 56px 58px);
  mask-image: repeating-linear-gradient(90deg, transparent 0 74px, #000 74px 84px, transparent 84px 131px);
  -webkit-mask-image: repeating-linear-gradient(90deg, transparent 0 74px, #000 74px 84px, transparent 84px 131px);
}

.grove-title {
  position: absolute;
  left: 100%;
  z-index: 1;
  max-width: 300px;
  overflow: hidden;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f3b2a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  animation: grove-pass linear infinite;
}

.grove-title:hover {
  animation-play-state: paused;
}

@keyframes grove-pass {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100vw - 340px));
  }
}

@media (min-width: 720px) {
  @keyframes grove-pass {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-1020px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .grove {
    display: none;
  }
}

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

.story-list li {
  padding: 16px 0;
  border-top: 1px solid rgba(46, 125, 85, 0.18);
}

.story-list h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.story-list h2 a {
  color: #1f3b2a;
  text-decoration: none;
}

.story-list p {
  margin: 0;
  color: #52645a;
}

.story-date,
.story-note {
  font-size: 13px;
  color: #66776b;
}
