/* 行レイアウトのベーススタイル */
.list-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 15px;
}

.article-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px;
  border-bottom: 1px solid #eaeaea;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s;
  cursor: pointer;
}

.article-row:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: #f8f9fa;
}



.article-content {
  flex: 1;
}

.article-title {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #333;
  font-weight: bold;
}

.article-title a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s;
}

.article-title a:hover {
  color: #0b59ca;
  text-decoration: underline;
}

.article-summary {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.article-actions {
  flex: 0 0 auto;
  margin-left: 20px;
  align-self: center;
}

/* 外部リンクがない場合は非表示 */
.article-actions:empty {
  display: none;
}

/* 詳細ボタンは削除されました */

/* Xシェアボタンのスタイル */
.x-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-decoration: none;
  margin-right: 8px;
  transition: opacity 0.2s;
}

.x-share-button:hover {
  opacity: 0.8;
}

.x-share-button i {
  font-size: 14px;
}

/* ページネーションを非表示 */
.pagination {
  display: none !important;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .article-row {
    flex-direction: column;
  }
  
  .article-actions {
    margin-left: 0;
    margin-top: 15px;
    align-self: flex-start;
  }
  
  /* 詳細ボタンは削除されました */
}

/* 記事間の区切り線を強調 */
.article-row:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 20px;
  margin-bottom: 5px;
}

/* リスト内の記事数が多い場合も見やすく */
.list-layout {
  padding-bottom: 30px;
}