@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-weight: center;
  font-style: normal;
}

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

body {
  font-family: sans-serif;
  background: #f6f8fc;
  color: #1f2937;
}

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

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

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

.archive-header {
  margin-bottom: 36px;
}

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

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

.archive-header h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 15px;
}

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

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 28px;
}

.archive-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.archive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.archive-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.archive-text {
  padding: 22px;
}

.ch {
  font-family: "ZhouZiFangTi" serif;
  font-size: 24px;
  margin-bottom: 4px;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
  transform: translateY(0.5px);
}

.cn {
  font-family: serif;
  font-size: 36px;
  margin-bottom: 4px;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  transform: translateY(0.5px);
}

.archive-category {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 10px;
}

.archive-text h2 {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 15px;
}

.archive-text p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

.archive-detail {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.detail-image {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 28px;
  border-radius: 20px;
  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;
}

.archive-card {
  position: relative; /* ⭐ 이거 중요 */
}

.status-badge {
  position: absolute;
  top: 16px;
  left: 16px;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;

  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.status-badge.ongoing {
  background: rgba(255, 138, 158, 0.7);
  color: white;
}

.status-badge.done {
  background: rgba(173, 173, 173, 0.8);
  color: white;
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}