.blog-entry {
  display: flex;
}

.blog-entry-img {
  width: 40%;
}

.blog-container {
  min-height: calc(100vh - 200px);
}

/* Content Block Float Alignment */
.content-block-paragraph.left,
.content-block-video.left,
.content-block-pdf.left,
.content-block-header.left {
  float: left;
  max-width: 50%;
  margin-right: 2rem;
}

.content-block-paragraph.right,
.content-block-video.right,
.content-block-pdf.right,
.content-block-header.right {
  float: right;
  max-width: 50%;
  margin-left: 2rem;
}

.content-block-paragraph.none,
.content-block-video.none,
.content-block-pdf.none,
.content-block-header.none {
  float: none;
  width: 100%;
  clear: both;
}

/* Blog Post Hero Section Styles */
.blog-post-hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.blog-post-hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.blog-post-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.blog-post-hero-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a0707;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post-hero-excerpt {
  text-align: center;
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-post-hero-no-image {
  padding: 0;
}

.blog-post-hero-no-image .blog-post-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a0707;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-post-hero-no-image .blog-post-hero-excerpt {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-card {
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card.border-secondary.hover-border-tertiary:hover {
  border-color: #6a4d8a;
}

.blog-card .card-img-top {
  height: 180px;
  width: 100%;
  object-fit: cover;
  background-color: #f8f9fa;
}

.blog-card .card-img-top.bg-light {
  background-color: #e9ecef !important;
}

.blog-card .card-title a {
  color: #0a0707;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card .card-title a:hover {
  color: #6a4d8a;
}

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

.blog-card .card-footer {
  padding: 1rem;
}

.blog-card .btn-outline-dark {
  color: #6a4d8a;
  border-color: #6a4d8a;
}

.blog-card .btn-outline-dark:hover {
  background-color: #6a4d8a;
  color: white;
}

.blog-card .btn-outline-dark:focus {
  box-shadow: 0 0 0 0.25rem rgba(106, 77, 138, 0.25);
}

.blog-badge {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.blog-pagination {
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .blog-card .card-img-top {
    height: 150px;
  }

  .blog-card .card-title {
    font-size: 1.1rem;
  }

  .blog-card .card-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .blog-container {
    min-height: calc(100vh - 180px);
  }

  .blog-card .card-img-top {
    height: 160px;
  }
}

@media (max-width: 991px) {
  .blog-card {
    border-color: #dee2e6;
  }

  .blog-container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

}

@media (max-width: 991px) {
  .blog-entry-img {
    width: 100%;
  }

}
