:root {
  --primary-color: #007bff; 
  --secondary-color: #6c757d; 
  --text-color: #333; 
  --text-color-light: #666; 
  --background-color: #f8f9fa; 
  --card-background: #ffffff; 
  --border-color: #dee2e6; 
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  --header-offset: 120px; 
}

.blog-list__main-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--header-offset, 120px); 
  font-family: Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

.blog-list__description {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-color-light);
  font-size: 1.1em;
  line-height: 1.6;
}

.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-list__item {
  background-color: var(--card-background);
  border-radius: 12px; 
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-light); 
  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(--shadow-hover); 
}

.blog-list__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  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__date {
  font-size: 0.85em; 
  color: #999; 
  margin-bottom: 10px;
  display: block;
}

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

.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(--text-color-light);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.blog-list__read-more {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start; 
}

.blog-list__read-more:hover {
  background-color: #0056b3; 
}

@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); 
  }
}