:root {
      --blog-list-primary-color: #007bff; 
      --blog-list-text-color: #333;
      --blog-list-light-text-color: #666;
      --blog-list-extra-light-text-color: #999;
      --blog-list-background-color: #f8f9fa;
      --blog-list-card-background: #ffffff;
      --blog-list-border-color: #e0e0e0;
      --blog-list-shadow-color: rgba(0, 0, 0, 0.08);
      --blog-list-hover-shadow-color: rgba(0, 0, 0, 0.15);
    }

    .blog-list {
      font-family: Arial, sans-serif;
      line-height: 1.6;
      color: var(--blog-list-text-color);
      padding: 20px;
      padding-top: var(--header-offset, 120px); 
      background-color: var(--blog-list-background-color);
      min-height: 100vh;
    }

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

    .blog-list__heading {
      text-align: center;
      margin-bottom: 40px;
      color: var(--blog-list-text-color);
      font-size: 2.5em;
      font-weight: bold;
    }

    .blog-list__description {
      text-align: center;
      font-size: 1.1em;
      color: var(--blog-list-light-text-color);
      margin-bottom: 50px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .blog-list__grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 30px;
      position: relative;
    }

    .blog-list__item {
      background-color: var(--blog-list-card-background);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px var(--blog-list-shadow-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
    }

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

    .blog-list__image-wrapper {
      width: 100%;
      padding-bottom: 56.25%; 
      position: relative;
      overflow: hidden;
    }

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

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

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

    .blog-list__date {
      font-size: 0.85em;
      color: var(--blog-list-extra-light-text-color);
      margin-bottom: 10px;
      display: block;
      font-weight: bold;
    }

    .blog-list__title {
      font-size: 1.25em;
      font-weight: bold;
      margin-bottom: 10px;
      line-height: 1.4;
    }

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

    .blog-list__title-link:hover {
      color: var(--blog-list-primary-color);
    }

    .blog-list__summary {
      font-size: 0.95em;
      color: var(--blog-list-light-text-color);
      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;
      margin-top: auto; 
      padding: 8px 15px;
      background-color: var(--blog-list-primary-color);
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      font-size: 0.9em;
      transition: background-color 0.3s ease, transform 0.2s ease;
      align-self: flex-start; 
    }

    .blog-list__read-more:hover {
      background-color: #0056b3; 
      transform: translateY(-2px);
    }

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

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

    
    @media (min-width: 768px) {
      .blog-list__grid--timeline {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
        padding-top: 20px;
      }

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

      .blog-list__item--timeline {
        width: calc(50% - 40px); 
        margin-bottom: 40px;
        position: relative;
        z-index: 1;
      }

      .blog-list__item--timeline:nth-child(odd) {
        margin-right: calc(50% + 10px);
        text-align: right;
      }

      .blog-list__item--timeline:nth-child(even) {
        margin-left: calc(50% + 10px);
        text-align: left;
      }

      .blog-list__item--timeline::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--blog-list-primary-color);
        border: 2px solid var(--blog-list-card-background);
        top: 25px; 
        z-index: 2;
      }

      .blog-list__item--timeline:nth-child(odd)::after {
        right: -45px; 
      }

      .blog-list__item--timeline:nth-child(even)::after {
        left: -45px; 
      }

      .blog-list__item--timeline .blog-list__content {
        text-align: left; 
      }

      .blog-list__item--timeline:nth-child(odd) .blog-list__content {
        text-align: right;
      }

      .blog-list__item--timeline:nth-child(odd) .blog-list__read-more {
        align-self: flex-end;
      }

      .blog-list__item--timeline:nth-child(even) .blog-list__read-more {
        align-self: flex-start;
      }
    }

    @media (max-width: 767px) {
      .blog-list__grid--timeline, .blog-list__item--timeline {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
      }

      .blog-list__grid--timeline::before {
        display: none;
      }

      .blog-list__item--timeline::after {
        display: none;
      }

      .blog-list__item {
        margin-bottom: 20px;
      }

      .blog-list__item:last-child {
        margin-bottom: 0;
      }
    }

    
    .blog-list__heading,
    .blog-list__title-link,
    .blog-list__read-more {
      color: #333; 
    }
    .blog-list__read-more {
      background-color: #007bff; 
      color: #fff;
    }
    .blog-list__summary,
    .blog-list__description {
      color: #666;
    }
    .blog-list__date {
      color: #999;
    }