/* ================================================
   HOT & CRUSTY — Article Page Styles
================================================ */

/* Hero Image */
.article-hero {
  position: relative;
  height: 480px;
  margin-top: 72px;
  overflow: hidden;
}
.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(42,31,20,0.5) 100%);
}

/* Article Header */
.article-header-wrap {
  background: var(--cream);
  padding: 2.5rem 0 0;
}
.article-container {
  max-width: 1100px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }

.article-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
  max-width: 820px;
}

.article-deck {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--cream-mid);
}
.article-meta-sep { opacity: 0.4; }
.article-meta-tag {
  background: var(--cream-mid);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  font-weight: 600;
}

/* Article Layout */
.article-body-wrap {
  background: var(--cream);
  padding: 3rem 0 5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

/* Article Content Typography */
.article-content {
  min-width: 0;
}

.article-lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--dark);
  font-weight: 400;
  margin-bottom: 1.75rem;
}
.article-lead::first-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  margin-right: 0.1em;
  margin-top: 0.1em;
  color: var(--gold);
}

.article-content p {
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-mid);
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.article-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-link:hover { color: var(--gold-dark); }

/* Pull Quote */
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background: rgba(196,135,58,0.06);
  border-radius: 0 8px 8px 0;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
}

/* Callout Box */
.article-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(61,107,94,0.08);
  border: 1px solid rgba(61,107,94,0.2);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.callout-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout-body { font-size: 0.9rem; line-height: 1.65; color: var(--text); }
.callout-body strong { color: var(--dark); }

/* In-article Product CTA */
.article-product-cta {
  background: var(--dark);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
}
.product-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.product-cta-badge {
  font-size: 3rem;
  flex-shrink: 0;
}
.product-cta-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.product-cta-text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.product-cta-text p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Article Button */
.article-btn {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-mid);
}
.article-tag-pill {
  background: var(--cream-mid);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  color: var(--text-muted);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}

.sidebar-product-icon,
.sidebar-dir-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sidebar-widget h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.sidebar-widget p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Table of Contents */
.sidebar-toc ol {
  padding-left: 1.25rem;
  margin: 0;
}
.sidebar-toc li {
  font-size: 0.825rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
.toc-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.toc-link:hover { color: var(--gold); }

.sidebar-btn {
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.825rem;
}

.sidebar-newsletter {
  background: var(--dark);
  border-color: var(--dark);
}
.sidebar-newsletter .sidebar-label { color: var(--gold); }
.sidebar-newsletter h4 { color: var(--white); }
.sidebar-newsletter p { color: rgba(255,255,255,0.7); }

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-form input {
  padding: 0.65rem 0.875rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.sidebar-form input::placeholder { color: rgba(255,255,255,0.4); }
.sidebar-form input:focus { outline: none; border-color: var(--gold); }

/* Related Articles */
.related-articles {
  background: var(--cream-mid);
  padding: var(--section-gap) 0;
}
.related-articles .eyebrow { color: var(--gold); margin-bottom: 0.5rem; }
.related-articles h2 { margin-bottom: 2.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Newsletter Strip */
.newsletter-strip {
  background: var(--forest);
  padding: 3.5rem 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.newsletter-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.newsletter-form input {
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  width: 260px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .article-hero { height: 320px; }
  .article-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; }
  .product-cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .article-hero { height: 240px; }
  .article-title { font-size: 1.6rem; }
  .related-grid { grid-template-columns: 1fr; }
  .article-lead::first-letter { font-size: 2.5rem; }
}
