
/* ポストリストセクション */
.all-posts-container{
  background-color: #000000;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 0, 0.5);
  box-shadow: 0 0 60px rgba(0,255,128,0.16);
}

.posts-container {
    /* background: transparent; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
}

.posts-list {
  list-style: none;
  width: 100%;
  max-width: 860px;
  margin: 0;
  padding: 0;
}

.post-item {
  background: #0b0e10;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  margin: 0 40px 28px 40px;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 255, 0, 0.5);
}

.post-item:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 6px 24px rgba(0,255,128,0.16), 0 1.5px 10px rgba(0,0,0,0.16);
}

.post-item-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  width: 100%;
  padding: 0;
  }

.post-thumbnail-container {
  width: 45%;
  display: flex;
  justify-content: center;
  background: #300a0a;
  overflow: hidden;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.post-thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.post-content {
  flex: 1;
  padding: 26px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-title {
  font-size: 1.45rem;
  font-weight: bold;
  color: rgb(0, 255, 0);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.post-tags {
  margin-bottom: 12px;
}

.post-tag {
  display: inline-block;
  background-color: #052710;
  color: rgb(0, 255, 0);
  padding: 3px 12px;
  margin-right: 7px;
  font-size: 0.93rem;
  border-radius: 11px;
  font-weight: 600;
  border: 1px solid #21fc8c33;
}

.post-date {
  font-size: 1rem;
  color: #ff5470;
  margin-top: 5px;
  margin-left: 30px;
  font-family: monospace;
}






.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: #95f5b9;
  opacity: 0.85;
}

.post-author {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.post-category {
  background: #006d18;
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 8px;
  margin-right: 5px;
  font-size: 0.80rem;
  font-weight: bold;
  height: 20px;
}

.badge-new {
  display: inline-block;
  background: #ff4757;
  color: #fff;
  font-size: 0.89rem;
  border-radius: 8px;
  padding: 2px 9px;
  margin-left: 10px;
  vertical-align: middle;
  font-weight: bold;
}

.post-summary {
  font-size: 1.04rem;
  color: #e8ffe5;
  opacity: 0.85;
  margin-bottom: 10px;
  margin-top: 4px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  font-family: 'Segoe UI', 'Yu Gothic', sans-serif;
}

.post-status {
  margin-top: 8px;
  display: flex;
  gap: 18px;
  font-size: 0.98rem;
  color: #ffffff;
  align-items: center;
}
.post-status span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.no-posts{
  color: white;
}














/* =======================================
   レスポンシブ対応 (1024px 以下)
   ======================================= */
@media (max-width: 1024px) { /* ⬅️ ここの数値を 767px から 1024px に変更 */
    .post-item-link {
        flex-direction: column; /* 画像とコンテンツを縦積みに */
    }

    .post-thumbnail-container {
        width: 100%;
        height: 200px; /* 高さを固定 (お好みで調整してください) */
        
        /* 角丸を上側だけに適用 */
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        border-bottom-left-radius: 0;
    }

    .post-content {
        padding: 20px; /* パディングを少し調整 */
    }

    .post-title {
        font-size: 1.25rem;
    }

    .post-summary {
        font-size: 0.95rem;
    }

    .post-tags {
        margin-bottom: 15px; /* 日付との間に少し余白 */
    }

    .post-meta {
        flex-direction: column; /* カテゴリと日付も縦積みに */
        align-items: flex-start;
        gap: 8px;
    }

    .post-date {
        margin-left: 0; /* 日付の左マージンをリセット */
    }
}














/* =======================================
   レスポンシブ対応 (767px 以下)
   ======================================= */
@media (max-width: 767px) {
    .post-item-link {
        flex-direction: column; /* 画像とコンテンツを縦積みに */
    }

    .post-thumbnail-container {
        width: 100%;
        height: 200px; /* 高さを固定 (お好みで調整してください) */
        
        /* 角丸を上側だけに適用 */
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        border-bottom-left-radius: 0;
    }

    .post-content {
        padding: 20px; /* パディングを少し調整 */
    }

    .post-title {
        font-size: 1.25rem;
    }

    .post-summary {
        font-size: 0.95rem;
    }

    .post-tags {
        margin-bottom: 15px; /* 日付との間に少し余白 */
    }

    .post-meta {
        flex-direction: column; /* カテゴリと日付も縦積みに */
        align-items: flex-start;
        gap: 8px;
    }

    .post-date {
        margin-left: 0; /* 日付の左マージンをリセット */
    }
}