.blog-container {
  padding: 4rem var(--padding-horizontal, 2rem);
  background: #f9fafc;
  color: #222;
}

.blog-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-hero h1 {
  font-family: "Faustina", serif;
  font-size:var(--fs-32);
  font-weight: 700;
  background: var(--primary-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.blog-hero p {
  font-size: 1.2rem;
  font-family: "Fira Sans", Arial, sans-serif;
  color: #666;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  /*background: #fff;*/
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.blog-card:hover .blog-image img {
  filter: grayscale(0%);
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h2 {
  font-family: "Faustina", serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-blue, #0056b3);
}

.blog-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.read-more {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-red, #d22);
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--primary-blue, #0056b3);
}


@media (max-width: 992px) {
  .blog-container {
    padding: 3rem 2rem;
  }

  .blog-hero h1 {
    font-size: 2.2rem;
  }

  .blog-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .blog-container {
    padding: 4rem 1rem;
  }

  .blog-hero h1 {
    font-size: 1.8rem;
  }

  .blog-hero p {
    font-size: 0.9rem;
  }

  .blog-image img {
    height: 180px;
  }

  .blog-content h2 {
    font-size: 1.2rem;
  }

  .blog-content p {
    font-size: 0.9rem;
  }
}

@media only screen 
  and (device-width: 834px) 
  and (device-height: 1194px) 
  and (-webkit-device-pixel-ratio: 2) 
  and (orientation: portrait) {



  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen 
  and (device-width: 1194px) 
  and (device-height: 834px) 
  and (-webkit-device-pixel-ratio: 2) 
  and (orientation: landscape) {


  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
