/* blog-post-style.css - Individual Blog Post Page Styling */

body {
  background: #f7f7fa;
  color: #222;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Blog Post Hero Banner */
.blog-banner {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

/* Back to Blog Link */
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d4af37;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin: 1.5rem 0 0.5rem 0;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}
.back-to-blog:hover { color: #b8962e; text-decoration: underline; }

/* Article Container */
.blog-article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem 2rem;
}

/* Post Header */
.blog-post-header {
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #ffe082;
  padding-bottom: 1.2rem;
}
.blog-post-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #181818;
  margin: 0.5rem 0 0.5rem 0;
  line-height: 1.25;
}
.blog-post-meta {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.blog-category-tag {
  display: inline-block;
  background: #ffe082;
  color: #7a5900;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 12px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Article Content */
.blog-content {
  font-size: 1.06rem;
  color: #333;
  line-height: 1.8;
}
.blog-content h2 {
  color: #181818;
  font-size: 1.45rem;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.blog-content h3 {
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.7em;
  margin-bottom: 0.6em;
}
.blog-content h4 {
  color: #444;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.3em;
  margin-bottom: 0.4em;
}
.blog-content h5 {
  color: #555;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.1em;
}
.blog-content p {
  margin-bottom: 1.1em;
}
.blog-content ul, .blog-content ol {
  margin-left: 1.5em;
  margin-bottom: 1.2em;
}
.blog-content li {
  margin-bottom: 0.35em;
}
.blog-content a {
  color: #d4af37;
  font-weight: 600;
  text-decoration: none;
}
.blog-content a:hover { text-decoration: underline; }

/* Tables */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.blog-content th, .blog-content td {
  padding: 10px 14px;
  border: 1px solid #e8e8e8;
  text-align: left;
  font-size: 0.97rem;
}
.blog-content th {
  background: #f5f5f5;
  color: #222;
  font-weight: 700;
}
.blog-content tr:hover td { background: #fffbe7; }

/* Share / Social */
.blog-share {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-share span {
  font-weight: 700;
  color: #555;
  font-size: 0.98rem;
}
.blog-share a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.blog-share a:hover { opacity: 0.85; }
.blog-share .fb { background: #1877f2; }
.blog-share .ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.blog-share .wa { background: #25d366; }

/* Related posts strip */
.blog-nav-footer {
  max-width: 860px;
  margin: 0 auto 3rem auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-nav-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 2px solid #ffe082;
  border-radius: 10px;
  padding: 10px 20px;
  color: #222;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.97rem;
  transition: background 0.2s, border-color 0.2s;
}
.blog-nav-footer a:hover { background: #fffbe7; border-color: #d4af37; }

/* Responsive */
@media (max-width: 700px) {
  .blog-article-wrap { padding: 1rem 1rem 2rem 1rem; }
  .blog-post-heading { font-size: 1.4rem; }
  .blog-banner { height: 180px; }
  .blog-nav-footer { flex-direction: column; align-items: flex-start; }
}
