:root {
      --primary-color: #2196F3; 
      --secondary-color: #FFC107; 
      --text-color: #333333;
      --text-color-light: #555555;
      --date-color: #555555;
      --background-color: #f5f5f5;
      --card-background: #ffffff;
      --border-color: #e0e0e0;
      --shadow-light: rgba(0, 0, 0, 0.1);
      --shadow-hover: rgba(0, 0, 0, 0.2);
      --header-offset: 120px; 
    }

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

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

    .blog-list__header {
      text-align: center;
      margin-bottom: 20px;
      color: var(--text-color);
      font-size: 2.5em;
      font-weight: bold;
      line-height: 1.2;
      padding-top: 20px;
      padding-bottom: 10px;
    }

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

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

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

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

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

    .blog-list__image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }

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

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

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

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

    .blog-list__summary {
      font-size: 15px;
      color: var(--text-color-light);
      margin-bottom: 15px;
      line-height: 1.6;
      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; 
    }

    .blog-list__date {
      font-size: 13px;
      color: var(--date-color);
    }

    .blog-list__read-more {
      font-size: 15px;
      color: var(--primary-color);
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }

    .blog-list__read-more:hover {
      text-decoration: underline;
      color: #1976D2; 
    }

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

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

    @media (max-width: 767px) {
      .blog-list__grid {
        grid-template-columns: 1fr;
      }
      .blog-list__header {
        font-size: 2em;
      }
      .blog-list__description {
        font-size: 1em;
        padding: 0 15px;
      }
      .blog-list__container {
        padding: 0 15px;
      }
      .blog-list__card {
        margin: 0 auto;
        width: 100%;
      }
    }