/* ============================
  Event Single — 共通レイアウト
============================ */

/* ページ内コンテンツ全体の余白 */
.event-page .pageContent {
  padding: 40px 0;
}

.event-page .post-page {
  max-width: 750px;
  /* PCで最大幅 */
  margin: 0 auto;
  padding: 0 16px;
  /* スマホ余白 */
}

/* ============================
  開催日の表示
============================ */
.event-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #333;
  margin-bottom: 24px;
  border-bottom: solid;
}

.event-date__label {
  display: inline-block;
  padding: 4px 10px;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: #111;
  border-radius: 4px 4px 0 0;
}

.event-date time {
  font-weight: 600;
  letter-spacing: .03em;
}

/* ============================
  サムネイル
============================ */
.event-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1; /* ← 正方形を作る魔法！ */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1em;
}

.event-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← 中心を保ったまま切り取り */
  display: block;
}

/* ============================
  本文（the_content）
============================ */
.event-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.event-description p {
  margin-bottom: 1.6em;
}

.event-description img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 22px auto;
  border-radius: 10px;
}

.event-description h2,
.event-description h3,
.event-description h4 {
  margin: 2.2em 0 1.2em;
  font-weight: 700;
  line-height: 1.4;
}

.event-description ul,
.event-description ol {
  margin: 1.5em 0 1.5em 1.4em;
}

/* ============================
  レスポンシブ
============================ */
@media (max-width: 768px) {
  .event-date {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.95rem;
  }

  .event-page .post-page {
    padding: 0 12px;
  }
}

.event-back {
  margin-top: 1rem;
}