@charset "UTF-8";

article {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

article.visible {
  opacity: 1;
  transform: translateY(0);
}

.article-header {
  margin-bottom: 52px;
  border-bottom: 1px solid var(--color-border-soft);
  padding-bottom: 28px;
}

.article-date {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-header h1 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.4;
}

.article-content {
  max-width: 700px;
  margin: 0 auto;
}

.article-content p {
  margin-bottom: 24px;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 2;
  color: var(--color-text);
}

.article-footer {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-soft);
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--color-text-soft);
  padding: 12px 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}

.back-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-uncanny-soft), transparent);
  transition: left 0.6s ease;
}

.back-link:hover {
  background: var(--color-uncanny);
  color: var(--color-bg);
  border-color: var(--color-uncanny);
  transform: translateX(4px);
}

.back-link:hover::before {
  left: 100%;
}

@media (max-width: 480px) {
  .article-header h1 {
    font-size: 24px;
  }

  .article-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
  }

  .article-content p {
    text-align: left;
    text-justify: auto;
    margin-bottom: 20px;
  }

  .article-footer {
    margin-top: 48px;
    padding-top: 24px;
  }

  .back-link {
    font-size: 13px;
    padding: 10px 18px;
  }
}
