.blog-list {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 40px;
  min-height: calc(100vh - var(--header-offset, 120px) - 80px);
}

.blog-list__hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #2c2c2c;
  margin-bottom: 40px;
  border-bottom: 2px solid #fbc02d;
}

.blog-list__hero-title {
  font-size: 28px;
  margin-bottom: 15px;
  color: #fbc02d;
  line-height: 1.3;
}

.blog-list__hero-description {
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #e0e0e0;
}

.blog-list__timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .blog-list__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #fbc02d;
    height: 100%;
  }
}

.blog-list__item {
  background-color: #2c2c2c;
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.blog-list__date-wrapper {
  padding: 15px 20px 0;
  text-align: left;
}

.blog-list__date {
  display: inline-block;
  font-size: 14px;
  color: #9e9e9e;
  background-color: #3a3a3a;
  padding: 5px 10px;
  border-radius: 5px;
}

.blog-list__image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-list__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-list__content-wrapper {
  padding: 20px;
}

.blog-list__title {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-list__link-title {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-list__link-title:hover {
  color: #fbc02d;
}

.blog-list__summary {
  font-size: 15px;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-list__read-more {
  display: inline-block;
  background-color: #fbc02d;
  color: #1a1a1a;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-list__read-more:hover {
  background-color: #fdd835;
  color: #000000;
}

@media (min-width: 768px) {
  .blog-list__item {
    display: flex;
    align-items: stretch;
    margin-bottom: 40px;
    width: calc(50% - 20px);
    position: relative;
  }

  .blog-list__item:nth-child(odd) {
    margin-right: calc(50% + 20px);
    transform: translateX(-10px);
  }

  .blog-list__item:nth-child(even) {
    margin-left: calc(50% + 20px);
    transform: translateX(10px);
  }
  
  .blog-list__item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fbc02d;
    border: 3px solid #1a1a1a;
    z-index: 1;
  }

  .blog-list__item:nth-child(odd)::after {
    right: -30px;
    transform: translateX(50%);
  }

  .blog-list__item:nth-child(even)::after {
    left: -30px;
    transform: translateX(-50%);
  }

  .blog-list__date-wrapper {
    position: absolute;
    top: 20px;
    width: calc(50% - 40px);
    padding: 0;
  }

  .blog-list__item:nth-child(odd) .blog-list__date-wrapper {
    right: calc(50% + 40px);
    text-align: right;
  }

  .blog-list__item:nth-child(even) .blog-list__date-wrapper {
    left: calc(50% + 40px);
    text-align: left;
  }

  .blog-list__content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .blog-list__image-container {
    height: 250px;
  }

  .blog-list__title {
    font-size: 22px;
  }

  .blog-list__summary {
    font-size: 16px;
    -webkit-line-clamp: 4;
  }
}

@media (min-width: 1024px) {
  .blog-list__hero-title {
    font-size: 36px;
  }
  .blog-list__hero-description {
    font-size: 18px;
  }
  .blog-list__timeline {
    max-width: 1200px;
  }
  .blog-list__item {
    width: calc(50% - 30px);
  }
  .blog-list__item:nth-child(odd) {
    margin-right: calc(50% + 30px);
  }
  .blog-list__item:nth-child(even) {
    margin-left: calc(50% + 30px);
  }
  .blog-list__item:nth-child(odd)::after {
    right: -35px;
  }
  .blog-list__item:nth-child(even)::after {
    left: -35px;
  }
  .blog-list__date-wrapper {
    width: calc(50% - 50px);
  }
  .blog-list__item:nth-child(odd) .blog-list__date-wrapper {
    right: calc(50% + 50px);
  }
  .blog-list__item:nth-child(even) .blog-list__date-wrapper {
    left: calc(50% + 50px);
  }
  .blog-list__image-container {
    height: 300px;
  }
  .blog-list__title {
    font-size: 24px;
  }
  .blog-list__summary {
    -webkit-line-clamp: 5;
  }
}