/*-----------------------------------*\
  #BLOG POST PAGE - Self-contained
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #121212;
  font-family: 'Poppins', sans-serif;
  color: #d6d6d6;
  min-height: 100vh;
}

a { text-decoration: none; }

.blog-post-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffdb70;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 30px;
  transition: 0.25s ease;
}

.back-btn:hover {
  color: #ffffff;
  transform: translateX(-3px);
}

.blog-post-full {
  background: #1e1e1e;
  border: 1px solid #383838;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

/* Header */
.blog-post-header {
  padding: 35px 30px 25px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.blog-tag {
  background: #ffdb70;
  color: #121212;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.blog-post-meta time,
.blog-read-time {
  color: #b0b0b0;
  font-size: 13px;
}

.blog-post-header h1 {
  color: #ffffff;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-subtitle {
  color: #d6d6d6;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}

/* Banner */
.blog-post-banner {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.blog-post-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Body */
.blog-post-body {
  padding: 30px;
}

.blog-post-body h2 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #383838;
}

.blog-post-body h2:first-child {
  margin-top: 0;
}

.blog-post-body p {
  color: #d6d6d6;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

.blog-post-body strong {
  color: #ffffff;
  font-weight: 500;
}

.blog-post-body code {
  background: #2a2a2a;
  color: #ffdb70;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Courier New', monospace;
}

.blog-post-body ul {
  margin: 12px 0 20px 20px;
  list-style: disc;
}

.blog-post-body ul li {
  color: #d6d6d6;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
  font-weight: 300;
}

.blog-post-body ul li strong {
  color: #ffdb70;
}

/* Footer */
.blog-post-footer {
  padding: 25px 30px;
  border-top: 1px solid #383838;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffdb70;
}

.author-name {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.author-bio {
  color: #b0b0b0;
  font-size: 12px;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 580px) {
  .blog-post-header {
    padding: 25px 20px 20px;
  }
  .blog-post-body {
    padding: 20px;
  }
  .blog-post-footer {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
