/* Long-form article layout: TOC, reading meta, typography */

.ht-reading-meta {
  color: #5a6f68;
  font-size: 0.92em;
}

.ht-article-toc {
  background: #f4faf6;
  border: 1px solid #d8ebe0;
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
  margin: 0 0 1.75rem;
}

.ht-article-toc__label {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
  color: #1a2e28;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ht-article-toc__list {
  margin: 0;
  padding-left: 1.25rem;
}

.ht-article-toc__item {
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

.ht-article-toc__item--h3 {
  margin-left: 1rem;
  font-size: 0.95em;
}

.ht-article-toc__item a {
  color: #2d6a4f;
  text-decoration: none;
}

.ht-article-toc__item a:hover {
  text-decoration: underline;
}

.ht-longform h2,
.ht-longform h3 {
  scroll-margin-top: 100px;
}

.ht-longform h2 {
  font-size: 1.55rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  color: #1a2e28;
  line-height: 1.35;
}

.ht-longform h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  color: #243d35;
}

.ht-longform ul,
.ht-longform ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.ht-longform li {
  margin-bottom: 0.45rem;
}

.ht-longform blockquote {
  border-left: 4px solid #f36b82;
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: #fff9fa;
  color: #444;
  font-style: italic;
}

.ht-longform table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ht-longform table th,
.ht-longform table td {
  border: 1px solid #dde8e3;
  padding: 0.55rem 0.75rem;
}

.ht-longform table th {
  background: #eef6f1;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.ht-article__badge {
  margin-bottom: 0.5rem;
}

.ht-article-topics {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid #e8eeeb;
}

.ht-article-topics__label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #1a2e28;
}

.ht-article-topics__list a {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  margin: 0 0.35rem 0.35rem 0;
  background: #eef8f1;
  border-radius: 999px;
  color: #2d6a4f;
  font-size: 0.88rem;
  text-decoration: none;
}

.ht-article-topics__list a:hover {
  background: #d8ebe0;
}

.ht-article-nav {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid #e8eeeb;
  border-bottom: 1px solid #e8eeeb;
}

.ht-article-nav__link {
  display: block;
  padding: 0.75rem 0;
  color: #1a2e28;
  text-decoration: none;
}

.ht-article-nav__link:hover {
  color: #2d6a4f;
}

.ht-article-nav__dir {
  display: block;
  font-size: 0.85rem;
  color: #5a6f68;
}

.ht-article-nav__title {
  display: block;
  font-weight: 600;
}

.ht-social-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ht-social-share__label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.ht-social-share__btn {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.ht-social-share__btn--wa { background: #25d366; }
.ht-social-share__btn--fb { background: #1877f2; }
.ht-social-share__btn--pin { background: #bd081c; }
.ht-social-share__btn--x { background: #14171a; }
.ht-social-share__btn--native { background: #2d6a4f; }
