/* ============================================
   POST PAGE — post.css
   블로그 개별 포스팅 레이아웃 전용 스타일
   ============================================ */

/* ── 히어로 섹션 ── */
.post-hero {
  position: relative;
  width: 100%;
  max-height: 580px;
  min-height: 360px;
  overflow: hidden;
  background: #111;
}

.post-hero__img-wrap {
  width: 100%;
  height: 100%;
}

.post-hero__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.6);
  transition: transform 0.6s ease;
}

.post-hero:hover .post-hero__img {
  transform: scale(1.02);
}

/* 하단 그라디언트 오버레이 */
.post-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 48px 40px;
  background: linear-gradient(
    to top,
    rgba(10, 10, 20, 0.92) 0%,
    rgba(10, 10, 20, 0.65) 45%,
    rgba(10, 10, 20, 0.10) 80%,
    transparent 100%
  );
  color: #fff;
}

/* 상단 작은 메타 */
.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.post-hero__category,
.post-hero__date,
.post-hero__region {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.4px;
}

.post-hero__category::after,
.post-hero__date::after {
  content: "·";
  margin-left: 8px;
  opacity: 0.5;
}

/* 메인 제목 */
.post-hero__title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
}

/* 히어로 하단 서브 메타 (아이콘 태그들) */
.info-hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.info-hero-meta span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ── 포스트 본문 영역 ── */
.post-body {
  padding: 52px 0 80px;
  background: #fff;
}

.post-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 섹션 헤딩 ── */
.post-h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8edf5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 28px 0 12px;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .post-hero__img {
    height: 380px;
  }
  .post-hero__overlay {
    padding: 28px 20px 28px;
  }
  .post-hero__title {
    font-size: 24px;
    line-height: 1.4;
  }
  .post-container {
    padding: 0 16px;
  }
  .post-h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .post-hero__img {
    height: 300px;
  }
  .post-hero__title {
    font-size: 20px;
  }
}
