/* Marathon Records in Hero */
.marathon-records {
  margin: 25px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--brand-color);
}

.marathon-records__title {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-font-color);
}

.marathon-records__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.marathon-record {
  display: grid;
  grid-template-columns: 60px 100px 1fr;
  gap: 15px;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
}

.marathon-record__distance {
  font-weight: 700;
  color: var(--brand-color);
  font-size: 16px;
}

.marathon-record__time {
  font-weight: 600;
  font-family: 'Courier New', monospace;
  color: var(--heading-font-color);
  font-size: 16px;
}

.marathon-record__event {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 14px;
}

/* Article Taxonomy (Categories + Tags) */
.article__taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.article__categories,
.article__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.article__tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article__tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

.article__category {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.article__category:hover {
  background: var(--gradient-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* Post Info (Categories + Tags in Single Post Page) */
.post-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.post-categories,
.post-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.post-category {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.post-category:hover {
  background: var(--gradient-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.post-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

/* Heading Spacing */
.post h2, .page h2 {
  margin-top: 36px;
}

.post h2:first-child, .page h2:first-child {
  margin-top: 12px;
}

/* Nested List Fix */
.post ul, .post ol,
.page ul, .page ol {
  list-style-position: outside;
  padding-left: 24px;
}

.post ul ul, .post ol ul,
.post ul ol, .post ol ol,
.page ul ul, .page ol ul,
.page ul ol, .page ol ol {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 24px;
}

.post li, .page li {
  margin-bottom: 8px;
}

/* Responsive */
@media only screen and (max-width: 768px) {
  .marathon-record {
    grid-template-columns: 50px 90px 1fr;
    gap: 10px;
    font-size: 14px;
  }

  .marathon-record__distance,
  .marathon-record__time {
    font-size: 14px;
  }

  .marathon-record__event {
    font-size: 12px;
  }

  .article__taxonomy {
    gap: 6px;
  }

  .article__category {
    font-size: 11px;
    padding: 3px 10px;
  }
}

/* Comments Spacing */
.post__comments {
  margin-top: 32px;
}

.post__comments-title {
  margin-bottom: 16px;
}

/* Font Family (Pretendard for Korean fallback) */
body {
  font-family: 'Roboto Mono', "Pretendard Variable", Pretendard, "Courier New", "Lucida Console", Monaco, monospace, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', "Pretendard Variable", Pretendard, Helvetica Neue, Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* Keep monospace for code */
code, pre, .marathon-record__time {
  font-family: 'Roboto Mono', "Pretendard Variable", Pretendard, 'Courier New', monospace;
}
