/* Blog article page */

.art-hero {
  padding: calc(var(--header-height) + 2rem) 0 1.5rem;
}

.art-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.art-back {
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--color-purple);
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.art-back:hover {
  text-decoration: underline;
}

.art-hero h1 {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  margin: 0 0 1rem;
}

.art-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--color-gray);
}

.art-author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.art-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0ebf8;
}

.art-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-author-name {
  font-weight: 600;
  color: var(--color-text);
}

.art-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gray);
  opacity: 0.5;
}

.art-meta-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.art-body {
  padding: 0 0 4rem;
}

.art-prose {
  max-width: 760px;
  margin: 0 auto;
}

.art-figure {
  margin: 0 0 2rem;
}

.art-figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.art-content {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.5;
  color: #000;
}

body[data-page="blog-article"] .art-content h2,
body[data-page="blog-article"] .art-content h3,
body[data-page="blog-article"] .art-content h4 {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

.art-content p {
  margin: 0;
}

.art-content ul,
.art-content ol {
  margin: 0 0 0 1.25rem;
  padding: 0;
}

.art-content li {
  margin: 0;
}

.art-content li p {
  margin: 0;
}

.art-content a {
  color: var(--color-purple-dark);
  text-decoration: none;
}

.art-content a:hover {
  text-decoration: underline;
}

.art-content a strong,
.art-content a u,
.art-content strong {
  font-weight: 700;
}

.art-content a strong,
.art-content a u {
  color: inherit;
}

.art-content .art-inline-figure,
.art-content figure {
  margin: 2rem 0;
  padding: 0;
}

.art-content .art-inline-figure img,
.art-content figure img,
.art-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
