@charset "utf-8";
/* Post css */

.eddie-post-post-content {
  max-width: 1200px;
  margin-top:20px;
  padding: 5px 10px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-x: hidden;
  min-height: 100vh;
}
.eddie-post-post-content a {
  text-decoration: underline; /* 添加下划线 */
  position: relative;
  padding-left: 15px; /* 为箭头留出空间 */
}

.eddie-post-post-content a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 30%;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12'%3E%3Cpath fill='%23000000' d='M7 7h8.586L5.293 17.293l1.414 1.414L17 8.414V17h2V5H7v2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.eddie-post-post-content img {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.eddie-post-meta {
  display: flex;
  flex-direction: row;
  gap: 10px;
  font-size: 15px;
  color: #B4B4B4;
  padding-top: 5px;
  padding-bottom: 5px;
  color:#B4B4B4;
}

.eddie-post-meta a {
  color: #B4B4B4;
  text-decoration: none;
}

.eddie-post-title {
  font-size: 48px;
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
}

/* 文章内容样式 */
.post-content {
  margin-top: 20px;
  line-height: 1.8;
}

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

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.post-content h1 {
  font-size: 2em;
}

.post-content h2 {
  font-size: 1.75em;
}

.post-content h3 {
  font-size: 1.5em;
}

.post-content h4 {
  font-size: 1.25em;
}

.post-content h5 {
  font-size: 1.1em;
}

.post-content h6 {
  font-size: 1em;
}

.post-content a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px dotted var(--color-primary);
}

.post-content a:hover {
  color: var(--color-primary-dark);
  border-bottom-style: solid;
}

.post-content ul,
.post-content ol {
  margin-left: 2em;
  margin-bottom: 1em;
}

.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1em;
  margin-left: 0;
  margin-right: 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.post-content img {
  max-width: 60%;
  margin: 15px auto;
}

.post-title {
  font-size: 10px;
  color: var(--color-dark-text);
  position: absolute;
  pointer-events: none;
  transition: transform 0.5s ease-out;
}

/* 翻页按钮 */
.eddie-post-pagination {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  justify-content: space-between;
  margin: 30px 0px;
}

.eddie-post-prev-content a,
.eddie-post-next-content a {
  color:#000;
  background-color: #fff;
  border-radius: 32px;
  padding: 8px 20px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.eddie-post-prev-content a:hover,
.eddie-post-next-content a:hover {
  color:#000;
  background-color: #fff;
}

/* 文章列表样式 */
.post-item {
  background-color: var(--color-bg-primary);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.post-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-meta {
  font-size: 12px;
  color: #8e8e93;
  margin-bottom: 10px;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-secondary-light);
}
.media-caption{
  font-size:12px;
  font-style: italic;
  margin:0 auto;
  text-align: center;
}
/* 响应式调整 */
@media (max-width: 991px) {
  .eddie-post-pagination {
    flex-direction: column;
  }

  .post-content img {
    max-width: 100%;
  }
  .eddie-post-title{
      font-size:32px;
  }
}