/* Container */
.blog-main {
  display: flex;
  justify-content: center;
  background: var(--bg-darker); /* full width background */
  color: var(--text);
  border-radius: 20px;
}

.blog-article {
  max-width: 950px;
  width: 100%;
  border-radius: 12px;
  padding: 2rem;
  background: transparent; /* FIX: let the dark background show through */
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 1px solid var(--bg-light); /* subtle separation */
}


/* Header */
.blog-header {
  margin-bottom: 2rem;
}

.blog-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--highlight);
  word-wrap: break-word; /* prevent overflow */
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.blog-meta a {
  color: var(--accent);
  text-decoration: none;
}

.blog-meta a:hover {
  color: var(--accent-hover);
}

/* Share bar inside header */
.blog-share-bar {
  display: inline-flex;       /* shrink to fit content */
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  background: #ffffff;        /* white background */
  padding: 5px 10px;          /* small padding around icons */
  border-radius: 12px;        /* rounded corners */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* optional subtle shadow */
}

.blog-share-bar span {
  color: #111827;             /* make the "Share:" text visible on white */
  font-weight: 500;
  margin-right: 5px;
}

.share-btn img {
  display: block;             /* remove inline spacing */
  height: 30px;               /* consistent size */
  width: auto;
}



.share-btn:hover { opacity: 0.85; }

/* Featured image */
.blog-featured-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  display: block;
}

/* Description */
.blog-description {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Content */
.blog-content {
  line-height: 1.7;
  font-size: 1.05rem;
  overflow-wrap: break-word; /* avoids horizontal scroll */
}

.blog-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: var(--highlight);
}

.blog-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted);
}

/* Pull Quotes */
.pull-quote {
  font-size: 1.3rem;
  font-style: italic;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-light);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  color: var(--highlight);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
}

/* Tip Box */
.tip-box {
  background: var(--bg-dark);
  padding: 1rem 1.5rem;
  border-left: 5px solid var(--warning);
  border-radius: 8px;
  margin: 2rem 0;
  color: var(--muted);
  font-weight: 500;
}

/* Section Divider */
.section-divider {
  height: 3px;
  margin: 3rem 0;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 2px;
}

/* Footer */
.blog-footer-section {
  margin-top: 3rem;
  padding: 2rem;
  border-top: 2px solid var(--bg-light);
  background: linear-gradient(145deg, var(--bg-dark), var(--bg-darker));
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.blog-footer-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}


/* Related Posts */
.blog-related-posts {
  margin-top: 1.5rem;
}
.blog-related-posts h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--highlight);
  border-left: 4px solid var(--accent);
  padding-left: 0.5rem;
}
.blog-related-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.blog-related-posts li {
  background: var(--bg-light);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.blog-related-posts li:hover {
  background: var(--bg-dark);
  transform: translateY(-2px);
}
.blog-footer-about {
  background: var(--bg-darker);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  margin-top: 2rem;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.blog-footer-about p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
}
/* Secondary CTA button for Get Started */
.footer-cta-btn.secondary-btn {
	display: inline-block;
	padding: 0.85rem 1.75rem;
	background: #fff; /* White background */
	color: var(--accent); /* Primary accent text */
	font-size: 1rem;
	font-weight: 600;
	border-radius: 0.75rem;
	margin-left:10px;
	border: 2px solid var(--accent); /* Accent border */
	text-decoration: none;
	transition: background 0.3s, color 0.3s, transform 0.2s;
}

.footer-cta-btn.secondary-btn:hover {
	background: var(--accent);
	color: #fff;
	transform: translateY(-2px);
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
	.footer-cta-btn.secondary-btn {
		padding: 0.6rem 1.2rem;
		font-size: 0.95rem;
	}
}

.footer-cta-btn {
	display: inline-block;
	padding: 0.85rem 1.75rem;
	background: var(--accent);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 0.75rem;
	text-decoration: none;
	transition: background 0.3s, transform 0.2s;
}

.footer-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .blog-footer-about {
    padding: 1rem 1.25rem;
  }

  .blog-footer-about p {
    font-size: 1rem;
  }

  .footer-cta-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .blog-article {
    padding: 1rem;
  }

  .blog-title {
    font-size: 1.8rem;
  }

  .blog-content h2 {
    font-size: 1.3rem;
  }

  .blog-share-bar {
    justify-content: flex-start;
    gap: 0.5rem;
  }
}

