body {
  margin: 0;
  padding: 0;
  font-family: Roboto, Arial, sans-serif;
  background: transparent;
}

.blog-hp {
  padding: 0.25rem 0 0.75rem;
  overflow: hidden;
}

.blog-hp__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.blog-hp__all {
  font-size: 0.875rem;
  color: #2f7aaa;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.3;
}

.blog-hp__all:hover {
  text-decoration: underline;
}

.blog-hp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #222;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 0.0625rem solid #e7edf2;
  box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.5rem 1.125rem rgba(47,122,170,0.12);
}

.blog-card__image {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  background: #f0f4f7;
}

.blog-card__content {
  padding: 0.875rem 0.875rem 1rem;
}

.blog-card__date {
  font-size: 0.75rem;
  color: #7b8a97;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-card h3 {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #222;
  font-weight: 600;
}

.blog-card:hover h3 {
  color: #2f7aaa;
}

/* Mobil/tablet: slider */
@media (max-width: 56.25rem) {
  .blog-hp {
    padding-bottom: 0.5rem;
  }

  .blog-hp__grid {
    display: flex;
    gap: 0.875rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0.125rem 0.875rem;
  }

  .blog-card {
    flex: 0 0 72%;
    max-width: 20.625rem;
    scroll-snap-align: start;
  }

  .blog-card:hover {
    transform: none;
  }

  .blog-hp__grid::-webkit-scrollbar {
    height: 0.3125rem;
  }

  .blog-hp__grid::-webkit-scrollbar-track {
    background: #eef3f6;
    border-radius: 0.625rem;
  }

  .blog-hp__grid::-webkit-scrollbar-thumb {
    background: #95b4c9;
    border-radius: 0.625rem;
  }
}

@media (max-width: 31.25rem) {
  .blog-hp {
    padding-top: 0;
    padding-bottom: 0.25rem;
  }

  .blog-hp__header {
    margin-bottom: 0.75rem;
  }

  .blog-card {
    flex-basis: 82%;
    max-width: 18.75rem;
  }

  .blog-card__image {
    height: 10.3125rem;
  }

  .blog-card__content {
    padding: 0.8125rem 0.8125rem 0.9375rem;
  }

  .blog-card h3 {
    font-size: 0.875rem;
  }
}
