@charset "UTF-8";
/*―――――――――――――――――――――――――*
*  News Pages
*―――――――――――――――――――――――――*/

/* ==============================
   Hero
============================== */
.news-hero {
  padding: 60px 0 80px;
  border-bottom: 1px solid #e8e8e8;
}

.news-hero h1 {
  font-family: var(--font-family-poppins);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--eerie-black);
}

.news-hero__lead {
  font-size: 15px;
  color: var(--granite-gray);
  line-height: 1.8;
}

.news-hero--detail {
  padding-bottom: 40px;
}

/* ==============================
   News List
============================== */
#news-list {
  padding: 60px 0 120px;
}

#news-container {
  border-top: 1px solid #e0e0e0;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 16px;
  border-bottom: 1px solid #e0e0e0;
  text-decoration: none;
  color: var(--eerie-black);
  transition: background 0.2s ease;
  animation: fadeInUp 0.5s ease both;
}

.news-item:hover {
  background: #fafafa;
}

.news-item:hover .news-item__arrow {
  transform: translateX(4px);
  color: var(--charm);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-item__date {
  font-family: var(--font-family-poppins);
  font-size: 13px;
  color: var(--shady-lady);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.news-item__category {
  font-size: 11px;
  font-weight: 500;
  color: var(--charm);
  background: rgba(209, 116, 154, 0.1);
  border: 1px solid rgba(209, 116, 154, 0.3);
  border-radius: 2px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-family-poppins);
}

.news-item__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--eerie-black);
  flex: 1;
  line-height: 1.6;
}

.news-item__arrow {
  color: #ccc;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

#news-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--shady-lady);
  font-size: 15px;
}

/* ==============================
   Article Detail
============================== */
#article-wrapper {
  padding: 60px 0 120px;
}

.article-header {
  padding-bottom: 40px;
  border-bottom: 2px solid var(--eerie-black);
  margin-bottom: 60px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.article-meta__date {
  font-family: var(--font-family-poppins);
  font-size: 13px;
  color: var(--shady-lady);
  letter-spacing: 0.05em;
}

.article-meta__category {
  font-size: 11px;
  font-weight: 500;
  color: var(--charm);
  background: rgba(209, 116, 154, 0.1);
  border: 1px solid rgba(209, 116, 154, 0.3);
  border-radius: 2px;
  padding: 3px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-family-poppins);
}

.article-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--eerie-black);
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
}

/* Article Body Typography */
.article-body {
  max-width: 800px;
  font-size: 16px;
  line-height: 2;
  color: var(--mine-shaft);
}

.article-body p {
  margin-bottom: 2em;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--eerie-black);
  margin: 3em 0 1em;
  padding-left: 16px;
  border-left: 3px solid var(--charm);
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--eerie-black);
  margin: 2.5em 0 0.8em;
  line-height: 1.6;
}

.article-body ul,
.article-body ol {
  margin: 1.5em 0 2em 1.5em;
  line-height: 2;
}

.article-body ul li {
  list-style: disc;
  margin-bottom: 0.4em;
}

.article-body ol li {
  list-style: decimal;
  margin-bottom: 0.4em;
}

.article-body a {
  color: var(--charm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-footer {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--eerie-black);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.article-back:hover {
  gap: 12px;
  color: var(--charm);
}

.article-notfound {
  padding: 100px 0;
  text-align: center;
  color: var(--shady-lady);
  font-size: 15px;
  line-height: 2.5;
}

.article-notfound a {
  color: var(--charm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==============================
   Responsive
============================== */
@media only screen and (min-width: 900px) and (max-width: 1840px) {
  .news-hero {
    padding: 3.2967vw 0 4.3956vw;
  }
  .news-hero h1 {
    font-size: 3.5165vw;
    margin-bottom: 1.0989vw;
  }
  .news-hero__lead {
    font-size: 0.8242vw;
  }
  #news-list {
    padding: 3.2967vw 0 6.5934vw;
  }
  .news-item {
    padding: 1.5385vw 0.8791vw;
    gap: 1.3187vw;
  }
  .news-item__date {
    font-size: 0.7143vw;
  }
  .news-item__title {
    font-size: 0.8242vw;
  }
  #article-wrapper {
    padding: 3.2967vw 0 6.5934vw;
  }
  .article-title {
    font-size: 1.978vw;
  }
  .article-body {
    font-size: 0.8791vw;
  }
  .article-body h2 {
    font-size: 1.2088vw;
    padding-left: 0.8791vw;
  }
  .article-body h3 {
    font-size: 0.989vw;
  }
}

@media only screen and (max-width: 899px) {
  .news-hero {
    padding: 8vw 0 10.6667vw;
  }
  .news-hero h1 {
    font-size: 12.8vw;
    margin-bottom: 4vw;
  }
  .news-hero__lead {
    font-size: 3.2vw;
  }
  #news-list {
    padding: 8vw 0 16vw;
  }
  .news-item {
    flex-wrap: wrap;
    gap: 8px;
    padding: 5.3333vw 2.1333vw;
  }
  .news-item__title {
    width: 100%;
    font-size: 3.7333vw;
    order: 3;
  }
  .news-item__date {
    font-size: 2.9333vw;
    order: 1;
  }
  .news-item__category {
    order: 2;
  }
  .news-item__arrow {
    display: none;
  }
  #article-wrapper {
    padding: 8vw 0 16vw;
  }
  .article-title {
    font-size: 6.4vw;
  }
  .article-body {
    font-size: 3.7333vw;
  }
  .article-body h2 {
    font-size: 4.8vw;
    padding-left: 3.2vw;
    margin: 8vw 0 4vw;
  }
  .article-body h3 {
    font-size: 4.2667vw;
  }
  .article-footer {
    margin-top: 13.3333vw;
    padding-top: 6.6667vw;
  }
  .article-back {
    font-size: 3.7333vw;
  }
}
