.custom-blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 0;
}

.blog-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-thumb {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #203a8f, #010134);
  max-height: 400px;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.blog-thumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--thumb-bg);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  z-index: 1;
}

.blog-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.blog-info {
  flex: 1;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-title {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 40px;
  color: #303b92;
  margin-bottom: 10px;
}

.blog-title a {
  transition: color 0.3s ease;
  color: #383F45;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}

.blog-title a:hover {
  color: #e30d13;
}

.blog-excerpt {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 24px;
  letter-spacing: 3%;
  color: #b3b2b3;
  margin-bottom: 20px;
}

.blog-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.blog-actions .blog-btn {
  flex: 1;
  padding: 15px 0;
}

.blog-btn {
  background-color: #e30d13;
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 3%;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.blog-btn.secondary {
  background-color: #303b92;
  color: #fff;
}

.blog-btn:hover {
  background-color: #e30d13;
  color: #fff;
  transform: scale(1.05);
}

.blog-btn.secondary:hover {
  background-color: #303b92;
  color: #fff;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .blog-item {
    flex-direction: column;
  }

  .blog-thumb {
    width: 100%;
    justify-content: center;
    padding: 20px 0;
  }

  .blog-thumb img {
    width: 100%;
    height: auto;
  }

  .blog-info {
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  .blog-actions {
    flex-direction: column;
  }

  .blog-actions .blog-btn {
    width: 100%;
  }
}
