/* スライダー全体のタイトル */
.hps-carousel-section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hps-carousel-wrapper {
  padding: 10px 0 30px 0;
}

/* カードのデザイン（汎用性を高めるため背景色・枠線を削除） */
.hps-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease;
  /* 影を削除し、浮き上がるアニメーションのみに */
}

.hps-card:hover {
  transform: translateY(-4px);
}

.hps-card__link {
  text-decoration: none !important;
  color: inherit;
  /* サイトのテキスト色をそのまま継承 */
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 画像ラッパー（ラベルを重ねるための基準位置） */
.hps-card__thumb-wrapper {
  position: relative;
  width: 100%;
}

.hps-card__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* カテゴリラベル（バッジ）のデザイン */
.hps-card__category-badge {
  background: #f0f0f0;
  color: #555;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
}

.hps-card__body {
  padding: 15px 0;
  /* 左右の余白をなくし、画像幅とテキスト左端を揃える */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* 日付とカテゴリを横並びにするラッパー */
.hps-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.hps-card__date {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  /* 色指定をやめ、サイト文字色の80%の濃さにする（ダークモード対応） */
}

.hps-card__title {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
}

.hps-card__excerpt {
  font-size: 0.9rem;
  margin-top: 10px;
  line-height: 1.6;
  opacity: 0.8;
  /* こちらも色指定をやめて透過処理に */
}

/* 続きを読むのデザイン */
.hps-card__readmore {
  margin-top: auto;
  padding-top: 15px;
  text-align: right;
  font-size: 0.85rem;
  font-weight: bold;
}

.hps-card__readmore span::after {
  content: '\00a0\2192';
  margin-left: 2px;
}

/* JSが読み込めなかった場合のフォールバック（強制表示） */
.hps-standard-slider:not(.is-initialized) {
  visibility: visible !important;
}