/* ---- Notícias de Câmbio (Hoje) ---- */
/* Grid: 1 col no mobile → 3 cols no desktop */
#news .grid.cols-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.5vw, 24px);
}
@media (min-width: 768px) {
  #news .grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Card base + hover */
#news .news-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  padding: 0;                 /* imagem colada na borda */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .3s ease;
}
#news .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

/* Thumbnail padronizada */
#news .news-thumb {
  width: 100%;
  height: 180px;              /* altura fixa = todas iguais */
  background: #f3f4f6;        /* placeholder */
}
@media (min-width: 1024px) {
  #news .news-thumb { height: 200px; }
}
#news .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* preenche sem deformar (recorta) */
  object-position: center;
  display: block;
}
/* Placeholder quando não veio imagem */
#news .news-thumb:empty {
  background:
    linear-gradient(0deg, rgba(0,0,0,.04), rgba(0,0,0,.04)),
    #f3f4f6;
}

/* Conteúdo do card */
#news .news-meta,
#news .news-title,
#news .news-link {
  padding: 12px 14px 0 14px;
}
#news .news-meta {
  font-size: .85rem;
  color: rgba(0,0,0,.55);
}

/* Título com altura mínima (alinha cards) */
#news .news-title {
  font-weight: 700;
  line-height: 1.3;
  color: #0a0a0a;             /* preto */
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* limita em 2 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1em * 1.3 * 2); /* altura mínima p/ 2 linhas */
}

/* Link “Ler matéria” em verde Kawasaki */
#news .news-link {
  padding-bottom: 14px;
  margin-top: auto;           /* encosta no rodapé do card */
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  color: #00A651;             /* verde Kawasaki */
}
#news .news-link:hover {
  color: #008c41;             /* verde escurecido */
}

/* Acento laranja (use quando quiser destacar algo no meta/título) */
#news .fx-accent { color: #EA580C; }


/* ---- Layout Remessas lado a lado no desktop ---- */
#remessas .grid.cols-2 {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
@media (min-width: 900px) {
  #remessas .grid.cols-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
#remessas .iframe-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
#remessas .iframe-phone {
  width: 100%;
  max-width: 414px;
  height: 660px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
@media (min-width: 1024px) {
  #remessas .iframe-phone {
    max-width: 480px;
    height: 760px;
  }
}
#remessas .card { height: 100%; }