:root {
      --primary-color: #0056b3; 
      --secondary-color: #6c757d;
      --text-color: #333;
      --light-text-color: #555; 
      --date-color: #555; 
      --background-color: #f8f9fa;
      --card-background: #ffffff;
      --border-color: #e9ecef;
      --shadow-color: rgba(0, 0, 0, 0.08);
      --hover-shadow-color: rgba(0, 0, 0, 0.15);
      --header-offset: 120px; 
    }

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

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

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

    .blog-list__timeline {
      display: grid;
      grid-template-columns: 1fr; 
      gap: 30px; 
      position: relative;
      padding: 20px 0;
    }

    
    @media (min-width: 768px) and (max-width: 1023px) { 
      .blog-list__timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        width: 2px;
        height: 100%;
        background-color: var(--border-color);
        transform: translateX(-50%);
        z-index: 0;
      }
    }

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

    .blog-list__item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px var(--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;
      display: block;
    }

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

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

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

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

    .blog-list__summary {
      font-size: 0.95em; 
      color: var(--light-text-color);
      margin-bottom: 15px;
      display: -webkit-box;
      -webkit-line-clamp: 3; 
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      flex-grow: 1;
    }

    .blog-list__meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: auto; 
      padding-top: 15px;
      border-top: 1px solid var(--border-color);
    }

    .blog-list__date {
      font-size: 0.85em; 
      color: var(--date-color);
    }

    .blog-list__read-more {
      display: inline-block;
      padding: 8px 15px;
      background-color: var(--primary-color);
      color: var(--card-background);
      text-decoration: none;
      border-radius: 5px;
      font-size: 0.9em;
      transition: background-color 0.3s ease, transform 0.2s ease;
      font-weight: bold;
    }

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

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

      .blog-list__item:nth-child(odd) {
        justify-self: end; 
        margin-right: 40px; 
      }

      .blog-list__item:nth-child(even) {
        justify-self: start; 
        margin-left: 40px; 
      }
    }

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

      .blog-list__item {
        margin: 0; 
        justify-self: stretch; 
      }
    }