/**
 * 投稿詳細ページヘッダースタイル
 */
.singular-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

/* メタ情報ラッパー（カテゴリーと日付） */
.singular-meta-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 0 10px;
}

/* カテゴリーバッジコンテナ */
.singular-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* 投稿日 */
.singular-date {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.singular-date time {
  display: flex;
  align-items: center;
  gap: 5px;
}

.singular-date .date-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* カテゴリーバッジの基本スタイル */
a.singular-category-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
  border: 2px solid #e5e5e5;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

/* カテゴリーバッジのホバー効果 */
.singular-category-badge:hover {
  opacity: 0.9;
}

/* カテゴリー別の色設定 - スピリチュアル系 */
.singular-category-badge.category-spiritual,
.singular-category-badge.category-スピリチュアル {
  background: linear-gradient(135deg, #f6b9eb 0%, #e8a5d9 100%);
  border-color: #f6b9eb;
}


/* カテゴリー別の色設定 - 健康系 */
.singular-category-badge.category-health,
.singular-category-badge.category-健康 {
  background: linear-gradient(135deg, #ebef76 0%, #dfe36b 100%);
  border-color: #ebef76;
  color: #333;
}

/* カテゴリー別の色設定 - ポジティブ/都市伝説系 */
.singular-category-badge.category-positive,
.singular-category-badge.category-urban-legend,
.singular-category-badge.category-都市伝説 {
  background: linear-gradient(135deg, #90f4e8 0%, #7de8db 100%);
  border-color: #90f4e8;
  color: #333;
}

/* カテゴリー別の色設定 - 神様について */
.singular-category-badge.category-deity,
.singular-category-badge.category-神様 {
  background: linear-gradient(135deg, #ffd700 0%, #ffcc00 100%);
  border-color: #ffd700;
  color: #333;
}

/* カテゴリー別の色設定 - 人のために生きる系 */
.singular-category-badge.category-altruism,
.singular-category-badge.category-人のために {
  background: linear-gradient(135deg, #87ceeb 0%, #6bb6d8 100%);
  border-color: #87ceeb;
  color: #ffffff;
}

/* タイトル */
.singular-header h1,
.singular-title {
  font-size: 24px;
  line-height: 1.8;
  /* margin:32px 0 0 0; */
  color: #000000;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline;
  background: linear-gradient(transparent 60%, #FFE87C 60%);
  padding: 0 0.1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* アイキャッチ画像コンテナ */
.singular-header > div,
.singular-thumbnail {
  width: 100%;
  max-height: 400px;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 12px;
}

/* アイキャッチ画像 */
.singular-header img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.singular-header img:hover {
  transform: scale(1.02);
}

/* タブレット */
@media (max-width: 1023px) {
  .singular-header h1,
  .singular-title {
    font-size: 28px;
  }
  
  .singular-categories {
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .singular-category-badge {
    font-size: 12px;
    padding: 4px 10px;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .singular-header h1,
  .singular-title {
    font-size: 22px;
  }

  .singular-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .singular-header h1,
  .singular-title {
    margin-bottom: 1rem;
  }
  
  .singular-header > div,
  .singular-thumbnail {
    max-height: 250px;
    border-radius: 8px;
  }
  
  .singular-meta-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .singular-categories {
    gap: 6px;
  }
  
  .singular-category-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 5px;
  }
  
  .singular-date {
    font-size: 13px;
    align-self: flex-start;
  }
}
