@keyframes art-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes art-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: #e07d3c;
  z-index: 9999;
  transition: width 0.1s linear;
}

#articlePage {
  min-height: 100vh;
  background: #faf9f7;
  padding-top: var(--navbar-h, 68px);
}

.art-hero {
  position: relative;
  width: 100%;
  height: clamp(300px, 52vw, 580px);
  overflow: hidden;
  background: #1a1a1a;
}
.art-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.72;
  animation: art-fade-in 0.9s ease both;
}
.art-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(10,10,10,0.55) 65%,
    rgba(10,10,10,0.88) 100%
  );
}
.art-hero__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 48px;
  animation: art-fade-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}

.art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.art-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.art-breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.art-breadcrumb__sep { opacity: 0.4; }

.art-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e07d3c;
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.art-tag__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

.art-hero__title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.4rem, 3.8vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.art-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
}
.art-hero__meta-sep { opacity: 0.35; }
.art-hero__meta strong {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

.art-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 52px 24px 0;
  animation: art-fade-up 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}

.art-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8e3dc;
  margin-bottom: 40px;
}
.art-share__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
  margin-right: 4px;
}
.art-share__btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #e0dbd4;
  background: #fff;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}
.art-share__btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  transform: translateY(-2px);
}

.art-content {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.82;
  color: #2a2a2a;
}
.art-content p { margin-bottom: 1.5em; }
.art-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 2.2em 0 0.8em;
}
.art-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  margin: 1.8em 0 0.6em;
}
.art-content blockquote {
  margin: 2.2em 0;
  padding: 0 0 0 24px;
  border-left: 3px solid #e07d3c;
  font-style: italic;
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
}
.art-content ul, .art-content ol {
  margin: 0 0 1.5em 1.2em;
  padding: 0;
}
.art-content li { margin-bottom: 0.5em; }
.art-content strong { font-weight: 600; color: #1a1a1a; }
.art-content em { font-style: italic; }

.art-content__pullquote {
  margin: 2.5em 0;
  padding: 28px 24px;
  background: #f3ede5;
  border-radius: 12px;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #3a2a1a;
  line-height: 1.6;
  text-align: center;
}

.art-content__img-wrap {
  margin: 2em 0;
  border-radius: 10px;
  overflow: hidden;
}
.art-content__img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  height: auto;
}
.art-content__img-caption {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  font-style: normal;
}

.art-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 48px 0 0;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #ece8e4;
  border-radius: 14px;
}
.art-author__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #f0ece8;
}
.art-author__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.art-author__role {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: #aaa;
  margin: 0;
}
.art-author__bio { display: none; }

.art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}
.art-tags__item {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
  padding: 7px 16px;
  border: 1px solid #e0dbd4;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.art-tags__item:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.art-divider {
  width: 100%;
  height: 1px;
  background: #e8e3dc;
  margin: 48px 0 0;
}

.art-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 24px 80px;
  animation: art-fade-up 0.7s cubic-bezier(0.22,1,0.36,1) 0.45s both;
}
.art-related__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 6px;
}
.art-related__subheading {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.art-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.art-related-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s ease;
}
.art-related-card:hover { transform: translateY(-4px); }
.art-related-card:hover .art-related-card__title { color: #e07d3c; }
.art-related-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}
.art-related-card:hover .art-related-card__thumb { opacity: 0.9; }
.art-related-card__tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #e07d3c;
  margin-bottom: 6px;
}
.art-related-card__title {
  font-family: 'Lora', serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.38;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.art-related-card__meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  color: #aaa;
  display: flex;
  gap: 6px;
  align-items: center;
}

@media (max-width: 860px) {
  .art-related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .art-hero {
    height: clamp(240px, 58vw, 340px);
  }
  .art-hero__content {
    padding: 0 16px 24px;
  }
  .art-hero__title {
    font-size: clamp(1.1rem, 4.8vw, 1.5rem);
    margin-bottom: 10px;
    line-height: 1.26;
  }
  .art-hero__meta {
    font-size: 0;
  }
  .art-hero__meta time,
  .art-hero__meta span:not(.art-hero__meta-sep) {
    font-size: 0.63rem;
  }
  .art-hero__meta strong {
    display: none;
  }
  .art-hero__meta-sep:first-of-type {
    display: none;
  }
  .art-tag {
    font-size: 0.58rem;
    padding: 3px 10px 3px 7px;
    margin-bottom: 9px;
  }
  .art-tag__dot {
    width: 5px; height: 5px;
  }
  .art-breadcrumb {
    font-size: 0.62rem;
    margin-bottom: 10px;
  }

  .art-body {
    padding: 24px 16px 0;
  }

  .art-share {
    gap: 8px;
    padding-bottom: 20px;
    margin-bottom: 26px;
  }
  .art-share__label {
    font-size: 0.62rem;
  }
  .art-share__btn {
    width: 36px; height: 36px;
  }

  .art-content {
    font-size: 0.96rem;
    line-height: 1.78;
  }
  .art-content p {
    margin-bottom: 1.3em;
  }
  .art-content h2 {
    font-size: 1.05rem;
    margin: 1.8em 0 0.65em;
  }
  .art-content h3 {
    font-size: 0.9rem;
    margin: 1.5em 0 0.5em;
  }
  .art-content blockquote {
    font-size: 0.97rem;
    padding-left: 16px;
    margin: 1.8em 0;
  }
  .art-content ul, .art-content ol {
    margin-left: 1em;
  }
  .art-content__pullquote {
    margin: 1.8em 0;
    padding: 18px 16px;
    font-size: 0.97rem;
    border-radius: 10px;
  }
  .art-content__img-wrap {
    margin: 1.4em 0;
    border-radius: 8px;
  }
  .art-content__img-caption {
    font-size: 0.64rem;
    margin-top: 8px;
  }

  .art-author {
    padding: 14px 14px;
    gap: 12px;
    margin: 32px 0 0;
    border-radius: 12px;
  }
  .art-author__avatar {
    width: 38px; height: 38px;
  }
  .art-author__name { font-size: 0.8rem; }
  .art-author__role { font-size: 0.63rem; }

  .art-tags {
    gap: 6px;
    margin: 20px 0 0;
  }
  .art-tags__item {
    font-size: 0.63rem;
    padding: 5px 13px;
  }

  .art-divider { margin: 36px 0 0; }

  .art-related {
    padding: 32px 16px 52px;
  }
  .art-related__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .art-related__subheading {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  .art-related__heading {
    font-size: 0.65rem;
  }
  .art-related-card__thumb {
    border-radius: 8px;
    margin-bottom: 11px;
  }
  .art-related-card__title {
    font-size: 0.93rem;
  }
}

@media (max-width: 400px) {
  .art-hero {
    height: 220px;
  }
  .art-hero__title {
    font-size: 1.05rem;
  }
  .art-hero__content {
    padding: 0 14px 20px;
  }
  .art-share {
    flex-wrap: wrap;
  }
  .art-content {
    font-size: 0.93rem;
  }
}