:root {
    --header-offset: 120px;
    --blog-list-primary-text-color: #333;
    --blog-list-secondary-text-color: #666;
    --blog-list-accent-color: #0056b3;
    --blog-list-background-color: #f0f2f5;
    --blog-list-card-bg-color: #ffffff;
    --blog-list-border-color: #e0e0e0;
    --blog-list-timeline-line-color: #c0c0c0;
    --blog-list-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --blog-list-hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .blog-list {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--blog-list-primary-text-color);
    background-color: var(--blog-list-background-color);
    padding-top: var(--header-offset, 120px);
    min-height: 100vh;
    padding-bottom: 40px;
    line-height: 1.6;
  }

  .blog-list__hero {
    text-align: center;
    padding: 40px 20px 60px;
    background-color: var(--blog-list-card-bg-color);
    margin-bottom: 20px;
    box-shadow: var(--blog-list-shadow);
  }

  .blog-list__main-title {
    font-size: 2.2em;
    color: var(--blog-list-accent-color);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
  }

  .blog-list__description {
    font-size: 1.1em;
    color: var(--blog-list-secondary-text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .blog-list__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
  }

  @media (min-width: 768px) {
    .blog-list__container {
      grid-template-columns: 1fr 2px 1fr;
      grid-template-rows: auto;
      gap: 0;
    }

    .blog-list__container::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 2px;
      background-color: var(--blog-list-timeline-line-color);
      transform: translateX(-50%);
      z-index: 0;
    }
  }

  .blog-list__item {
    display: flex;
    flex-direction: column;
    background-color: var(--blog-list-card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--blog-list-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
  }

  .blog-list__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-list-hover-shadow);
  }

  .blog-list__item-link-image {
    display: block;
    width: 100%;
    overflow: hidden;
    height: 200px;
    position: relative;
  }

  .blog-list__item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .blog-list__item-link-image:hover .blog-list__item-image {
    transform: scale(1.05);
  }

  .blog-list__item-text-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .blog-list__item-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
  }

  .blog-list__item-title-link {
    color: var(--blog-list-primary-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .blog-list__item-title-link:hover {
    color: var(--blog-list-accent-color);
  }

  .blog-list__item-summary {
    font-size: 1em;
    color: var(--blog-list-secondary-text-color);
    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__item-read-more {
    display: inline-block;
    margin-top: auto;
    color: var(--blog-list-accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }

  .blog-list__item-read-more:hover {
    text-decoration: underline;
  }

  .blog-list__item-date-mobile {
    font-size: 0.9em;
    color: var(--blog-list-secondary-text-color);
    text-align: right;
    margin-top: 10px;
  }

  @media (min-width: 768px) {
    .blog-list__item-date-mobile {
      display: none;
    }
  }

  .blog-list__item-date-desktop {
    display: none;
  }

  @media (min-width: 768px) {
    .blog-list__item {
      grid-column: 1 / 2;
      justify-self: end;
      width: calc(100% - 40px);
      margin-right: 40px;
    }

    .blog-list__item:nth-child(even) {
      grid-column: 3 / 4;
      justify-self: start;
      margin-left: 40px;
      margin-right: 0;
    }

    .blog-list__item::before {
      content: '';
      position: absolute;
      top: 30px;
      width: 16px;
      height: 16px;
      background-color: var(--blog-list-accent-color);
      border: 3px solid var(--blog-list-background-color);
      border-radius: 50%;
      z-index: 2;
      transform: translateY(-50%);
    }

    .blog-list__item:nth-child(odd)::before {
      right: -58px;
    }

    .blog-list__item:nth-child(even)::before {
      left: -58px;
    }

    .blog-list__item-date-desktop {
      display: block;
      position: absolute;
      top: 15px;
      font-size: 0.9em;
      font-weight: bold;
      color: var(--blog-list-accent-color);
      z-index: 2;
    }

    .blog-list__item:nth-child(odd) .blog-list__item-date-desktop {
      text-align: right;
      right: calc(100% + 70px);
      width: 120px;
    }

    .blog-list__item:nth-child(even) .blog-list__item-date-desktop {
      text-align: left;
      left: calc(100% + 70px);
      width: 120px;
    }
  }