@charset "utf-8";
/* ═══════════════════════════════════════════
   news_detail.css — news_detail.php(뉴스 상세) 전용 스타일
   공통 영역(reset/root/body/sub-nav/page-title/breadcrumb)은
   style.css + page-common.css 에 있으므로 여기서는 재정의하지 않습니다.
═══════════════════════════════════════════ */

/* ⚙ 이 페이지만 page-title-block / breadcrumb 여백이 공통값과 달라서 오버라이드 */
.page-title-block { padding: 80px 0 0; }
.breadcrumb { padding-bottom: 70px; }
.breadcrumb-bar::after { margin-bottom: 40px; }

@media (max-width: 1024px) {
  .page-title-block h1 { font-size: 36px; }
}



/* ══════════════════════════
   DETAIL HEADER
══════════════════════════ */
.detail-header {
  text-align: center;
  padding: 80px 0 24px;
}

.detail-header-eyebrow {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.eyebrow-news {
  color: var(--green);
  font-size: 28px;
  letter-spacing: 0.12em;
  margin-right: 10px;
}

.eyebrow-zh {
  color: #1a2b4a;
  font-size: 32px;
}

.detail-header-sub {
  font-size: 15px;
  color: #888;
  letter-spacing: 0.06em;
}

.detail-divider {
  max-width: 1100px;
  margin: 20px auto 0;
  height: 1px;
  background: #ddd;
}

/* ══════════════════════════
   ARTICLE
══════════════════════════ */
.detail-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 48px 40px;
}

.detail-title-row {
  margin-bottom: 20px;
}

.detail-title {
  font-size: 34px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid #eee;
}

.detail-category-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  border: 1.5px solid #f1f1f1;
  padding: 3px 12px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.detail-date {
  font-size: 14px;
  color: #999;
  letter-spacing: 0.05em;
}

.detail-hero-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin-bottom: 44px;
  background: #eee;
}

.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Article body typography */
.detail-body {
  font-size: 16px;
  line-height: 2;
  color: #333;
  letter-spacing: 0.02em;
}

.detail-body p {
  margin-bottom: 24px;
}

.detail-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b4a;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--green);
}

.detail-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 32px auto;
}

/* Share row */
.detail-article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.share-label {
  font-size: 13px;
  color: #999;
  margin-right: 4px;
}

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  font-style: normal;
  transition: opacity 0.2s;
}

.share-btn:hover { opacity: 0.8; }
.share-fb   { background: #1877f2; }
.share-line { background: #06c755; }
.share-li   { background: #0a66c2; }

/* ══════════════════════════
   RELATED NEWS
══════════════════════════ */
.related-section {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 48px 60px;
}

.related-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b4a;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  color: var(--text);
}

.related-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.related-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.related-card:hover .related-card-img img { transform: scale(1.05); }

.related-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
}

.related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.related-card-date {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ══════════════════════════
   BACK BUTTON
══════════════════════════ */
.detail-back-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 80px;
  text-align: right;
}

.detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 30px;
}

.detail-back-btn:hover {
  background: var(--green);
  color: #ffffff;
}

/* ══════════════════════════
   RESPONSIVE ≤ 1024px
══════════════════════════ */
@media (max-width: 1024px) {
  .detail-article { padding: 40px 32px 32px; }
  .related-section { padding: 0 32px 48px; }
  .detail-back-wrap { padding: 0 32px 60px; }
  .detail-title { font-size: 26px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════
   RESPONSIVE ≤ 768px
══════════════════════════ */
@media (max-width: 768px) {
  .detail-header { padding: 60px 0 16px; }
  .eyebrow-zh { font-size: 24px; }
  .eyebrow-news { font-size: 20px; }
  .detail-header-sub { font-size: 13px; }

  .detail-article { padding: 28px 20px 24px; }
  .detail-title { font-size: 20px; }
  .detail-body { font-size: 15px; }
  .detail-hero-img { aspect-ratio: 4/3; }

  .related-section { padding: 0 20px 40px; }
  .related-grid { grid-template-columns: 1fr; }

  .detail-back-wrap { padding: 0 20px 48px; text-align: center; }

  footer { padding: 28px 16px 16px !important; }
  .footer-top { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-inner { padding: 0 14px; }
}
