/* ============================================================
   STHERB — Blog Article Redesign (cream/gold)
   Single-post template styles for template-blog-article-redesign.php.
   Loads on top of homepage-redesign.css + blog-redesign.css
   (newsletter + related-card styles come from blog-redesign.css).
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.art-crumbs {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.art-crumbs a { color: var(--muted); }
.art-crumbs a:hover { color: var(--accent); }
.art-crumbs .art-crumb-sep { margin: 0 8px; opacity: 0.6; }
.art-crumbs .art-crumb-current { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.art-hero { padding: 26px 0 0; max-width: 860px; }
.art-hero .sr-blog-cat { display: inline-block; margin-bottom: 14px; }
.art-hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; }
.art-hero-excerpt {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px;
}
.art-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.art-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: #E9C982;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.art-hero-byline { font-size: 14px; line-height: 1.45; }
.art-hero-byline .art-author-name { font-weight: 700; color: var(--ink); }
.art-hero-byline .art-dateline { color: var(--muted); font-size: 13px; }
.art-reviewed {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid #DDBE6F;
  border-radius: 999px;
  background: rgba(233, 201, 130, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  color: #7A5E24;
}
.art-share { display: flex; gap: 8px; margin-left: auto; }
.stherb-redesign-home .art-share-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.stherb-redesign-home .art-share-btn:hover { border-color: var(--ink); }
.stherb-redesign-home .art-share-btn.is-copied { border-color: #2E7D46; color: #2E7D46; }
.stherb-redesign-home .art-share-btn svg { width: 17px !important; height: 17px !important; display: block; flex: none; }

/* ---------- Layout ---------- */
.art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding: 30px 0 56px;
  align-items: start;
}
.art-main { min-width: 0; }
.art-hero-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--soft);
  margin-bottom: 30px;
}
.art-hero-media img { width: 100%; height: auto; display: block; }

/* ---------- Article body base typography ----------
   Newer posts carry their own scoped styles (.sth-wrap); these rules are the
   readable base for older/plain posts and stay low-specificity on purpose. */
.art-body { font-size: 16.5px; line-height: 1.75; color: #3A342B; }
.art-body p { margin: 0 0 1.1em; }
.art-body h2, .art-body h3, .art-body h4 { color: var(--ink); margin: 1.7em 0 0.65em; line-height: 1.25; }
.art-body h2 { font-size: 27px; }
.art-body h3 { font-size: 22px; }
.art-body h4 { font-size: 18px; }
.art-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.art-body img { max-width: 100%; height: auto; border-radius: 14px; }
.art-body ul, .art-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.art-body li { margin-bottom: 0.45em; }
.art-body blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid #DDBE6F;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
}
.art-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 14.5px;
}
.art-body th, .art-body td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.art-body th { background: var(--soft); font-weight: 700; color: var(--ink); }
.art-body-table-scroll { overflow-x: auto; }

/* ---------- Disclaimer ---------- */
.art-disclaimer {
  margin-top: 40px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid #DDBE6F;
  border-radius: 12px;
  background: var(--soft);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.art-disclaimer strong { color: var(--ink); }

/* ---------- Author box ---------- */
.art-authorbox {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.art-authorbox .art-avatar { width: 56px; height: 56px; font-size: 18px; }
.art-authorbox-name { font-size: 17px; font-weight: 700; color: var(--ink); }
.art-authorbox-role {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 3px 0 8px;
}
.art-authorbox-bio { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.art-authorbox .art-reviewed { margin-top: 12px; }

/* ---------- Final CTA ---------- */
.art-cta {
  margin-top: 28px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: var(--dark);
  color: #FDF9F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.art-cta h2 { font-size: clamp(22px, 2.4vw, 30px); color: #FDF9F0; margin: 0 0 8px; }
.art-cta p { margin: 0; font-size: 15px; color: rgba(253, 249, 240, 0.85); max-width: 520px; }
.art-cta .sr-btn-fill { background: #E9C982; border-color: #E9C982; color: #221E18; flex: none; }
.art-cta .sr-btn-fill:hover { background: #DDBE6F; opacity: 1; }

/* ---------- Sidebar ---------- */
.art-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.art-toc, .art-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
}
.art-side-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.art-toc ol { list-style: none; margin: 0; padding: 0; }
.art-toc li { margin: 0; }
.art-toc a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--border);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  transition: all 0.15s ease;
}
.art-toc a:hover { color: var(--ink); }
.art-toc a.is-active { border-left-color: var(--accent); color: var(--accent); font-weight: 600; }
.art-product-card { text-align: center; }
.art-product-card img {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 4px auto 12px;
  display: block;
}
.art-product-name { font-size: 18px; line-height: 1.3; margin: 0 0 6px; }
.art-product-name a { color: var(--ink); }
.art-product-name a:hover { color: var(--accent); }
.art-product-price { font-family: 'Cormorant', Georgia, serif; font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.art-product-price del { font-size: 15px; color: var(--muted); font-weight: 400; }
.art-product-price ins { text-decoration: none; color: var(--accent); }
.art-product-card .sr-btn { padding: 12px 24px; font-size: 14px; }

/* ---------- Related reading ---------- */
.art-related { padding: 8px 0 64px; }
.art-related h2 { font-size: 28px; margin-bottom: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .art-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
}
@media (max-width: 900px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .art-sidebar { position: static; }
  .art-toc { display: none; }
  .art-product-card { max-width: 420px; }
  .art-share { margin-left: 0; }
  .sr-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .art-hero h1 { font-size: 28px; }
  .art-body table { display: block; overflow-x: auto; }
  .art-hero-excerpt { font-size: 15.5px; }
  .art-body { font-size: 15.5px; }
  .art-cta { flex-direction: column; align-items: flex-start; }
  .art-authorbox { flex-direction: column; }
  .sr-blog-grid { grid-template-columns: 1fr; }
}
