@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

@font-face {
  font-family: 'SeoulHangang';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/SeoulHangangM.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('fonts/GmarketSansTTFMedium.ttf') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
  font-family: 'ZhouZiFangTi';
  src: url('fonts/ZhouZiFangTi.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Base ===== */
body {
  font-family: sans-serif;
  background: #f6f8fc;
  color: #1f2937;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 60px;
}

/* ===== Header ===== */
.archive-header {
  margin-bottom: 36px;
}

.back-link {
  display: inline-block;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #4b5563;
}

.back-link:hover {
  color: #1d4ed8;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.header-category {
  font-size: 18px;
  font-weight: 700;
  color: #4f46e5;
}

.detail-title {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 14px;
}

.archive-date {
  font-size: 18px;
  color: #6b7280;
}

/* 한글+한자 혼합 제목용 */
.title-mix {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  color: #1f2937;
}

.title-mix .ko {
  font-family: sans-serif;
}

.title-mix .cn {
  font-family: "ZhouZiFangTi" serif;
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  transform: translateY(0.5px);
}

/* ===== Detail Card ===== */
.archive-detail {
  background: #ffffff;
  border-radius: 36px;
  padding: 32px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.detail-block + .detail-block {
  margin-top: 56px;
}

.detail-image {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px;
  border-radius: 36px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.detail-content {
  max-width: 760px;
  margin: 0 auto;
}

.detail-content p {
  font-size: 17px;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 18px;
}

.detail-content p:last-child {
  margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .site-wrap {
    padding: 32px 16px 44px;
  }

  .detail-title {
    font-size: 30px;
  }

  .title-mix {
    font-size: 30px;
    gap: 6px;
    margin-bottom: 12px;
  }

  .title-mix .cn {
    font-size: 28px;
    font-weight: 800;
    transform: translateY(-0.7px);
  }

  .archive-detail {
    padding: 22px;
    border-radius: 30px;
  }

  .detail-image {
    border-radius: 30px;
  }

  .detail-content p {
    font-size: 15px;
  }

  .detail-block + .detail-block {
    margin-top: 40px;
  }
}