/* =====================================================
   BLOG NEWS – BLOCK
===================================================== */

.blog-news {
  padding: 64px 24px;
  /* background: #f7f9fb; */
  margin-block-start: 0px !important;
}

.blog-news__inner {
  /* max-width: 1240px; */
  max-width: 1280px;
  margin: 0 auto;
}

.blog-news__title {
  font-family: var(--font-geely);
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 64px;
}

.blog-news__description {
  font-family: var(--font-inter);
  font-size: 18px;
  color: #212529;
  margin-bottom: 48px;
}

/* =========================
   GRID
========================= */

/* Desktop: 3 columnas */
.blog-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* =========================
   CARD
========================= */

.blog-news__card {
  display: flex;
  flex-direction: column;
}

/* Image */
.blog-news__media {
  border-radius: 16px;
  overflow: hidden;
  display: block;
  margin-bottom: 24px;
}

.blog-news__media img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  display: block;
}

/* =========================
   META (DATE + CATEGORY)
========================= */

.blog-news__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Date */
.blog-news__date {
  font-size: 16px;
  opacity: 0.65;
  font-family: var(--font-inter);
}

/* Category pill */
.blog-news__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;
  border-radius: 999px;

  background: #fff;
  color: #03050f;
  border: 1px solid rgba(3, 5, 15, 0.25);

  font-size: 16px;
  font-family: var(--font-inter);
  font-weight: 500;
  text-decoration: none;

  white-space: nowrap;

  /*  */
  display: none !important;
}

/* =========================
   CONTENT
========================= */

/* Title */
.blog-news__card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 32px;
  font-family: var(--font-inter);
}

.blog-news__card-title a {
  color: inherit;
  text-decoration: none;
}

/* Excerpt – max 2 lines */
.blog-news__excerpt {
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 24px;
  color: #212529;
  margin: 0 0 16px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Link */
.blog-news__link {
  font-size: 16px;
  text-decoration: underline;
  font-weight: 600;
  font-family: var(--font-inter);
  color: #212529;
  line-height: 32px;
  display: flex;
  column-gap: 8px;
  align-items: center;
  text-underline-offset: 3px;
}

.blog-news__link img {
  width: 24px;
  height: 24px;
}

/* =========================
   CTA
========================= */

.blog-news__cta {
  margin-top: 40px;
  text-align: center;
}

.blog-news__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  padding: 0 22px;
  background: #000;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: var(--font-geely);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .blog-news__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-news__media img {
    height: 200px;
  }

  .blog-news__title {
    font-size: 32px;
    line-height: 32px;
    margin-bottom: 32px;
  }

  .blog-news__description {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .blog-news {
    padding: 26px 16px 80px;
  }

  .blog-news__date,
  .blog-news__cat {
    font-size: 14px;
    line-height: 20px;
  }

  .blog-news__btn {
    max-width: 100%;
    width: 100%;
  }
}

