/* タレント投稿一覧用スタイル */

.talent-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 横2列固定 */
  gap: 1.2em;
  margin-top: 1em;
}

.talent-post-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row; /* 横並びに変更 */
  min-height: 120px; /* 最小高さ設定 */
}

.talent-post-card .thumbnail {
  width: 120px; /* サムネイル幅固定 */
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talent-post-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-post-card .content {
  padding: 1em;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.talent-post-card h3 {
  margin: 0 0 0.5em 0;
  font-size: 1em;
  color: #333;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.talent-post-card .plan-label {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 0.5em;
}

.talent-post-card .status-label {
  font-size: 0.75em;
  color: #999;
  margin-bottom: 0.5em;
}

.talent-post-card .post-date {
  font-size: 0.75em;
  color: #888;
  margin-bottom: 0.5em;
}

.talent-post-card .actions {
  padding-top: 0.5em;
  text-align: right;
  font-size: 0.85em;
}

.talent-post-card .actions a {
  color: #ec4899;
  text-decoration: none;
  font-weight: bold;
}

.talent-post-card .actions a:hover {
  text-decoration: underline;
}

.talent-post-card .actions a.delete-link {
  margin-left: 10px;
  color: #dc3545;
}

.talent-post-card-no-image {
  color: #999;
  font-size: 0.8em;
}

/* ページネーション */
.post-pagination {
  text-align: center;
  margin: 2em 0;
  padding: 1em;
}

.post-pagination a,
.post-pagination span {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 0.2em;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.post-pagination a:hover {
  background: #ec4899;
  color: white;
  border-color: #ec4899;
}

.post-pagination .current {
  background: #ec4899;
  color: white;
  border-color: #ec4899;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .talent-post-grid {
    grid-template-columns: 1fr; /* モバイルでは1列 */
  }
  .talent-post-card .thumbnail {
    width: 100px;
    height: 100px;
  }
}

