/* HumanlyYou Blog v3 Reader Experience Pack */

.hyu-reading-progress{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:4px;
  z-index:1000;
  background:transparent;
}

.hyu-reading-progress__bar{
  height:100%;
  width:0;
  background:linear-gradient(90deg,#5F7F6B,#7da08a);
  box-shadow:0 0 8px rgba(95,127,107,.28);
  transition:width .12s linear;
}

.hyu-blog-layout--v3{
  margin-top:24px;
}

.hyu-article-hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
  gap:24px;
  padding:22px;
  margin-bottom:30px;
  overflow:hidden;
}

.hyu-article-hero__media img{
  display:block;
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:18px;
}

.hyu-article-hero__placeholder{
  min-height:280px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(95,127,107,.12),rgba(247,246,242,.96));
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:28px;
}

.hyu-article-hero__placeholder h1{
  margin:10px 0 0;
  line-height:1.12;
}

.hyu-article-hero__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hyu-pill--soft{
  background:rgba(95,127,107,.10);
}

.hyu-article-hero__content h1{
  font-size:44px;
  line-height:1.08;
  margin:14px 0 14px;
}

.hyu-article-hero__meta{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  color:#5D6B63;
  font-weight:600;
  margin-bottom:18px;
}

.hyu-share-row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.hyu-share-row__label{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#5D6B63;
  font-weight:700;
}

.hyu-share-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none;
  background:#fff;
  border:1px solid rgba(34,48,40,.10);
  color:#223028;
  font-weight:600;
}

.hyu-toc{
  padding:18px 18px 16px;
  margin-bottom:28px;
}

.hyu-toc__list,
.hyu-sidebar-toc{
  margin:0;
  padding-left:18px;
}

.hyu-toc__list li + li,
.hyu-sidebar-toc li + li{
  margin-top:8px;
}

.hyu-article-content h2,
.hyu-article-content h3{
  scroll-margin-top:96px;
}

@media (max-width:980px){
  .hyu-article-hero{
    grid-template-columns:1fr;
  }

  .hyu-article-hero__content h1{
    font-size:36px;
  }
}

@media (max-width:640px){
  .hyu-article-hero{
    padding:18px;
  }

  .hyu-article-hero__content h1{
    font-size:32px;
  }
}
