/* ===========================
   CSS Variables & Reset
   =========================== */

:root {
  --gray02: #c1c7cd;
  --gray04: #8d96a1;
  --gray06: #556372;
  --gray08: #3c4651;
  --gray10: #242a30;
  --gray10-rgb: 36, 42, 48;
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  --black: #000000;
  --primary: #664bf4;
  --primary-rgb: 102, 75, 244;
  --bg: #ffffff;
}

/* ===========================
   GNB (Global Navigation Bar)
   =========================== */

.gnb {
  background-color: rgba(var(--white-rgb), 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--gray10-rgb), 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.gnb__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 24px;
}

.gnb__title {
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--gray10);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.gnb__title:hover {
  color: var(--primary);
}

.gnb__title:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.gnb__home-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gnb__home-button:hover {
  background-color: rgba(var(--primary-rgb), 0.15);
}

.gnb__home-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

/* ===========================
   Base Typography
   =========================== */

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Pretendard Variable", Pretendard,
    -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray10);
  background-color: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   Article Container
   =========================== */

.update-note {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* ===========================
   Header
   =========================== */

.update-note__header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(var(--gray10-rgb), 0.08);
}

.update-note__label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: 100px;
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.8;
}

.update-note__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--gray10);
  margin-bottom: 12px;
}

.update-note__date {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--gray04);
  letter-spacing: -0.01em;
}

/* ===========================
   Body
   =========================== */

.update-note__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray08);
}

.update-note__section {
  margin-bottom: 40px;
}

.update-note__section:last-child {
  margin-bottom: 0;
}

/* Headings */

.update-note__body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--gray10);
  margin-bottom: 16px;
}

.update-note__body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--gray10);
  margin-top: 24px;
  margin-bottom: 8px;
}

/* Text */

.update-note__body p {
  margin-bottom: 12px;
  color: rgba(var(--gray10-rgb), 0.76);
  line-height: 1.75;
}

.update-note__body strong {
  font-weight: 600;
  color: var(--gray10);
}

/* Lists */

.update-note__body ul,
.update-note__body ol {
  margin: 8px 0 16px;
  padding-left: 24px;
}

.update-note__body li {
  margin-bottom: 6px;
  color: rgba(var(--gray10-rgb), 0.76);
  line-height: 1.7;
}

.update-note__body li::marker {
  color: var(--primary);
}

/* Images */

.update-note__hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 40px 0;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(var(--gray10-rgb), 0.1);
}

.update-note__section img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid rgba(var(--gray10-rgb), 0.1);
}

/* ===========================
   Responsive — Mobile (≤ 767px)
   =========================== */

@media screen and (max-width: 767px) {
  .gnb__inner {
    padding: 12px 16px;
  }

  .gnb__title {
    font-size: 0.9375rem;
  }

  .gnb__home-button {
    padding: 6px 14px;
    font-size: 0.8125rem;
  }

  .update-note {
    padding: 56px 16px 80px;
  }

  .update-note__header {
    margin-bottom: 36px;
    padding-bottom: 24px;
  }

  .update-note__title {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .update-note__date {
    font-size: 0.875rem;
  }

  .update-note__body h2 {
    font-size: 1.25rem;
  }

  .update-note__body h3 {
    font-size: 1rem;
  }
}

/* ===========================
   Responsive — Tablet (768px – 1279px)
   =========================== */

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .gnb__inner {
    padding: 16px 32px;
  }

  .update-note {
    padding: 72px 32px 100px;
  }
}

/* ===========================
   Responsive — Desktop (≥ 1280px)
   =========================== */

@media screen and (min-width: 1280px) {
  .update-note {
    padding: 96px 24px 140px;
  }
}

/* ===========================
   Update Note List (Home)
   =========================== */

.note-list-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.note-list-header__title {
  font-size: 32px;
  font-weight: bold;
}

.note-list-header__description {
  font-size: 16px;
  color: rgba(var(--gray10-rgb), 0.76);
  margin-top: 4px;
}

.note-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.note-list__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(var(--gray10-rgb), 0.08);
}

.note-list__item:last-child {
  border-bottom: none;
}

.note-list__content {
  flex: 1;
  margin-right: 24px;
  min-width: 0;
}

.note-list__item-title {
  font-size: 20px;
  font-weight: bold;
  word-break: keep-all;
}

.note-list__item-title a {
  text-decoration: none;
  color: var(--gray10);
  transition: color 0.2s ease;
}

.note-list__item-title a:hover {
  color: var(--primary);
}

.note-list__item-description {
  font-size: 14px;
  color: rgba(var(--gray10-rgb), 0.76);
  margin-top: 8px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note-list__item-date {
  font-size: 13px;
  color: var(--gray04);
  margin-top: 12px;
  display: block;
}

.note-list__thumbnail {
  width: 160px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1684 / 1030;
  border: 1px solid rgba(var(--gray10-rgb), 0.1);
}

.note-list__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .note-list-header {
    padding: 36px 16px 24px;
  }

  .note-list-header__title {
    font-size: 24px;
  }

  .note-list {
    padding: 0 16px 80px;
  }

  .note-list__item {
    padding: 20px 0;
  }

  .note-list__content {
    margin-right: 16px;
  }

  .note-list__item-title {
    font-size: 18px;
  }

  .note-list__thumbnail {
    width: 112px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .note-list-header {
    padding: 48px 32px 32px;
  }

  .note-list {
    padding: 0 32px 100px;
  }
}