hr {
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Post navigation links */
.post_navi {
  display: flex;
}

.post_navi-label {
  font-size: 0.8em;
  opacity: 0.5;
}

.post_navi .post_navi-item {
  padding: 0 2.2em;
  width: 50%;
  position: relative;
  color: inherit !important;
}

.post_navi .nav_prev {
  text-align: left;
}

.post_navi .nav_next {
  text-align: right;
}

.post_navi .nav_prev .post_navi-arrow {
  left: 0;
}

.post_navi .nav_next .post_navi-arrow {
  right: 0;
}

.post_navi .post_navi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5em;
  opacity: 0.3;
}

/* Tag page layout */
.tag-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.tag-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.tag-title {
  margin: 0;
  color: #333;
  font-size: 2.5rem;
}

.tag-description {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.5;
}

/* Post list styles */
.tag-posts {
  margin-bottom: 3rem;
}

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

.post-list > li {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.post-list > li:last-child {
  border-bottom: none;
}

.post-meta {
  display: block;
  font-size: 0.9rem;
  color: #828282;
  margin-bottom: 0.5rem;
}

.post-link {
  color: #2a7ae2;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
}

.post-link:hover {
  text-decoration: underline;
}

.post-excerpt {
  margin-top: 0.8rem;
  color: #666;
  line-height: 1.6;
}

/* Tag navigation */
.tag-navigation {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid #e8e8e8;
}

.tag-navigation h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tag-list li {
  margin: 0;
}

.tag-list li.current .tag-link {
  background: #2a7ae2;
  color: white;
}

.tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.tag-link:hover {
  background: #e2e8f0;
  color: #2a7ae2;
}

.tag-count {
  margin-left: 0.4rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Tag cloud styles */
.tag-cloud {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #eee;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.8em;
  background: #f5f5f5;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  font-size: 0.9em;
}

.tag-link:hover {
  background: #e2e8f0;
  color: #0b63a8;
}

.tag-count {
  margin-left: 0.4em;
  font-size: 0.85em;
  color: #666;
}
