:root{
  --bg:#D4E0C9;
  --surface:#ffffff;
  --text:#1f2328;
  --muted:#6b7280;
  --border:#E5E0DC;
  --shadow: 0 18px 40px rgba(16,24,40,.10);
  --radius: 22px;
  --transition: all .22s ease;

  --brand:#c6a396;
  --primary:#1f2328;
  --sage:#b7c6c0;
  --soft: rgba(183,198,192,.26);
}

*{ box-sizing:border-box; margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

.container{ max-width: 1040px; margin: 0 auto; padding: 0 18px; }
.page{ padding: 16px 0 70px; }

.progress{
  position: sticky;
  top: 0;
  z-index: 999;
  height: 4px;
  background: rgba(229,224,220,.7);
}
.progress-bar{
  height: 100%;
  width: 0%;
  background: rgba(183,198,192,.95);
  transition: width .08s linear;
}

.topbar{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(212,224,201,.92 );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.5px;
  text-decoration:none;
  color: inherit;
}
.brand__dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(59,130,246,.15);
}
.brand__name{ font-size: 14px; }
.topbar__actions{ display:flex; gap:10px; }
.icon-btn{
  width:38px; height:38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  display:grid; place-items:center;
  cursor:pointer;
  transition: var(--transition);
  color: var(--text);
  text-decoration:none;
}
.icon-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 18px rgba(0,0,0,.06); }


.meta{ display:flex; gap: 8px; flex-wrap: wrap; justify-content:center; }
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.65);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
}
.nav{ display:flex; gap: 16px; }
.nav-link{
  text-decoration:none;
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  transition: var(--transition);
}
.nav-link:hover{ color: var(--text); }
.nav-link.active{ color: var(--text); }

.hero{ margin-top: 14px; }
.hero-wrap{
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 340px;
}
.hero-img{
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}
.hero-glass{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.55));
}
.hero-content{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}
.hero-kicker{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 900;
  font-size: 12px;
  backdrop-filter: blur(8px);
  margin-bottom: 10px;
}
.hero-title{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  margin-bottom: 10px;
}
.hero-meta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 900;
  font-size: 12px;
  opacity: .95;
  margin-bottom: 12px;
}
.dot{ opacity:.7; }
.tag{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(183,198,192,.22);
  border: 1px solid rgba(183,198,192,.45);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn{
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 900;
  cursor:pointer;
  transition: var(--transition);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
}
.btn.primary{
  background: rgba(255,255,255,.92);
  color: #1f2328;
}
.btn.primary:hover{ transform: translateY(-1px); opacity:.95; }
.btn.primary.soft{
  background: rgba(183,198,192,.35);
  border-color: rgba(183,198,192,.35);
  color:#fff;
}
.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.btn.ghost:hover{ background: rgba(255,255,255,.10); }

.article{
  margin-top: 14px;
  display:grid;
  gap: 14px;
}
.article-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.article-body{
  padding: 26px;
  max-width: 760px;
  margin: 0 auto;
}
.lead{
  font-size: 16px;
  color:#2a2a2a;
  opacity:.92;
  margin-bottom: 14px;
}
.article-body p{ margin: 12px 0; color:#2a2a2a; }
.article-body h2{
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 950;
  color: var(--text);
}
.article-body ul{ margin: 10px 0 10px 20px; }
.article-body li{ margin: 6px 0; }

blockquote{
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid rgba(183,198,192,.95);
  background: rgba(245,241,237,.55);
  border-radius: 16px;
  font-weight: 900;
  color:#2a2a2a;
}

hr{
  border:none;
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.article-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 10px;
}
.author{
  display:flex;
  gap: 12px;
  align-items:center;
}
.avatar{
  width: 44px; height: 44px;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid rgba(183,198,192,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  color:#2a2a2a;
}
.author-name{ font-weight: 950; }
.author-sub{
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  margin-top: 2px;
}
.mini-actions{ display:flex; gap: 8px; }
.chip{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  color:#1f2328;
  font-weight: 950;
  cursor:pointer;
  transition: var(--transition);
}
.chip:hover{ transform: translateY(-1px); }

.comments{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.comments-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 10px;
  margin-bottom: 10px;
}
.comments h3{ font-size: 18px; font-weight: 950; }
.muted{ color: var(--muted); font-weight: 900; font-size: 12px; }

.comment-form{
  display:grid;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 12px;
}
.comment-form .row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.comment-form input,
.comment-form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.80);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.comment-form input:focus,
.comment-form textarea:focus{
  border-color: rgba(31,35,40,.35);
  box-shadow: 0 0 0 4px rgba(31,35,40,.10);
}
.comment-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
}
.hint{ color: var(--muted); font-weight: 900; font-size: 12px; }

.comment-list{ display:grid; gap: 10px; }
.comment{
  display:flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  background: rgba(245,241,237,.40);
  border-radius: 22px;
}
.comment .c-avatar{
  width: 40px; height: 40px;
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
}
.comment .c-body{ flex: 1; }
.comment .c-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  margin-bottom: 6px;
}
.comment .c-name{ font-weight: 950; font-size: 13px; }
.comment .c-time{ color: var(--muted); font-weight: 900; font-size: 12px; }
.comment .c-text{ color:#2a2a2a; font-size: 14px; }

.footer{
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: rgba(245,241,237,.35);
}
.foot-inner{
  text-align:center;
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
}

@media (max-width: 840px){
  .comment-form .row{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav{ display:none; }
  .hero-wrap{ min-height: 280px; }
  .hero-img{ min-height: 280px; }
  .article-body{ padding: 18px; }
  .comments-head{ flex-direction:column; align-items:flex-start; }
  .comment-actions{ flex-direction:column; align-items:stretch; }
}
