/* ===== Article Page ===== */
.page-article {
  background: url('../images/background.png') center/cover fixed no-repeat;
  position: relative;
}

.page-article::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(250, 248, 245, 0.7);
  z-index: -1;
  pointer-events: none;
}

/* Always show header background on article pages */
.page-article .header {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-page {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.article-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.article-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-meta {
  font-size: 0.95rem;
  color: var(--color-text-lighter);
}

.article-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  text-indent: 2em;
}

.article-image {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.article-image img {
  width: 100%;
  display: block;
}

.article-image figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-lighter);
  padding: 0.75rem;
  background: var(--color-bg);
}

.article-back {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
  .article-content {
    padding: 1.5rem;
  }
  .page-article {
    background-attachment: scroll;
  }
}
