.blog-list {
  padding-top: var(--header-offset, 120px);
  background-color: #1a1a1a;
  color: #f0f0f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.blog-list__section {
  padding: 40px 20px;
}

.blog-list__container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-list__header {
  text-align: center;
  margin-bottom: 50px;
}

.blog-list__title {
  font-size: 2.5em;
  color: #ffd700;
  margin-bottom: 15px;
  font-weight: bold;
}

.blog-list__description {
  font-size: 1.1em;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto;
}

.blog-list__posts-grid {
  display: grid;
  gap: 30px;
  position: relative;
}

@media (min-width: 768px) {
  .blog-list__posts-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: rgba(255, 215, 0, 0.2);
    z-index: 0;
  }
}

.blog-list__post-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.blog-list__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.blog-list__post-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-list__post-image-wrapper {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
}

.blog-list__post-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-list__post-card:hover .blog-list__post-image {
  transform: scale(1.05);
}

.blog-list__post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 225px); 
}

.blog-list__post-title {
  font-size: 1.25em;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list__post-summary {
  font-size: 0.9em;
  color: #cccccc;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list__post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-list__post-date {
  font-size: 0.85em;
  color: #999999;
}

.blog-list__post-read-more {
  background-color: #ffd700;
  color: #1a1a1a;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.blog-list__post-read-more:hover {
  background-color: #e6c200;
}

@media (max-width: 767px) {
  .blog-list__title {
    font-size: 2em;
  }
  .blog-list__description {
    font-size: 1em;
  }
  .blog-list__post-content {
    height: auto;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .blog-list__posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-list__posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}