/* --- BLOG LIST VIEW --- */
#blog-list-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
}

.blog-card {
  display: flex;
  background: var(--feather-black);
  border: 1px solid var(--coal-dust);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease;
  height: 200px;
}

.blog-card-content h3 {
  color: var(--feather-white);
  margin: 0 0 10px 0;
}

.blog-card-content p {
  color: var(--downy-grey);
  font-size: 0.95rem;
}

.blog-pillar-tag {
  display: inline-block;
  background-color: var(--tail-green) !important;
  color: white !important;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.blog-card-image {
  width: 30%;
  object-fit: cover;
  background: #eee;
}

/* --- BLOG POST / ARTICLE VIEW --- */
.blog-article-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  color: var(--feather-white);
}

#article-body {
  line-height: 1.8;
}

/* Fix for Markdown headers */
#article-body h1, #article-body h2, #article-body h3 {
  color: var(--feather-white);
}

/* --- THE PILLAR CTA BOX --- */
.pillar-cta {
  margin-top: 50px;
  padding: 30px;
  background: var(--feather-black);
  border: 2px solid var(--coal-dust);
  border-radius: 12px;
  text-align: center;
}

/* Specific Top Borders */
.pillar-cta.vault {
  border-top: 6px solid #4a4e69 !important;
}
.pillar-cta.studio {
  border-top: 6px solid #d4a373 !important;
}
.pillar-cta.loom {
  border-top: 6px solid #84a59d !important;
}

.pillar-cta h3 {
  color: var(--feather-white);
}

/* THE PEACH BUTTON */
.pillar-cta .bmc-button {
  display: inline-block;
  background-color: #d4a373 !important;
  color: #ffffff !important;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

/* Mobile Fix */
@media (max-width: 600px) {
  .blog-card {
    flex-direction: column;
    height: auto;
  }
  .blog-card-image {
    width: 100%;
    height: 180px;
  }
}

/* Ensures images inside blog posts don't overflow */
#article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
