body {
  padding-top: 5rem;
  line-height: 1.6;
  color: #333;
}

/* Blog Layout */
.blog-header {
  margin-bottom: 3rem;
}

.blog-title {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Blog Content Styling */
.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.blog-content h1 { font-size: 2.5rem; }
.blog-content h2 { font-size: 2rem; }
.blog-content h3 { font-size: 1.75rem; }
.blog-content h4 { font-size: 1.5rem; }
.blog-content h5 { font-size: 1.25rem; }
.blog-content h6 { font-size: 1rem; }

.blog-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  border-left: 4px solid #007bff;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6c757d;
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.25rem;
}

.blog-content code {
  background-color: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  color: #e83e8c;
}

.blog-content pre {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #e9ecef;
}

.blog-content pre code {
  background-color: transparent;
  padding: 0;
  color: #333;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.blog-content a {
  color: #007bff;
  text-decoration: none;
}

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

/* Blog Cards */
.blog-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.card-text {
  color: #6c757d;
  line-height: 1.6;
}

/* General Card Styling */
.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: none;
  border-radius: 0.5rem;
}

/* Blog Footer */
.blog-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-content {
    font-size: 1rem;
  }
  
  .blog-content h1 { font-size: 2rem; }
  .blog-content h2 { font-size: 1.75rem; }
  .blog-content h3 { font-size: 1.5rem; }
  
  .blog-content p {
    text-align: left;
  }
}

/* Alert Styling */
.alert {
  margin-top: 1rem;
  border-radius: 0.5rem;
}

.d-none {
  display: none !important;
}

/* Spinner */
.spinner-border {
  width: 1.5rem;
  height: 1.5rem;
}

/* Admin Dashboard Prompt Styling */
.prompt-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #495057;
  background-color: #f8f9fa;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border-left: 3px solid #007bff;
  cursor: help;
  transition: all 0.2s ease;
}

.prompt-text:hover {
  background-color: #e9ecef;
  transform: scale(1.02);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.table td {
  vertical-align: middle;
}

.table th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
}

/* Admin Dashboard Image Styling */
.admin-post-image {
  max-width: 100px;
  height: auto;
}

.admin-edit-image {
  max-width: 200px;
  height: auto;
}

/* Buy Me a Coffee Button Animation */
.bmac-button {
  display: inline-block;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.bmac-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.bmac-button:active {
  transform: scale(0.95);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
footer {
  margin-top: 2rem;
}

footer a {
  transition: color 0.2s ease-in-out;
}

footer a:hover {
  color: #ffc107 !important;
}