/* ===========================================================
File: /assets/css/category-dorim-track.css
説明: 記録 – Track カテゴリページ専用スタイル
=========================================================== */

.container.dorim-track {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.track-content-wrap,
.category-posts {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
}

/* ---- Hero（16:9） ---- */
.category-hero {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto 12px;
  overflow: hidden;
  border-radius: 12px;
}
.category-hero-slider { width: 100%; }
.category-hero-slide { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.category-hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; border-radius: 12px;
}

/* ドットは下中央。色/opacityは slick-theme.css に委譲 */
.dorim-track .category-hero .slick-dots{
  position: static; display: block; width: 100%;
  text-align: center; margin: 8px 0 16px; padding: 0; list-style: none;
}
.dorim-track .category-hero .slick-dots li{ display:inline-block; margin:0 6px; }
.dorim-track .category-hero .slick-dots li button{ padding:0; }
.dorim-track .category-hero .slick-dots li button:before{
  font-size: 10px; line-height: 20px;
}

/* ---- 見出し ---- */
.section-title{ margin:18px 0 12px; font-size:20px; font-weight:700; letter-spacing:.02em; }

/* ---- 記事カード ---- */
.category-articles-list{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 340px));
  justify-content:start; gap:16px; margin-top:10px;
}
.category-article-card{
  background:#fff; border:1px solid #e9e9ef; border-radius:16px; overflow:hidden;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.category-article-card:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.10); border-color:#e3e3ee; }
.category-article-card .thumb{ display:block; aspect-ratio:16 / 9; overflow:hidden; background:#f6f7fb; }
.category-article-card .thumb.ph{ background:linear-gradient(180deg,#f7f8fc,#eff2f8); }
.category-article-card .category-article-thumb{ width:100%; height:100%; object-fit:cover; display:block; }
.category-article-card .meta{ padding:12px 14px 14px; }
.category-article-card .title{ margin:0 0 6px; font-size:16px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.category-article-card .title a{ color:inherit; text-decoration:none; }
.category-article-card .title a:hover{ text-decoration:underline; }
.category-article-card .excerpt{ margin:6px 0 0; font-size:14px; line-height:1.7; color:#444; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* 空メッセージ */
.category-articles-empty{ border:1px dashed #e3e3ee; border-radius:12px; padding:16px; background:#fafafe; color:#555; }

/* ページネーション */
.category-articles-more{ margin:16px 0 8px; text-align:right; }
.category-articles-more .page-numbers{
  display:inline-block; min-width:32px; height:32px; line-height:32px; text-align:center;
  margin-left:4px; padding:0 8px; border:1px solid #e1e1ea; border-radius:8px; text-decoration:none; background:#fff; font-size:14px;
}
.category-articles-more .page-numbers.current{ background:#111; color:#fff; border-color:#111; }
.category-articles-more .page-numbers:hover{ transform:translateY(-1px); box-shadow:0 6px 14px rgba(0,0,0,.10); }

@media (max-width: 720px){
  .category-articles-list{ grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:12px; }
}
