.mb-cursos-listagem {
  width: 100%;
}

.mb-cursos-header {
  margin-bottom: 30px;
}

.mb-cursos-header h2 {
  margin: 0 0 8px;
}

.mb-cursos-header p {
  margin: 0;
}

.mb-cursos-filtros {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.mb-cursos-filtro {
  flex: 1 1 280px;
}

.mb-cursos-filtro label {
  display: block;
  margin-bottom: 7px;
}

.mb-cursos-filtro select {
  width: 100%;
  min-height: 44px;
}

.mb-cursos-filtro-acoes {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mb-cursos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.mb-cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mb-curso-card {
  min-width: 0;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.mb-curso-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.mb-curso-imagem {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mb-curso-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mb-curso-sem-imagem {
  width: 100%;
  height: 100%;
  background: #f3f3f3;
}

.mb-curso-conteudo {
  padding: 20px;
}

.mb-curso-categoria {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.mb-curso-conteudo h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.mb-curso-data {
  margin-bottom: 12px;
  color: #555;
  font-size: 14px;
}

.mb-curso-resumo {
  line-height: 1.6;
}

.mb-cursos-paginacao {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 35px;
}

.mb-cursos-pagina {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  text-decoration: none;
  border: 1px solid #ddd;
}

.mb-cursos-pagina.atual {
  font-weight: 700;
}

.mb-cursos-vazio {
  padding: 30px 0;
}

@media (max-width: 900px) {
  .mb-cursos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .mb-cursos-grid {
    grid-template-columns: 1fr;
  }

  .mb-cursos-filtro-acoes {
    width: 100%;
  }
}
