/* ==============================
   ウェビナーカード専用スタイル（トップページ）
============================== */

/* カード下部のタグエリア */
.webinar-tags-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

/* タグスタイル */
.webinar-bottom-tag {
  display: inline-flex;
  padding: 2px 12px;
  background-color: #28a7e1;
  color: #fff;
  border-radius: 100px;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 2.4px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.webinar-bottom-tag:hover {
  background-color: #007acc;
  color: white;
}

/* インラインステータス（開催日の横） */
.webinar-inline-status {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 16px;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-left: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.webinar-inline-status.upcoming {
  background-color: #2e7d32;
  color: white;
}

.webinar-inline-status.full {
  background-color: #f57c00;
  color: white;
}

.webinar-inline-status.archived {
  background-color: #666;
  color: white;
}

/* カテゴリータグエリアの調整 */
.webinar-example-card .category-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ウェビナーカードの調整 */
.webinar-example-card {
  position: relative;
  padding-bottom: 20px;
}

/* サムネイルがない場合のデフォルト画像 */
.webinar-example-card .example-card-thumbnail {
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
}

.webinar-example-card .example-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .webinar-tags-bottom {
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .webinar-bottom-tag {
    font-size: 8px;
    padding: 0px 16px;
    line-height: 19px;
    letter-spacing: 1.6px;
  }

  .webinar-inline-status {
    font-size: 11px;
    padding: 3px 12px;
    margin-left: 8px;
  }
}

@media (max-width: 490px) {
  .webinar-bottom-tag {
    font-size: 8px;
    padding: 0px 12px;
    line-height: 18px;
    letter-spacing: 1.2px;
  }

  .webinar-inline-status {
    font-size: 10px;
    padding: 2px 10px;
    margin-left: 6px;
  }
}
