/* =========================================
   latest-posts.css — section Latest Posts
   (fundo branco + cards do blog)
   ========================================= */

.latest-posts {
  padding: clamp(18px, 3.6vw, 46px) 0;
}

.latest-posts__head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto clamp(20px, 2.6vw, 34px);
}

.latest-posts__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.latest-posts__kickerIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
}

.latest-posts__kickerIcon svg {
  width: 18px;
  height: 18px;
}

.latest-posts__kickerText {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.62);
}

.latest-posts__title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--c-text);
}

/* grid */
.latest-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

/* card */
.post-card {
  border-radius: 22px;
  overflow: hidden;

  border: 1px solid rgba(11, 18, 32, 0.10);
  background: #fff;
  box-shadow: 0 18px 52px rgba(11, 18, 32, 0.08);

  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.post-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(11, 18, 32, 0.06);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card__body {
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-card__meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.55);
}

.post-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--c-text);
  line-height: 1.25;
}

.post-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(11, 18, 32, 0.64);
}

.post-card__cta {
  margin-top: auto;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
}

.post-card__cta i,
.post-card__cta svg {
  width: 18px;
  height: 18px;
}

/* responsivo */
@media (max-width: 1060px) {
  .latest-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .latest-posts__grid {
    grid-template-columns: 1fr;
  }
}
