/* Blog details page styling */
.blog-details-page {
  background-color: white;
  padding: 70px 15px;
}

.blog-details-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px; /* Increased padding for more space */
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
  border-radius: 10px; /* Softer corners */
}

.blog-header {
  text-align: center;
  margin-bottom: 40px; /* More space between header and content */
}

.blog-title {
  font-size: 36px; /* Larger title for emphasis */
  font-weight: 700;
  color: #2d2d2d; /* Darker color for better contrast */
  margin-bottom: 18px;
}

.blog-date {
  color: #6941C6;
  font-weight: 600;
  margin: 15px 0;
  text-align: left;
}

.blog-content {
  font-size: 18px;
  line-height: 1.8; /* Increased line height for better readability */
  color: #4a4a4a; /* Slightly darker gray for better contrast */
}

.blog-content h2 {
  font-size: 26px; /* Slightly larger heading */
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 24px;
  color: #1a1a1a; /* Darker heading for emphasis */
}

.blog-content ul, 
.blog-content ol {
  margin-left: 30px;
  padding-left: 10px;
}

.blog-content ul li {
  margin: 16px 0;
  color: #555; /* Default text color */
}

.blog-content li strong {
  color: #1a73e8; /* Changed to a standout blue for bold elements */
}

.blog-content pre {
  background-color: #f0f0f5; /* Softer background for code blocks */
  padding: 18px;
  border-left: 6px solid #6941C6;
  border-radius: 6px;
  overflow-x: auto;
  margin: 32px 0;
}

.blog-content code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  color: #d6336c; /* Standout color for code */
}

.blog-content a {
  color: #1a73e8; /* Bright blue for links */
  text-decoration: none;
  font-weight: 500;
}

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

.congratulation__text {
  color: #008000; /* Bright green for congratulatory message */
  font-weight: 600;
  margin-top: 24px; /* Added margin for space */
}

.blog-note {
  background-color: #ffe5b4; /* Soft orange background for notes */
  padding: 12px;
  border-radius: 6px;
  margin: 24px 0;
  font-weight: 500;
  color: #cc5a00; /* Orange text color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-details-container {
      padding: 20px;
  }

  .blog-title {
      font-size: 30px;
  }

  .blog-content {
      font-size: 16px;
  }
}


.blog-header img {
  max-width: 100%;
  height: auto;
  background-size: cover;
}



.blog-code {
  background-color: #f5f2f0;
  border-radius: 8px;
  padding: 16px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.5;
  color: #333;
}

.blog-code code {
  color: #d63384;
}

pre {
  margin: 16px 0;
  max-width: 100%;
}

.blog-code::-webkit-scrollbar {
  height: 8px;
}

.blog-code::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}
