/* Guides section & Article Typography */
.guides-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid #dce0d8;
  margin-bottom: 40px;
}
.guides-hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #707e74;
  margin-bottom: 12px;
  font-weight: 600;
}
.guides-hero h1 {
  font-size: 38px;
  line-height: 1.25;
  color: #1a2822;
  margin: 0 0 16px;
}
.guides-hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: #4a5c52;
  max-width: 820px;
  margin: 0;
}

/* Guides Grid on Hub Page */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 36px 0 64px;
}
.guide-card {
  background: #ffffff;
  border: 1px solid #e2e5df;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.guide-card .cat-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b33927;
  margin-bottom: 10px;
}
.guide-card h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #1a2822;
}
.guide-card h2 a {
  color: inherit;
  text-decoration: none;
}
.guide-card h2 a:hover {
  color: #b33927;
}
.guide-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #55665d;
  margin: 0 0 16px;
  flex-grow: 1;
}
.guide-card .read-link {
  font-size: 14px;
  font-weight: 600;
  color: #b33927;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.guide-card .read-link:hover {
  text-decoration: underline;
}

/* Individual Guide Article Page */
.article-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 20px 80px;
}
.article-header {
  border-bottom: 1px solid #dce0d8;
  padding-bottom: 28px;
  margin-bottom: 36px;
}
.article-header .breadcrumb {
  font-size: 13px;
  color: #6a7c72;
  margin-bottom: 16px;
}
.article-header .breadcrumb a {
  color: #44564c;
  text-decoration: none;
}
.article-header .breadcrumb a:hover {
  text-decoration: underline;
}
.article-header h1 {
  font-size: 36px;
  line-height: 1.25;
  color: #1a2822;
  margin: 0 0 16px;
}
.article-meta {
  font-size: 13px;
  color: #7a8c82;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-body {
  font-size: 16px;
  line-height: 1.75;
  color: #2c3a32;
}
.article-body h2 {
  font-size: 26px;
  line-height: 1.3;
  color: #1a2822;
  margin: 42px 0 16px;
  padding-top: 10px;
  border-top: 1px solid #edf0ec;
}
.article-body h3 {
  font-size: 20px;
  line-height: 1.4;
  color: #24352c;
  margin: 28px 0 12px;
}
.article-body p {
  margin: 0 0 18px;
}
.article-body ul, .article-body ol {
  margin: 0 0 22px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}

/* Comparison Tables in Articles */
.table-wrapper {
  overflow-x: auto;
  margin: 28px 0 34px;
  background: #ffffff;
  border: 1px solid #dce0d8;
  border-radius: 6px;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.article-table th {
  background: #f4f6f2;
  color: #1a2822;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid #d0d6cb;
}
.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e8e2;
  color: #33443a;
  vertical-align: top;
}
.article-table tr:last-child td {
  border-bottom: none;
}
.article-table tr:hover td {
  background: #fafbf9;
}

/* Callout & Takeaways Box */
.takeaway-box {
  background: #f7f9f5;
  border-left: 4px solid #b33927;
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  margin: 32px 0;
}
.takeaway-box h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #b33927;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.takeaway-box p {
  margin: 0;
  font-size: 15px;
  color: #33443a;
  line-height: 1.6;
}

/* Related Products Showcase within Article */
.guide-related-products {
  background: #fafbf8;
  border: 1px solid #dce0d8;
  border-radius: 8px;
  padding: 28px;
  margin: 48px 0;
}
.guide-related-products h3 {
  margin: 0 0 18px;
  font-size: 20px;
  color: #1a2822;
}
.guide-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.guide-product-card {
  background: #ffffff;
  border: 1px solid #e5e8e2;
  border-radius: 6px;
  padding: 14px;
  text-align: center;
}
.guide-product-card img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  margin-bottom: 10px;
}
.guide-product-card h4 {
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.35;
}
.guide-product-card h4 a {
  color: #1a2822;
  text-decoration: none;
}
.guide-product-card a.view-link {
  font-size: 13px;
  color: #b33927;
  text-decoration: none;
  font-weight: 600;
}

/* Article CTA Footer Box */
.article-cta {
  background: #1c2b25;
  color: #ffffff;
  border-radius: 8px;
  padding: 36px 32px;
  text-align: center;
  margin: 52px 0 0;
}
.article-cta h3 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #ffffff;
}
.article-cta p {
  font-size: 16px;
  color: #ccd5ce;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.article-cta .btn-wrap {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.article-cta .btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.article-cta .btn-primary {
  background: #b33927;
  color: #ffffff;
}
.article-cta .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

@media(max-width: 768px) {
  .guides-hero h1 { font-size: 28px; }
  .article-header h1 { font-size: 26px; }
  .article-container { padding: 24px 16px 60px; }
  .guide-product-grid { grid-template-columns: 1fr; }
}
