/* ----------------------------------------------------
   Blog Specific Styles
   Uses CBG default brand colors (navy/orange)
   No color overrides needed — inherits from core.css
---------------------------------------------------- */

/* Blog navigation (Prev / Next post bar) */
.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border-light, #e0e0e0);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.blog-nav a {
  color: var(--brand-navy);
  text-decoration: none;
  font-weight: 500;
}

.blog-nav a:hover {
  text-decoration: underline;
}

/* Article prose container */
.blog-article {
  max-width: 800px;
}

.blog-article p,
.blog-article li,
.blog-article td {
  line-height: 1.75;
}

.blog-article h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--brand-navy);
}

/* Q&A interview style */
.blog-question {
  font-weight: 700;
  color: var(--brand-navy);
  margin-top: 1.5rem;
}

.blog-question span {
  font-weight: normal;
}

/* Author bio block */
.blog-author {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-light, #f8f8f8);
  border-left: 4px solid var(--brand-navy);
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
  border-radius: 0 6px 6px 0;
}

.blog-author img {
  width: 90px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.blog-author-text {
  font-size: 0.9rem;
  line-height: 1.65;
}

.blog-author-text strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}

/* Related products highlight box */
.blog-related-box {
  border: 1px solid #c5d4a0;
  background: #f3f8ea;
  padding: 0.9rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-size: 0.92rem;
}

/* Blog index listing */
.blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-list-item {
  border-bottom: 1px solid var(--border-light, #e0e0e0);
  padding: 1.25rem 0;
}

.blog-list-item:last-child {
  border-bottom: none;
}

.blog-list-item .blog-date {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.blog-list-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.blog-list-item h3 a {
  color: var(--brand-navy);
  text-decoration: none;
}

.blog-list-item h3 a:hover {
  text-decoration: underline;
}

.blog-list-item .blog-excerpt {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

/* Interview table → cleaner look in HTML context */
.blog-article table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

.blog-article table th,
.blog-article table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.blog-article table.lined-table th,
.blog-article table.lined-table td {
  border: 1px solid #ccc;
}

.blog-article table.lined-table th {
  background: var(--brand-navy);
  color: #fff;
  font-weight: 600;
}
